All of lore.kernel.org
 help / color / mirror / Atom feed
From: <liezhi.yang@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Cc: <alex.kanavin@gmail.com>, <mathieu.dubois-briand@bootlin.com>,
	<mattware@cisco.com>, <esparlin@cisco.com>,
	<peter.marko@siemens.com>
Subject: [PATCH v8 0/9] rpm: 4.20.1 -> 6.0.1
Date: Thu, 12 Mar 2026 07:09:30 -0700	[thread overview]
Message-ID: <cover.1773324129.git.liezhi.yang@windriver.com> (raw)

From: Robert Yang <liezhi.yang@windriver.com>

* 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

// Robert

The following changes since commit 7e75ec7a66c8c5f06c264784b0b6daaca37a9381:

  bitbake.conf: Set PACKAGECONFIG vardepvalue (2026-03-12 12:02:30 +0000)

are available in the Git repository at:

  https://github.com/robertlinux/yocto rbt/rpm
  https://github.com/robertlinux/yocto/tree/rbt/rpm

for you to fetch changes up to 9ee544efe319d8a002a88c0401da0a2e5ae007a9:

  libarchive: Make it work with rpm 6 (2026-03-12 07:00:10 -0700)

----------------------------------------------------------------

Peter Marko (1):
  libarchive: upgrade 3.8.5 -> 3.8.6

Robert Yang (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
  glib/python3/acl: Add pkgconfig to RDEPENDS
  lib/oe/package.py: Don't redirect stderr
  target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES
  rpm: 4.20.1 -> 6.0.1
  libarchive: Make it work with rpm 6

 meta/classes-global/package_rpm.bbclass       |   90 +-
 meta/lib/oe/package.py                        |    5 +-
 meta/recipes-core/glib-2.0/glib.inc           |    2 +-
 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            |    5 +
 .../recipes-devtools/python/python3_3.14.3.bb |    2 +
 ...olor-setting-for-mips64_n32-binaries.patch |   21 +-
 ...akeLists.txt-Fix-checking-for-CFLAGS.patch |   46 -
 ...et-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch |   50 -
 ...satisfiable-dependency-when-building.patch |   17 +-
 ...lib-rpm-as-the-installation-path-for.patch |   23 +-
 ...1-Do-not-read-config-files-from-HOME.patch |   17 +-
 ...-PATH-environment-variable-before-ru.patch |   15 +-
 ...lling-execute-package-scriptlets-wit.patch |   11 +-
 ...not-insert-payloadflags-into-.rpm-me.patch |   17 +-
 ....c-fix-file-conflicts-for-MIPS64-N32.patch |   17 +-
 ...kgverify_level-to-digest-as-RCPM-4.2.patch |   34 +
 ...nfigdeps.sh-Use-pkg-config-from-PATH.patch |   42 +
 ...ools-elfdeps.cc-Remove-format-module.patch |   37 +
 ...prefixing-etc-from-RPM_ETCCONFIGDIR-.patch |   25 +-
 ...avoid-using-GLOB_BRACE-if-undefined-.patch |   13 +-
 ...ge-logging-level-around-scriptlets-t.patch |   13 +-
 .../rpm/{rpm_4.20.1.bb => rpm_6.0.1.bb}       |   15 +-
 ...end_filter-Keep-iterating-even-if-na.patch |   48 +
 ...egister_bidder-Allow-ARCHIVE_STATE_H.patch |   45 +
 ...er-into-a-proper-format-supporting-b.patch | 1723 +++++++++++++++++
 ...ibarchive_3.8.5.bb => libarchive_3.8.6.bb} |    5 +-
 meta/recipes-support/attr/acl_2.3.2.bb        |    2 +
 30 files changed, 2074 insertions(+), 273 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-scripts-pkgconfigdeps.sh-Use-pkg-config-from-PATH.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.1.bb} (94%)
 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
 rename meta/recipes-extended/libarchive/{libarchive_3.8.5.bb => libarchive_3.8.6.bb} (90%)

-- 
2.49.0



             reply	other threads:[~2026-03-12 14:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12 14:09 liezhi.yang [this message]
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

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=cover.1773324129.git.liezhi.yang@windriver.com \
    --to=liezhi.yang@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 \
    /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.