[haiku-bugs] Re: [Haiku] #11101: gcc2 build failure since hrev47570 - entry not initialized!

  • From: "zooey" <trac@xxxxxxxxxxxx>
  • Date: Wed, 06 Aug 2014 12:24:27 -0000

#11101: gcc2 build failure since hrev47570 - entry not initialized!
----------------------------+----------------------------
   Reporter:  luroh         |      Owner:  zooey
       Type:  bug           |     Status:  new
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by zooey):

 Many thanks for the image! When I tried building in that image, the build
 just worked as it should. Trying different things, I finally noticed that
 the problem only appears when starting jam from the top of the Haiku
 checkout directory, but not when starting jam from the output directory
 ('generated').

 The reason is that HAIKU_TOP is empty when invoking jam in the checkout
 directory, which in turn causes the paths to the package files to be
 relative, which causes package_repo to not find them when it is invoked to
 create the repository.

 As we've already had similar bugs before (all related to unexpected
 relative paths), I'd like to set HAIKU_TOP to the current directory by
 default. This requires a change to jam, but that shouldn't be too
 difficult.

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

Other related posts: