From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CMXMAV9u42HD9AAAgWs5BA (envelope-from ) for ; Sun, 16 Jan 2022 02:01:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WBYfNl5u42HWHQEAG6o9tA (envelope-from ) for ; Sun, 16 Jan 2022 02:01:18 +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 6ED793F763 for ; Sun, 16 Jan 2022 02:01:18 +0100 (CET) Received: from localhost ([::1]:40166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8tv3-0004q7-K8 for larch@yhetil.org; Sat, 15 Jan 2022 20:01:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8tut-0004px-RG for bug-guix@gnu.org; Sat, 15 Jan 2022 20:01:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8tuo-000333-BV for bug-guix@gnu.org; Sat, 15 Jan 2022 20:01:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8tuo-000249-92 for bug-guix@gnu.org; Sat, 15 Jan 2022 20:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52943: Cannot build guix as part of guix system reconfigure after commit 224d437fb4 on aarch64 Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 16 Jan 2022 01:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52943 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Langlois Received: via spool by 52943-submit@debbugs.gnu.org id=B52943.16422948527918 (code B ref 52943); Sun, 16 Jan 2022 01:01:02 +0000 Received: (at 52943) by debbugs.gnu.org; 16 Jan 2022 01:00:52 +0000 Received: from localhost ([127.0.0.1]:42234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8tuY-00023V-01 for submit@debbugs.gnu.org; Sat, 15 Jan 2022 20:00:51 -0500 Received: from mail-pj1-f42.google.com ([209.85.216.42]:46071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8tuV-00023I-Ui for 52943@debbugs.gnu.org; Sat, 15 Jan 2022 20:00:44 -0500 Received: by mail-pj1-f42.google.com with SMTP id l16-20020a17090a409000b001b2e9628c9cso17739333pjg.4 for <52943@debbugs.gnu.org>; Sat, 15 Jan 2022 17:00:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=asWUbYzdlumcfenWaSy+fimypj8muFxNRH/1bVgcSaA=; b=ZjMPUJmSd6IKhEMK0aAq08FsTK9s6VZ3hAv7ch/gx5xRW3FS9lOK2zNsMeCciWuMGV VIgGSi/+zjlHSWavCKaKLvTNagYXAjzaXZfqBorhiHqmnXxA0ckqwPI1WgUxcAMIIV21 fufQk0Fva6d+PW9Iao/JxlYe4/WQ6buHBXvUP2kDlweO6BWp0NxDhKJ2bkypugkiqv5z Rs0Lr3pvr3VGFM4l+V0gZq9tFi9n5LkienBqhGRWn0Yygf6xZIl0IoBjHuYaFFHX5vcM 3XolkIzmo17r8z1It6GMDw75zXXdeo0OcImuGWJop6kcjn78lurwU5Y73O3jvE4LYllp t1wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=asWUbYzdlumcfenWaSy+fimypj8muFxNRH/1bVgcSaA=; b=e0j0KB7Ba1vAggA3b3+gSd4ImmuHBfZXjmxKIptx+zib7ZXbGnzRue6L+PHsWCuzae SzU47DujIx5hG3CpsR8XGwNEqgvoVjd8tMrpyACo31sAGgnr1j0sTSf9xBXTu5JUYKkO DUaK1tvUFlFguYic5IRiMiHgY7rT6stZBpCH4DSKL6ucpPWBjGYpBB0wvddS0ba/CmX1 x1dQRCQzhU8/az+N0vbtMdccoHCCeoi03qKUBPi+Ykooqy3FaPNUy9ocjMk/YXV7y/FM ZhLTUsw0GI9yd45MmKBY7aNXKM4rWsClqPAsmKbP+2h674+FDZpA1HnG2sC9vr+5DHzC SFFw== X-Gm-Message-State: AOAM531Fp7gyh56GAYZsFAVNnHAaqeusfPQccAk0E7gXxY2C9xCFdGji o1V5vtE1udL1hzMJ/2h0dxZInalZWJY= X-Google-Smtp-Source: ABdhPJycTTQYAxmquy/ewCN71cfREuQG/eWuELLS9oiCejbT+SvDk4RCtnbpslnw0BI8uFAcoUW4qw== X-Received: by 2002:a17:90a:c695:: with SMTP id n21mr18198234pjt.10.1642294837554; Sat, 15 Jan 2022 17:00:37 -0800 (PST) Received: from garuda-lan (c-71-231-157-28.hsd1.wa.comcast.net. [71.231.157.28]) by smtp.gmail.com with ESMTPSA id k8sm10328714pfc.177.2022.01.15.17.00.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jan 2022 17:00:36 -0800 (PST) From: Chris Marusich References: <87o84lcyk1.fsf@gmail.com> <874k65rukb.fsf@gmx.com> Date: Sat, 15 Jan 2022 17:00:33 -0800 In-Reply-To: <874k65rukb.fsf@gmx.com> (Pierre Langlois's message of "Sat, 15 Jan 2022 13:27:51 +0000") Message-ID: <87czksa40e.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aiko Kyle , 52943@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642294878; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=asWUbYzdlumcfenWaSy+fimypj8muFxNRH/1bVgcSaA=; b=lN5cbU9tB2e46zrS6N3m7fqyqfFGI5B8M2t5DIxBA6GV7epyEquc3XJ2Ll69srfoRrKZ3Z JIWh5rP/bA1IcZFB//hio4OU4CHVPKCfLbj4lYFDekTUWx4agpSGcIlcm8BVz81caTTMhZ pYHxqCyHhleVY8J4czLxiC+F++rRnrn4AdFAuXQJXfrLUi27+frvJ2kgsnUlU0hKUF1DwF zmC4JWQxKLyqdIEnUY4PWTwf+mTixpu8qBbeUsh3IiiNy1RDJdZSsAIUloOKobzdFu2R5g CceipsTidCl2tJgKrlZ0berlBjn0S3fd71RljD4ocB/vwUod4RvSDkoI9ijHCg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642294878; a=rsa-sha256; cv=none; b=RMUUAX6aVoJUlQEvwvqop1pnFN43X/JDElwHRBks1Xmd/1EAIsywnfeOfad5FvOn741lkz 0mZpDnWNvSuKvt+XTa84Eh6n1tcM+2gpD+6JMwdY1AdvUrrXYuBcRYh/KNAfH6loyNRH/S 6nXVR3rMmS3306e/mYjZ5eXtPfeHlvOAB1bs/hjcXUs8u8qgg8IOU6Y5ot1Exy2gO3Fk3D /NyrKQ6+DwOuE8hJyO1cs/PUDd3GahcCEyhMRXIywW/cDKQ7zZlAW4u9yBS/+CGk/IwnE9 B4+HKjJjZgaKU8AEPkBhYXtZvAYRs4DxnsJcBSJm5iqWKH1ecS4SztAQOmrRSA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ZjMPUJmS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ZjMPUJmS; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6ED793F763 X-Spam-Score: -4.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: u9TeicE/Q3fZ --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Pierre, FYI, it looks like you included bug-guix@gnu.org in the CC list of your last email. If you do that, I believe it will create a new bug report, which may not be what you intended to do. Pierre Langlois writes: > I'm afraid I don't have any new insight if this is an issue or just > working as intended. Given we have a limited bandwidth to address this > thoroughly, would it make sense to apply a temporary work-around in the > mean time? I'd be good for at least guix to build on aarch64 in the 1.4 > release. > > I have the attached patch in my tree for instance (along with an update > of the guix package), and I've not noticed any issues on a rockpro64, > running cgit, DHCP and dnsmasq. That's just anecdotal :-), but I'm also > thinking if we unblock the guix package then the farm might catch other > issues that could help getting to the bottom of this. > > WDYT? I agree with you. That said, I don't personally run any aarch64-linux machines, and I don't plan to investigate the aarch64-linux issue further right now. Although I will defer to anyone who actually runs aarch64-linux and knows better, at the moment to me it seems reasonable to commit a patch like the one you've proposed in order to ensure that the "guix" package builds successfully on that platform for the 1.4.0 release. The fact that you have successfully built and used various pieces of software on aarch64-linux with this patch suggests that maybe the current behavior is OK, after all. I've made some rather trivial modifications to your patch, mainly to make it conform to our required ChangeLog format. If nobody has further comments, I will commit the attached version to master in about 24 hours. =2D-=20 Chris PGP: https://savannah.gnu.org/people/viewgpg.php?user_id=3D106836 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-tests-Fix-file-needed-recursive-on-aarch64-linux.patch Content-Transfer-Encoding: quoted-printable From=20f502bab1e09276982acfd3ac0c151b241f7aa07d Mon Sep 17 00:00:00 2001 From: Pierre Langlois Date: Wed, 22 Dec 2021 22:02:08 +0000 Subject: [PATCH] tests: Fix file-needed/recursive on aarch64-linux. Fixes: . * tests/gremlin.scm (file-needed/recursive)[ground-truth]: On aarch64-linux, remove the dynamic linker from this list. =2D-- tests/gremlin.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/gremlin.scm b/tests/gremlin.scm index 9e0017337a..3dbb8d3643 100644 =2D-- a/tests/gremlin.scm +++ b/tests/gremlin.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2015, 2018, 2020, 2022 Ludovic Court=C3=A8s ;;; Copyright =C2=A9 2022 Chris Marusich +;;; Copyright =C2=A9 2022 Pierre Langlois ;;; ;;; This file is part of GNU Guix. ;;; @@ -20,9 +21,11 @@ (define-module (test-gremlin) #:use-module (guix elf) #:use-module (guix tests) =2D #:use-module ((guix utils) #:select (call-with-temporary-directory)) + #:use-module ((guix utils) #:select (call-with-temporary-directory + target-aarch64?)) #:use-module (guix build utils) #:use-module (guix build gremlin) + #:use-module (gnu packages bootstrap) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-34) @@ -99,7 +102,12 @@ (define ground-truth (or (string-prefix? "linux-vdso.so" entry) (string-prefix? "linux-vdso32.so" entry) ;32-bit power= pc (string-prefix? "linux-vdso64.so" entry) ;64-bit power= pc =2D (string-prefix? "linux-gate.so" entry))) ;i386 + (string-prefix? "linux-gate.so" entry) ;i386 + ;; FIXME: ELF files on aarch64 do not always include a + ;; NEEDED entry for the dynamic linker, and it is uncl= ear + ;; if that is OK. See: https://issues.guix.gnu.org/52= 943 + (and (target-aarch64?) + (string-contains entry (glibc-dynamic-linker))))) (read-ldd-output pipe))) =20 (and (zero? (close-pipe pipe)) base-commit: 172bd0b5cde2609389fd16d18862b5b612c4b000 =2D-=20 2.33.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmHjbjEVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadIXEQALPumHR0mylMOAvw82hjPTxADns9 siUDaQ0rks+oJ9SvVbN92g0lgafmmz7X7dcAhLXvrKBswXxm4QlHcnNxjASj0xdM RNIGaLKtUhRe8q5pfgVteeonEhlersZABQZPVcDEATicJkPhEyxzPiPd96WzHZ9O zRbPp7+e1zqlB7o7+SZ1WmSVx/cnME5N2UGqrJhncLY58keGW6Z1R1c9Ps2ghjaf IzQHdPYdndJI5CiNiv6OjNCrvCYBSh9R8o6rnXp3kel45SJ11DY7+Mn9qtbGa6Ty Ps6ENU76IYtS6UvuHpDFdr3YrOFp5D35jVTUkez0zIh9LNrhN5D6dCwIJklxpEE5 O2HtFRxeURYjvcOYhHRjUL8EmhI7kr376Ef+8ZR96cphDNCcPCy6n9Z2eiEd+po4 Bjd+8YVwdOTHPmhbgoIA9CpNUeO/b2PBtSitq+WvHFJEbKYdF4oNd+b/cDUuKBp9 MEBdZNtnbzt3+5J8DTPn+US2+C2cp8jTbptB8It03oot3Ij/36nJkvKjD+5a5W7C AVD32Wt5J1MdnWEhd4bNg/uiqmntrVNYnveACKPUC0qq7QaRmz2RS37ZLgXHkiOc KeUE6jIblGxIfHx661pn2NWSYu+VzNz7e0G7YlM1a5kynfcTfvw7nEzSvSWbIi+K rnXoKhihzR7BsgcN =Gw+A -----END PGP SIGNATURE----- --==-=-=--