All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rpm: 6.0.2 -> 6.1.0
@ 2026-11-14  4:17 Sumanth Gavini
  2026-11-14  4:31 ` Patchtest results for " patchtest
  0 siblings, 1 reply; 6+ messages in thread
From: Sumanth Gavini @ 2026-11-14  4:17 UTC (permalink / raw)
  To: openembedded-core
  Cc: alex.kanavin, mathieu.dubois-briand, mattware, esparlin,
	peter.marko, sumanth.gavini, randy.macleod

* Switch SRC_URI to the rpm-6.1.x branch.
* COPYING checksum changed, upstream added an SPDX clarification.
  The license is unchanged.
* rpm-setup-autosign moved from ${libdir}/rpm to ${bindir}, add it to
  rpm-build. rpmuncompress moved too and stays in the rpm package.
* Refresh 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch,
  it applied with fuzz 2 after upstream added the WITH_WEBSITE option.
  The other patches apply cleanly.

Signed-off-by: Sumanth Gavini <sumanth.gavini@windriver.com>
---
 ...ardcode-lib-rpm-as-the-installation-path-for.patch | 11 ++++++++---
 .../rpm/{rpm_6.0.2.bb => rpm_6.1.0.bb}                |  7 ++++---
 2 files changed, 12 insertions(+), 6 deletions(-)
 rename meta/recipes-devtools/rpm/{rpm_6.0.2.bb => rpm_6.1.0.bb} (97%)

diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
index 309320cf43..ecb222592c 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
@@ -11,6 +11,10 @@ Updated for rpm 6.0.2:
 Remove the changes for macros.in since it doesn't work for rpmbuild, rpmbuild
 is like cross build, will define the values in package_rpm.bbclass.
 
+Refreshed for rpm 6.1.0:
+Update the context for the new WITH_WEBSITE option line, no functional
+change.
+
 Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
 Signed-off-by: Sumanth Gavini <sumanth.gavini@windriver.com>
 ---
@@ -18,14 +22,15 @@ Signed-off-by: Sumanth Gavini <sumanth.gavini@windriver.com>
  1 files changed, 1 insertions(+), 1 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index de0b578a6..9a3aba071 100644
+index e2a1c5c0b..7e821b1ee 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -41,7 +41,7 @@ option(WITH_LIBELF "Build with libelf support" ON)
- option(WITH_LIBLZMA "Build with liblzma support" ON)
+@@ -41,7 +41,7 @@ option(WITH_LIBLZMA "Build with liblzma support" ON)
  option(WITH_DOXYGEN "Build API docs with doxygen" OFF)
+ option(WITH_WEBSITE "Build standalone website" OFF)
  
 -set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/lib/rpm" CACHE PATH "rpm home")
 +set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/rpm" CACHE PATH "rpm home")
  set(RPM_MACROSDIR "${RPM_CONFIGDIR}/macros.d")
  set(RPM_VENDOR "vendor" CACHE STRING "rpm vendor string")
+ 
diff --git a/meta/recipes-devtools/rpm/rpm_6.0.2.bb b/meta/recipes-devtools/rpm/rpm_6.1.0.bb
similarity index 97%
rename from meta/recipes-devtools/rpm/rpm_6.0.2.bb
rename to meta/recipes-devtools/rpm/rpm_6.1.0.bb
index c27f58a0e8..b4c27bdd5b 100644
--- a/meta/recipes-devtools/rpm/rpm_6.0.2.bb
+++ b/meta/recipes-devtools/rpm/rpm_6.1.0.bb
@@ -22,9 +22,9 @@ HOMEPAGE = "http://www.rpm.org"
 
 # libraries are also LGPL - how to express this?
 LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=066ecde17828e5c8911ec9eae8be78f4"
+LIC_FILES_CHKSUM = "file://COPYING;md5=173bb5fcd0680812f4771daa00511604"
 
-SRC_URI = "git://github.com/rpm-software-management/rpm;protocol=https;branch=rpm-6.0.x;tag=${BP}-release \
+SRC_URI = "git://github.com/rpm-software-management/rpm;protocol=https;branch=rpm-6.1.x;tag=${BP}-release \
            file://0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch \
            file://0001-Do-not-read-config-files-from-HOME.patch \
            file://0001-When-cross-installing-execute-package-scriptlets-wit.patch \
@@ -43,7 +43,7 @@ SRC_URI = "git://github.com/rpm-software-management/rpm;protocol=https;branch=rp
            "
 
 PE = "1"
-SRCREV = "a7f89afb57a98f6419d0eff35ca792198293b682"
+SRCREV = "f832c7e69945248dd5bcfcacfd10c176ee300fa2"
 
 DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd scdoc-native"
 DEPENDS:append:class-native = " file-replacement-native bzip2-replacement-native"
@@ -183,6 +183,7 @@ FILES:${PN}-build = "\
     ${libdir}/rpm/mkinstalldirs \
     ${libdir}/rpm/macros.p* \
     ${libdir}/rpm/fileattrs/* \
+    ${bindir}/rpm-setup-autosign \
     ${libdir}/rpm/rpm-setup-autosign \
 "
 

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Patchtest results for [PATCH] rpm: 6.0.2 -> 6.1.0
  2026-11-14  4:17 [PATCH] rpm: 6.0.2 -> 6.1.0 Sumanth Gavini
@ 2026-11-14  4:31 ` patchtest
  2026-11-16  3:37   ` [PATCH v2] " Sumanth Gavini
  0 siblings, 1 reply; 6+ messages in thread
From: patchtest @ 2026-11-14  4:31 UTC (permalink / raw)
  To: Sumanth Gavini; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 3107 bytes --]

Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch /home/patchtest/share/mboxes/rpm-6.0.2---6.1.0.patch

FAIL: test lic files chksum modified not mentioned: LIC_FILES_CHKSUM changed without "License-Update:" tag and description in commit message (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)

PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test auh changelog truncation notice (test_mbox.TestMbox.test_auh_changelog_truncation_notice)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new source patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new source patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new source patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH v2] rpm: 6.0.2 -> 6.1.0
  2026-11-14  4:31 ` Patchtest results for " patchtest
