From patchwork Sun Aug 9 06:00:01 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 94806 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 589E6C5AE49 for ; Sun, 9 Aug 2026 06:00:04 +0000 (UTC) Received: from a27-30.smtp-out.us-west-2.amazonses.com (a27-30.smtp-out.us-west-2.amazonses.com [54.240.27.30]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.4684.1786255202811559772 for ; Sat, 08 Aug 2026 23:00:02 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=IfBCK0xA; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=FrETx7ul; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.30, mailfrom: 0101019fe51b5631-eebb4d55-b426-410b-89f0-eb303d6a6468-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1786255202; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=kks5SUhOporsii+pZBXgDIo+1mP3c2Hehxxuuy2K0mA=; b=IfBCK0xAfjDmTLVi7ymCqtb6GZh+eMweJkZ50hUCbwZ9wBGPy/tnBW5M1hMTPIDY HjC6/92xZpVUZ1WHzdA7utYre34EtbhS+pkY6i36nBr6rwdlfKCpvWBINDlFHbIM9WI 6Ec/+TK8aDruJPC8XlQGRFa5hvmUEmHzzprrrm58= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1786255202; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=kks5SUhOporsii+pZBXgDIo+1mP3c2Hehxxuuy2K0mA=; b=FrETx7ul4ND2vmTBeVS3jNyMbbM0Xvm8aCLqelK1FdG6IN/9JviGNcH4BjNXsr8s O61ydl42nNlO5orSRtNnSR0zpvArisEgoDKzDk9NtesDpLgmKLm/LnoMRDisSWbmuey CLKDEs2g3CewsSlgu3SZSAVa4DekcOrj19R/Qvps= MIME-Version: 1.0 From: auh@yoctoproject.org To: Chen Qi Cc: openembedded-core@lists.openembedded.org Subject: [AUH] shadow: upgrading to 4.20.2 FAILED Message-ID: <0101019fe51b5631-eebb4d55-b426-410b-89f0-eb303d6a6468-000000@us-west-2.amazonses.com> Date: Sun, 9 Aug 2026 06:00:01 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2026.08.09-54.240.27.30 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 09 Aug 2026 06:00:04 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/243062 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *shadow* to *4.20.2* has Failed(do_compile). Detailed error information: do_compile failed Next steps: - apply the patch: git am 0001-shadow-upgrade-4.20.0-4.20.2.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 7175666b72570ca6bfd86758d193336e3cc9cf8b Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Sun, 9 Aug 2026 05:39:14 +0000 Subject: [PATCH] shadow: upgrade 4.20.0 -> 4.20.2 --- ...001-subid-Add-stdint.h-for-uintmax_t.patch | 43 ------------------- .../shadow/files/notallylog.patch | 18 +++++--- .../{shadow_4.20.0.bb => shadow_4.20.2.bb} | 4 +- 3 files changed, 15 insertions(+), 50 deletions(-) delete mode 100644 meta/recipes-extended/shadow/files/0001-subid-Add-stdint.h-for-uintmax_t.patch rename meta/recipes-extended/shadow/{shadow_4.20.0.bb => shadow_4.20.2.bb} (98%) diff --git a/meta/recipes-extended/shadow/files/0001-subid-Add-stdint.h-for-uintmax_t.patch b/meta/recipes-extended/shadow/files/0001-subid-Add-stdint.h-for-uintmax_t.patch deleted file mode 100644 index 5679be0e61..0000000000 --- a/meta/recipes-extended/shadow/files/0001-subid-Add-stdint.h-for-uintmax_t.patch +++ /dev/null @@ -1,43 +0,0 @@ -From ba4419c57b222b0d34a2b933e7ee92914a51b596 Mon Sep 17 00:00:00 2001 -From: ojab -Date: Wed, 29 Jul 2026 15:07:43 +0000 -Subject: [PATCH] subid: Add `` for `uintmax_t` - -``` -find_new_sub_uids.c:80:27: error: 'uintmax_t' undeclared (first use in this function) -find_new_sub_gids.c:80:27: error: 'uintmax_t' undeclared (first use in this function) -``` - -Fixes: 4d800cf2eb9e (2026-04-09; "subid: Add deterministic subid ranges") - -Upstream-Status: Backport [https://github.com/shadow-maint/shadow/commit/ba4419c57b222b0d34a2b933e7ee92914a51b596] -Signed-off-by: ojab ---- - lib/find_new_sub_gids.c | 1 + - lib/find_new_sub_uids.c | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/lib/find_new_sub_gids.c b/lib/find_new_sub_gids.c -index 3971ce922e..de514d6b09 100644 ---- a/lib/find_new_sub_gids.c -+++ b/lib/find_new_sub_gids.c -@@ -8,6 +8,7 @@ - - #ifdef ENABLE_SUBIDS - -+#include - #include - #include - -diff --git a/lib/find_new_sub_uids.c b/lib/find_new_sub_uids.c -index 65f6815467..f0b4328387 100644 ---- a/lib/find_new_sub_uids.c -+++ b/lib/find_new_sub_uids.c -@@ -8,6 +8,7 @@ - - #ifdef ENABLE_SUBIDS - -+#include - #include - #include - diff --git a/meta/recipes-extended/shadow/files/notallylog.patch b/meta/recipes-extended/shadow/files/notallylog.patch index 94773ace2b..6d6957bbf8 100644 --- a/meta/recipes-extended/shadow/files/notallylog.patch +++ b/meta/recipes-extended/shadow/files/notallylog.patch @@ -1,13 +1,21 @@ +From 20dc49519cc177d4c829f4dd5cc277ada24376d7 Mon Sep 17 00:00:00 2001 +From: Richard Purdie +Date: Tue, 21 Apr 2026 11:30:52 +0100 +Subject: [PATCH] shadow: Disable tallylog execution + We don't want to call /sbin/pam_tally2 in the native tools case so disable this function. Upstream-Status: Inappropriate [OE cross configuration specific] +--- + src/useradd.c | 3 +++ + 1 file changed, 3 insertions(+) -Index: shadow-4.19.4/src/useradd.c -=================================================================== ---- shadow-4.19.4.orig/src/useradd.c -+++ shadow-4.19.4/src/useradd.c -@@ -2046,6 +2046,9 @@ static void tallylog_reset (const char * +diff --git a/src/useradd.c b/src/useradd.c +index 5404b46..78bb70a 100644 +--- a/src/useradd.c ++++ b/src/useradd.c +@@ -2015,6 +2015,9 @@ static void tallylog_reset (const char *user_name) int failed; int status; diff --git a/meta/recipes-extended/shadow/shadow_4.20.0.bb b/meta/recipes-extended/shadow/shadow_4.20.2.bb similarity index 98% rename from meta/recipes-extended/shadow/shadow_4.20.0.bb rename to meta/recipes-extended/shadow/shadow_4.20.2.bb index bb247cee9d..c54ed77a41 100644 --- a/meta/recipes-extended/shadow/shadow_4.20.0.bb +++ b/meta/recipes-extended/shadow/shadow_4.20.2.bb @@ -14,7 +14,7 @@ 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-subid-Add-stdint.h-for-uintmax_t.patch \ + file://login_defs_pam.sed \ " SRC_URI:append:class-target = " \ @@ -24,7 +24,7 @@ SRC_URI:append:class-target = " \ SRC_URI:append:class-native = " \ file://notallylog.patch \ " -SRC_URI[sha256sum] = "5e1eee2709a540ac07e4e5bb0d30f7b97d6ee1e3714ef527047fe2ffb5fdaa5c" +SRC_URI[sha256sum] = "e5016b40541ee6fa02ea3d409547cef6e7eea9b31f0e3482e4874f87c1d0c7c5" UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P\d+(\.\d+)+)$" # Additional Policy files for PAM