#15620: Build failure on multithreaded build.
----------------------------+----------------------------
Reporter: jstressman | Owner: bonefish
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Build System | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------+----------------------------
Changes (by pulkomandy):
* owner: nobody => bonefish
* component: - General => Build System
Comment:
Build error: header files for libpng, libjpeg, etc are not found.
Suspicious things found in the logs:
- I see two invocations of ExtractHpkgArchive1 for libpng (lines 4530 and
4547), is this expected?
- Compilation of the PNG translator starts after that (line 16025) and
eventually fails (line 31138)
So, I suspect one of these two:
- The double extraction of the package is creating an invalid result
- Or, the build of the PNG translator is completed before extraction is
complete
The latter is quite plausible, due to the way we manage these extraction
rules. Basically, as soon as the rule has created the libpng directory in
build_packages, the PNG translator assumes that the dependency is
satisfied. It does not depend on specific files inside that directory.
Workaround: once you have a succesful build, these packages are extracted
only on updates which happen rarely. So the following builds will be fine.
--
Ticket URL: <https://dev.haiku-os.org/ticket/15620#comment:1>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.