'guix pull' from 1.1.0 fails in "Computing Guix derivation"

  • Done
  • quality assurance status badge
Details
3 participants
  • Josselin Poiret
  • Jean-Christophe Haessig
  • Ludovic Courtès
Owner
unassigned
Submitted by
Jean-Christophe Haessig
Severity
normal
J
J
Jean-Christophe Haessig wrote on 6 Jul 2023 21:35
bug report
(address . bug-guix@gnu.org)
5a9a9027f1534f2a94cd454c7aee8f98b9b0126a.camel@dianosis.org
Hi,

Running guix pull again gives the same result :

$ guix pull
Mise à jour du canal « guix » depuis le dépôt Git «
Construction depuis ce canal :
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@5.15.49 7?>))
196:35 18 (_ #(#(#(#<directory (gnu packages commencement)
7f27877c7000>) #<package linux-libre-headers@5.15?>) #))
159:9 17 (_ #(#(#(#<directory (gnu packages commencement)
7f27877c7000>) #<package linux-libre-headers@5.15?>) #))
191:35 16 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@5.15.4?>))
159:9 15 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@5.15.4?>))
159:9 14 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@5.15.4?>))
159:9 13 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@5.15.4?>))
159:9 12 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@5.15.4?>))
174:20 11 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@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@5.15.4?>))
163:9 8 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@5.15.4?>))
159:9 7 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@5.15.4?>))
159:9 6 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@5.15.4?>))
163:9 5 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@5.15.4?>))
159:9 4 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@5.15.4?>))
191:35 3 (_ #(#(#<directory (gnu packages linux) 7f27a5add3c0>
"5.15.49") #<package linux-libre-headers@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@gnu.org>.

HTH,
J.C.H
J
J
Josselin Poiret wrote on 10 Jul 2023 08:57
87sf9w8d8v.fsf@jpoiret.xyz
Hi Jean-Christophe,

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

Toggle quote (17 lines)
> 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@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
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmSrq/AQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaivesC/9SFQAPk5LaVOevntp2MszNvWBafS2pccKu
q4YL2Jw8UkMjwY5NsoxYyzkV8qrAbRhE+wNKy+WiSV6ODKsvBxwcRc+ctt6xX/Bk
Bik9K25T7/IBGUnsGc/KwRHPpCmUl+ikvrerTBV3e16JyPrVQBu90j+rQAu/S67n
B5lNW3n4T4+9p21mnBwU5gGM8MWdqY/qGPukfDtt9NctIVx3N1kTGayxuBpkBQfR
emvatLkT1VO7gykdZyG72nngfbUHRO+iqEQMk+pCpJ/xSH4oCLjQh1eCNDDLrM0G
264/I3hSKRq3hiPJ6KsYyCJGFtVenC9YUmNujR4KRVr9RbclEzPyeQZbV0sKeRHr
8IW4HEidN+8Z9m1LNjAntJV//B+caU5YX8SbSh1cgaU28WOKE2A8C1GM7BFxR0ca
0sl1GtoOboVD5lyod01hDSiftyWqY00Evq4JttKYXV2//46kcb7fVVGBJ74HD7fe
lY7loqenVKthIBm9So2SYlDZq87xJKk=
=DQwu
-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 11 Jul 2023 00:32
control message for bug #64505
(address . control@debbugs.gnu.org)
87pm4z5rf4.fsf@gnu.org
retitle 64505 'guix pull' from 1.1.0 fails in "Computing Guix derivation"
quit
J
J
Josselin Poiret wrote on 13 Jul 2023 19:14
Re: bug#64505: bug report
878rbj91iz.fsf@jpoiret.xyz
Hi,

Josselin Poiret <dev@jpoiret.xyz> writes:

Toggle quote (8 lines)
> 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
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmSwMQQQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5FhcaiuN+C/9PvdQCwG/hIEzIxjVWAXeLP3OxpeX5V1eX
A3HRsIA9YtdJSdNmvdesfsFLcEIa3mKe5DojRLnOMoRIMQs0bpSZ9TM4ZqNBtFR9
F+GsfJjhb0kqfwynV6cBx8MKThCo+qcqx3hg/h6gnH7kEVUznXxJldsK/ZZwl6PZ
8zPaoWc/c+jX5NU3vql9SEhZMWgxjozMnv0ZJVzhFHDXtDro+E3kj4aXoG8jOP1w
2/H8MlpA7inENsJewwCh1rikG24tkW1vRej7k6y0jIkmdxUUAIFGr3zd++9/mPvu
agf6bmwHab+dDhlmh1ofB/HOe55xybTtYFO1HrMoxPBs6mZArng9dyErMhR0tBpb
vywRF03jRQowzeV7xV5cT8dOUvIE1GmGF8rShq+UJIsBHse0OzsvRAtGYAg42qmG
1tH9m3khLYlUQkxrnGu2j9lnGd7cxYkx6ZyHjH9jk2dvWC9edaTx1YeF/fH/dMof
w6r/Q95Wbbpp2VeRKSAwHxWsRxGNVFE=
=pQWz
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 64505@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 64505
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch