build_package download failure
|Reported by:||kallisti5||Owned by:||bonefish|
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.