From: "Mathieu Dubois-Briand" <mathieu.dubois-briand@bootlin.com>
To: "Sumanth Gavini" <sumanth.gavini@windriver.com>,
<openembedded-core@lists.openembedded.org>
Cc: <alex.kanavin@gmail.com>, <mattware@cisco.com>,
<esparlin@cisco.com>, <peter.marko@siemens.com>,
<randy.macleod@windriver.com>
Subject: Re: [PATCH v10 0/8] rpm: 4.20.1 -> 6.0.2
Date: Tue, 28 Jul 2026 17:18:04 +0200 [thread overview]
Message-ID: <DKAAZ5IAJSBB.1KM0W7EA9ARM8@bootlin.com> (raw)
In-Reply-To: <20260727225602.342005-1-sumanth.gavini@windriver.com>
On Tue Jul 28, 2026 at 12:55 AM CEST, Sumanth Gavini wrote:
> * v10:
> - The ARCHIVE_FILTER_RPM macro was commented out in a previous
> libarchive change, causing do_compile_ptest_base to fail with:
> error: 'ARCHIVE_FILTER_RPM' undeclared
> Restore the macro definition. The ptest now compiles and passes
> successfully.
>
> * V9:
> - Updated SRCREV to the 6.0.2 tag.
> - Incorporated all V8 changes and updated them as needed for 6.0.2.
> - Dropped
> 0001-scripts-pkgconfigdeps.sh-Use-pkg-config-from-PATH.patch
> from V8, as it is no longer needed. After filtering out the
> /usr/bin/pkg-config file dependency, "bitbake core-image-sato -c
> populate_sdk" completes successfully without the patch.
> - Fixed the filtering of the /usr/bin/pkg-config file dependency.
> pkg-config is a build-time tool, not a runtime dependency. Filtered
> the /usr/bin/pkg-config dependency automatically detected by
> pkgconfig.attr for packages containing .pc files, preventing
> unnecessary hard runtime dependencies in -dev packages.
> - Removed v8 libarchive-related changes since the latest version
> (3.8.8) already includes the required updates.
> - Fixed the "oe-selftest -r debuginfod.Debuginfod.test_debuginfod_native"
> failure observed after upgrading to 6.0.2.
> - Verified that previously reported Autobuilder issues are no longer observed.
> The following builds/tests were successfully completed:
> "bitbake core-image-minimal"
> "bitbake core-image-full-cmdline"
> "bitbake core-image-sato"
> "bitbake core-image-sato world"
> "bitbake core-image-full-cmdline:do_testimage"
> "bitbake core-image-minimal:do_rootfs"
> "bitbake core-image-sato -c populate_sdk"
>
> * V8:
> - Fix build with systemd (Check patch 7 for detailes)
> - Make rpmbuild can find the pkgconfig (.pc) files in /usr/share/pkgconfig
> (Check patch 7 for detailes)
> - Backport a PULL from git/libarchive to fix oe-selftest failures.
>
> * V7:
> - Add 0001-scripts-pkgconfigdeps.sh-Use-pkg-config-from-PATH.patch:
> To fix "bitbake core-image-sato -cpopulate_sdk" error on Ubuntu 24.04 when
> pkg-config is installed on host, now the host contamination has been fixed,
> and the patch has been submitted to upstream:
> https://github.com/rpm-software-management/rpm/pull/4127
>
> * V6
> - Fix -cpopulate_sdk error when DISTRO = "poky"
>
> * V5
> - Fix RP's comments: Don't hardcode libc6 into package_rpm.bbclass
> - Use SKIP_LDCONFIG_POSTINST_FRAGMENT:${PN} to fix the loop dependencies
> between /bin/sh and libc.so.
>
> * V4
> - Fix loop dependencies issues for libc6 and busybox
> - Fix issues for can't find pkg-config files (.pc) on qemux86-64.
>
> * V3
> - Fix Alexender's comments
> a) Suppot rpm 6
> b) Move rpm-setup-autosign to rpm-build
> c) Remove -DLIBELF_FOUND=False
>
> - Fix build for nativesdk-rpm
>
> - Drop patch for createrepo-c since it has been upgraded (rev:
> 804a238c8a4e86c2bcfb2192d54cb861d5fd32a6)
>
> * V1 & V2
> - Initial version
>
>
> --
> # Sumanth Gavini
> # Wind River Linux
>
Hi Sumanth,
Thanks for taking care of this series.
So we do have a few fails here:
ERROR: core-image-sato-sdk-1.0-r0 do_rootfs: Could not invoke dnf. Command ...
...
Last metadata expiration check: 0:03:07 ago on Tue 28 Jul 2026 11:03:02 AM UTC.
--> Starting dependency resolution
--> Finished dependency resolution
Error:
Problem 1: conflicting requests
- nothing provides pkgconfig(ogg) needed by flac-dev-1.5.0-r0.core2_64 from oe-repo
Problem 2: conflicting requests
- nothing provides pkgconfig(libxml-2.0) needed by libcomps-dev-0.1.24-r0.core2_64 from oe-repo
Problem 3: conflicting requests
- nothing provides pkgconfig(ncurses) needed by libreadline-dev-8.3-r0.core2_64 from oe-repo
Problem 4: package libsndfile-dev-1.2.2-r0.core2_64 from oe-repo requires flac-dev, but none of the providers can be installed
- conflicting requests
- nothing provides pkgconfig(ogg) needed by flac-dev-1.5.0-r0.core2_64 from oe-repo
(try to add '--skip-broken' to skip uninstallable packages)
It does happen with a few different packages.
https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/4248
https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/4228
https://autobuilder.yoctoproject.org/valkyrie/#/builders/30/builds/4210
https://autobuilder.yoctoproject.org/valkyrie/#/builders/40/builds/4211
Also, we do have selftest failures:
2026-07-28 10:37:28,088 - oe-selftest - INFO - runtime_test.Postinst.test_failing_postinst (subunit.RemotedTestCase)
2026-07-28 10:37:28,093 - oe-selftest - INFO - ... FAIL
...
2026-07-28 10:37:28,094 - oe-selftest - INFO - 5: 27/36 299/763 (127.74s) (0 failed) (runtime_test.Postinst.test_failing_postinst)
2026-07-28 10:37:28,094 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/layers/openembedded-core/meta/lib/oeqa/selftest/cases/runtime_test.py", line 409, in test_failing_postinst
self.assertGreaterEqual(bb_result.output.find("Postinstall scriptlets of ['postinst-rootfs-failing'] have failed."), 0,
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"Warning about a failed scriptlet not found in bitbake output: %s" %(bb_result.output))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/unittest/case.py", line 1297, in assertGreaterEqual
self.fail(self._formatMessage(msg, standardMsg))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/unittest/case.py", line 732, in fail
raise self.failureException(msg)
AssertionError: -1 not greater than or equal to 0 : Warning about a failed scriptlet not found in bitbake output: NOTE: Reconnecting to bitbake server...
...
ERROR: core-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. Command '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/rootfs/etc/yum.repos.d --installroot=/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/rootfs --setopt=logdir=/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/temp --repofrompath=oe-repo,/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-71494/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/oe-rootfs-repo --nogpgcheck install packagegroup-core-boot postinst-rootfs-failing run-postinsts ssh-pregen-hostkeys' returned 1:
...
Error in POSTIN scriptlet in rpm package postinst-rootfs-failing
Installing : update-rc.d-0.8+git0+b8f9501050-r0.noarch 37/40
Installing : ldconfig-2.44+git0+7cba77790f-r0.x86_64_v3 38/40
Installing : ssh-pregen-hostkeys-1.0-r0.x86_64_v3 39/40
Installing : openssl-conf-3.5.7-r0.x86_64_v3 40/40Error: Could not run transaction.
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4394
https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4213
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/4458
Can you have a look at the issues?
Thanks,
Mathieu
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2026-07-28 15:18 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 22:55 [PATCH v10 0/8] rpm: 4.20.1 -> 6.0.2 Sumanth Gavini
2026-07-27 22:55 ` [PATCH v10 1/8] package_rpm.bbclass: Drop external dependency generator to support rpm 6 Sumanth Gavini
2026-07-27 22:55 ` [PATCH v10 2/8] package_rpm.bbclass: Define _lib and _libdir for rpmbuild Sumanth Gavini
2026-07-27 22:55 ` [PATCH v10 3/8] lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or musl Sumanth Gavini
2026-07-27 22:55 ` [PATCH v10 4/8] lib/oe/package.py: Filter out /usr/bin/pkg-config file dependency Sumanth Gavini
2026-07-27 22:55 ` [PATCH v10 5/8] lib/oe/package.py: Don't redirect stderr Sumanth Gavini
2026-07-27 22:55 ` [PATCH v10 6/8] target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES Sumanth Gavini
2026-07-27 22:55 ` [PATCH v10 7/8] rpm: 4.20.1 -> 6.0.2 Sumanth Gavini
2026-07-27 22:56 ` [PATCH v10 8/8] libarchive: Make it work with rpm 6 Sumanth Gavini
2026-07-28 15:18 ` Mathieu Dubois-Briand [this message]
2026-07-28 19:33 ` [OE-core] [PATCH v10 0/8] rpm: 4.20.1 -> 6.0.2 Gavini, Sumanth
[not found] ` <18C68B13D5EABE33.1674579@lists.openembedded.org>
2026-07-29 1:25 ` Gavini, Sumanth
2026-07-29 6:08 ` Mathieu Dubois-Briand
2026-07-29 7:31 ` Mathieu Dubois-Briand
2026-07-29 8:15 ` Mathieu Dubois-Briand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DKAAZ5IAJSBB.1KM0W7EA9ARM8@bootlin.com \
--to=mathieu.dubois-briand@bootlin.com \
--cc=alex.kanavin@gmail.com \
--cc=esparlin@cisco.com \
--cc=mattware@cisco.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.marko@siemens.com \
--cc=randy.macleod@windriver.com \
--cc=sumanth.gavini@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.