GNU bug report logs - #64505
'guix pull' from 1.1.0 fails in "Computing Guix derivation"

Previous Next

Package: guix;

Reported by: Jean-Christophe Haessig <jean-christophe.haessig <at> dianosis.org>

Date: Fri, 7 Jul 2023 07:43:01 UTC

Severity: normal

Done: Josselin Poiret <dev <at> jpoiret.xyz>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64505 in the body.
You can then email your comments to 64505 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#64505; Package guix. (Fri, 07 Jul 2023 07:43:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jean-Christophe Haessig <jean-christophe.haessig <at> dianosis.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 07 Jul 2023 07:43:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jean-Christophe Haessig <jean-christophe.haessig <at> dianosis.org>
To: bug-guix <at> gnu.org
Subject: bug report
Date: Thu, 06 Jul 2023 21:35:22 +0200
Hi,

Running guix pull again gives the same result :

$ guix pull
Mise à jour du canal « guix » depuis le dépôt Git «
https://git.savannah.gnu.org/git/guix.git »...
Construction depuis ce canal :
  guix      https://git.savannah.gnu.org/git/guix.git	961ffca
substitute: /gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-
5.0.7/bin/bash: warning: setlocale: LC_ALL: cannot change locale
(en_US.utf8)
substitute: mise à jour des substituts depuis
« https://ci.guix.gnu.org »... 100.0 %
substitute: mise à jour des substituts depuis
« https://ci.guix.gnu.org »... 100.0 %
substitute: mise à jour des substituts depuis
« https://ci.guix.gnu.org »... 100.0 %
construction de /gnu/store/mqgaxb045j4hnc6pss484drk332mz44m-module-
import.drv...
construction de /gnu/store/67ix9vm4f31nfi22q0g5jwnaxhigaz1x-module-
import-compiled.drv...
/gnu/store/29jhbbg1hf557x8j53f9sxd9imlmf02a-bash-minimal-
5.0.7/bin/bash: warning: setlocale: LC_ALL: cannot change locale
(en_US.utf8)
construction de /gnu/store/amlizpv60rmfn8g685c15ncw26h6b179-compute-
guix-derivation.drv...
Computing Guix derivation for 'x86_64-linux'... \Backtrace:
In ice-9/eval.scm:
    159:9 19 (_ #(#(#<directory (gnu packages commencement)
7f27877c7000>) #<package linux-libre-headers <at> 5.15.49 7?>))
   196:35 18 (_ #(#(#(#<directory (gnu packages commencement)
7f27877c7000>) #<package linux-libre-headers <at> 5.15?>) #))
    159:9 17 (_ #(#(#(#<directory (gnu packages commencement)
7f27877c7000>) #<package linux-libre-headers <at> 5.15?>) #))
   191:35 16 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
    159:9 15 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
    159:9 14 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
    159:9 13 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
    159:9 12 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
   174:20 11 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
   177:32 10 (lp (#<procedure 7f278ee8a660 at ice-9/eval.scm:182:7
(env)> #<procedure 7f278ee8a640 at ice-9/eval.s?>))
    163:9  9 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
    163:9  8 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
    159:9  7 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
    159:9  6 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
    163:9  5 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
    159:9  4 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
   191:35  3 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers <at> 5.15.4?>))
In ./guix/platform.scm:
    139:6  2 (lookup-platform-by-target-or-system "x86_64-linux")
