From: Sumanth Gavini <sumanth.gavini@windriver.com>
To: openembedded-core@lists.openembedded.org, alex.kanavin@gmail.com
Cc: esparlin@cisco.com, mathieu.dubois-briand@bootlin.com,
mattware@cisco.com, peter.marko@siemens.com,
randy.macleod@windriver.com, sumanth.gavini@windriver.com
Subject: [PATCH v9 0/8] rpm: 4.20.1 -> 6.0.2
Date: Fri, 24 Jul 2026 13:04:15 -0700 [thread overview]
Message-ID: <20260724200424.954199-1-sumanth.gavini@windriver.com> (raw)
In-Reply-To: <CANNYZj-hrPf-CVJwTaEJ6dgUuWnipYKKiPZ3r_t1_HPYhCKvYg@mail.gmail.com>
* 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
Continuing Robert's work.
--
# Sumanth Gavini
# Wind River Linux
-----------------------------------------------------------------------
Sumanth Gavini (8):
package_rpm.bbclass: Drop external dependency generator to support rpm
6
package_rpm.bbclass: Define _lib and _libdir for rpmbuild
lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or
musl
lib/oe/package.py: Filter out /usr/bin/pkg-config file dependency
lib/oe/package.py: Don't redirect stderr
target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES
rpm: 4.20.1 -> 6.0.2
libarchive: Make it work with rpm 6
meta/classes-global/package_rpm.bbclass | 90 +-
meta/lib/oe/package.py | 19 +-
meta/recipes-core/glibc/glibc-package.inc | 5 +
.../meta/nativesdk-sdk-provides-dummy.bb | 1 +
.../meta/target-sdk-provides-dummy.bb | 1 +
meta/recipes-core/musl/musl_git.bb | 4 +
...olor-setting-for-mips64_n32-binaries.patch | 22 +-
...akeLists.txt-Fix-checking-for-CFLAGS.patch | 46 -
...et-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch | 50 -
...satisfiable-dependency-when-building.patch | 18 +-
...lib-rpm-as-the-installation-path-for.patch | 24 +-
...1-Do-not-read-config-files-from-HOME.patch | 18 +-
...-PATH-environment-variable-before-ru.patch | 16 +-
...lling-execute-package-scriptlets-wit.patch | 12 +-
...not-insert-payloadflags-into-.rpm-me.patch | 18 +-
....c-fix-file-conflicts-for-MIPS64-N32.patch | 18 +-
...kgverify_level-to-digest-as-RCPM-4.2.patch | 35 +
...ools-elfdeps.cc-Remove-format-module.patch | 38 +
...prefixing-etc-from-RPM_ETCCONFIGDIR-.patch | 26 +-
...avoid-using-GLOB_BRACE-if-undefined-.patch | 14 +-
...ge-logging-level-around-scriptlets-t.patch | 14 +-
.../rpm/{rpm_4.20.1.bb => rpm_6.0.2.bb} | 14 +-
...end_filter-Keep-iterating-even-if-na.patch | 49 +
...egister_bidder-Allow-ARCHIVE_STATE_H.patch | 46 +
...er-into-a-proper-format-supporting-b.patch | 1693 +++++++++++++++++
.../libarchive/libarchive_3.8.8.bb | 3 +
26 files changed, 2023 insertions(+), 271 deletions(-)
delete mode 100644 meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch
delete mode 100644 meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-set-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch
create mode 100644 meta/recipes-devtools/rpm/files/0001-macros.in-Set-_pkgverify_level-to-digest-as-RCPM-4.2.patch
create mode 100644 meta/recipes-devtools/rpm/files/0001-tools-elfdeps.cc-Remove-format-module.patch
rename meta/recipes-devtools/rpm/{rpm_4.20.1.bb => rpm_6.0.2.bb} (96%)
create mode 100644 meta/recipes-extended/libarchive/libarchive/0001-archive_read_append_filter-Keep-iterating-even-if-na.patch
create mode 100644 meta/recipes-extended/libarchive/libarchive/0002-__archive_read_register_bidder-Allow-ARCHIVE_STATE_H.patch
create mode 100644 meta/recipes-extended/libarchive/libarchive/0003-Convert-RPM-reader-into-a-proper-format-supporting-b.patch
next prev parent reply other threads:[~2026-07-24 20:04 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 14:09 [PATCH v8 0/9] rpm: 4.20.1 -> 6.0.1 liezhi.yang
2026-03-12 14:09 ` [PATCH v8 1/9] package_rpm.bbclass: Drop external dependency generator to support rpm 6 liezhi.yang
2026-03-12 14:09 ` [PATCH v8 2/9] package_rpm.bbclass: Define _lib and _libdir for rpmbuild liezhi.yang
2026-03-12 14:09 ` [PATCH v8 3/9] lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or musl liezhi.yang
2026-03-12 14:09 ` [PATCH v8 4/9] glib/python3/acl: Add pkgconfig to RDEPENDS liezhi.yang
2026-03-14 8:02 ` [OE-core] " Richard Purdie
2026-03-14 23:36 ` Ross Burton
2026-03-12 14:09 ` [PATCH v8 5/9] lib/oe/package.py: Don't redirect stderr liezhi.yang
2026-03-12 14:09 ` [PATCH v8 6/9] target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES liezhi.yang
2026-03-12 14:09 ` [PATCH v8 7/9] rpm: 4.20.1 -> 6.0.1 liezhi.yang
2026-03-12 14:09 ` [PATCH v8 8/9] libarchive: upgrade 3.8.5 -> 3.8.6 liezhi.yang
2026-03-12 14:09 ` [PATCH v8 9/9] libarchive: Make it work with rpm 6 liezhi.yang
2026-03-12 15:52 ` [PATCH v8 0/9] rpm: 4.20.1 -> 6.0.1 Mathieu Dubois-Briand
2026-03-13 4:54 ` [OE-core] " Robert Yang
2026-03-13 6:24 ` Mathieu Dubois-Briand
2026-03-13 18:58 ` Mathieu Dubois-Briand
[not found] ` <189C7BAFC42D9B2E.1443259@lists.openembedded.org>
2026-03-14 7:00 ` Mathieu Dubois-Briand
2026-07-17 16:22 ` Randy MacLeod
2026-07-17 16:36 ` Alexander Kanavin
2026-07-24 20:04 ` Sumanth Gavini [this message]
2026-07-24 20:04 ` [PATCH v9 1/8] package_rpm.bbclass: Drop external dependency generator to support rpm 6 Sumanth Gavini
2026-07-24 20:04 ` [PATCH v9 2/8] package_rpm.bbclass: Define _lib and _libdir for rpmbuild Sumanth Gavini
2026-07-24 20:04 ` [PATCH v9 3/8] lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or musl Sumanth Gavini
2026-07-24 20:04 ` [PATCH v9 4/8] lib/oe/package.py: Filter out /usr/bin/pkg-config file dependency Sumanth Gavini
2026-07-24 20:04 ` [PATCH v9 5/8] lib/oe/package.py: Don't redirect stderr Sumanth Gavini
2026-07-24 20:04 ` [PATCH v9 6/8] target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES Sumanth Gavini
2026-07-24 20:04 ` [PATCH v9 7/8] rpm: 4.20.1 -> 6.0.2 Sumanth Gavini
2026-07-24 20:04 ` [PATCH v9 8/8] libarchive: Make it work with rpm 6 Sumanth Gavini
2026-07-26 14:29 ` [OE-core] [PATCH v9 0/8] rpm: 4.20.1 -> 6.0.2 Richard Purdie
2026-07-27 8:13 ` Adam Duskett
2026-07-27 23:07 ` [OE-core] " 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=20260724200424.954199-1-sumanth.gavini@windriver.com \
--to=sumanth.gavini@windriver.com \
--cc=alex.kanavin@gmail.com \
--cc=esparlin@cisco.com \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=mattware@cisco.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.marko@siemens.com \
--cc=randy.macleod@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox