To: ['Yi Zhao '] To: openembedded-core@lists.openembedded.org Subject: [AUH] libcap: upgrading to 2.77 SUCCEEDED Attachments: /srv/pokybuild/yocto-worker/auh/build/build/upgrade-helper/20251115050051/all/libcap/buildhistory-diff-full.txt /srv/pokybuild/yocto-worker/auh/build/build/upgrade-helper/20251115050051/all/libcap/0001-libcap-upgrade-2.76-2.77.patch /srv/pokybuild/yocto-worker/auh/build/build/upgrade-helper/20251115050051/all/libcap/buildhistory-diff.txt Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *libcap* to *2.77* has Succeeded. Next steps: - apply the patch: git am 0001-libcap-upgrade-2.76-2.77.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 231bcad1fe14469549508d7b40fd9fbe93299f14 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Sat, 15 Nov 2025 16:06:05 +0000 Subject: [PATCH] libcap: upgrade 2.76 -> 2.77 --- ...Add-build-ldflags-to-_makenames-rule.patch | 29 ------------------- ...-Raise-the-size-of-arrays-containing.patch | 6 ++-- .../libcap/{libcap_2.76.bb => libcap_2.77.bb} | 6 ++-- 3 files changed, 6 insertions(+), 35 deletions(-) delete mode 100644 meta/recipes-support/libcap/files/0001-libcap-Add-build-ldflags-to-_makenames-rule.patch rename meta/recipes-support/libcap/{libcap_2.76.bb => libcap_2.77.bb} (92%) diff --git a/meta/recipes-support/libcap/files/0001-libcap-Add-build-ldflags-to-_makenames-rule.patch b/meta/recipes-support/libcap/files/0001-libcap-Add-build-ldflags-to-_makenames-rule.patch deleted file mode 100644 index 10ddf64935..0000000000 --- a/meta/recipes-support/libcap/files/0001-libcap-Add-build-ldflags-to-_makenames-rule.patch +++ /dev/null @@ -1,29 +0,0 @@ -From e52d3232882c263f5bd4b1980195ac633d706a53 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Tue, 21 Oct 2025 18:27:51 -0700 -Subject: [PATCH] libcap: Add build ldflags to _makenames rule - -its calling compiler and linker in single step -ensure that build ldflags are respected as it -might have important information like which runtime -to use. - -Upstream-Status: Backport [https://git.kernel.org/pub/scm/libs/libcap/libcap.git/commit/?id=c3ddf45d9afaab85d3b7db0dc7bfd1aafb8fde50] -Signed-off-by: Khem Raj ---- - libcap/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libcap/Makefile b/libcap/Makefile -index e90a950..f0eb87e 100644 ---- a/libcap/Makefile -+++ b/libcap/Makefile -@@ -80,7 +80,7 @@ $(PSXTITLE).pc: $(PSXTITLE).pc.in - $< >$@ - - _makenames: _makenames.c cap_names.list.h -- $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@ -+ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@ $(BUILD_LDFLAGS) - - cap_names.h: _makenames - ./_makenames > cap_names.h diff --git a/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch b/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch index 2cec20b4b1..33a5db9e93 100644 --- a/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch +++ b/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch @@ -1,4 +1,4 @@ -From 969d21aa2bf474d9c5c80a64de1a9fe0e17e31b2 Mon Sep 17 00:00:00 2001 +From 280c2b1687141e5d4fac294bc49816f0f4fd21e9 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Thu, 14 Oct 2021 15:57:36 +0800 Subject: [PATCH] nativesdk-libcap: Raise the size of arrays containing dl @@ -19,10 +19,10 @@ Signed-off-by: Hongxu Jia 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcap/execable.h b/libcap/execable.h -index a68ea24..60d3853 100644 +index c8ac2f2..98843e4 100644 --- a/libcap/execable.h +++ b/libcap/execable.h -@@ -34,7 +34,7 @@ extern const int _IO_stdin_used; +@@ -50,7 +50,7 @@ extern const int _IO_stdin_used; const int _IO_stdin_used __attribute__((weak)) = 131073; #endif /* def __GLIBC__ */ diff --git a/meta/recipes-support/libcap/libcap_2.76.bb b/meta/recipes-support/libcap/libcap_2.77.bb similarity index 92% rename from meta/recipes-support/libcap/libcap_2.76.bb rename to meta/recipes-support/libcap/libcap_2.77.bb index 27093ff3e7..eaa0980132 100644 --- a/meta/recipes-support/libcap/libcap_2.76.bb +++ b/meta/recipes-support/libcap/libcap_2.77.bb @@ -13,12 +13,12 @@ LIC_FILES_CHKSUM = "file://License;md5=2965a646645b72ecee859b43c592dcaa \ DEPENDS = "hostperl-runtime-native gperf-native" SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/${BPN}2/${BPN}-${PV}.tar.xz \ - file://0001-libcap-Add-build-ldflags-to-_makenames-rule.patch \ - " + file://0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch \ + " SRC_URI:append:class-nativesdk = " \ file://0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch \ " -SRC_URI[sha256sum] = "629da4ab29900d0f7fcc36227073743119925fd711c99a1689bbf5c9b40c8e6f" +SRC_URI[sha256sum] = "897bc18b44afc26c70e78cead3dbb31e154acc24bee085a5a09079a88dbf6f52" UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/linux/libs/security/linux-privs/${BPN}2/" -- 2.47.1