@ 2026-11-16  3:37   ` Sumanth Gavini
  2026-11-16 12:38     ` [OE-core] " Mathieu Dubois-Briand
  0 siblings, 1 reply; 6+ messages in thread
From: Sumanth Gavini @ 2026-11-16  3:37 UTC (permalink / raw)
  To: openembedded-core, patchtest
  Cc: alex.kanavin, mathieu.dubois-briand, mattware, esparlin,
	peter.marko, sumanth.gavini, randy.macleod

* Switch SRC_URI to the rpm-6.1.x branch.
* COPYING checksum changed, upstream added an SPDX clarification.
  The license is unchanged.
* rpm-setup-autosign moved from ${libdir}/rpm to ${bindir}, add it to
  rpm-build. rpmuncompress moved too and stays in the rpm package.
* Refresh 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch,
  it applied with fuzz 2 after upstream added the WITH_WEBSITE option.
  The other patches apply cleanly.

License-Update: COPYING now has an SPDX clarification note, license unchanged

Signed-off-by: Sumanth Gavini <sumanth.gavini@windriver.com>
---
v2: add License-Update tag to the commit message for the COPYING
    checksum change (patchtest). No other changes.
...ardcode-lib-rpm-as-the-installation-path-for.patch | 11 ++++++++---
 .../rpm/{rpm_6.0.2.bb => rpm_6.1.0.bb}                |  7 ++++---
 2 files changed, 12 insertions(+), 6 deletions(-)
 rename meta/recipes-devtools/rpm/{rpm_6.0.2.bb => rpm_6.1.0.bb} (97%)

diff --git a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
index 309320cf43..ecb222592c 100644
--- a/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
+++ b/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
@@ -11,6 +11,10 @@ Updated for rpm 6.0.2:
 Remove the changes for macros.in since it doesn't work for rpmbuild, rpmbuild
 is like cross build, will define the values in package_rpm.bbclass.
 
+Refreshed for rpm 6.1.0:
+Update the context for the new WITH_WEBSITE option line, no functional
+change.
+
 Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
 Signed-off-by: Sumanth Gavini <sumanth.gavini@windriver.com>
 ---
