Can't use guix pull

OpenSubmitted by bossatossa.
Details
3 participants
  • Maxime Devos
  • bossatossa
  • zimoun
Owner
unassigned
Severity
normal
B
B
bossatossa wrote on 22 Sep 21:06 +0200
(address . bug-guix@gnu.org)
87a66rmdpj.fsf@disroot.org
Hello.
I wanted to update but everytime i try to
use guix pull, it fails to compute the derivation.

Here's the complete output:

Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
Computing Guix derivation for 'x86_64-linux'... -Backtrace:
In ./guix/gexp.scm:
898:13 19 (_ #<store-connection 256.99 7f03fa8f9dc0>)
In ./guix/store.scm:
1993:8 18 (_ #<store-connection 256.99 7f03fa8f9dc0>)
In ./guix/gexp.scm:
300:22 17 (_ #<store-connection 256.99 7f03fa8f9dc0>)
In ./guix/store.scm:
1993:8 16 (_ #<store-connection 256.99 7f03fa8f9dc0>)
In ./guix/gexp.scm:
300:22 15 (_ #<store-connection 256.99 7f03fa8f9dc0>)
In ./guix/store.scm:
1993:8 14 (_ #<store-connection 256.99 7f03fa8f9dc0>)
In ./guix/packages.scm:
1876:11 13 (_ #<store-connection 256.99 7f03fa8f9dc0>)
1797:6 12 (_ #<store-connection 256.99 7f03fa8f9dc0>)
In ./guix/monads.scm:
487:9 11 (_ #<store-connection 256.99 7f03f9ca0730>)
In ./guix/packages.scm:
1553:7 10 (_ #<store-connection 256.99 7f03f9ca0730>)
In ./guix/store.scm:
1993:8 9 (_ #<store-connection 256.99 7f03f9ca0730>)
In ./guix/packages.scm:
1876:11 8 (_ #<store-connection 256.99 7f03f9ca0730>)
1797:6 7 (_ #<store-connection 256.99 7f03f9ca0730>)
In ./guix/monads.scm:
487:9 6 (_ #<store-connection 256.99 7f03f9ca0730>)
In ./guix/packages.scm:
1553:7 5 (_ #<store-connection 256.99 7f03f9ca0730>)
In ./guix/store.scm:
1993:8 4 (_ #<store-connection 256.99 7f03f9ca0730>)
In ./guix/packages.scm:
1876:11 3 (_ #<store-connection 256.99 7f03f9ca0730>)
In ./guix/store.scm:
2037:38 2 (_ #<store-connection 256.99 7f03e7a53c80>)
In ./guix/derivations.scm:
963:17 1 (derivation #<store-connection 256.99 7f03e7a53c80> "texlive-bin-20210325" "/gnu/store/1kws5vkl0glvpxg?" ?)
In ./guix/store.scm:
1033:9 0 (_ #<store-connection 256.99 7f03e7a53c80> "texlive-bin-20210325.drv" #vu8(68 101 114 105 118 101 40 ?) _)

./guix/store.scm:1033:9: ERROR:
1. &store-protocol-error:
message: "error parsing derivation `/gnu/store/a3ll4zf4fnv81fr307f5cips3dda6gb4-config-0.0.0-1.c8ddc84.drv': expected string `Derive(['"
status: 1
guix pull: error: You found a bug: the program '/gnu/store/dlf8gki5xs957qmcxvd23872imiw85m8-compute-guix-derivation'
failed to compute the derivation for Guix (version: "2e8b4f9bfa00489fd3acff305837a79af236e183"; system: "x86_64-linux";
host version: "aa5e0307137dd68279fc8b02ac623386208458cd"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix@gnu.org>.
M
M
Maxime Devos wrote on 23 Sep 11:00 +0200
681dc95b-96d8-6282-3f23-0f3e070184d3@telenet.be
On 22-09-2022 21:06, bossatossa via Bug reports for GNU Guix wrote:
Toggle quote (1 lines)
> message: "error parsing derivation `/gnu/store/a3ll4zf4fnv81fr307f5cips3dda6gb4-config-0.0.0-1.c8ddc84.drv': expected string `Derive(['"
Could you attach
/gnu/store/a3ll4zf4fnv81fr307f5cips3dda6gb4-config-0.0.0-1.c8ddc84.drv ?
Greetings,
Maxime.
Attachment: OpenPGP_signature
Z
Z
zimoun wrote on 23 Sep 11:24 +0200
87mtaqcujj.fsf@gmail.com
Hi,

On jeu., 22 sept. 2022 at 20:06, bossatossa via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (9 lines)
> In ./guix/derivations.scm:
> 963:17 1 (derivation #<store-connection 256.99 7f03e7a53c80> "texlive-bin-20210325" "/gnu/store/1kws5vkl0glvpxg?" ?)
> In ./guix/store.scm:
> 1033:9 0 (_ #<store-connection 256.99 7f03e7a53c80> "texlive-bin-20210325.drv" #vu8(68 101 114 105 118 101 40 ?) _)
>
> ./guix/store.scm:1033:9: ERROR:
> 1. &store-protocol-error:
> message: "error parsing derivation `/gnu/store/a3ll4zf4fnv81fr307f5cips3dda6gb4-config-0.0.0-1.c8ddc84.drv': expected string `Derive(['"

Hum, weird. The first time I see that. Could you report the content,
e.g., using

$ cat /gnu/store/a3ll4zf4fnv81fr307f5cips3dda6gb4-config-0.0.0-1.c8ddc84.drv

?


Cheers
Z
Z
zimoun wrote on 23 Sep 14:22 +0200
(name . bossatossa)(address . tossa@disroot.org)(address . 58013@debbugs.gnu.org)
CAJ3okZ2OGjOdXb_yz3SgJj+nLNmuZ3SZMpGn=LDFRrOdvAM3mw@mail.gmail.com
On Fri, 23 Sept 2022 at 14:04, bossatossa <tossa@disroot.org> wrote:

Toggle quote (2 lines)
> I checked the file and it was completely empty, so i dont have anything to paste here.

Maybe try:

guix gc -D /gnu/store/a3ll4zf4fnv81fr307f5cips3dda6gb4-config-0.0.0-1.c8ddc84.drv

then re-run

guix time-machine --commit=aa5e0307137dd68279fc8b02ac623386208458cd \
-- time-machine --commit=2e8b4f9bfa00489fd3acff305837a79af236e183 \
-- help


Cheers,
simon
B
B
bossatossa wrote on 23 Sep 14:03 +0200
874jwy9u2l.fsf@disroot.org
I checked the file and it was completely empty, so i dont have anything to paste here.

zimoun <zimon.toutoune@gmail.com> writes:

Toggle quote (22 lines)
> Hi,
>
> On jeu., 22 sept. 2022 at 20:06, bossatossa via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:
>
>> In ./guix/derivations.scm:
>> 963:17 1 (derivation #<store-connection 256.99 7f03e7a53c80> "texlive-bin-20210325" "/gnu/store/1kws5vkl0glvpxg?" ?)
>> In ./guix/store.scm:
>> 1033:9 0 (_ #<store-connection 256.99 7f03e7a53c80> "texlive-bin-20210325.drv" #vu8(68 101 114 105 118 101 40 ?) _)
>>
>> ./guix/store.scm:1033:9: ERROR:
>> 1. &store-protocol-error:
>> message: "error parsing derivation `/gnu/store/a3ll4zf4fnv81fr307f5cips3dda6gb4-config-0.0.0-1.c8ddc84.drv': expected string `Derive(['"
>
> Hum, weird. The first time I see that. Could you report the content,
> e.g., using
>
> $ cat /gnu/store/a3ll4zf4fnv81fr307f5cips3dda6gb4-config-0.0.0-1.c8ddc84.drv
>
> ?
>
>
> Cheers
B
B
bossatossa wrote on 23 Sep 21:58 +0200
87wn9t9826.fsf@disroot.org
Here's the output:

Backtrace:
3 (primitive-load "/root/.cache/guix/inferiors/tdopwqgzlr…")
In ice-9/eval.scm:
293:34 2 (_ #<directory (guile-user) 7f7234cd2c80>)
196:35 1 (_ #<directory (guile-user) 7f7234cd2c80>)
In ice-9/boot-9.scm:
3330:6 0 (resolve-interface (guix ui) #:select _ #:hide _ # _ # _ …)

ice-9/boot-9.scm:3330:6: In procedure resolve-interface:
no code for module (guix ui)


zimoun <zimon.toutoune@gmail.com> writes:

Toggle quote (17 lines)
> On Fri, 23 Sept 2022 at 14:04, bossatossa <tossa@disroot.org> wrote:
>
>> I checked the file and it was completely empty, so i dont have anything to paste here.
>
> Maybe try:
>
> guix gc -D /gnu/store/a3ll4zf4fnv81fr307f5cips3dda6gb4-config-0.0.0-1.c8ddc84.drv
>
> then re-run
>
> guix time-machine --commit=aa5e0307137dd68279fc8b02ac623386208458cd \
> -- time-machine --commit=2e8b4f9bfa00489fd3acff305837a79af236e183 \
> -- help
>
>
> Cheers,
> simon
M
M
Maxime Devos wrote on 24 Sep 03:38 +0200
e2c32d4a-9386-81ab-d8b8-4f69a6359702@telenet.be
I think I've an idea what the cause of these kind of errors are, see
In the short term, the tools "guix gc --verify=contents", "guix gc
--repair" and "guix build --repair" may be useful.
Greetings,
Maxime
Attachment: OpenPGP_signature
Z
Z
zimoun wrote on 25 Sep 13:23 +0200
861qrzn1dp.fsf@gmail.com
Hi,

On Fri, 23 Sep 2022 at 20:58, bossatossa via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:
Toggle quote (13 lines)
> Here's the output:
>
> Backtrace:
> 3 (primitive-load "/root/.cache/guix/inferiors/tdopwqgzlr…")
> In ice-9/eval.scm:
> 293:34 2 (_ #<directory (guile-user) 7f7234cd2c80>)
> 196:35 1 (_ #<directory (guile-user) 7f7234cd2c80>)
> In ice-9/boot-9.scm:
> 3330:6 0 (resolve-interface (guix ui) #:select _ #:hide _ # _ # _ …)
>
> ice-9/boot-9.scm:3330:6: In procedure resolve-interface:
> no code for module (guix ui)

Hum, was the initial report done using the root account?

Because it appears more than weird that Guix fails with the sequence

guix describe -f channels > channels.scm
guix time-machine -C channels.scm -- help

which is what you are reporting.


Cheers,
simon
?