All of lore.kernel.org
 help / color / mirror / Atom feed
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 v12 0/8] rpm: 4.20.1 -> 6.0.2
Date: Tue, 04 Aug 2026 16:18:20 +0200	[thread overview]
Message-ID: <DKG838IZIDKF.1IBQ7TAPXMF9E@bootlin.com> (raw)
In-Reply-To: <20260804040815.1499699-1-sumanth.gavini@windriver.com>

On Tue Aug 4, 2026 at 6:08 AM CEST, Sumanth Gavini wrote:
> * V12:
>   - The previous libarchive-related changes for 3.8.8 are no longer
>     applicable because libarchive has been upgraded to 3.8.9. Updated the
>     implementation to work with libarchive 3.8.9 and applied the upstream
>     fix for "attach filter to correct bidder".
>     Upstream patch: Upstream patch:
>     https://github.com/libarchive/libarchive/pull/3346/
>  
>  -  Dropped the following changes:
>     rpm: lib/oe/package.py: Filter out /usr/bin/pkg-config file dependency
>     rpm: Filter /usr/bin/pkg-config from RPM auto-generated Requires
>   
>     Why drop the old change:
>    The filedeprunner() fix runs at OE's external scanning stage
>    (do_package), but RPM 6's internal dependency generator runs later,
>    inside rpmbuild itself. It re-adds Requires:
>    /usr/bin/pkg-config regardless of what OE filtered. The old fix simply
>    operates at the wrong layer it's like closing a door that RPM 6 walks
>    around.
>
>    Why the new changes:
>    It operates at the same layer where the problem originates, inside
>    rpmbuild. By setting __pkgconfig_provides and __pkgconfig_requires to
>    %{nil}, we tell RPM 6's internal
>    scanner to skip pkgconfigdeps.sh entirely. This is the RPM 6
>    equivalent of what _use_internal_dependency_generator 0 did in RPM 4
>    just scoped to pkgconfig specifically rather than globally.
>   
>   With these changes, the previously observed test failures have been resolved:
>   - bitbake core-image-sato:do_populate_sdk 
>   - bitbake core-image-sato-sdk: do_rootfs 
>   - bitbake core-image-ptest-glib-2.0 
>   - bitbake core-image-ptest-libarchive
>   - bitbake core-image-ptest-libarchive:do_testimage
>

Hi Sumanth,

Thanks for going further with this series.

It looks like we still have errors here. Fore reference, here is a full
build of master + this series: https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/4386

Basically we have again two kind of errors: some dnf issues, and some
failed selftests.

The first kind of errors:

ERROR: core-image-sato-sdk-1.0-r0 do_rootfs: Could not invoke dnf.
...
--> 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)

https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/4318
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/4327
https://autobuilder.yoctoproject.org/valkyrie/#/builders/8/builds/4337
https://autobuilder.yoctoproject.org/valkyrie/#/builders/16/builds/4336
https://autobuilder.yoctoproject.org/valkyrie/#/builders/19/builds/4299
https://autobuilder.yoctoproject.org/valkyrie/#/builders/30/builds/4279
https://autobuilder.yoctoproject.org/valkyrie/#/builders/36/builds/4293
https://autobuilder.yoctoproject.org/valkyrie/#/builders/40/builds/4280
https://autobuilder.yoctoproject.org/valkyrie/#/builders/60/builds/4297
https://autobuilder.yoctoproject.org/valkyrie/#/builders/80/builds/4138

I do note sometimes we have an error a little bit different:

ERROR: core-image-sato-1.0-r0 do_populate_sdk: Could not invoke dnf.
...
--> Starting dependency resolution
--> Finished dependency resolution
Error:
 Problem 1: conflicting requests
  - nothing provides pkgconfig(dbus-1) needed by connman-dev-2.0-r0.cortexa8t2hf_neon from oe-repo
 Problem 2: conflicting requests
  - nothing provides pkgconfig(ogg) needed by flac-dev-1.5.0-r0.cortexa8t2hf_neon from oe-repo
 Problem 3: conflicting requests
  - nothing provides pkgconfig(vulkan) needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(xkbcommon) needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(xkbcommon-x11) needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(gstreamer-1.0) >= 1.28.0 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(gstreamer-allocators-1.0) >= 1.28.0 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(gstreamer-app-1.0) >= 1.28.0 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(gstreamer-audio-1.0) >= 1.28.0 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(gstreamer-base-1.0) >= 1.28.0 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(gstreamer-gl-prototypes-1.0) >= 1.28.0 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(gstreamer-pbutils-1.0) >= 1.28.0 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(gstreamer-sdp-1.0) >= 1.28.0 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(gstreamer-tag-1.0) >= 1.28.0 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(gstreamer-video-1.0) >= 1.28.0 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(libdrm) >= 2.4.50 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(wayland-client) >= 1.4 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(xcb) >= 1.10 needed by gstreamer1.0-plugins-bad-dev-1.28.5-r0.cortexa8t2hf_neon from oe-repo
 Problem 4: conflicting requests
  - nothing provides pkgconfig(libxml-2.0) needed by libcomps-dev-0.1.24-r0.cortexa8t2hf_neon from oe-repo
 Problem 5: conflicting requests
  - nothing provides pkgconfig(ncurses) needed by libreadline-dev-8.3-r0.cortexa8t2hf_neon from oe-repo
 Problem 6: conflicting requests
  - nothing provides pkgconfig(cairo) >= 1.18.0 needed by librsvg-2-dev-2.62.3-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(cairo-gobject) >= 1.18.0 needed by librsvg-2-dev-2.62.3-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(cairo-png) >= 1.18.0 needed by librsvg-2-dev-2.62.3-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(freetype2) >= 20.0.14 needed by librsvg-2-dev-2.62.3-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(gdk-pixbuf-2.0) >= 2.20 needed by librsvg-2-dev-2.62.3-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(harfbuzz) >= 2.0.0 needed by librsvg-2-dev-2.62.3-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(libxml-2.0) >= 2.9.0 needed by librsvg-2-dev-2.62.3-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(pangocairo) >= 1.50.0 needed by librsvg-2-dev-2.62.3-r0.cortexa8t2hf_neon from oe-repo
  - nothing provides pkgconfig(pangoft2) >= 1.50.0 needed by librsvg-2-dev-2.62.3-r0.cortexa8t2hf_neon from oe-repo
 Problem 7: conflicting requests
  - nothing provides pkgconfig(dbus-1) needed by ofono-dev-2.19-r0.cortexa8t2hf_neon from oe-repo
 Problem 8: package libsndfile-dev-1.2.2-r0.cortexa8t2hf_neon 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.cortexa8t2hf_neon from oe-repo
(try to add '--skip-broken' to skip uninstallable packages)

https://autobuilder.yoctoproject.org/valkyrie/#/builders/2/builds/4310
https://autobuilder.yoctoproject.org/valkyrie/#/builders/3/builds/4363
https://autobuilder.yoctoproject.org/valkyrie/#/builders/45/builds/2030
https://autobuilder.yoctoproject.org/valkyrie/#/builders/67/builds/4321


The second kind of errors. One during the
debuginfod.Debuginfod.test_debuginfod_qemu selftest:

2026-08-04 10:31:42,489 - oe-selftest - INFO - debuginfod.Debuginfod.test_debuginfod_qemu (subunit.RemotedTestCase)
2026-08-04 10:31:42,490 - oe-selftest - INFO -  ... FAIL
...
2026-08-04 10:31:42,643 - oe-selftest - INFO - 6: 15/69 123/758 (134.48s) (0 failed) (debuginfod.Debuginfod.test_debuginfod_qemu)
2026-08-04 10:31:42,664 - 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/debuginfod.py", line 158, in test_debuginfod_qemu
    self.assertIn("/.cache/debuginfod_client/", output)
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.13/unittest/case.py", line 1174, in assertIn
    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: '/.cache/debuginfod_client/' not found in 'Server query failed: No such file or directory'

And another one during runtime_test.Postinst.test_failing_postinst:

2026-08-04 10:42:26,209 - oe-selftest - INFO - runtime_test.Postinst.test_failing_postinst (subunit.RemotedTestCase)
2026-08-04 10:42:26,212 - oe-selftest - INFO -  ... FAIL
...

2026-08-04 10:42:26,212 - oe-selftest - INFO - 5: 27/36 237/758 (99.84s) (0 failed) (runtime_test.Postinst.test_failing_postinst)
2026-08-04 10:42:26,213 - 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...
Loading cache...done.
Loaded 0 entries from dependency cache.
Parsing recipes...done.
Parsing of 1039 .bb files complete (0 cached, 1039 parsed). 2089 targets, 53 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

https://autobuilder.yoctoproject.org/valkyrie/#/builders/48/builds/4283
https://autobuilder.yoctoproject.org/valkyrie/#/builders/35/builds/4465
https://autobuilder.yoctoproject.org/valkyrie/#/builders/23/builds/4529

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



  parent reply	other threads:[~2026-08-04 14:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-04  4:08 [PATCH v12 0/8] rpm: 4.20.1 -> 6.0.2 Sumanth Gavini
2026-08-04  4:08 ` [PATCH v12 1/8] package_rpm.bbclass: Drop external dependency generator to support rpm 6 Sumanth Gavini
2026-08-04  4:08 ` [PATCH v12 2/8] package_rpm.bbclass: Define _lib and _libdir for rpmbuild Sumanth Gavini
2026-08-04  4:08 ` [PATCH v12 3/8] lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or musl Sumanth Gavini
2026-08-04  4:08 ` [PATCH v12 4/8] lib/oe/package.py: Don't redirect stderr Sumanth Gavini
2026-08-04  4:08 ` [PATCH v12 5/8] target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES Sumanth Gavini
2026-08-04  4:08 ` [PATCH v12 6/8] rpm: 4.20.1 -> 6.0.2 Sumanth Gavini
2026-08-04  4:08 ` [PATCH v12 7/8] libarchive: Make it work with rpm 6.0.2 Sumanth Gavini
2026-08-04  4:08 ` [PATCH v12 8/8] rpm: filter /usr/bin/pkg-config from RPM auto-generated Requires Sumanth Gavini
2026-08-04 14:18 ` Mathieu Dubois-Briand [this message]
2026-08-04 17:18   ` [PATCH v12 0/8] rpm: 4.20.1 -> 6.0.2 Alexander Kanavin
2026-08-10  5:07     ` Gavini, Sumanth

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=DKG838IZIDKF.1IBQ7TAPXMF9E@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.