Skip to contentSkip to conversation

sysstat: upgrade from 12.7.6 to 12.7.7

PATCH In review [email protected] 2 participants 8 messages Feb 13, 2025 – Feb 14, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 sysstat: upgrade from 12.7.6 to 12.7.7

From: Chen Qi <[email protected]>

Upgrade sysstat from 12.7.6 to 12.7.7.

---
 .../sysstat/{sysstat_12.7.6.bb => sysstat_12.7.7.bb}            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/sysstat/{sysstat_12.7.6.bb => sysstat_12.7.7.bb} (98%)
meta/recipes-extended/sysstat/sysstat_12.7.7.bb renamed from meta/recipes-extended/sysstat/sysstat_12.7.6.bb +1 -1
similarity index 98%
rename from meta/recipes-extended/sysstat/sysstat_12.7.6.bb
rename to meta/recipes-extended/sysstat/sysstat_12.7.7.bb
index ea94ebf0aa..8ea47d7797 100644
@@ -12,7 +12,7 @@ SRC_URI = "git://github.com/sysstat/sysstat.git;protocol=https;branch=master \
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=a23a74b3f4caf9616230789d94217acb"
 
-SRCREV = "3e3ec9b2c69940503723e3c2ffc1965a8a3484e3"
+SRCREV = "dac10e13c70d1102aa3beea10135a3ed60520c36"
 S = "${WORKDIR}/git"
 
 DEPENDS += "base-passwd"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/5 shadow: upgrade from 4.17.1 to 4.17.2

From: Chen Qi <[email protected]>

Upgrade shadow from 4.17.1 to 4.17.2.

0001-lib-attr.h-use-C23-attributes-only-with-gcc-10.patch is dropped because it has been merged.

---
 ...-use-C23-attributes-only-with-gcc-10.patch | 29 -------------------
 .../{shadow_4.17.1.bb => shadow_4.17.2.bb}    |  3 +-
 2 files changed, 1 insertion(+), 31 deletions(-)
 delete mode 100644 meta/recipes-extended/shadow/files/0001-lib-attr.h-use-C23-attributes-only-with-gcc-10.patch
 rename meta/recipes-extended/shadow/{shadow_4.17.1.bb => shadow_4.17.2.bb} (98%)
meta/recipes-extended/shadow/files/0001-lib-attr.h-use-C23-attributes-only-with-gcc-10.patch deleted +0 -29
deleted file mode 100644
index 4e2d3a89c3..0000000000
@@ -1,29 +0,0 @@
-From f2d8d96e8586772becd68593a5bd9e14632841af Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <[email protected]>
-Date: Tue, 7 Jan 2025 17:03:32 +0100
-Subject: [PATCH] lib/attr.h: use C23 attributes only with gcc >= 10
-
-These are not available on earlier versions and builds break there.
-
-Upstream-Status: Submitted [https://github.com/shadow-maint/shadow/pull/1172]
-Signed-off-by: Alexander Kanavin <[email protected]>
----
- lib/attr.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/attr.h b/lib/attr.h
-index 02c7e252..290514d8 100644
---- a/lib/attr.h
-+++ b/lib/attr.h
-@@ -5,7 +5,7 @@
- #include "config.h"
- 
- 
--#if defined(__GNUC__)
-+#if defined(__GNUC__) && (__GNUC__ >= 10)
- # define MAYBE_UNUSED                [[gnu::unused]]
- # define NORETURN                    [[gnu::__noreturn__]]
- # define format_attr(type, fmt, va)  [[gnu::format(type, fmt, va)]]
--- 
-2.45.2
-
meta/recipes-extended/shadow/shadow_4.17.2.bb renamed from meta/recipes-extended/shadow/shadow_4.17.1.bb +1 -2
similarity index 98%
rename from meta/recipes-extended/shadow/shadow_4.17.1.bb
rename to meta/recipes-extended/shadow/shadow_4.17.2.bb
index 7c89062646..5459d4e57f 100644
@@ -14,7 +14,6 @@ GITHUB_BASE_URI = "https://github.com/shadow-maint/shadow/releases"
 SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.gz \
            ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \
            file://useradd \
-           file://0001-lib-attr.h-use-C23-attributes-only-with-gcc-10.patch \
            "
 
 SRC_URI:append:class-target = " \
@@ -25,7 +24,7 @@ SRC_URI:append:class-target = " \
 SRC_URI:append:class-native = " \
            file://commonio.c-fix-unexpected-open-failure-in-chroot-env.patch \
            "
-SRC_URI[sha256sum] = "51a946bbce141c5de14b6d47cab167206cd685d2307e917611dbc1be46c84a18"
+SRC_URI[sha256sum] = "064a7c048e613ef5b5f3613e137d79d35d062ab434e89020f743e90844ec5c4f"
 UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
 
 # Additional Policy files for PAM
Signature · 1 line
2.25.1
#2 lore raw

PATCH 3/5 diffutils: upgrade from 3.10 to 3.11

In reply to [email protected]

From: Chen Qi <[email protected]>

Upgrade diffutils from 3.10 to 3.11.

---
 .../diffutils/{diffutils_3.10.bb => diffutils_3.11.bb}          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/diffutils/{diffutils_3.10.bb => diffutils_3.11.bb} (93%)
meta/recipes-extended/diffutils/diffutils_3.11.bb renamed from meta/recipes-extended/diffutils/diffutils_3.10.bb +1 -1
similarity index 93%
rename from meta/recipes-extended/diffutils/diffutils_3.10.bb
rename to meta/recipes-extended/diffutils/diffutils_3.11.bb
index 08e8305612..8f5a87c2db 100644
@@ -8,7 +8,7 @@ SRC_URI = "${GNU_MIRROR}/diffutils/diffutils-${PV}.tar.xz \
            file://0001-Skip-strip-trailing-cr-test-case.patch \
            "
 
-SRC_URI[sha256sum] = "90e5e93cc724e4ebe12ede80df1634063c7a855692685919bfe60b556c9bd09e"
+SRC_URI[sha256sum] = "a73ef05fe37dd585f7d87068e4a0639760419f810138bd75c61ddaa1f9e2131e"
 
 EXTRA_OECONF += "ac_cv_path_PR_PROGRAM=${bindir}/pr --without-libsigsegv-prefix"
 
Signature · 1 line
2.25.1
#3 lore raw

Re: [OE-core][PATCH 3/5] diffutils: upgrade from 3.10 to 3.11

Quoted 6 lines · Chen Qi via lists.openembedded.org

From: Chen Qi <[email protected]>

Upgrade diffutils from 3.10 to 3.11.

---

Hi,

Not an issue with the patch, just to notify Joshua: this will break meta-mingw if merged:

4024 ERROR: nativesdk-diffutils-3.11-r0 do_patch: Applying patch '0001-sdiff-Match-execvp-argument-types.patch' on target directory '/srv/pokybuild/yocto-worker/meta-mingw/build/build/tmp/work/i686-nativesdk-mingw32-w64-mingw32/nativesdk-diffutils/3.11/diffutils-3.11'

https://autobuilder.yoctoproject.org/valkyrie/?#/builders/7/builds/1031/steps/12/logs/stdio

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#4 lore raw

PATCH 4/5 coreutils: upgrade from 9.5 to 9.6

In reply to [email protected]

From: Chen Qi <[email protected]>

Upgrade coreutils from 9.5 to 9.6.

License-Update: Update copyright year (2024 -> 2025).

Fix do_install_ptest for new version to avoid buildpath QA issue.

---
 .../coreutils/{coreutils_9.5.bb => coreutils_9.6.bb}         | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta/recipes-core/coreutils/{coreutils_9.5.bb => coreutils_9.6.bb} (97%)
meta/recipes-core/coreutils/coreutils_9.6.bb renamed from meta/recipes-core/coreutils/coreutils_9.5.bb +3 -2
similarity index 97%
rename from meta/recipes-core/coreutils/coreutils_9.5.bb
rename to meta/recipes-core/coreutils/coreutils_9.6.bb
index 5372318312..0527787934 100644
@@ -6,7 +6,7 @@ HOMEPAGE = "http://www.gnu.org/software/coreutils/"
 BUGTRACKER = "http://debbugs.gnu.org/coreutils"
 LICENSE = "GPL-3.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464 \
-                    file://src/ls.c;beginline=1;endline=15;md5=9ac94aaed7fd46fd8df7147a9e3410cb \
+                    file://src/ls.c;beginline=1;endline=15;md5=824c1997414aea9f344747bd81cf5a31 \
                     "
 DEPENDS = "gmp libcap"
 DEPENDS:class-native = ""
@@ -19,7 +19,7 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
            file://intermittent-testfailure.patch \
            file://run-ptest \
            "
-SRC_URI[sha256sum] = "cd328edeac92f6a665de9f323c93b712af1858bc2e0d88f3f7100469470a1b8a"
+SRC_URI[sha256sum] = "7a0124327b398fd9eb1a6abde583389821422c744ffa10734b24f557610d3283"
 
 # http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842
 #
@@ -205,6 +205,7 @@ do_install_ptest () {
     sed -i '/^abs_top_srcdir/s/= .*$/= \$\{PWD\}/g' ${D}${PTEST_PATH}/Makefile
     sed -i '/^built_programs/s/ginstall/install/g' ${D}${PTEST_PATH}/Makefile
     sed -i '/^CC =/s/ --sysroot=.*recipe-sysroot/ /g' ${D}${PTEST_PATH}/Makefile
+    sed -i '/^BUILD_LDFLAGS =/d' ${D}${PTEST_PATH}/Makefile
     chmod -R 777 ${D}${PTEST_PATH}
 
     # Disable subcase stty-pairs.sh, it will cause test framework hang
Signature · 1 line
2.25.1
#5 lore raw

PATCH 5/5 util-linux/util-linux-libuuid: upgrade from 2.40.2 to 2.40.4

In reply to [email protected]

From: Chen Qi <[email protected]>

The following two patches are dropped because they are in the new version:
- 0001-autotools-fix-securedir-and-pam_lastlog2-install.patch
- util-linux/libfdisk-cfdisk-and-sfdisk-sector-size-improvements.patch

---
 ...2.40.2.bb => util-linux-libuuid_2.40.4.bb} |   0
 meta/recipes-core/util-linux/util-linux.inc   |   4 +-
 ...x-securedir-and-pam_lastlog2-install.patch |  82 ------
 ...-and-sfdisk-sector-size-improvements.patch | 252 ------------------
 ...l-linux_2.40.2.bb => util-linux_2.40.4.bb} |   0
 5 files changed, 1 insertion(+), 337 deletions(-)
 rename meta/recipes-core/util-linux/{util-linux-libuuid_2.40.2.bb => util-linux-libuuid_2.40.4.bb} (100%)
 delete mode 100644 meta/recipes-core/util-linux/util-linux/0001-autotools-fix-securedir-and-pam_lastlog2-install.patch
 delete mode 100644 meta/recipes-core/util-linux/util-linux/libfdisk-cfdisk-and-sfdisk-sector-size-improvements.patch
 rename meta/recipes-core/util-linux/{util-linux_2.40.2.bb => util-linux_2.40.4.bb} (100%)
meta/recipes-core/util-linux/util-linux-libuuid_2.40.4.bb renamed from meta/recipes-core/util-linux/util-linux-libuuid_2.40.2.bb +0 -0
similarity index 100%
rename from meta/recipes-core/util-linux/util-linux-libuuid_2.40.2.bb
rename to meta/recipes-core/util-linux/util-linux-libuuid_2.40.4.bb
meta/recipes-core/util-linux/util-linux.inc +1 -3
index 580ff488e4..7ae1665c76 100644
@@ -38,10 +38,8 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin
            file://display_testname_for_subtest.patch \
            file://avoid_parallel_tests.patch \
            file://fcntl-lock.c \
-           file://0001-autotools-fix-securedir-and-pam_lastlog2-install.patch \
-           file://libfdisk-cfdisk-and-sfdisk-sector-size-improvements.patch \
            "
 
-SRC_URI[sha256sum] = "d78b37a66f5922d70edf3bdfb01a6b33d34ed3c3cafd6628203b2a2b67c8e8b3"
+SRC_URI[sha256sum] = "5c1daf733b04e9859afdc3bd87cc481180ee0f88b5c0946b16fdec931975fb79"
 
 CVE_PRODUCT = "util-linux"
meta/recipes-core/util-linux/util-linux/0001-autotools-fix-securedir-and-pam_lastlog2-install.patch deleted +0 -82

82 lines not on this page · raw message

meta/recipes-core/util-linux/util-linux/libfdisk-cfdisk-and-sfdisk-sector-size-improvements.patch deleted +0 -252

