Bug 15386 - Package version for package libsolv went backwards which would break package feeds
Summary: Package version for package libsolv went backwards which would break package ...
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 4.3.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.1 M2
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-02-07 14:45 UTC by Michael Opdenacker
Modified: 2026-05-28 13:17 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Opdenacker 2024-02-07 14:45:34 UTC
I'm getting this weird issue when building core-image-full-cmdline with 4.3.1 and these local.conf settings:

MACHINE = "qemux86-64"
EXTRA_IMAGE_FEATURES += "package-management"
DISTRO = "poky-altcfg"
PACKAGE_CLASSES = "package_ipk"
PACKAGE_FEED_URIS = "http://192.168.1.20:8000"
PRSERV_HOST = "localhost:0"
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"

   ERROR: libsolv-0.7.25-r0 do_packagedata_setscene: QA Issue: Package version for package libsolv-src went backwards which would break package feeds (from 0:0.7.25-r0.1 to 0:0.7.25-r0.0) [version-going-backwards]
   ERROR: libsolv-0.7.25-r0 do_packagedata_setscene: QA Issue: Package version for package libsolv-dbg went backwards which would break package feeds (from 0:0.7.25-r0.1 to 0:0.7.25-r0.0) [version-going-backwards]
   ERROR: libsolv-0.7.25-r0 do_packagedata_setscene: QA Issue: Package version for package libsolv-tools went backwards which would break package feeds (from 0:0.7.25-r0.1 to 0:0.7.25-r0.0) [version-going-backwards]
   ERROR: libsolv-0.7.25-r0 do_packagedata_setscene: QA Issue: Package version for package libsolvext went backwards which would break package feeds (from 0:0.7.25-r0.1 to 0:0.7.25-r0.0) [version-going-backwards]
   ERROR: libsolv-0.7.25-r0 do_packagedata_setscene: QA Issue: Package version for package libsolv-staticdev went backwards which would break package feeds (from 0:0.7.25-r0.1 to 0:0.7.25-r0.0) [version-going-backwards]
   ERROR: libsolv-0.7.25-r0 do_packagedata_setscene: QA Issue: Package version for package libsolv-dev went backwards which would break package feeds (from 0:0.7.25-r0.1 to 0:0.7.25-r0.0) [version-going-backwards]
   ERROR: libsolv-0.7.25-r0 do_packagedata_setscene: QA Issue: Package version for package libsolv-doc went backwards which would break package feeds (from 0:0.7.25-r0.1 to 0:0.7.25-r0.0) [version-going-backwards]
   ERROR: libsolv-0.7.25-r0 do_packagedata_setscene: QA Issue: Package version for package libsolv-locale went backwards which would break package feeds (from 0:0.7.25-r0.1 to 0:0.7.25-r0.0) [version-going-backwards]
   ERROR: libsolv-0.7.25-r0 do_packagedata_setscene: QA Issue: Package version for package libsolv went backwards which would break package feeds (from 0:0.7.25-r0.1 to 0:0.7.25-r0.0) [version-going-backwards]
   ERROR: libsolv-0.7.25-r0 do_packagedata_setscene: Fatal QA errors were found, failing task.
   WARNING: Logfile for failed setscene task is /home/tux/yocto/poky/build/tmp/work/core2-64-poky-linux/libsolv/0.7.25/temp/log.do_packagedata_setscene.3612846
   WARNING: Setscene task (/home/tux/yocto/poky/meta/recipes-extended/libsolv/libsolv_0.7.25.bb:do_packagedata_setscene) failed with exit code '1' - real task will be run instead
   NOTE: Tasks Summary: Attempted 5499 tasks of which 5488 didn't need to be rerun and all succeeded.

Before running this, I initially built my image with ipk packages, then deb and rpm, and went back to ipk.

Something seems to have broken the revision for libsolv.
This is confirmed by dumping the PR database with "bitbake-prserv-tool export prserv.conf". Only libsolv is impacted:

PRAUTO$libsolv-0.7.25-r0$core2-64$2c45079321f257024cfd58e7ded541edc82ba287932774f2bc3c31b61499d3b0 = "2"
PRAUTO_libsolv-0.7.25-r0_core2-64 = "2"

All other packages have a "0" revision.

I wonder what happened to this package. Checking the recipe sources, I see that SRC_URI is based on a fixed git commit, so I don't see what could have made its revision bump.

Not critical for me as it doesn't prevent me from generating an image.
However, keeping track of this issue in case someone else faces a similar one.
Comment 1 Michael Opdenacker 2024-02-07 15:27:10 UTC
Interesting, observing the same behavior on another build machine, with the same "libsolv" package, this time on the tip of the "nanbield" branch, and also after switching from ipk to deb, rpm and back to ipk.
Comment 2 Randy MacLeod 2024-10-24 15:04:02 UTC
Bulk move of 5.1 M4 to 5.2 M2 as approved by AlexB.
Comment 3 Antonin Godard 2025-06-06 07:42:31 UTC
Bulk move of bugs I am assigned to from Milestone 5.2M4 to 5.3M1.
Comment 4 Randy MacLeod 2026-05-28 13:17:56 UTC
Bulk move of unassigned 6.0-M* bugs to 6.1-M2.