@@ -18,14 +22,15 @@ Signed-off-by: Sumanth Gavini <sumanth.gavini@windriver.com>
  1 files changed, 1 insertions(+), 1 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index de0b578a6..9a3aba071 100644
+index e2a1c5c0b..7e821b1ee 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -41,7 +41,7 @@ option(WITH_LIBELF "Build with libelf support" ON)
- option(WITH_LIBLZMA "Build with liblzma support" ON)
+@@ -41,7 +41,7 @@ option(WITH_LIBLZMA "Build with liblzma support" ON)
  option(WITH_DOXYGEN "Build API docs with doxygen" OFF)
+ option(WITH_WEBSITE "Build standalone website" OFF)
  
 -set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/lib/rpm" CACHE PATH "rpm home")
 +set(RPM_CONFIGDIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/rpm" CACHE PATH "rpm home")
  set(RPM_MACROSDIR "${RPM_CONFIGDIR}/macros.d")
  set(RPM_VENDOR "vendor" CACHE STRING "rpm vendor string")
+ 
diff --git a/meta/recipes-devtools/rpm/rpm_6.0.2.bb b/meta/recipes-devtools/rpm/rpm_6.1.0.bb
similarity index 97%
rename from meta/recipes-devtools/rpm/rpm_6.0.2.bb
rename to meta/recipes-devtools/rpm/rpm_6.1.0.bb
index c27f58a0e8..b4c27bdd5b 100644
--- a/meta/recipes-devtools/rpm/rpm_6.0.2.bb
+++ b/meta/recipes-devtools/rpm/rpm_6.1.0.bb
@@ -22,9 +22,9 @@ HOMEPAGE = "http://www.rpm.org"
 
 # libraries are also LGPL - how to express this?
 LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=066ecde17828e5c8911ec9eae8be78f4"
+LIC_FILES_CHKSUM = "file://COPYING;md5=173bb5fcd0680812f4771daa00511604"
 
-SRC_URI = "git://github.com/rpm-software-management/rpm;protocol=https;branch=rpm-6.0.x;tag=${BP}-release \
+SRC_URI = "git://github.com/rpm-software-management/rpm;protocol=https;branch=rpm-6.1.x;tag=${BP}-release \
            file://0001-Do-not-add-an-unsatisfiable-dependency-when-building.patch \
            file://0001-Do-not-read-config-files-from-HOME.patch \
            file://0001-When-cross-installing-execute-package-scriptlets-wit.patch \
@@ -43,7 +43,7 @@ SRC_URI = "git://github.com/rpm-software-management/rpm;protocol=https;branch=rp
            "
 
 PE = "1"
-SRCREV = "a7f89afb57a98f6419d0eff35ca792198293b682"
+SRCREV = "f832c7e69945248dd5bcfcacfd10c176ee300fa2"
 
 DEPENDS = "lua libgcrypt file popt xz bzip2 elfutils python3 sqlite3 zstd scdoc-native"
 DEPENDS:append:class-native = " file-replacement-native bzip2-replacement-native"
@@ -183,6 +183,7 @@ FILES:${PN}-build = "\
     ${libdir}/rpm/mkinstalldirs \
     ${libdir}/rpm/macros.p* \
     ${libdir}/rpm/fileattrs/* \
+    ${bindir}/rpm-setup-autosign \
     ${libdir}/rpm/rpm-setup-autosign \
 "
 

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [OE-core] [PATCH v2] rpm: 6.0.2 -> 6.1.0
  2026-11-16  3:37   ` [PATCH v2] " Sumanth Gavini
@ 2026-11-16 12:38     ` Mathieu Dubois-Briand
  2026-11-16 12:57       ` Marko, Peter
  0 siblings, 1 reply; 6+ messages in thread
From: Mathieu Dubois-Briand @ 2026-11-16 12:38 UTC (permalink / raw)
  To: sumanth.gavini, openembedded-core, patchtest
  Cc: alex.kanavin, mattware, esparlin, peter.marko, randy.macleod

On Mon Nov 16, 2026 at 4:37 AM CET, Sumanth Gavini via openembedded-core wrote:
> * Switch SRC_URI to the rpm-6.1.x branch.
> * COPYING checksum changed, upstream added an SPDX clarification.
>   The license is unchanged.
> * rpm-setup-autosign moved from ${libdir}/rpm to ${bindir}, add it to
>   rpm-build. rpmuncompress moved too and stays in the rpm package.
> * Refresh 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch,
>   it applied with fuzz 2 after upstream added the WITH_WEBSITE option.
>   The other patches apply cleanly.
>
> License-Update: COPYING now has an SPDX clarification note, license unchanged
>
> Signed-off-by: Sumanth Gavini <sumanth.gavini@windriver.com>
> ---

Hi Sumanth,

Thanks for the update, but it looks like we sometimes have build
failures:

ERROR: rpm-native-1_6.1.0-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/qemuarm-tc/build/build-st-2526906/tmp/work/x86_64-linux/rpm-native/6.1.0/temp/run.do_compile.2871087' failed with exit code 2
NOTE: recipe mesa-tools-native-2_26.2.4-r0: task do_create_spdx: Succeeded
NOTE: CPU pressure (>20000.0us) is limiting task startup
NOTE: No pressure is limiting task startup
NOTE: Running task 1924 of 1996 (virtual:native:/srv/pokybuild/yocto-worker/qemuarm-tc/build/layers/openembedded-core/meta/recipes-graphics/mesa/mesa.bb:do_create_spdx)
NOTE: recipe python3-pygments-native-2.21.0-r0: task do_create_spdx: Started
NOTE: recipe mesa-native-2_26.2.4-r0: task do_create_spdx: Started
NOTE: recipe python3-pygments-native-2.21.0-r0: task do_create_spdx: Succeeded
NOTE: recipe mesa-native-2_26.2.4-r0: task do_create_spdx: Succeeded
NOTE: CPU pressure (>20000.0us) is limiting task startup
NOTE: recipe glibc-2.44+git-r0: task do_configure: Succeeded
ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/qemuarm-tc/build/build-st-2526906/tmp/work/x86_64-linux/rpm-native/6.1.0/temp/log.do_compile.2871087
Log data follows:
...
| /srv/pokybuild/yocto-worker/qemuarm-tc/build/build-st-2526906/tmp/work/x86_64-linux/rpm-native/6.1.0/sources/rpm-6.1.0/lib/headerfmt.cc:7:10: fatal error: format: No such file or directory
|     7 | #include <format>
|       |          ^~~~~~~~
| compilation terminated.
| make[2]: *** [lib/CMakeFiles/librpm.dir/build.make:154: lib/CMakeFiles/librpm.dir/headerfmt.cc.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory '/srv/pokybuild/yocto-worker/qemuarm-tc/build/build-st-2526906/tmp/work/x86_64-linux/rpm-native/6.1.0/build'
| make[1]: *** [CMakeFiles/Makefile2:700: lib/CMakeFiles/librpm.dir/all] Error 2
| make[1]: Leaving directory '/srv/pokybuild/yocto-worker/qemuarm-tc/build/build-st-2526906/tmp/work/x86_64-linux/rpm-native/6.1.0/build'
| make: *** [Makefile:136: all] Error 2
|
| WARNING: exit code 2 from a shell command.
NOTE: recipe rpm-native-1_6.1.0-r0: task do_compile: Failed

https://autobuilder.yoctoproject.org/valkyrie/#/builders/42/builds/5000
https://autobuilder.yoctoproject.org/valkyrie/#/builders/66/builds/5121
https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/5369

All these build were on debian 12 workers, so there might be some issues
with that host distribution. I'm launching a genericx86-64 build on a
debian 12 worker, to see if it reproduces easily.

https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/5047

Can you have a look at the issue?

Thanks,
Mathieu

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [OE-core] [PATCH v2] rpm: 6.0.2 -> 6.1.0
  2026-11-16 12:38     ` [OE-core] " Mathieu Dubois-Briand
@ 2026-11-16 12:57       ` Marko, Peter
  2026-11-16 20:16         ` Gavini, Sumanth
  0 siblings, 1 reply; 6+ messages in thread
From: Marko, Peter @ 2026-11-16 12:57 UTC (permalink / raw)
  To: Mathieu Dubois-Briand, sumanth.gavini@windriver.com,
	openembedded-core@lists.openembedded.org,
	patchtest@automation.yoctoproject.org
  Cc: alex.kanavin@gmail.com, mattware@cisco.com, esparlin@cisco.com,
	randy.macleod@windriver.com



> -----Original Message-----
> From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
> Sent: Monday, November 16, 2026 1:39 PM
> To: sumanth.gavini@windriver.com; openembedded-
> core@lists.openembedded.org; patchtest@automation.yoctoproject.org
> Cc: alex.kanavin@gmail.com; mattware@cisco.com; esparlin@cisco.com; Marko,
> Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>;
> randy.macleod@windriver.com
> Subject: Re: [OE-core] [PATCH v2] rpm: 6.0.2 -> 6.1.0
> 
> On Mon Nov 16, 2026 at 4:37 AM CET, Sumanth Gavini via openembedded-core
> wrote:
> > * Switch SRC_URI to the rpm-6.1.x branch.
> > * COPYING checksum changed, upstream added an SPDX clarification.
> >   The license is unchanged.
> > * rpm-setup-autosign moved from ${libdir}/rpm to ${bindir}, add it to
> >   rpm-build. rpmuncompress moved too and stays in the rpm package.
> > * Refresh 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch,
> >   it applied with fuzz 2 after upstream added the WITH_WEBSITE option.
> >   The other patches apply cleanly.
> >
> > License-Update: COPYING now has an SPDX clarification note, license
> unchanged
> >
> > Signed-off-by: Sumanth Gavini <sumanth.gavini@windriver.com>
> > ---
> 
> Hi Sumanth,
> 
> Thanks for the update, but it looks like we sometimes have build
> failures:
> 
> ERROR: rpm-native-1_6.1.0-r0 do_compile: Execution of '/srv/pokybuild/yocto-
> worker/qemuarm-tc/build/build-st-2526906/tmp/work/x86_64-linux/rpm-
> native/6.1.0/temp/run.do_compile.2871087' failed with exit code 2
> NOTE: recipe mesa-tools-native-2_26.2.4-r0: task do_create_spdx: Succeeded
> NOTE: CPU pressure (>20000.0us) is limiting task startup
> NOTE: No pressure is limiting task startup
> NOTE: Running task 1924 of 1996 (virtual:native:/srv/pokybuild/yocto-
> worker/qemuarm-tc/build/layers/openembedded-core/meta/recipes-
> graphics/mesa/mesa.bb:do_create_spdx)
> NOTE: recipe python3-pygments-native-2.21.0-r0: task do_create_spdx: Started
> NOTE: recipe mesa-native-2_26.2.4-r0: task do_create_spdx: Started
> NOTE: recipe python3-pygments-native-2.21.0-r0: task do_create_spdx:
> Succeeded
> NOTE: recipe mesa-native-2_26.2.4-r0: task do_create_spdx: Succeeded
> NOTE: CPU pressure (>20000.0us) is limiting task startup
> NOTE: recipe glibc-2.44+git-r0: task do_configure: Succeeded
> ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/qemuarm-
> tc/build/build-st-2526906/tmp/work/x86_64-linux/rpm-
> native/6.1.0/temp/log.do_compile.2871087
> Log data follows:
> ...
> | /srv/pokybuild/yocto-worker/qemuarm-tc/build/build-st-
> 2526906/tmp/work/x86_64-linux/rpm-native/6.1.0/sources/rpm-
> 6.1.0/lib/headerfmt.cc:7:10: fatal error: format: No such file or directory
> |     7 | #include <format>
> |       |          ^~~~~~~~
> | compilation terminated.
> | make[2]: *** [lib/CMakeFiles/librpm.dir/build.make:154:
> lib/CMakeFiles/librpm.dir/headerfmt.cc.o] Error 1
> | make[2]: *** Waiting for unfinished jobs....
> | make[2]: Leaving directory '/srv/pokybuild/yocto-worker/qemuarm-tc/build/build-
> st-2526906/tmp/work/x86_64-linux/rpm-native/6.1.0/build'
> | make[1]: *** [CMakeFiles/Makefile2:700: lib/CMakeFiles/librpm.dir/all] Error 2
> | make[1]: Leaving directory '/srv/pokybuild/yocto-worker/qemuarm-tc/build/build-
> st-2526906/tmp/work/x86_64-linux/rpm-native/6.1.0/build'
> | make: *** [Makefile:136: all] Error 2
> |
> | WARNING: exit code 2 from a shell command.
> NOTE: recipe rpm-native-1_6.1.0-r0: task do_compile: Failed
> 
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/42/builds/5000
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/66/builds/5121
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/5369
> 
> All these build were on debian 12 workers, so there might be some issues
> with that host distribution. I'm launching a genericx86-64 build on a
> debian 12 worker, to see if it reproduces easily.

This one is clear, I have seen that couple times already on our Debian 12 workers when developers are eager to use new c++ features.
Debian 12 has gcc 12.2, while <format> was introduced only in gcc 13.
So the build cannot work with Debian 12 host gcc anymore.

Debian 12 LTS EOL in July 2028, so still almost 2 years ahead of us.
So something needs to be done, like using buildtools-tarball or patching rpm.

Peter

> 
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/5047
> 
> Can you have a look at the issue?
> 
> Thanks,
> Mathieu
> 
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [OE-core] [PATCH v2] rpm: 6.0.2 -> 6.1.0
  2026-11-16 12:57       ` Marko, Peter
@ 2026-11-16 20:16         ` Gavini, Sumanth
  0 siblings, 0 replies; 6+ messages in thread
From: Gavini, Sumanth @ 2026-11-16 20:16 UTC (permalink / raw)
  To: Marko, Peter, Mathieu Dubois-Briand,
	openembedded-core@lists.openembedded.org,
	patchtest@automation.yoctoproject.org
  Cc: alex.kanavin@gmail.com, mattware@cisco.com, esparlin@cisco.com,
	MacLeod, Randy

On 11/16/2026 6:57 AM, Marko, Peter wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
> 
>> -----Original Message-----
>> From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
>> Sent: Monday, November 16, 2026 1:39 PM
>> To: sumanth.gavini@windriver.com; openembedded-
>> core@lists.openembedded.org; patchtest@automation.yoctoproject.org
>> Cc: alex.kanavin@gmail.com; mattware@cisco.com; esparlin@cisco.com; Marko,
>> Peter (FT D EU SK BFS1) <Peter.Marko@siemens.com>;
>> randy.macleod@windriver.com
>> Subject: Re: [OE-core] [PATCH v2] rpm: 6.0.2 -> 6.1.0
>>
>> On Mon Nov 16, 2026 at 4:37 AM CET, Sumanth Gavini via openembedded-core
>> wrote:
>>> * Switch SRC_URI to the rpm-6.1.x branch.
>>> * COPYING checksum changed, upstream added an SPDX clarification.
>>>    The license is unchanged.
>>> * rpm-setup-autosign moved from ${libdir}/rpm to ${bindir}, add it to
>>>    rpm-build. rpmuncompress moved too and stays in the rpm package.
>>> * Refresh 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch,
>>>    it applied with fuzz 2 after upstream added the WITH_WEBSITE option.
>>>    The other patches apply cleanly.
>>>
>>> License-Update: COPYING now has an SPDX clarification note, license
>> unchanged
>>>
>>> Signed-off-by: Sumanth Gavini <sumanth.gavini@windriver.com>
>>> ---
>>
>> Hi Sumanth,
>>
>> Thanks for the update, but it looks like we sometimes have build
>> failures:
>>
>> ERROR: rpm-native-1_6.1.0-r0 do_compile: Execution of '/srv/pokybuild/yocto-
>> worker/qemuarm-tc/build/build-st-2526906/tmp/work/x86_64-linux/rpm-
>> native/6.1.0/temp/run.do_compile.2871087' failed with exit code 2
>> NOTE: recipe mesa-tools-native-2_26.2.4-r0: task do_create_spdx: Succeeded
>> NOTE: CPU pressure (>20000.0us) is limiting task startup
>> NOTE: No pressure is limiting task startup
>> NOTE: Running task 1924 of 1996 (virtual:native:/srv/pokybuild/yocto-
>> worker/qemuarm-tc/build/layers/openembedded-core/meta/recipes-
>> graphics/mesa/mesa.bb:do_create_spdx)
>> NOTE: recipe python3-pygments-native-2.21.0-r0: task do_create_spdx: Started
>> NOTE: recipe mesa-native-2_26.2.4-r0: task do_create_spdx: Started
>> NOTE: recipe python3-pygments-native-2.21.0-r0: task do_create_spdx:
>> Succeeded
>> NOTE: recipe mesa-native-2_26.2.4-r0: task do_create_spdx: Succeeded
>> NOTE: CPU pressure (>20000.0us) is limiting task startup
>> NOTE: recipe glibc-2.44+git-r0: task do_configure: Succeeded
>> ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/qemuarm-
>> tc/build/build-st-2526906/tmp/work/x86_64-linux/rpm-
>> native/6.1.0/temp/log.do_compile.2871087
>> Log data follows:
>> ...
>> | /srv/pokybuild/yocto-worker/qemuarm-tc/build/build-st-
>> 2526906/tmp/work/x86_64-linux/rpm-native/6.1.0/sources/rpm-
>> 6.1.0/lib/headerfmt.cc:7:10: fatal error: format: No such file or directory
>> |     7 | #include <format>
>> |       |          ^~~~~~~~
>> | compilation terminated.
>> | make[2]: *** [lib/CMakeFiles/librpm.dir/build.make:154:
>> lib/CMakeFiles/librpm.dir/headerfmt.cc.o] Error 1
>> | make[2]: *** Waiting for unfinished jobs....
>> | make[2]: Leaving directory '/srv/pokybuild/yocto-worker/qemuarm-tc/build/build-
>> st-2526906/tmp/work/x86_64-linux/rpm-native/6.1.0/build'
>> | make[1]: *** [CMakeFiles/Makefile2:700: lib/CMakeFiles/librpm.dir/all] Error 2
>> | make[1]: Leaving directory '/srv/pokybuild/yocto-worker/qemuarm-tc/build/build-
>> st-2526906/tmp/work/x86_64-linux/rpm-native/6.1.0/build'
>> | make: *** [Makefile:136: all] Error 2
>> |
>> | WARNING: exit code 2 from a shell command.
>> NOTE: recipe rpm-native-1_6.1.0-r0: task do_compile: Failed
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/42/builds/5000
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/66/builds/5121
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/37/builds/5369
>>
>> All these build were on debian 12 workers, so there might be some issues
>> with that host distribution. I'm launching a genericx86-64 build on a
>> debian 12 worker, to see if it reproduces easily.
> 
> This one is clear, I have seen that couple times already on our Debian 12 workers when developers are eager to use new c++ features.
> Debian 12 has gcc 12.2, while <format> was introduced only in gcc 13.
> So the build cannot work with Debian 12 host gcc anymore.
> 
> Debian 12 LTS EOL in July 2028, so still almost 2 years ahead of us.
> So something needs to be done, like using buildtools-tarball or patching rpm.
> 
> Peter
> 
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/4/builds/5047
>>
>> Can you have a look at the issue?
>>
>> Thanks,
>> Mathieu
>>
>> --
>> Mathieu Dubois-Briand, Bootlin
>> Embedded Linux and Kernel engineering
>> https://bootlin.com
> 
Hi Mathieu, Peter,

Thanks for the report. I will look into the issue and send a v3.

-- 
# Sumanth Gavini
# Wind River Linux

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-16 20:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-14  4:17 [PATCH] rpm: 6.0.2 -> 6.1.0 Sumanth Gavini
2026-11-14  4:31 ` Patchtest results for " patchtest
2026-11-16  3:37   ` [PATCH v2] " Sumanth Gavini
2026-11-16 12:38     ` [OE-core] " Mathieu Dubois-Briand
2026-11-16 12:57       ` Marko, Peter
2026-11-16 20:16         ` Gavini, Sumanth

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.