GNU logs - #39531, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39531: guix pull on aarch64-linux glibc derivation has incorrect output
Resent-From: Christopher Baines <mail@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 09 Feb 2020 19:54:02 +0000
Resent-Message-ID: <handler.39531.B.158127800413649 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 39531
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 39531 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.158127800413649
          (code B ref -1); Sun, 09 Feb 2020 19:54:02 +0000
Received: (at submit) by debbugs.gnu.org; 9 Feb 2020 19:53:24 +0000
Received: from localhost ([127.0.0.1]:53221 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1j0sdw-0003Y3-4x
	for submit <at> debbugs.gnu.org; Sun, 09 Feb 2020 14:53:24 -0500
Received: from lists.gnu.org ([209.51.188.17]:35341)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1j0sdu-0003Xw-Cw
 for submit <at> debbugs.gnu.org; Sun, 09 Feb 2020 14:53:22 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:59783)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <mail@HIDDEN>) id 1j0sdt-0006sn-5E
 for bug-guix@HIDDEN; Sun, 09 Feb 2020 14:53:22 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1j0sds-0005ex-0H
 for bug-guix@HIDDEN; Sun, 09 Feb 2020 14:53:21 -0500
Received: from mira.cbaines.net ([212.71.252.8]:47750)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1j0sdr-0005bF-Qa
 for bug-guix@HIDDEN; Sun, 09 Feb 2020 14:53:19 -0500
Received: from localhost (unknown [46.237.162.119])
 by mira.cbaines.net (Postfix) with ESMTPSA id C239417AC3
 for <bug-guix@HIDDEN>; Sun,  9 Feb 2020 19:53:17 +0000 (GMT)
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id 4e3d1549
 for <bug-guix@HIDDEN>; Sun, 9 Feb 2020 19:53:14 +0000 (UTC)
User-agent: mu4e 1.2.0; emacs 26.3
From: Christopher Baines <mail@HIDDEN>
Date: Sun, 09 Feb 2020 19:53:12 +0000
Message-ID: <87d0an1qs7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 212.71.252.8
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hey,

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 --s=
ystem=3Daarch64-linux --profile=3D/tmp/testprofile2
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or=
g/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/800ky8qa4az7yx36gsg9ak6bih3530qm-g=
libc-2.29.drv' has incorrect output `/gnu/store/8v34v81q86klja9rihaixkypcml=
5ad5j-glibc-2.29-debug', should be `/gnu/store/w3iq60ias1qlrjigbj75ssda09hw=
g21i-glibc-2.29-debug'


=E2=86=92 guix pull --commit=3D4cb7c3d6a0e6ee50f8f9f54243402560b8908378 --s=
ystem=3Daarch64-linux --no-grafts --profile=3D/tmp/testprofile
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or=
g/git/guix.git'...
Building from this channel:
  guix      https://git.savannah.gnu.org/git/guix.git	4cb7c3d
Computing Guix derivation for 'aarch64-linux'... /
guix pull: error: derivation `/gnu/store/800ky8qa4az7yx36gsg9ak6bih3530qm-g=
libc-2.29.drv' has incorrect output `/gnu/store/8v34v81q86klja9rihaixkypcml=
5ad5j-glibc-2.29-debug', should be `/gnu/store/w3iq60ias1qlrjigbj75ssda09hw=
g21i-glibc-2.29-debug'


Thanks,

Chris

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl5AYyhfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE
9Xcwag//egjC3xbsZaOmGRYh40Cnj/WV86qvio++thQ74SgJGM94wfGz1M2OxteF
bczmDVb2HOK9jObw7xWkEtQLIKFuT7IM6QAQ/5hFF0a2zpXS3+rwqAJWkdfhMlTj
bgKTibSrbw/HMPLZdXGa6+Ik4aAH6ehD0C6Mhj0eo93yGJ2XYGBouXSXmqUbrVzU
lHIBUnLw26K6aFTSUAsWhj9+JcaBoAt9kpppr/kZIZUCDcrnlGskTAHrmnsNS/2y
l4tEw96vOjo5u1txaI9ZRKg4r/XY2FUKnOvEbiVwAhlzbhVNTf3so9dm05VnIyJ6
wNzNViaMuNU9wVzzvrNnB45oY+WohX9A1fTh69Md6cVAJ33eAblJ2WXfrlg84rpm
NI6NCwfbdxsmmflfy7tOFAgHUN84rq/1hBax1J+oCQc+57aQ9adYt7qsd9oTtw32
ZIVplmGlqM6hIN8OMuEXKtX7krkJBQfDUChCVcyCvq4Y2NzZuWNr8V90ot5APgwt
PCQpxYrf5QzqzxoldLOnn1VCkdyvLfqpMiWKzMu+W5gjwi0zSjhk99rq19mmZuyK
D5oaYfjbktZty389962rLZFxHFUyaSarlyJqVvYbBYY8lg5DP0oQMx43xjcCTy3S
q87FavHWVsAufdIme3DW6EWC2Q0iY6TQTY/BG9+0gYZcKyjOLoY=
=Xudb
-----END PGP SIGNATURE-----
--=-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Christopher Baines <mail@HIDDEN>
Subject: bug#39531: Acknowledgement (guix pull on aarch64-linux glibc
 derivation has incorrect output)
