[haiku-bugs] [Haiku] #10022: Missing HAIKU_TOP causes build problems

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Fri, 27 Sep 2013 22:42:43 -0000

#10022: Missing HAIKU_TOP causes build problems
 Reporter:  axeld         |        Owner:  bonefish
     Type:  bug           |       Status:  new
 Priority:  high          |    Milestone:  R1
Component:  Build System  |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
 Building Haiku no longer works when the build was not started from the
 generated directory. I usually configure the main build from haiku's top
 directory, which results in a generated/ directory -- I could then run the
 builds for this target from anywhere. In this case HAIKU_TOP would be `.`.

 This no longer works, as the current working directory is changed during
 the build, which results in an error when PackageWriterImpl.cpp tries to
 resolve `HAIKU_BUILD_SYSTEM_DATA_DIRECTORY`, as the path is then relative.

Ticket URL: <http://dev.haiku-os.org/ticket/10022>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: