From patchwork Thu May 1 15:33:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 62284 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 BD7D1C5475C for ; Thu, 1 May 2025 15:33:56 +0000 (UTC) Received: from a27-193.smtp-out.us-west-2.amazonses.com (a27-193.smtp-out.us-west-2.amazonses.com [54.240.27.193]) by mx.groups.io with SMTP id smtpd.web11.1801.1746113610926977850 for ; Thu, 01 May 2025 08:33:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=rnkzp2s7ci3kogmesvov2nwn7wcc2dgx header.b=REC5YUFa; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b=LLORIopY; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.193, mailfrom: 010101968c7b9091-b69644b9-75c1-4d20-bd5c-0c63cddd0aed-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=rnkzp2s7ci3kogmesvov2nwn7wcc2dgx; d=yoctoproject.org; t=1746113630; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=uDYB4ZjxxT49QPBgtlcKPM/uQQUGgLoZkgSkMUxTC94=; b=REC5YUFa4xavyTrmLCnMtOVKYiaZtpxvyoq5ZjF0DVjqvwpOeXl220J6aBzCqBSQ AaSC8ega/AVOXWDlwCxL/mh0jHRZzRZQ5GdAp8P3xq+i4UyqdhzF51+1WMdOX6m5jOK ySZB4/Cf9wLjABRdYJOZ8oGMcD133Mznyqecs3D0= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1746113630; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=uDYB4ZjxxT49QPBgtlcKPM/uQQUGgLoZkgSkMUxTC94=; b=LLORIopYTixkGjLaKQQ7HJNNzmI7GhM1/PlmBT3ZHWiThysFCLHtNnPtWWMhvO8L lFVPGkxFk+hV+U8WzxWlZ+6UT4NUsPV5FtqJj/vTEP0/qpJGjVasf8MAg3PvOjyWtsO P0EDgmg76W3TgT9hWD+wM+wOmS1baTcC9hdYVsiE= MIME-Version: 1.0 From: auh@yoctoproject.org To: Anuj Mittal Cc: openembedded-core@lists.openembedded.org Subject: [AUH] quota: upgrading to 4.10 FAILED Message-ID: <010101968c7b9091-b69644b9-75c1-4d20-bd5c-0c63cddd0aed-000000@us-west-2.amazonses.com> Date: Thu, 1 May 2025 15:33:50 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2025.05.01-54.240.27.193 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 01 May 2025 15:33:56 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/215856 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *quota* to *4.10* has Failed(do_compile). Detailed error information: do_compile failed Next steps: - apply the patch: git am 0001-quota-upgrade-4.09-4.10.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 cf1c507ae023b2a573c6b1a9863865d875c89ba0 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Thu, 1 May 2025 10:55:07 +0000 Subject: [PATCH] quota: upgrade 4.09 -> 4.10 --- .../quota/0001-Fix-building-on-musl.patch | 228 ------------------ .../quota/{quota_4.09.bb => quota_4.10.bb} | 6 +- 2 files changed, 2 insertions(+), 232 deletions(-) delete mode 100644 meta/recipes-extended/quota/quota/0001-Fix-building-on-musl.patch rename meta/recipes-extended/quota/{quota_4.09.bb => quota_4.10.bb} (89%) diff --git a/meta/recipes-extended/quota/quota/0001-Fix-building-on-musl.patch b/meta/recipes-extended/quota/quota/0001-Fix-building-on-musl.patch deleted file mode 100644 index ce20f672cc..0000000000 --- a/meta/recipes-extended/quota/quota/0001-Fix-building-on-musl.patch +++ /dev/null @@ -1,228 +0,0 @@ -From e73c5b48e12c3f02e532864a1107cdc8a4feafc3 Mon Sep 17 00:00:00 2001 -From: Brahmajit Das -Date: Sun, 14 Jul 2024 07:58:50 +0000 -Subject: [PATCH] Fix building on musl - -basename(3) is defined in libgen.h in MUSL. Include libgen.h where -basename(3) is used. - -Upstream-Status: Backport [https://sourceforge.net/p/linuxquota/code/ci/e73c5b48e12c3f02e532864a1107cdc8a4feafc3/] -Signed-off-by: Brahmajit Das -Signed-off-by: Jan Kara ---- - convertquota.c | 1 + - edquota.c | 11 ++++++----- - quota.c | 1 + - quota_nld.c | 1 + - quotacheck.c | 1 + - quotaon.c | 1 + - quotastats.c | 1 + - quotasync.c | 1 + - repquota.c | 1 + - rquota_svc.c | 1 + - setquota.c | 1 + - warnquota.c | 1 + - xqmstats.c | 1 + - 13 files changed, 18 insertions(+), 5 deletions(-) - -diff --git a/convertquota.c b/convertquota.c -index 6c8a553..4eb05ed 100644 ---- a/convertquota.c -+++ b/convertquota.c -@@ -14,6 +14,7 @@ - #include - #include - #include -+#include - - #include - -diff --git a/edquota.c b/edquota.c -index 20ca306..c5b27cf 100644 ---- a/edquota.c -+++ b/edquota.c -@@ -20,6 +20,7 @@ - #include - #include - #include -+#include - - #include "pot.h" - #include "quotaops.h" -@@ -38,7 +39,7 @@ char *progname; - static int flags, quotatype; - static int fmt = -1; - static char *protoname; --static char *dirname; -+static char *dir_name; - - static void usage(void) - { -@@ -138,7 +139,7 @@ static int parse_options(int argc, char **argv) - exit(1); - break; - case 'f': -- dirname = optarg; -+ dir_name = optarg; - break; - case 256: - flags |= FL_NUMNAMES; -@@ -176,7 +177,7 @@ static void copy_prototype(int argc, char **argv, struct quota_handle **handles) - protoprivs = getprivs(protoid, handles, 0); - while (argc-- > 0) { - id = name2id(*argv, quotatype, !!(flags & FL_NUMNAMES), NULL); -- curprivs = getprivs(id, handles, !dirname); -+ curprivs = getprivs(id, handles, !dir_name); - if (!curprivs) - die(1, _("Cannot get quota information for user %s\n"), *argv); - argv++; -@@ -223,7 +224,7 @@ int main(int argc, char **argv) - argv += ret; - - init_kernel_interface(); -- handles = create_handle_list(dirname ? 1 : 0, dirname ? &dirname : NULL, quotatype, fmt, -+ handles = create_handle_list(dir_name ? 1 : 0, dir_name ? &dir_name : NULL, quotatype, fmt, - (flags & FL_NO_MIXED_PATHS) ? 0 : IOI_NFS_MIXED_PATHS, - (flags & FL_REMOTE) ? 0 : MS_LOCALONLY); - if (!handles[0]) { -@@ -296,7 +297,7 @@ int main(int argc, char **argv) - else { - for (; argc > 0; argc--, argv++) { - id = name2id(*argv, quotatype, !!(flags & FL_NUMNAMES), NULL); -- curprivs = getprivs(id, handles, !dirname); -+ curprivs = getprivs(id, handles, !dir_name); - if (!curprivs) - die(1, _("Cannot get quota information for user %s.\n"), *argv); - if (flags & FL_EDIT_TIMES) { -diff --git a/quota.c b/quota.c -index a60de12..66b0fa3 100644 ---- a/quota.c -+++ b/quota.c -@@ -20,6 +20,7 @@ - #include - #include - #include -+#include - #ifdef RPC - #include - #include "rquota.h" -diff --git a/quota_nld.c b/quota_nld.c -index 58a62af..710b556 100644 ---- a/quota_nld.c -+++ b/quota_nld.c -@@ -26,6 +26,7 @@ - #include - #include - #include -+#include - #include - #include - -diff --git a/quotacheck.c b/quotacheck.c -index e2c3bbd..fa1d297 100644 ---- a/quotacheck.c -+++ b/quotacheck.c -@@ -19,6 +19,7 @@ - #include - #include - #include -+#include - - #include - #include -diff --git a/quotaon.c b/quotaon.c -index 351c851..17b6bcc 100644 ---- a/quotaon.c -+++ b/quotaon.c -@@ -13,6 +13,7 @@ - #include - #include - #include -+#include - - #include "quotaon.h" - #include "quota.h" -diff --git a/quotastats.c b/quotastats.c -index a059812..4076a7d 100644 ---- a/quotastats.c -+++ b/quotastats.c -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - - #include "pot.h" - #include "common.h" -diff --git a/quotasync.c b/quotasync.c -index cad2a20..e90b24a 100644 ---- a/quotasync.c -+++ b/quotasync.c -@@ -7,6 +7,7 @@ - #include - #include - #include -+#include - - #include "pot.h" - #include "common.h" -diff --git a/repquota.c b/repquota.c -index e79fc4d..8e509bd 100644 ---- a/repquota.c -+++ b/repquota.c -@@ -18,6 +18,7 @@ - #include - #include - #include -+#include - - #include "pot.h" - #include "common.h" -diff --git a/rquota_svc.c b/rquota_svc.c -index 6e856bb..c17df13 100644 ---- a/rquota_svc.c -+++ b/rquota_svc.c -@@ -34,6 +34,7 @@ - #include - #include - #include -+#include - #ifdef HOSTS_ACCESS - #include - #include -diff --git a/setquota.c b/setquota.c -index c517ab1..9e4b2fa 100644 ---- a/setquota.c -+++ b/setquota.c -@@ -18,6 +18,7 @@ - #include - #include - #include -+#include - - #if defined(RPC) - #include "rquota.h" -diff --git a/warnquota.c b/warnquota.c -index 2882fee..6f63ce7 100644 ---- a/warnquota.c -+++ b/warnquota.c -@@ -31,6 +31,7 @@ - #include - #include - #include -+#include - #ifdef HAVE_NL_LANGINFO - #include - #endif -diff --git a/xqmstats.c b/xqmstats.c -index 59b1d66..345b060 100644 ---- a/xqmstats.c -+++ b/xqmstats.c -@@ -8,6 +8,7 @@ - #include - #include - #include -+#include - #include "common.h" - #include "pot.h" - diff --git a/meta/recipes-extended/quota/quota_4.09.bb b/meta/recipes-extended/quota/quota_4.10.bb similarity index 89% rename from meta/recipes-extended/quota/quota_4.09.bb rename to meta/recipes-extended/quota/quota_4.10.bb index 8e4d4aed8b..ea278c2a0f 100644 --- a/meta/recipes-extended/quota/quota_4.09.bb +++ b/meta/recipes-extended/quota/quota_4.10.bb @@ -7,10 +7,8 @@ LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://rquota_server.c;beginline=1;endline=20;md5=fe7e0d7e11c6f820f8fa62a5af71230f \ file://svc_socket.c;beginline=1;endline=17;md5=24d5a8792da45910786eeac750be8ceb" -SRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz \ - file://0001-Fix-building-on-musl.patch \ - " -SRC_URI[sha256sum] = "9cdaca154bc92afc3117f0e5f5b3208dd5f84583af1cf061c39baa0a2bb142f9" +SRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz" +SRC_URI[sha256sum] = "a04a0cafca29c15be8b6ac660e06188bccb802c19efe2e7c19ed7f3d667ecf5e" CVE_PRODUCT = "linux_diskquota"