[haiku-bugs] [Haiku] #14391: makefile-engine fails creating catalogs

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 23 Aug 2018 18:50:33 -0000

#14391: makefile-engine fails creating catalogs
--------------------------+------------------------------
 Reporter:  ahwayakchih   |        Owner:  bonefish
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  R1
Component:  Build System  |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 When run for a project that did not have localisation before, ''make
 catalogs'' fails with following error:

 {{{
 /SVM> make catalogs
 /boot/system/develop/etc/makefile-engine:260: recipe for target
 'objects.x86_64-cc7-release/application/x-vnd.Shard.SVM' failed
 make: *** [objects.x86_64-cc7-release/application/x-vnd.Shard.SVM] Error 1
 }}}

 Objects folder is there, binary was created with previous commands,
 catkeys were created just fine. But ''application/x-vnd.Shard.SVM'' does
 not exist.

 It looks like ''mkdir'' used by makefile-engine fails because
 ''application'' subfolder does not exist, so it cannot crate sube-sub-
 folder.

 After replacing ''mkdir'' with ''mkdir -p'' on line 260
 
(https://github.com/haiku/haiku/blob/9a152c9cb030c923e74090a96662a64cd5946995/data/develop
 /makefile-engine#L260) everything works fine.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14391>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: