haikuporter icon indicating copy to clipboard operation
haikuporter copied to clipboard

Haikuporter can choose older revs of package dependencies

Open kallisti5 opened this issue 7 years ago • 2 comments

Not sure if this is a "feature" but it didn't seem right:

  1. Built sdl2_ttf-2.0.14-4 into haikuports/packages
  2. Fixed stuff, built sdl2_ttf-2.0.14-5 into haikuports/packages
  3. Built something that depended on sdl2_ttf
  4. 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

kallisti5 avatar Apr 01 '17 16:04 kallisti5

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

kallisti5 avatar Apr 01 '17 16:04 kallisti5

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.

korli avatar Apr 09 '17 12:04 korli