Opened 6 years ago
Last modified 6 years ago
#14158 new bug
build_package download failure
Reported by: | kallisti5 | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Build System | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
If the following conditions are met, the build_package obtaining process breaks down:
- A successful download of a build package such as libsolv
- An unsuccessful download of a related build package such as libsolv_devel
If the libsolv_devel is downloaded and placed into the generated/download directory (or if the reason the download fails is corrected), the Haiku build will not re-attempt to download it or unpack it into generated/build_packages.
Additional builds will fail randomly with missing headers / etc. if you remove generated/build_packages/libsolv_* however... all libsolv extractions are attempted.
I have a feeling this is because the "libsolv" dependency is filled as a whole via the extracted libsolv_* package. The build system doesn't check for libsolv_devel, libsolv_source, etc and moves on.
When we are checking for extracted build_packages, we need to check for all child / related packages.. not just the parent one.
Not sure if this is an easy fix.
Related to #11194.