Opened 6 years ago

Closed 6 years ago

#10022 closed bug (fixed)

Missing HAIKU_TOP causes build problems

Reported by: axeld Owned by: bonefish
Priority: high Milestone: R1
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

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.

Change History (4)

comment:1 by kallisti5, 6 years ago

Error seen when this occurs:

BuildHaikuPackage1 generated/objects/haiku/x86/packaging/packages/haiku.hpkg 
haiku.hpkg: Removing and re-creating package contents dir ...
haiku.hpkg: Collecting package contents ...
haiku.hpkg: mimeset'ing package contents ...
haiku.hpkg: Creating the package ...
unable to find system data path: No such file or directory!

comment:2 by bonefish, 6 years ago

Status: newin-progress

comment:3 by bonefish, 6 years ago

Fixed in hrev46116.

comment:4 by bonefish, 6 years ago

Resolution: fixed
Status: in-progressclosed
Note: See TracTickets for help on using tickets.