252 lines not on this page · raw message

meta/recipes-core/util-linux/util-linux_2.40.4.bb renamed from meta/recipes-core/util-linux/util-linux_2.40.2.bb +0 -0
similarity index 100%
rename from meta/recipes-core/util-linux/util-linux_2.40.2.bb
rename to meta/recipes-core/util-linux/util-linux_2.40.4.bb
Signature · 1 line
2.25.1
#6 lore raw

Re: [OE-core][PATCH 5/5] util-linux/util-linux-libuuid: upgrade from 2.40.2 to 2.40.4

Quoted 8 lines · Chen Qi via lists.openembedded.org

From: Chen Qi <[email protected]>

The following two patches are dropped because they are in the new version:
- 0001-autotools-fix-securedir-and-pam_lastlog2-install.patch
- util-linux/libfdisk-cfdisk-and-sfdisk-sector-size-improvements.patch

---

Hi,

Thanks for your patch.

I believe this is breaking some sfdisk option we use. Here is the error on the autobuilder:

| ERROR: _exec_cmd: export PATH=/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-54827/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/recipe-sysroot-native/sbin:/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-54827/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/recipe-sysroot-native/usr/sbin:/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-54827/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/recipe-sysroot-native/usr/bin:/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-54827/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-54827/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/recipe-sysroot-native/bin:/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-54827/tmp/hosttools:$PATH;sfdisk --sector-size 512 --disk-id /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-54827/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/tmp-wic/efi-bootdisk-202502130949-sda.direct 00000000-0000-0000-0000-00004d9b9ef0 returned '1' instead of 0
| output: sfdisk: unrecognized option '--sector-size'
| Try 'sfdisk --help' for more information.

https://autobuilder.yoctoproject.org/valkyrie/?#/builders/48/builds/922/steps/14/logs/stdio

Can you have a look at this issue please?

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
author
#7 lore raw

RE: [OE-core][PATCH 5/5] util-linux/util-linux-libuuid: upgrade from 2.40.2 to 2.40.4

Got it! Thanks. I'll look into it.

Regards,
Qi

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Mathieu Dubois-Briand via lists.openembedded.org
Sent: Thursday, February 13, 2025 9:33 PM
To: Chen, Qi <[email protected]>; [email protected]
Subject: Re: [OE-core][PATCH 5/5] util-linux/util-linux-libuuid: upgrade from 2.40.2 to 2.40.4

Quoted 8 lines · Chen Qi via lists.openembedded.org

From: Chen Qi <[email protected]>

The following two patches are dropped because they are in the new version:
- 0001-autotools-fix-securedir-and-pam_lastlog2-install.patch
- util-linux/libfdisk-cfdisk-and-sfdisk-sector-size-improvements.patch

---

Hi,

Thanks for your patch.

I believe this is breaking some sfdisk option we use. Here is the error on the autobuilder:

| ERROR: _exec_cmd: export 
| PATH=/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-548
| 27/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/recipe-sysroo
| t-native/sbin:/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/bui
| ld-st-54827/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0/reci
| pe-sysroot-native/usr/sbin:/srv/pokybuild/yocto-worker/oe-selftest-fed
| ora/build/build-st-54827/tmp/work/qemux86_64-poky-linux/core-image-min
| imal/1.0/recipe-sysroot-native/usr/bin:/srv/pokybuild/yocto-worker/oe-
| selftest-fedora/build/build-st-54827/tmp/work/qemux86_64-poky-linux/co
| re-image-minimal/1.0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/
| srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-54827/tmp
| /work/qemux86_64-poky-linux/core-image-minimal/1.0/recipe-sysroot-nati
| ve/bin:/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-5
| 4827/tmp/hosttools:$PATH;sfdisk --sector-size 512 --disk-id 
| /srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-54827/tm
| p/work/qemux86_64-poky-linux/core-image-minimal/1.0/tmp-wic/efi-bootdi
| sk-202502130949-sda.direct 00000000-0000-0000-0000-00004d9b9ef0 
| returned '1' instead of 0
| output: sfdisk: unrecognized option '--sector-size'
| Try 'sfdisk --help' for more information.

https://autobuilder.yoctoproject.org/valkyrie/?#/builders/48/builds/922/steps/14/logs/stdio

Can you have a look at this issue please?

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