From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KILxLIK79V8kYgAA0tVLHw (envelope-from ) for ; Wed, 06 Jan 2021 13:30:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WL7UKIK79V8aRwAA1q6Kng (envelope-from ) for ; Wed, 06 Jan 2021 13:30:42 +0000 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 2839E940414 for ; Wed, 6 Jan 2021 13:30:42 +0000 (UTC) Received: from localhost ([::1]:58242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kx8tb-0005xf-Ci for larch@yhetil.org; Wed, 06 Jan 2021 08:30:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kx8t1-0005wf-2P for bug-guix@gnu.org; Wed, 06 Jan 2021 08:30:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kx8t0-00070p-Pc for bug-guix@gnu.org; Wed, 06 Jan 2021 08:30:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kx8t0-00049h-Jv for bug-guix@gnu.org; Wed, 06 Jan 2021 08:30:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#45654: Building guile on x86_64 for aarch64 fails because of a missing guile Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 06 Jan 2021 13:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45654 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Stefan Received: via spool by 45654-submit@debbugs.gnu.org id=B45654.160993977815924 (code B ref 45654); Wed, 06 Jan 2021 13:30:02 +0000 Received: (at 45654) by debbugs.gnu.org; 6 Jan 2021 13:29:38 +0000 Received: from localhost ([127.0.0.1]:43803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kx8sc-00048m-Fu for submit@debbugs.gnu.org; Wed, 06 Jan 2021 08:29:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kx8sa-00048Z-Ol for 45654@debbugs.gnu.org; Wed, 06 Jan 2021 08:29:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60309) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kx8sT-0006nU-Oh; Wed, 06 Jan 2021 08:29:29 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41642 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kx8sS-0004yg-CF; Wed, 06 Jan 2021 08:29:29 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <780E2538-D765-456F-9D81-FF1A9C9B3C13@vodafonemail.de> <87v9cami5j.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?UTF-8?Q?Niv=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 06 Jan 2021 14:29:27 +0100 In-Reply-To: (Stefan's message of "Wed, 6 Jan 2021 12:35:38 +0100") Message-ID: <87pn2ikxc8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 45654@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.84 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 2839E940414 X-Spam-Score: -2.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: vbI1mHYq9E1P Hi Stefan, Stefan skribis: > Hi Ludo=E2=80=99! > >> Stefan: I recommend against =E2=80=98--disable-chroot=E2=80=99 as anythi= ng could leak >> into build processes. > > Thanks for your reply. I understand that =E2=80=98--disable-chroot=E2=80= =99 is not a good idea. In the end my try building guix over night fails wi= th test errors. As I wrote in the bug ticket, I even did a reboot after the= reconfigure. But just restarting qemu-binfmt and guix-daemon is no solutio= n in my case: > > stefan@guix ~$ sudo herd restart qemu-binfmt > Service qemu-binfmt has been stopped. > Service qemu-binfmt has been started. > stefan@guix ~$ sudo herd restart guix-daemon > Service guix-daemon has been stopped. > Service guix-daemon has been started. > stefan@guix ~$ guix build --system=3Daarch64-linux guix > Folgende Ableitung wird erstellt: > /gnu/store/4wdh7yy6g7imycaz9c21vcmk9l97qnpv-guix-1.2.0-8.7624ebb.drv > /gnu/store/4wdh7yy6g7imycaz9c21vcmk9l97qnpv-guix-1.2.0-8.7624ebb.drv wird= erstellt =E2=80=A6 > while setting up the build environment: executing `/gnu/store/x3gq648qnfn= la7nppyfjvj62s2i8y7rl-guile-3.0.2/bin/guile': No such file or directory I have: --8<---------------cut here---------------start------------->8--- $ file /gnu/store/x3gq648qnfnla7nppyfjvj62s2i8y7rl-guile-3.0.2/bin/guile /gnu/store/x3gq648qnfnla7nppyfjvj62s2i8y7rl-guile-3.0.2/bin/guile: ELF 64-b= it LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, inter= preter /gnu/store/cb88z63hyg1icd2kkahiink2p291mhr2-glibc-2.31/lib/ld-linux-= aarch64.so.1, for GNU/Linux 2.6.32, not stripped --8<---------------cut here---------------end--------------->8--- So ENOENT above means that the ELF interpreter of this file is not in the build chroot, and that in turns almost certainly hints at an inconsistency between the =E2=80=98--chroot-directory=E2=80=99 flags passed= to guix-daemon and the file name that shows up in /proc/sys/fs/binfmt_misc/qemu-aarch64 (set up by =E2=80=98qemu-binfmt=E2=80= =99). I don=E2=80=99t see why restarting the two services has no effect. Could y= ou compare the output of: guix gc -R $(cat /proc/sys/fs/binfmt_misc/qemu-aarch64 |grep interpreter|= cut -d ' ' -f 2-) with the =E2=80=98--chroot-directory=E2=80=99 flags shown by: cat /proc/$(LC_ALL=3DC sudo -E herd status guix-daemon | grep Running| se= d -'es/.* \([0-9]\+\).*/\1/g')/cmdline | xargs -0 echo ? > I=E2=80=99ll now retry with > > sudo -b env -i PATH=3D/gnu/store/x3gq648qnfnla7nppyfjvj62s2i8y7rl-guile-3= .0.2/bin /gnu/store/ca91bk34z3hmzv5d8j5xi0z8f4riyx7m-guix-1.2.0-8.7624ebb/b= in/guix-daemon --build-users-group guixbuild --max-silent-time 0 --timeout = 0 --log-compression bzip2 --discover=3Dno --substitute-urls https://ci.guix= .gnu.org --disable-chroot Setting PATH like this won=E2=80=99t make any difference. HTH! Ludo=E2=80=99.