From patchwork Fri Dec 26 17:13:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4391 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id BE9253F149 for ; Fri, 26 Dec 2025 18:13:20 +0100 (CET) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-64c7242a456sf5758121a12.3 for ; Fri, 26 Dec 2025 09:13:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1766769200; cv=pass; d=google.com; s=arc-20240605; b=WH8hUelbMNpPj6P44ZhU2NB/vemRLAh+gi8X1v993JvHjT1aCrs1AC7+d48+ZSsAyE 0GYcKroSdifodNxvyuuFaXzB9/lYh2VFlb1RIvO26k0tGMczjuQsQXbaeBS0BDoZNAte rU/aGOGsXavvK6AiHUWL3x3LIVcH2wECP2wrHcgSvkXnnt0TtnwZT6ob9fdGKH96cDa5 58UXqpwgWZOEg1pCL95cGXAjcqU+nLc+8OXZD3igzlVufXV6MYc2dykwhFjkNyOdmwHA zHkEvrFiZRHrMfiBxpbirGvrfCyVsDba+TmUOsrkX3/uqHCp5qaHLxSxhlkkF4ziiHbR xIcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=2xmcD8P2AeFhUagWvOtXrcN68MuJnQm11vIc8nk1Jps=; fh=Y5bhD64dquON6X+Oj8Z8isLLu2XtYSEnzUy7208k3BQ=; b=Jb55IFU3LUoxCLWT+yQ3KTMyNy8lJV8FRA2f2u/vRPN6021bzvHSQo4v0iuGqeyQU1 L+njSpSnnAPdzKhD7KpKqIcgHnB33YDzsy1jvZvvOePhwXhQyaJBgYTGjvBffTSGpYdT HiQBH55VAoQCSyIDT6oSIhZs3tXZa2rt5ax7/m26XQM/mSyibQDz7GBbqodASJRlkoVx 2Dz6+vuWO7ZPf441XdQFBymfK3HFN95+/qe/Agh/iYr+z2rGDHiBjmfqQZHem7MQp5Dt ksuwUu6gr7oUtufWRF9wK/7HSCEKLKRYrOmZ9GYXZ+o7DzpZhckVGEMdqBRkxH+ayK4E pSWw==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jk4NzUXs; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1766769200; x=1767374000; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=2xmcD8P2AeFhUagWvOtXrcN68MuJnQm11vIc8nk1Jps=; b=SDHl6qRQ3PE1kJy5DVfNogcXv46slgVInMgzW2BohK35MujhjOTXf05AHI0WAuc1L4 zvsi2Tgz1j0zzV7iAO5qGzfdSRiwTFLNgyfeoGIeJm4s/LWeFxWXleiIx6vORWOPakLk PrNn2Ovu5dIetV/Fs4RHGxYW1Y/qYBnLXJTV8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766769200; x=1767374000; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-gm-gg:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2xmcD8P2AeFhUagWvOtXrcN68MuJnQm11vIc8nk1Jps=; b=H8MxtPb00BjNuHQOPLFGZlK275JweYF7k31LhbNKSOa59xanPCGsDVZmfy76+kplar xMuHcrTb55rLkTkq4yjTILEVoy+1JUYArwrUswUH6b5cz5/fHZXkyJ4Jm3zwdMiQTx0g UH2r0Zf8VNaSHDVg7WsRN+Ug5DKimBHQXbb7QB2h3GblglDdz5nteJEpyW2ANnAovo0r Ox5gBHCjp2KyEdIMEk/t8NJh2xJT6I1Np+umfpsq2iUZG1tTVjGfhPSNdTQvxWYfgUG2 JM1hEJwBuc3U04TtnoFxmneUGsi89xRC7fmY2JbJc3SJahRc2GErehqBuhs0J8tGhZcC ChMg== X-Forwarded-Encrypted: i=2; AJvYcCWJLDenHEqygJMpnlNlnmqNi5AMYyHuFH2xQxABWYeBJKMokjdtpPb5KBD2mU7wViON2W5woLiEorjYFW5y@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxW3P0h7fLhdDUcBg+sV3U69yksuKztzrbicZwln+v/ZJP8/VDS 3gkK7WyvBf1AeZhWIYXnSHtux6mN+wT14BDGwaQ+1648TNFxl3OaMLiHtWuYBJ1PJhXaNA== X-Google-Smtp-Source: AGHT+IF0wBnmzjF7qEfkQgYhlk9j6D45Q0mXKLyaiN+cSKGUzu5aDQ8b7kmI3QxD0cIO9EDAJVEL2Q== X-Received: by 2002:a05:6402:1467:b0:640:c918:e3b with SMTP id 4fb4d7f45d1cf-64b8eb72915mr23327866a12.26.1766769200132; Fri, 26 Dec 2025 09:13:20 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com; h="AWVwgWblKmfeRoXpdInQS80GldEzIeUH2xfx1AJoxJS+XV+jlA==" Received: by 2002:a05:6402:304e:20b0:64b:58c2:9ba4 with SMTP id 4fb4d7f45d1cf-64b58c29c42ls133425a12.2.-pod-prod-01-eu; Fri, 26 Dec 2025 09:13:18 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVQvRtkcz8MT1kKeNAK2YjxuNBtk4ARYB+k4yDfeYJB9r/zw/CR1U4AsjzPjwJ5c2PFNyPtCgbGkdJDbMtC@amarulasolutions.com X-Received: by 2002:a17:907:75c3:b0:b80:3fb7:f3a8 with SMTP id a640c23a62f3a-b803fb7f6f6mr1687962866b.63.1766769198015; Fri, 26 Dec 2025 09:13:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1766769198; cv=none; d=google.com; s=arc-20240605; b=Yj62Ok94DoPflqDb+MJXJX8ALympp24aDRSHgI8NIf0sCi4OB0MzrYDwqkwrWC0ZeX OmIKm2mmCP1JJ5+RtaHu8mncr+0jv0K5O5BhVUl+WKoF5fagNC8CU57E4rqMJaxfm48f C24Bqtw7N8xu6wNDP4x65V4y0AA57mzU0SA2KtCOPwFKW81Rm4D7Nk+ilWtEnQ4Q0mpK NfyIz6DkDuyqG9wH2tTKda2IpuVJk8Q/ojAEKLC+5Vuw5axelJYudxU+N+IBIkl1ZAoo t8lmCCzPUDHfS0I0c6FwvDkv1hQiUmKM0m+fFNguHn2Wx70S6wilNauTf5t0dSXydAwN 53NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=hAXmfwI0JchNS51dGMoYJqtbzw/0yc/GuZ34dx8/g4k=; fh=6iZm+NrNLyedb04uwsPd13Xt3CntgHzjiiV0JTx+1d8=; b=D1IfmGki+p+2pfCQxt0RaT/i3Jbx6pVGsImkcOdI9ataYWYpt+DMiETzmWdBnZmpmI D+cumoLLrTPqDGk39gWuyjfMoY5UBZItv7kcp3Dyu7HNOFUlXb8sjtbfqUwg8LoREH7g KzGQrECz7lgLI2HJOKM2oVist8XLm2QAxxG0P5T7lF3SmxICiMuBOsp9EqZdzhjmb5IZ l4nSPSqeew7nMGyxf82EpGjOP4/NhFDmH0IBtD9cMKoP1SWC4p4cOrbC+WWZb/92EjxP cucIq1q8R1nKZwaK/AVnrNBdUHE4WQF2HEqVP/C4E6oWhMKrXj1JLhOvFlhiwkpAMGLn DADA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jk4NzUXs; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-b8023370284sor532491866b.13.2025.12.26.09.13.17 for (Google Transport Security); Fri, 26 Dec 2025 09:13:17 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCUWpjcot2QoQggJg2X8KzVCDCeNIX5RAbyJplrC4nylUOdahUuddCdR2fng4fXVSJv6t1zFUWENJv52v1PL@amarulasolutions.com X-Gm-Gg: AY/fxX4PG7xF/7Xu5yYYGhERUUA9ph9ihx2Kj/y4i48NUemRzihBBuHNIXsIweYA0g1 gptHxQOwHj8NpxsnzMTfAHiMNJDxycnyzKw1ycA++pQkWTKSZQKOt59NhgF4r/VgNI7JF9MvZuS vaoA/WKScglMeNb4d0sOh9btJDYF3Q6ig0TPxb4C3aHXNoqECwiSfOXZKLLejHpBqEWO7J1G4Su jjOhvDWRMeJrZ/DivaGQgg+tkTjPAAZYa8ZPX3TLVu+Oot63TdBp77VkUHBxNrVpEEABf7ytomB YO4uoAAhkXgH6zKFodHvIDBNwcuUp4St4Z2MzaO2J5DQ28hHpLs+8TmM76aEbuy+7YFUGzxdu5C NA9RfNPeeDRtBrZUm7uJHNQV0ebMimzTkB3l8ZG1qyV7Sr0wnEGcvxWegMNNmoQBN5o7Byw9zSb rT3iFgJfqDNjIxxFEKOiBTkwBixUS76pcu2WbPZ5aUBuBRSaZYDQptvMONwhsel7TeSXhKJE518 aFgblPxsA5kPbZNLZ7w2ft69Dy/eriXWg0Is8e0iOE1HO/4dkBiPeoXVsAeQ65ApcpsnYySFU6a 3IGLBE9v8A4= X-Received: by 2002:a17:907:9713:b0:b7c:532b:cc99 with SMTP id a640c23a62f3a-b803719d464mr2632105366b.46.1766769197153; Fri, 26 Dec 2025 09:13:17 -0800 (PST) Received: from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it (host-79-45-45-148.retail.telecomitalia.it. [79.45.45.148]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8037f09149sm2414690066b.47.2025.12.26.09.13.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Dec 2025 09:13:16 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Danomi Manchego , linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 1/1] package/xinetd: fix build w/ gcc-14 Date: Fri, 26 Dec 2025 18:13:13 +0100 Message-ID: <20251226171313.1982585-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=jk4NzUXs; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Building xinetd with gcc-14 raises the following error: cvt.c: In function 'fcvt_r': cvt.c:113:9: error: implicit declaration of function 'strx_nprint' [-Wimplicit-function-declaration] 113 | n = strx_nprint (buf, len, "%.*" FLOAT_FMT_FLAG "f", ndigit, value); | Signed-off-by: Dario Binacchi --- ...libs-src-portable-fix-build-w-gcc-14.patch | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 package/xinetd/0006-libs-src-portable-fix-build-w-gcc-14.patch diff --git a/package/xinetd/0006-libs-src-portable-fix-build-w-gcc-14.patch b/package/xinetd/0006-libs-src-portable-fix-build-w-gcc-14.patch new file mode 100644 index 000000000000..8bfbcd6d8ddf --- /dev/null +++ b/package/xinetd/0006-libs-src-portable-fix-build-w-gcc-14.patch @@ -0,0 +1,46 @@ +From 499087df7c0aaa01f0f64aa7aa355d2e543665bc Mon Sep 17 00:00:00 2001 +From: Dario Binacchi +Date: Wed, 24 Dec 2025 11:36:20 +0100 +Subject: [PATCH] libs/src/portable: fix build w/ gcc-14 + +Building xinetd with gcc-14 in Buildroot raises the following error: + +cvt.c: In function 'fcvt_r': +cvt.c:113:9: error: implicit declaration of function 'strx_nprint' [-Wimplicit-function-declaration] + 113 | n = strx_nprint (buf, len, "%.*" FLOAT_FMT_FLAG "f", ndigit, value); + | ^~~~~~~~~~~ + +Including "str.h" header to fix the compiler error would add a +build-time dependency of libportable on libstr, creating a circular +dependency chhain: + + libportable -> libstr -> libsio -> libportable + +which results in GNU make dropping dependency edges and therefore not +fixing the original build error. + +The commit keeps the existing library layering unchanged while restoring +successful builds with modern compilers. + +Signed-off-by: Dario Binacchi +Upstream: https://github.com/xinetd-org/xinetd/pull/39 +--- + libs/src/portable/cvt.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/libs/src/portable/cvt.c b/libs/src/portable/cvt.c +index 4bd99fc80c26..4badab1cbd42 100644 +--- a/libs/src/portable/cvt.c ++++ b/libs/src/portable/cvt.c +@@ -64,6 +64,8 @@ + #endif + + #ifndef HAVE_FCVT ++int strx_nprint ( char *buf, int len, const char *fmt, ... ); ++ + int + APPEND (FUNC_PREFIX, fcvt_r) (FLOAT_TYPE value, + int ndigit, +-- +2.43.0 +