haikuporter
haikuporter copied to clipboard
Haikuporter can choose older revs of package dependencies
Not sure if this is a "feature" but it didn't seem right:
- Built sdl2_ttf-2.0.14-4 into haikuports/packages
- Fixed stuff, built sdl2_ttf-2.0.14-5 into haikuports/packages
- Built something that depended on sdl2_ttf
- Haikuporter choose poorly:
chroot has these packages active:
.
.
/Builds/haikuports/packages/sdl2_ttf-2.0.14-4-x86_64.hpkg
/Builds/haikuports/packages/sdl2_ttf_devel-2.0.14-4-x86_64.hpkg
I removed the older revision from /Builds/haikuports/packages/ (rm /Builds/haikuports/packages/sdl2_ttf*-2.0.14-4*) and things now work as expected when the dependant package is built:
chroot has these packages active:
.
.
/Builds/haikuports/packages/sdl2_ttf-2.0.14-5-x86_64.hpkg
/Builds/haikuports/packages/sdl2_ttf_devel-2.0.14-5-x86_64.hpkg
Dunno if the package obsoletion is supposed to handle this case: on recipe update this should be noticed, and the old package be moved to the .obsolete folder.