Dan HorĂ¡k wrote:
Hi,
in koji for Fedora/s390x I have 2 builds for wxGTK package
https://s390.koji.fedoraproject.org/koji/packageinfo?packageID=7367
wxGTK-2.8.9-4.fc11 wxGTK-2.8.10-1.fc11
the higher NVR build is older
but the lower NVR is used in the buildroot used to build a package (like wxPython) that requires wxGTK
https://s390.koji.fedoraproject.org/koji/buildrootinfo?buildrootID=32535 https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=74417
Could someone explain me what's wrong?
Koji uses the "latest" package in a tag to populate the repodata/buildroots, where "latest" equals "most recently tagged".
$ koji --server http://s390.koji.fedoraproject.org/kojihub list-tag-history --tag dist-f11 --package wxGTK Sun Apr 5 11:52:54 2009: Tagged wxGTK-2.8.10-1.fc11 with dist-f11 [still active] Thu Apr 9 19:08:22 2009: Tagged wxGTK-2.8.9-4.fc11 with dist-f11 [still active]
wxGTK-2.8.9-4.fc11 was tagged most recently, so it's considered the "latest". To fix the issue, either untag wxGTK-2.8.9-4.fc11 or untag-and-retag wxGTK-2.8.10-1.fc11 (which would then become the "latest").
This behavior is intentional and useful, but it can cause unexpected behavior like this if you don't realize how Koji populates buildroots.