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 v10 0/8] rpm: 4.20.1 -> 6.0.2
Date: Wed, 29 Jul 2026 10:15:33 +0200	[thread overview]
Message-ID: <DKAWM782ZCSI.BDB91NBOUN57@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,

I have to report an additional failure, during reproducibility tests.
This one only occurred once, on Richard's branch. We are not fully
certain about how this did happen, and maybe it won't happen again. I'm
still documenting this here.

No specific action required on your side so far, but maybe it rings a
bell?

AssertionError: The following rpm packages are different and not in exclusion list:
/srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/rpm/./x86_64_v3/iptables-dev-1.8.13-r0.x86_64_v3.rpm
/srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/rpm/./x86_64_v3/kmod-dev-34.2-r0.x86_64_v3.rpm
/srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/rpm/./x86_64_v3/libcap-ng-dev-0.9.3-r0.x86_64_v3.rpm
/srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/rpm/./x86_64_v3/libidn2-dev-2.3.8-r0.x86_64_v3.rpm
/srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/rpm/./x86_64_v3/libpsl-dev-0.23.0-r0.x86_64_v3.rpm
/srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/rpm/./x86_64_v3/libsqlite3-dev-3.53.4-r0.x86_64_v3.rpm
/srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/rpm/./x86_64_v3/libtasn1-dev-4.21.0-r0.x86_64_v3.rpm
/srv/pokybuild/yocto-worker/reproducible/build/build-st/reproducibleB-extended/tmp/deploy/rpm/./x86_64_v3/libuuid-dev-2.42.2-r0.x86_64_v3.rpm

https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/4526

Diffoscope output can be found here:
https://valkyrie.yocto.io/pub/repro-fail/oe-reproducible-20260728-_rch7kvf/packages/diff-html/

We can see some pkgconfig differences in RPM header:

202 	PROVIDES:·			202 	PROVIDES:·
203 	·-·iptables-dev			203 	·-·iptables-dev
204 	·-·iptables-dev(x86-64)		204 	·-·iptables-dev(x86-64)
205 	·-·pkgconfig(libip4tc)
206 	·-·pkgconfig(libip6tc)
207 	·-·pkgconfig(libiptc)
208 	·-·pkgconfig(xtables)

Thanks,
Mathieu

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



      parent reply	other threads:[~2026-07-29  8:15 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 ` [PATCH v10 0/8] rpm: 4.20.1 -> 6.0.2 Mathieu Dubois-Briand
2026-07-28 19:33   ` [OE-core] " 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 [this message]

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=DKAWM782ZCSI.BDB91NBOUN57@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.