In ice-9/boot-9.scm:
    829:9  1 (catch srfi-34 #<procedure 7f278ee8a040 at
./guix/platform.scm:139:6 ()> #<procedure 7f27a4868298 at .?> ?)
In ./guix/platform.scm:
    129:2  0 (lookup-platform-by-target "x86_64-linux")

./guix/platform.scm:129:2: In procedure lookup-platform-by-target:
error: raise-exception: unbound variable
guix pull: error: You found a bug: the program
'/gnu/store/cb56v1p47byd2ars5xbgkw26f3iq41sj-compute-guix-derivation'
failed to compute the derivation for Guix (version:
"961ffca1c75141cbb351d143b22b673638e9659d"; system: "x86_64-linux";
host version: "1.1.0"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.

HTH,
J.C.H





Information forwarded to bug-guix <at> gnu.org:
bug#64505; Package guix. (Mon, 10 Jul 2023 06:59:01 GMT) Full text and rfc822 format available.

Message #8 received at 64505 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Jean-Christophe Haessig <jean-christophe.haessig <at> dianosis.org>,
 64505 <at> debbugs.gnu.org
Subject: Re: bug#64505: bug report
Date: Mon, 10 Jul 2023 08:57:52 +0200
[Message part 1 (text/plain, inline)]
Hi Jean-Christophe,

Jean-Christophe Haessig <jean-christophe.haessig <at> dianosis.org> writes:

> In ./guix/platform.scm:
>     139:6  2 (lookup-platform-by-target-or-system "x86_64-linux")
> In ice-9/boot-9.scm:
>     829:9  1 (catch srfi-34 #<procedure 7f278ee8a040 at
> ./guix/platform.scm:139:6 ()> #<procedure 7f27a4868298 at .?> ?)
> In ./guix/platform.scm:
>     129:2  0 (lookup-platform-by-target "x86_64-linux")
>
> ./guix/platform.scm:129:2: In procedure lookup-platform-by-target:
> error: raise-exception: unbound variable
> guix pull: error: You found a bug: the program
> '/gnu/store/cb56v1p47byd2ars5xbgkw26f3iq41sj-compute-guix-derivation'
> failed to compute the derivation for Guix (version:
> "961ffca1c75141cbb351d143b22b673638e9659d"; system: "x86_64-linux";
> host version: "1.1.0"; pull-version: 1).
> Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.

You seem to have a quite old version of Guix, along with Guile 2.x, and
there raise-exception doesn't exist, but it is indirectly being used
when building Guix.

You can either try to pull in small increments (I think 1.1 -> 1.2 ->
1.3 -> master should do it) for now, but we should also fix this use of
raise-exception: it should be `raise` from srfi-34/35 instead.

Best,
-- 
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]

Changed bug title to ''guix pull' from 1.1.0 fails in "Computing Guix derivation"' from 'bug report' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 10 Jul 2023 22:33:02 GMT) Full text and rfc822 format available.

Reply sent to Josselin Poiret <dev <at> jpoiret.xyz>:
You have taken responsibility. (Thu, 13 Jul 2023 17:15:01 GMT) Full text and rfc822 format available.

Notification sent to Jean-Christophe Haessig <jean-christophe.haessig <at> dianosis.org>:
bug acknowledged by developer. (Thu, 13 Jul 2023 17:15:02 GMT) Full text and rfc822 format available.

Message #15 received at 64505-done <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: Jean-Christophe Haessig <jean-christophe.haessig <at> dianosis.org>,
 64505-done <at> debbugs.gnu.org
Subject: Re: bug#64505: bug report
Date: Thu, 13 Jul 2023 19:14:44 +0200
[Message part 1 (text/plain, inline)]
Hi,

Josselin Poiret <dev <at> jpoiret.xyz> writes:

> You seem to have a quite old version of Guix, along with Guile 2.x, and
> there raise-exception doesn't exist, but it is indirectly being used
> when building Guix.
>
> You can either try to pull in small increments (I think 1.1 -> 1.2 ->
> 1.3 -> master should do it) for now, but we should also fix this use of
> raise-exception: it should be `raise` from srfi-34/35 instead.

I've pushed a fix for this as d17879cd0dec60ea7490632910257890f207d6cb.

Preemptively closing, feel free to re-open if this doesn't work.

Best,
-- 
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 11 Aug 2023 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 6 days ago.

Previous Next


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