From patchwork Thu Apr 16 06:47:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Yoann Congal X-Patchwork-Id: 86236 X-Patchwork-Delegate: yoann.congal@smile.fr 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 CCF49F88081 for ; Thu, 16 Apr 2026 06:48:42 +0000 (UTC) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.7723.1776322116083804015 for ; Wed, 15 Apr 2026 23:48:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@smile.fr header.s=google header.b=B4DCvosr; spf=pass (domain: smile.fr, ip: 209.85.128.66, mailfrom: yoann.congal@smile.fr) Received: by mail-wm1-f66.google.com with SMTP id 5b1f17b1804b1-488a29e6110so80099385e9.3 for ; Wed, 15 Apr 2026 23:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile.fr; s=google; t=1776322114; x=1776926914; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=xd1Oh51XRJtN4hlM/3Q0YJ5TBwhGd63HGd4UxeJdqMI=; b=B4DCvosrmQI4u5oSJ6PFGFI9mtL2b8QYL1PbDFHzTu2l27WBmf6D/CTWdxHCzMhaRy pa3zRto9zkE9ib6x2yhba4oWwl+EmCrJfFISqIFt37yOvkJairkPlKhb7tKnNIlK+/Lz PsALggrZ+nHgRkqkkxtYhJ3+f/rWIX6aDgS9A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776322114; x=1776926914; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=xd1Oh51XRJtN4hlM/3Q0YJ5TBwhGd63HGd4UxeJdqMI=; b=Ene7mak7pY9OJEP5RnJW5+xxiTlPoRWHX634fVrNgr1TWVhmhJSEVOKKGBRUm0Adp3 y04oeDnP6TyctiCccv13zq9rKFNYp+QWFQJRR/DKtqUoZw8pYFkVz2SN20lSeyva6S0q pg1FFcKTW6yZfNUqRQcnTBeY2Utqc2J/79NMMQaYMzYpLRHxMjmGX3PPVvfkxqg6rox3 mTdZgo3wZvw4Dkk/7wO8MH8ipDTFGi1pUt5Qz9JIN65jHPnSurXWCdAW29bGKe7hm8IK tu4QX1dHqwKA9xaWSB7jWp1H//wmSZm+OaWisB0l+tT3E2V93kLW6kR8ONziwwDqWOvp /IhA== X-Gm-Message-State: AOJu0YwVWhFlyYeNXqqANwipr1FScv7i9NSY4VxuS0xynKFORwPKXDPJ YSGBHY4sAeN4JkAos7P4wZuuOorH2PqMJZRBGGiKDzG6SH3ku1jBrbDKF3J22vI7jh+L1j4XwQf IgFSOVjRF6GtA X-Gm-Gg: AeBDiesSHzkCKjEpX0kWvLHuHCGvkHUD5brDX4s6MTHs15VI53Ynsa3wduV7XTn6AlA BrlMv9lqpPGH94elzu5lsLcgOuk/BSlm5jwOsJv4L91KgBU2Gn6qqmt2BuJaPJpH6KGsQMsNH05 wjNguxRJIyKjZvyUbHcrolgGd2j41ViBFH1Ijmb4AxNaBIKia5qcxwEC21T3ej2finayAQ7kE4V hfxLfBV9KE4NbfIfUaOZel46KTsJ7Pq1FIuKyhEgirWoPIF3LTT/IY+idukFmK1IiJtXDX312d4 tAbbJs3RXQiHVnkYLA2B0rCsUaJQV0tC5e0612ixkUMVxKxo7Hqs+RnGt7oG7WCuxOFmyl3nUKf nL3+ga0jRg1AuqifjqQ/Zgu0R8whV8NA572//oDVzj2Qy/HOssgbatLkU+8qO6Zw9JJT23Et2Yk solWizTq9PQ6fQ+LLN5fvvomeLhJKZxiV0xP4Z2RTtdHjE8v9fE2y2FzOulCA4HooyPhVCDB1Pu 9Q4Z5JUTKSiDL2P32MprhMecqqA90JPdqNEDw== X-Received: by 2002:a05:600c:8585:b0:488:ba19:da25 with SMTP id 5b1f17b1804b1-488d6822a0bmr243235035e9.12.1776322114129; Wed, 15 Apr 2026 23:48:34 -0700 (PDT) Received: from FRSMI25-LASER.home (2a01cb001331aa00a2e4fb7b0d887544.ipv6.abo.wanadoo.fr. [2a01:cb00:1331:aa00:a2e4:fb7b:d88:7544]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43ead3d5ea9sm11200017f8f.21.2026.04.15.23.48.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Apr 2026 23:48:33 -0700 (PDT) From: Yoann Congal To: openembedded-core@lists.openembedded.org Subject: [OE-core][whinlatter 24/47] systemd: backport fix to build with glibc-2.43 on host Date: Thu, 16 Apr 2026 08:47:25 +0200 Message-ID: <166f2b4685678af745f346c6f73aab6f12e84149.1776321810.git.yoann.congal@smile.fr> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: MIME-Version: 1.0 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 ; Thu, 16 Apr 2026 06:48:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/235366 From: Martin Jansa fixes systemd-systemctl-native on hosts with glibc-2.43: In file included from ../sources/systemd-systemctl-257.9/src/basic/errno-list.c:13: src/basic/errno-to-name.h:71:23: error: initialized field overwritten [-Werror=override-init] 71 | [EFSBADCRC] = "EFSBADCRC", | ^~~~~~~~~~~ src/basic/errno-to-name.h:71:23: note: (near initialization for ?errno_names[74]?) src/basic/errno-to-name.h:114:26: error: initialized field overwritten [-Werror=override-init] 114 | [EFSCORRUPTED] = "EFSCORRUPTED", | ^~~~~~~~~~~~~~ src/basic/errno-to-name.h:114:26: note: (near initialization for ?errno_names[117]?) Signed-off-by: Martin Jansa Signed-off-by: Yoann Congal --- meta/recipes-core/systemd/systemd.inc | 4 ++- ...ilter-out-EFSBADCRC-and-EFSCORRUPTED.patch | 34 +++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-core/systemd/systemd/0001-errno-list-filter-out-EFSBADCRC-and-EFSCORRUPTED.patch diff --git a/meta/recipes-core/systemd/systemd.inc b/meta/recipes-core/systemd/systemd.inc index 761660f2c84..f41acc029d1 100644 --- a/meta/recipes-core/systemd/systemd.inc +++ b/meta/recipes-core/systemd/systemd.inc @@ -17,6 +17,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ SRCREV = "5e38d199a623563698ab4a69acbbe3afa9135198" SRCBRANCH = "v257-stable" -SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH};tag=v${PV}" +SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH};tag=v${PV} \ + file://0001-errno-list-filter-out-EFSBADCRC-and-EFSCORRUPTED.patch \ +" CVE_PRODUCT = "systemd" diff --git a/meta/recipes-core/systemd/systemd/0001-errno-list-filter-out-EFSBADCRC-and-EFSCORRUPTED.patch b/meta/recipes-core/systemd/systemd/0001-errno-list-filter-out-EFSBADCRC-and-EFSCORRUPTED.patch new file mode 100644 index 00000000000..5673175cb13 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0001-errno-list-filter-out-EFSBADCRC-and-EFSCORRUPTED.patch @@ -0,0 +1,34 @@ +From fb146f6d2c5118410fd19907651fd8f7310bf69e Mon Sep 17 00:00:00 2001 +From: Yu Watanabe +Date: Tue, 24 Feb 2026 20:19:45 +0900 +Subject: [PATCH] errno-list: filter out EFSBADCRC and EFSCORRUPTED + +These are introduced in kernel v7.0. + +Upstream-Status: Backport [https://github.com/systemd/systemd/commit/3cfb16998808a6ec8012a6120d0a82f0e1a0c8bb] +Signed-off-by: Martin Jansa +--- + src/basic/generate-errno-list.sh | 10 +++++++--- + 1 file changed, 7 insertions(+), 3 deletions(-) + +diff --git a/src/basic/generate-errno-list.sh b/src/basic/generate-errno-list.sh +index f756b2e020..491fa1b6e3 100755 +--- a/src/basic/generate-errno-list.sh ++++ b/src/basic/generate-errno-list.sh +@@ -3,9 +3,13 @@ + set -eu + set -o pipefail + +-# In kernel's arch/parisc/include/uapi/asm/errno.h, ECANCELLED and EREFUSED are defined as aliases of +-# ECANCELED and ECONNREFUSED, respectively. Let's drop them. ++# In kernel's arch/parisc/include/uapi/asm/errno.h, The following aliases are defined: ++# ECANCELLED → ECANCELED ++# EREFUSED → ECONNREFUSED ++# EFSBADCRC → EBADMSG ++# EFSCORRUPTED → EUCLEAN ++# Let's drop them. + + ${1:?} -dM -include errno.h -