Message-ID: <handler.39531.B.158127800413649.ack <at> debbugs.gnu.org>
References: <87d0an1qs7.fsf@HIDDEN>
X-Gnu-PR-Message: ack 39531
X-Gnu-PR-Package: guix
Reply-To: 39531 <at> debbugs.gnu.org
Date: Sun, 09 Feb 2020 19:54:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 39531 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
39531: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39531
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39531: guix pull on aarch64-linux glibc derivation has incorrect output
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 19 Apr 2020 22:15:01 +0000
Resent-Message-ID: <handler.39531.B39531.15873345008365 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39531
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Christopher Baines <mail@HIDDEN>
Cc: 39531 <at> debbugs.gnu.org
Received: via spool by 39531-submit <at> debbugs.gnu.org id=B39531.15873345008365
          (code B ref 39531); Sun, 19 Apr 2020 22:15:01 +0000
Received: (at 39531) by debbugs.gnu.org; 19 Apr 2020 22:15:00 +0000
Received: from localhost ([127.0.0.1]:46134 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jQIDL-0002Aq-Mt
	for submit <at> debbugs.gnu.org; Sun, 19 Apr 2020 18:15:00 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59850 helo=eggs1p.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1jQIDK-0002Ad-Cp
 for 39531 <at> debbugs.gnu.org; Sun, 19 Apr 2020 18:14:58 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56502)
 by eggs1p.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1jQIDE-0000dO-No; Sun, 19 Apr 2020 18:14:52 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59270 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1jQIDE-0005AK-7N; Sun, 19 Apr 2020 18:14:52 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
References: <87d0an1qs7.fsf@HIDDEN>
Date: Mon, 20 Apr 2020 00:14:50 +0200
In-Reply-To: <87d0an1qs7.fsf@HIDDEN> (Christopher Baines's message of
 "Sun, 09 Feb 2020 19:53:12 +0000")
Message-ID: <87pnc315t1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

Christopher Baines <mail@HIDDEN> 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/800ky8qa4az7yx36gsg9ak6bih3530qm=
-glibc-2.29.drv' has incorrect output `/gnu/store/8v34v81q86klja9rihaixkypc=
ml5ad5j-glibc-2.29-debug', should be `/gnu/store/w3iq60ias1qlrjigbj75ssda09=
hwg21i-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 subst=
itutes 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 f=
or
=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.

Thanks,
Ludo=E2=80=99.


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline;
 filename=0001-build-self-Always-build-the-trampoline-for-the-curre.patch

From 366729d477960127424076bdac51e7c937857081 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@HIDDEN>
Date: Sun, 19 Apr 2020 23:14:56 +0200
Subject: [PATCH 1/2] build-self: Always build the trampoline for the current
 system.

Previously we'd build 'compute-guix-derivation' for the target system.
Running it would then fail (unless qemu-binfmt support was set up or
something similar).

Fixes <https://bugs.gnu.org/39531>.
Reported by Christopher Baines <mail@HIDDEN>.

* build-aux/build-self.scm (load-path-expression): Add #:system and
honor it.
(gexp->script): Likewise.
(build-program): Pass #:system to 'gexp->script'.
---
 build-aux/build-self.scm | 24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/build-aux/build-self.scm b/build-aux/build-self.scm
index f86c79f0d0..58ecf20cf4 100644
--- a/build-aux/build-self.scm
+++ b/build-aux/build-self.scm
@@ -148,14 +148,17 @@
 ;;; 1ae16033f34cebe802023922436883867010850f (March 2018.)
 ;;;
 
-(define (load-path-expression modules path)
+(define* (load-path-expression modules path
+                               #:key (system (%current-system)))
   "Return as a monadic value a gexp that sets '%load-path' and
 '%load-compiled-path' to point to MODULES, a list of module names.  MODULES
 are searched for in PATH."
   (mlet %store-monad ((modules  (imported-modules modules
-                                                  #:module-path path))
+                                                  #:module-path path
+                                                  #:system system))
                       (compiled (compiled-modules modules
-                                                  #:module-path path)))
+                                                  #:module-path path
+                                                  #:system system)))
     (return (gexp (eval-when (expand load eval)
                     (set! %load-path
                       (cons (ungexp modules) %load-path))
@@ -165,12 +168,14 @@ are searched for in PATH."
 
 (define* (gexp->script name exp
                        #:key (guile (default-guile))
-                       (module-path %load-path))
+                       (module-path %load-path)
+                       (system (%current-system)))
   "Return an executable script NAME that runs EXP using GUILE, with EXP's
 imported modules in its search path."
   (mlet %store-monad ((set-load-path
                        (load-path-expression (gexp-modules exp)
-                                             module-path)))
+                                             module-path
+                                             #:system system)))
     (gexp->derivation name
                       (gexp
                        (call-with-output-file (ungexp output)
@@ -186,7 +191,8 @@ imported modules in its search path."
                            (write '(ungexp set-load-path) port)
                            (write '(ungexp exp) port)
                            (chmod port #o555))))
-                      #:module-path module-path)))
+                      #:module-path module-path
+                      #:system system)))
 
 
 (define (date-version-string)
@@ -364,7 +370,11 @@ interface (FFI) of Guile.")
                                                 #$pull-version)
                                #:system system)
                              derivation-file-name))))))
-                  #:module-path (list source))))
+                  #:module-path (list source)
+
+                  ;; Always build the trampoline for the local system.  The
+                  ;; system being targeted will be passed as an argument.
+                  #:system %system)))
 
 (define (call-with-clean-environment thunk)
   (let ((env (environ)))
-- 
2.26.0


--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline;
 filename=0002-DRAFT-gexp-guile-for-build-defaults-to-a-system-depe.patch

From d35b68374543f9eed7dc1f49c73d49a31332e2b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@HIDDEN>
Date: Sun, 19 Apr 2020 23:58:10 +0200
Subject: [PATCH 2/2] DRAFT gexp: #:guile-for-build defaults to a
 system-dependent derivation.

Until now, the default #:guile-for-build would be Guile lowered to
whichever system was current when %GUILE-FOR-BUILD was set.  This would
break when passing #:system to a value other than %CURRENT-SYSTEM.

* guix/gexp.scm (lower-gexp): #:guile-for-build defaults to #f.
(gexp->derivation): Likewise.
(imported-files/derivation): Likewise.
(imported-files): Likewise.
(imported-modules): Likewise.
(compiled-modules): Likewise.
---
 guix/gexp.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/guix/gexp.scm b/guix/gexp.scm
index 4ac0411da1..753da8cb4d 100644
--- a/guix/gexp.scm
+++ b/guix/gexp.scm
@@ -784,7 +784,7 @@ second element is the derivation to compile them."
                      (system (%current-system))
                      (target 'current)
                      (graft? (%graft?))
-                     (guile-for-build (%guile-for-build))
+                     (guile-for-build #f)
                      (effective-version "2.2")
 
                      deprecation-warnings)
@@ -885,7 +885,7 @@ derivations--e.g., code evaluated for its side effects."
                            (env-vars '())
                            (modules '())
                            (module-path %load-path)
-                           (guile-for-build (%guile-for-build))
+                           (guile-for-build #f)
                            (effective-version "2.2")
                            (graft? (%graft?))
                            references-graphs
@@ -1357,7 +1357,7 @@ to a tree suitable for 'interned-file-tree'."
                                     #:key (name "file-import")
                                     (symlink? #f)
                                     (system (%current-system))
-                                    (guile (%guile-for-build)))
+                                    (guile #f))
   "Return a derivation that imports FILES into STORE.  FILES must be a list
 of (FINAL-PATH . FILE) pairs.  Each FILE is mapped to FINAL-PATH in the
 resulting store path.  FILE can be either a file name, or a file-like object,
@@ -1406,7 +1406,7 @@ to the source files instead of copying them."
                          ;; The following parameters make sense when creating
                          ;; an actual derivation.
                          (system (%current-system))
-                         (guile (%guile-for-build)))
+                         (guile #f))
   "Import FILES into the store and return the resulting derivation or store
 file name (a derivation is created if and only if some elements of FILES are
 file-like objects and not local file names.)  FILES must be a list
@@ -1426,7 +1426,7 @@ as returned by 'local-file' for example."
 (define* (imported-modules modules
                            #:key (name "module-import")
                            (system (%current-system))
-                           (guile (%guile-for-build))
+                           (guile #f)
                            (module-path %load-path))
   "Return a derivation that contains the source files of MODULES, a list of
 module names such as `(ice-9 q)'.  All of MODULES must be either names of
@@ -1455,7 +1455,7 @@ last one is created from the given <scheme-file> object."
                            #:key (name "module-import-compiled")
                            (system (%current-system))
                            target
-                           (guile (%guile-for-build))
+                           (guile #f)
                            (module-path %load-path)
                            (extensions '())
                            (deprecation-warnings #f))
-- 
2.26.0


--=-=-=--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#39531: guix pull on aarch64-linux glibc derivation has incorrect output
Resent-From: Christopher Baines <mail@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 20 Apr 2020 07:18:01 +0000
Resent-Message-ID: <handler.39531.B39531.158736704026200 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 39531
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 39531 <at> debbugs.gnu.org
Received: via spool by 39531-submit <at> debbugs.gnu.org id=B39531.158736704026200
          (code B ref 39531); Mon, 20 Apr 2020 07:18:01 +0000
Received: (at 39531) by debbugs.gnu.org; 20 Apr 2020 07:17:20 +0000
Received: from localhost ([127.0.0.1]:46506 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jQQgB-0006oV-PP
	for submit <at> debbugs.gnu.org; Mon, 20 Apr 2020 03:17:20 -0400
Received: from mira.cbaines.net ([212.71.252.8]:32790)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1jQQg9-0006oM-Ep
 for 39531 <at> debbugs.gnu.org; Mon, 20 Apr 2020 03:17:17 -0400
Received: from localhost (unknown [46.237.173.52])
 by mira.cbaines.net (Postfix) with ESMTPSA id 56B3527BBE1;
 Mon, 20 Apr 2020 08:17:16 +0100 (BST)
Received: from localhost (localhost [local])
 by localhost (OpenSMTPD) with ESMTPA id 0004ff4b;
 Mon, 20 Apr 2020 07:17:13 +0000 (UTC)
References: <87d0an1qs7.fsf@HIDDEN> <87pnc315t1.fsf@HIDDEN>
User-agent: mu4e 1.2.0; emacs 26.3
From: Christopher Baines <mail@HIDDEN>
In-reply-to: <87pnc315t1.fsf@HIDDEN>
Date: Mon, 20 Apr 2020 08:17:11 +0100
Message-ID: <874kte62yw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Christopher Baines <mail@HIDDEN> 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-----
--=-=-=--




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 7 Jul 2025 14:30:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 07 10:30:13 2025
Received: from localhost ([127.0.0.1]:36229 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uYmrE-0006u0-P4
	for submit <at> debbugs.gnu.org; Mon, 07 Jul 2025 10:30:13 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:38876)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1uYmrC-0006s9-Le
 for control <at> debbugs.gnu.org; Mon, 07 Jul 2025 10:30:11 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 80E3618D;
 Mon,  7 Jul 2025 16:30:04 +0200 (CEST)
Authentication-Results: hera.aquilenet.fr;
	none
X-Virus-Scanned: Debian amavis at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP
 id wRy7STcHmFjQ; Mon,  7 Jul 2025 16:30:03 +0200 (CEST)
Received: from jurong (p-gweduroam01.u-bordeaux.fr [147.210.179.67])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 6CA1010A;
 Mon,  7 Jul 2025 16:30:03 +0200 (CEST)
Date: Mon, 7 Jul 2025 16:30:01 +0200
From: Andreas Enge <andreas@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: Close
Message-ID: <aGvZ6U38gbIdhHPr@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spamd-Result: default: False [-5.60 / 15.00]; BAYES_HAM(-3.00)[99.99%];
 NEURAL_HAM(-3.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[];
 MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_TWO(0.00)[2];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[];
 FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 ARC_NA(0.00)[]
X-Rspamd-Action: no action
X-Rspamd-Queue-Id: 80E3618D
X-Rspamd-Server: hera
X-Spamd-Bar: -----
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

close 54651
close 76160
close 54453
close 36379
close 76160
close 39531
close 57764
close 60547
close 68359
close 58778
close 56466
close 57527
close 47764
close 72332
close 71691
thanks

# Closing old "guix pull" bugs, which are often network related,
# and in any case not actionable any more.
#
# If you experience similar problems now, please open a new issue on
# codeberg.
#
# Andreas






Last modified: Mon, 7 Jul 2025 14:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.