| Summary: | invalid error message "Package version for package ... went backwards" | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Other YP Layers | Reporter: | Andreas Oberritter <obi> |
| Component: | layers | Assignee: | Lianhao Lu <lianhao.lu> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | jessica.zhang, lianhao.lu, meta.layer.watcher, meta.watcher, sgw |
| Version: | unspecified | ||
| Target Milestone: | 1.2 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | (1.2) | ||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Andreas Oberritter
2012-04-02 22:59:18 UTC
Some initial investigation result at http://lists.linuxtogo.org/pipermail/bitbake-devel/2012-April/002641.html This bug should be fixed in the following steps: 1. update opkg-compare-versions to match the latest opkg. 2. modify the bitbake bb.utils.vercmp() to match opkg. 3. check bitbake bb.utils.vercmp_string() if it's consistent with opkg. 4. check if the above steps results different build result, especially the rpm build and other openembedded build. (In reply to comment #2) > This bug should be fixed in the following steps: > > 1. update opkg-compare-versions to match the latest opkg. The patch for opkg-utils upgrade is at http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=llu/opkg-utils&id=bffb0b638d931fb399fdc1d9d455c661a6c141ce, pending for review & merge. We also need a update to opkg-utils' recipe in metadata after the upstream check in the above patch. > 2. modify the bitbake bb.utils.vercmp() to match opkg. The patch is sent out for review/merge at http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=llu/vercmp_bitbake&id=00fda8f184223f4e189786da33d2c7d6b9c617fe. > 3. check bitbake bb.utils.vercmp_string() if it's consistent with opkg. > 4. check if the above steps results different build result, especially the rpm > build and other openembedded build. This bug is fixed by the following commits: opkg-utils: http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/commit/?id=16665959c330b5958c0f0f4624a9ca7f823f98de bitbake: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=811f7d8ebfe9d55b0244d8284a04b0ef6902adbb meta data: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f09a5e176f74985363b65e473ff833801613d25e (contributed by RP) |