From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 14 Nov 2026 13:30:52 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1xSCuB-00AmCB-1k for lore@lore.pengutronix.de; Sat, 14 Nov 2026 13:30:51 +0100 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1xSCuA-0005ZG-If; Sat, 14 Nov 2026 13:30:50 +0100 Received: from mx1.white.stw.pengutronix.de ([185.203.200.13]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1xSCto-0005Z7-QG for ptxdist@pengutronix.de; Sat, 14 Nov 2026 13:30:30 +0100 Received: from dude05.red.stw.pengutronix.de (dude05.red.stw.4.pengutronix.de [10.17.1.19]) (Authenticated sender: relay-from-dude05.red.stw.pengutronix.de) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPSA id AE9F9201CE0; Sat, 14 Nov 2026 13:30:28 +0100 (CET) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de; s=20260414; t=1794659428; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=OM1PTojQl03wlemBIq1kp4Xt0xwpCeNJxsH0BBgo1x0=; b=AXbbBhCvaPWypuH/pox/V8tx9DoqZGJllgkMcqtaMJ/ye82w2zXTcEk3M0d1hqRoVElpB3 mojrQ8t3KbDMZbNSGcYvZH/g3X1UoI4/iWYTt76ZctE7cndtos8zNZugXaQKzBQBu1ldBM xTSyZPD9hnwpwJHhjraTxHAoLSs5ICA3UIANvm5ZAqwQPEU4zsYNnsXyDfGoF6W4aSM2R1 70okT4MxRb/6wtN/0o8BQSaa6XNX3P3rIQPjI3aVILhCSgj0101KyzPPRxuqu3b1bn4vLL X8M1ytVeOno+2X0+4G35t8v1i18UzehfA0J1FZuvS95Bsk7HA5nlg7mhSdBPYA== ARC-Seal: i=1; s=20260414; d=pengutronix.de; t=1794659428; a=rsa-sha256; cv=none; b=Z4+xwmjeIEf+7qdd4FER4tMys22E+2I+gPuIKOTrfX9MyCZCHLM9hKrvguzpOhQ7PgynwQ 1uAW1fAo4ueCS0AhG0Ag8E/8iYLysPkFnaBdiQKydcwrjgf3qMhGdTwDhabrGe7fkYGJH3 fvFFrCU1zzregA5FKcyk2zkqLZsvQmYBY3Mz1s9HmprTGhTFdtiLlRuOw9KrooeGsDWLAY s89tPmu3N5zvKIpI1LnKCg8AnwAMGFPOSOX8s0h1E2zcBsXlVZmh/zZ5r6626E9o589cxL 5RcJy3jDpdkRdf754IDQZuJMI+dvG0j7ygVJNz3JfH9SbVdzjtf6f0DLiKmDNw== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=relay-from-dude05.red.stw.pengutronix.de smtp.mailfrom=mol@pengutronix.de Received: by dude05.red.stw.pengutronix.de (Postfix, from userid 1014) id 97EA17408AE; Sat, 14 Nov 2026 13:30:28 +0100 (CET) Date: Sat, 14 Nov 2026 13:30:28 +0100 From: Michael Olbrich To: Markus Heidelberg via ptxdist Message-ID: References: <20261105150707.1018032-1-m.heidelberg@cab.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261105150707.1018032-1-m.heidelberg@cab.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] configure.ac: support GNU coreutils binaries with "gnu" prefix X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Markus Heidelberg Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false On Thu, Nov 05, 2026 at 04:07:07PM +0100, Markus Heidelberg via ptxdist wrote: > Ubuntu 25.10 switched most of the coreutils parts from GNU to uutils > implementation where the "--version" check fails during configure run: > > checking for GNU cat... configure: error: could not find GNU cat > > The GNU coreutils are still installed with a filename prefix, > e.g. /usr/bin/gnucat. Hmmm, that would prefer the gnu version. I'm not sure if we need to be stricter. I had some issues (on Ubuntu 26.04) where install (I think) would not change the owner of a file (in fakeroot) to one that did not exist in the host system. I don't remember the exact details and I cannot reproduce this on the fly. But there is also a worrying issue[1] that suggest, that uutils may not play nice with fakeroot in general. In my test setup I've just installed coreutils-from-uutils but that is probably not a good long term solution. I need to think about this. Suggestions are welcome. Michael [1] https://github.com/uutils/coreutils/issues/16339 > Signed-off-by: Markus Heidelberg > --- > configure.ac | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure.ac b/configure.ac > index c6ad34fa6..e56601f51 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -137,7 +137,7 @@ dnl $1: tool to search for > dnl $2: package where the tool is (e.g. 'coreutils') > AC_DEFUN([GNU_TOOL], > [AC_CACHE_CHECK([for GNU $1], [ac_cv_path_gnu_$1], > - [AC_PATH_PROGS_FEATURE_CHECK([gnu_$1], [g$1 $1.gnu $1-gnu $1], > + [AC_PATH_PROGS_FEATURE_CHECK([gnu_$1], [g$1 gnu$1 $1.gnu $1-gnu $1], > [[out=`$ac_path_gnu_$1 --version 2>/dev/null | $SED -ne "s/.*\(GNU\) $2.*/\1/p"` > test "x$out" = xGNU && ac_cv_path_gnu_$1=$ac_path_gnu_$1 ac_path_gnu_$1_found=:]], > [AC_MSG_ERROR([could not find GNU $1])])]) > -- > 2.43.0 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |