From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: bug#39531: guix pull on aarch64-linux glibc derivation has incorrect output Date: Mon, 20 Apr 2020 08:17:11 +0100 Message-ID: <874kte62yw.fsf@cbaines.net> References: <87d0an1qs7.fsf@cbaines.net> <87pnc315t1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43960 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQQgs-0001Au-Kn for bug-guix@gnu.org; Mon, 20 Apr 2020 03:18:03 -0400 Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQQgs-0007j8-77 for bug-guix@gnu.org; Mon, 20 Apr 2020 03:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34960) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQQgr-0007ip-R3 for bug-guix@gnu.org; Mon, 20 Apr 2020 03:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQQgr-0006pi-MH for bug-guix@gnu.org; Mon, 20 Apr 2020 03:18:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87pnc315t1.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 39531@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Christopher Baines skribis: > >> When attempting to guix pull using the aarch64-linux system, I'm seeing >> some issues with derivation outputs. I tried with a newer and older >> commit, and the result is the same. >> >> >> =E2=86=92 guix pull --commit=3D27b09f3ab11a30821a5ce0b071aac1bc6156497d = --system=3Daarch64-linux --profile=3D/tmp/testprofile2 >> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu= .org/git/guix.git'... >> Building from this channel: >> guix https://git.savannah.gnu.org/git/guix.git 27b09f3 >> Computing Guix derivation for 'aarch64-linux'... - >> guix pull: error: derivation `/gnu/store/800ky8qa4az7yx36gsg9ak6bih3530q= m-glibc-2.29.drv' has incorrect output `/gnu/store/8v34v81q86klja9rihaixkyp= cml5ad5j-glibc-2.29-debug', should be `/gnu/store/w3iq60ias1qlrjigbj75ssda0= 9hwg21i-glibc-2.29-debug' > > The problem here is that we=E2=80=99re building the trampoline, > =E2=80=9Ccompute-guix-derivation=E2=80=9D, for AArch64. It builds if sub= stitutes are > available (likely) and fails to build otherwise. And then we try to > execute it locally, and since your machine is not AArch64, it fails. > > The first patch attached does what I thought was all it would take to > fix it. But then I realized that the second patch is needed so that > =E2=80=98make-config.scm=E2=80=99 uses a Guile for the right system, same= for > =E2=80=9Cmodule-import.drv=E2=80=9D and so on. > > Together, these two patches solve the problem (not retroactively > though), but we need to check the implications of changing the default > value of #:guile-for-build. Hey, Thanks for investigating :) I completely forget why I encountered this, but it was probably around getting the channel instance derivations in to the Guix Data Service, but I think I got that working, so I guess I somehow avoided this issue. Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl6dTHdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeWNg/8DDNPPZIBNh3C7fq0XQdHZXBZY60YV6mLGHFVd3pm87hFsTrUmji22rEI QKw5Yq0wTlQs5JSPa4t8gVaJYV/8ZuAmqX6MVRgocFGTyuctILsYuLtGZbIVhaqz 5LK9H4V2o/pJpLXV0GnVk0UjxICX36e1ueKlfI4yUh1pSZDOsF5+QnvqJWb+LIX2 qqXvPDNcrwtdje+0aYHc+NxPQGLtrTpbfuo83/YnaasqHZEhRGTPwm6mYBWydyy8 9CUxY1RiXvGAzpe7/3dKq4iaop+rlegi0FyFWHSkXlqFg95i2hpm2jno0+Za3eWl Whgo56CBWiknpKBAxsi3QwuszEWVsOe960V5SrNNKEHy9lPkQ5CUoBrvqKqpGhpZ 76u3QL5iouC+Iw1fAeGwtprrEnnWc9P2ph9DzCrjDjz4pslQoFPvZR8qPp7Myujk B5frMAHoOsPIP4ZNaZWk9IHqi4E183DzZz+94hLvj/KBtymE1GzCSB1SKSvplctA jSOAdvTdgMy7FncgeJJTQ38Mlqc4yG0ap+o1vjGth69ugTGg1xcqeO/DJMl/dqbF VB2szekX8xwbolVhax/SJkR1RNrBURCEfSus7LLkNYcjkOo6qoBlKiUe0Cf+Vi9y HJmbppRnO/dW0LQxYmTOKp6g6lDmaDpHNaS0dN+sj8Xhay0hPCM= =cn5/ -----END PGP SIGNATURE----- --=-=-=--