From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SIJBDc456WNsmAAAbAwnHQ (envelope-from ) for ; Sun, 12 Feb 2023 20:11:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qJA8Dc456WO5yQAA9RJhRA (envelope-from ) for ; Sun, 12 Feb 2023 20:11:10 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F26AD24C40 for ; Sun, 12 Feb 2023 20:11:09 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRHkT-0000K5-93; Sun, 12 Feb 2023 14:10:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRHkQ-0000J0-UK for guix-devel@gnu.org; Sun, 12 Feb 2023 14:10:51 -0500 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRHkP-0001zV-1T; Sun, 12 Feb 2023 14:10:50 -0500 Received: by mail-ej1-x62e.google.com with SMTP id n10so116821ejc.4; Sun, 12 Feb 2023 11:10:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=mBfHSp2w2i3eXQ3xsSzrY05FO4khE2jEcd6nZtV+xT4=; b=E4Y8/9wnhSjQcax8UzWtwCdebrEpWwK8CZve+TG+vde/9RNRrk9PRpIXuiUztgAyPP XimW0lSXgL5Rn1sd+n2Y0FiO9nhJUPNTkrXa0vUk0M59aWLRN2YWeKrW9v5H3gs4+c8y cVWIy1MQh/VPF8vHwyr801BwjYEnrnA/9Rw1qwLUIuRNKGblH/hENg8vpCA9s5AZqRbW 8zngGycdxZrIxYocaASwWGTIs6DPAxDh4PZY6mc+Re5gUVReJ2HLqQNVAanvyYhk3siR yHp3V3weby6+0MQugsTMntZ2Z2i/cZvV5T1LINndcXwMeLsbq9dBju5C24g/0g3iEGYx dkeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mBfHSp2w2i3eXQ3xsSzrY05FO4khE2jEcd6nZtV+xT4=; b=i91yB4L5O9UTCB5HiGFZbFyWUNnrph5m0WBdnNDoQAi4XbdWQ3Czi64hmbx3wqneQu KC9SJ/yGow88nzsDsr/DkPsHa8tTZPKwsr/BRnphisGRMQtkSNCjVwZvLGOyXy9EVgzM UIduOpGMwBlzI9AhQaJHfqLGDzMD5o8pzN0HhvpojvmCTIpgr8Wf05yCvjzT1EZUcbmT 4Sc3AJ63QRF99qf1I713bH8lg/df4nixJMDBoCMGl28S8MXArelM+8EHNDkh5NEiTSbZ GEuq4quinxawgsYn2jaSTQyfDxGB/mfU3aw2G9HXDqyqODInYheBp3HOlbZoFz7mK8Pw hIqA== X-Gm-Message-State: AO0yUKXnBrjxR5x/iIon1eLe/VRSuZGdqeAAzFiKM01h7lHkWFFQLgeY krphtTLyaGDFTKK6PBD2USO7AmeY87jqBw== X-Google-Smtp-Source: AK7set/J0bXkiEUg7wcyjmJ7EOzHLXN6WQIMwJPNtFvxZMpiK064aed5K9y527wOgjIVBubIqa/HRA== X-Received: by 2002:a17:906:7c13:b0:8aa:c261:f2a5 with SMTP id t19-20020a1709067c1300b008aac261f2a5mr16576434ejo.12.1676229045258; Sun, 12 Feb 2023 11:10:45 -0800 (PST) Received: from localhost ([141.226.15.115]) by smtp.gmail.com with ESMTPSA id s8-20020a170906168800b00887a23bab85sm5640032ejd.220.2023.02.12.11.10.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 11:10:44 -0800 (PST) Date: Sun, 12 Feb 2023 21:10:40 +0200 From: Efraim Flashner To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Subject: Re: branch core-updates updated: gnu: coreutils-boot0: Fix building on arm architectures. Message-ID: Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= , guix-devel@gnu.org References: <167079131409.22455.5790377740841482505@vcs2.savannah.gnu.org> <87bko820pa.fsf@gnu.org> <87a63oogvb.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="E/ehy0W0NNkhcZJc" Content-Disposition: inline In-Reply-To: <87a63oogvb.fsf@gnu.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=efraim.flashner@gmail.com; helo=mail-ej1-x62e.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676229070; a=rsa-sha256; cv=none; b=B8lyixNhy+wWXpV4eVnolZkueYIR3HQCzz35gky8DUxQo6k8pmP+8bM/V9r/i7nVH1mZab t6KEth9QRumv9VyAEvNELdIvIwIa3FQWp1Runm9gJ4B4pbJJyJCP/NeGxM3wXYlVpfp75a CeqA31U6lszzPtph4aDGlaXVeNlb7g+p67ufgg0EJr/C6rz19HU71A/hY52/8CiQ616V90 UermbMScaqudGzZoe1BYBkRBrxoA9r5G3vA9OJwhPDKRKJNAV3aXVUpUKhD3+Rvaz2yJgg 1eKXEbHgAqYXmumVgEAdf2UDzXh+rKOTA0DKZpet/2qHH2AP9cxVmmMIc8eMRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="E4Y8/9wn"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676229070; h=from:from:sender:sender: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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mBfHSp2w2i3eXQ3xsSzrY05FO4khE2jEcd6nZtV+xT4=; b=FzL8C8yNG+fYgFTwdUDoyIFIt3FmW1i7AU/00bF5QypINSbRSJrIyeoX03+nldER1KIifJ 0VO5UzSEoulvHbTvsDyPKA2jGKivYngGMr03NG++y/Lr0TAnSWITAmOeGk+Rhu3hksxE8a 3cCynnLFK+B2izyW0Qwy8pnxBTasPXzvMQNUvQr2UdBqrjnpjP+rbvQEG62zNvqyvAPRWe qVXtx7yk9TXCLzfvCnOtkRn1MRZKVW/llCexRpRttJSqNO5EI0Bbo8/URW3/GWALQLiK7m xb4QlS08FBuwuIvMzEB9UD+nva96SpO9UN/PvdY6AuYSTRI266hxSEXtWt+LwQ== X-Migadu-Queue-Id: F26AD24C40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="E4Y8/9wn"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -4.52 X-Spam-Score: -4.52 X-TUID: VON5XTUrMEq0 --E/ehy0W0NNkhcZJc Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 15, 2022 at 03:56:24PM +0100, Ludovic Court=C3=A8s wrote: > Hi, Sorry for taking a while to get back to answer this. > Efraim Flashner skribis: >=20 > > On December 12, 2022 1:47:29 PM UTC, "Ludovic Court=C3=A8s" wrote: >=20 > [...] >=20 > >>> + ,@(if (target-arm?) > >>> + ;; Some binaries fail to build. > >>> + `(#:configure-flags '(,(string-append > >>> + "--enable-no-install-program=3D" > >>> + ;; the defaults > >>> + "arch,coreutils,hostname" > >>> + ;; fails on aarch64 > >>> + ",timeout,sort"))) > >> > >>Isn=E2=80=99t there a risk that things will break down the road if =E2= =80=98sort=E2=80=99, > >>=E2=80=98hostname=E2=80=99, etc. are missing? How hard would it be to = address the build > >>failure instead? > >> > >>Thanks, > >>Ludo=E2=80=99. > > > > I built all the way out to hello without any problems. Also %final-inpu= ts has coreutils-final, so it really shouldn't be noticable. >=20 > That=E2=80=99s odd though. Isn=E2=80=99t there some upstream patch we co= uld take? > Surely =E2=80=98sort=E2=80=99 has no reason to contain arch-specific code? >=20 > If there=E2=80=99s no such patch, we can go with the patch above, but the= n there > should be a comment linking to bug reports and reassuring the reader > that yes, some packages do build even without these commands. :-) In file included from src/timeout.c:53:0: /gnu/store/4fy2658sxphy1kgclxrrmcka6lwiwap0-glibc-bootstrap-0/include/sys/p= rctl.h:22:66: fatal error: linux/prctl.h: No such file or directory #include /* The magic values come from here */ I'm not sure if it's because armhf and aarch64 are using %bootstrap-glibc vs glibc-2.16, but I didn't see this problem with glibc-mesboot or with the %bootstrap-glibc from architectures using 2.31. Other workarounds I thought of were adding in a glibc-boot0 here to replace libc for everybody or using an older version (the last one in the 8 series), but this seemed like the least invasive option for now. I've also added a comment so it'll be clearer what's happening there. > (There=E2=80=99s no =E2=80=9Ccoreutils=E2=80=9D command BTW, unless enabl= ing the > everything-in-one-binary trick, no?) It turns out coreutils does allow for that. > Thanks, > Ludo=E2=80=99. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --E/ehy0W0NNkhcZJc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmPpOawACgkQQarn3Mo9 g1GswRAAprZlLIp84GvTGzNxFdr/bgrRvVb2OeUXdFCKyBldV9a0w5fKRjmxCn/j AKYbh3i9fPs7Nwk+FBE5buWq5ZuUTsA2CYTFCCSxjxhLwdCNqGifpuwKxjCFbIFP 3YzYYhrKGjscHkb14cJkCrUnSQp/Icac4nk2tdrqMtqYIgnyS4j1pW/UaGYVbsf/ uKb7S8lQ/3DUL6WNchqf/a0jIXugbS7ad93pmPYFVC0X3d+N+09/i1bTry/F8GwH deozZlpI09D/b0Xr7k066QvpkMiKmwDqx5r9NTfLJpHpFqf+QlrgzpfzwAF1K3mb D2QB3YcZkT7k7f2xGyFC5X9bP/vA6dpWJZ24LLuOISLZ4PzoaZu7VEMX50xAsoW3 gq6OXZ9omApUID5HRWyQqe70NitNgI2app0BBXEStBvnAAytHuvvhLv539YxZCo/ WlyAwWKM1epJ+RAhkXlyZFSAa9WHGnMauRVV97a1PViVnIfLrMQBJU2i1p9QW4LI vHwJIBssFB+R6r/WttcLW497+RdNmpVfW74nKbuKVVXaElcX+ebdMYBbsqXFE97I RRIN0A76KH338fBS1HWpWe21Vleuj4jAHHJ2e8p9HupI97y4MZrvQrtVJ+wqpupk Sn2L1U2vAnRFVAKX+IkbFG2G72AdHHtmFqt97oz3Qb24JZzmo0M= =Ko1N -----END PGP SIGNATURE----- --E/ehy0W0NNkhcZJc--