[haiku-bugs] Re: [Haiku] #11012: jam -j fails

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Tue, 08 Jul 2014 20:34:40 -0000

#11012: jam -j fails
----------------------------+----------------------------
   Reporter:  Anarchos      |      Owner:  bonefish
       Type:  bug           |     Status:  closed
   Priority:  normal        |  Milestone:  Unscheduled
  Component:  Build System  |    Version:  R1/Development
 Resolution:  invalid       |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  x86
----------------------------+----------------------------

Comment (by bonefish):

 I believe a regular build error does not result in this state. Jam doesn't
 interrupt ongoing actions but rather waits for them to finish. So unless
 the package extraction itself fails, the directory either should not have
 been created or shouldn't remain empty.

 Manually interrupting the build process (Ctrl-C) does, however, interrupt
 ongoing actions. I.e. if you interrupt the actions between creating the
 directory and extracting the package, you may indeed get an empty
 directory.

 Unfortunately jam doesn't remove directory targets when the actions
 creating them fail or are interrupted. So there's little that can be done
 (unless anyone wants to hack jam).

--
Ticket URL: <https://dev.haiku-os.org/ticket/11012#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: