unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58013: Can't use guix pull
@ 2022-09-22 19:06 bossatossa via Bug reports for GNU Guix
  2022-09-23  9:00 ` Maxime Devos
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: bossatossa via Bug reports for GNU Guix @ 2022-09-22 19:06 UTC (permalink / raw)
  To: 58013

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:
  guix      https://git.savannah.gnu.org/git/guix.git	2e8b4f9
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>.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58013: Can't use guix pull
  2022-09-22 19:06 bug#58013: Can't use guix pull bossatossa via Bug reports for GNU Guix
@ 2022-09-23  9:00 ` Maxime Devos
  2022-09-23  9:24 ` zimoun
  2022-09-24  1:38 ` Maxime Devos
  2 siblings, 0 replies; 8+ messages in thread
From: Maxime Devos @ 2022-09-23  9:00 UTC (permalink / raw)
  To: bossatossa, 58013


[-- Attachment #1.1.1: Type: text/plain, Size: 337 bytes --]



On 22-09-2022 21:06, bossatossa via Bug reports for GNU Guix wrote:
>        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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58013: Can't use guix pull
  2022-09-22 19:06 bug#58013: Can't use guix pull bossatossa via Bug reports for GNU Guix
  2022-09-23  9:00 ` Maxime Devos
@ 2022-09-23  9:24 ` zimoun
  2022-09-23 12:03   ` bossatossa via Bug reports for GNU Guix
  2022-09-24  1:38 ` Maxime Devos
  2 siblings, 1 reply; 8+ messages in thread
From: zimoun @ 2022-09-23  9:24 UTC (permalink / raw)
  To: bossatossa, 58013

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58013: Can't use guix pull
  2022-09-23  9:24 ` zimoun
@ 2022-09-23 12:03   ` bossatossa via Bug reports for GNU Guix
  2022-09-23 12:22     ` zimoun
  0 siblings, 1 reply; 8+ messages in thread
From: bossatossa via Bug reports for GNU Guix @ 2022-09-23 12:03 UTC (permalink / raw)
  To: zimoun, 58013

I checked the file and it was completely empty, so i dont have anything to paste here.

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

> 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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58013: Can't use guix pull
  2022-09-23 12:03   ` bossatossa via Bug reports for GNU Guix
@ 2022-09-23 12:22     ` zimoun
  2022-09-23 19:58       ` bossatossa via Bug reports for GNU Guix
  0 siblings, 1 reply; 8+ messages in thread
From: zimoun @ 2022-09-23 12:22 UTC (permalink / raw)
  To: bossatossa; +Cc: 58013

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58013: Can't use guix pull
  2022-09-23 12:22     ` zimoun
@ 2022-09-23 19:58       ` bossatossa via Bug reports for GNU Guix
  2022-09-25 11:23         ` zimoun
  0 siblings, 1 reply; 8+ messages in thread
From: bossatossa via Bug reports for GNU Guix @ 2022-09-23 19:58 UTC (permalink / raw)
  To: zimoun, 58013

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:

> 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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58013: Can't use guix pull
  2022-09-22 19:06 bug#58013: Can't use guix pull bossatossa via Bug reports for GNU Guix
  2022-09-23  9:00 ` Maxime Devos
  2022-09-23  9:24 ` zimoun
@ 2022-09-24  1:38 ` Maxime Devos
  2 siblings, 0 replies; 8+ messages in thread
From: Maxime Devos @ 2022-09-24  1:38 UTC (permalink / raw)
  To: bossatossa, 58013, zimoun


[-- Attachment #1.1.1: Type: text/plain, Size: 256 bytes --]

I think I've an idea what the cause of these kind of errors are, see 
<https://issues.guix.gnu.org/58035>.

In the short term, the tools "guix gc --verify=contents", "guix gc 
--repair" and "guix build --repair" may be useful.

Greetings,
Maxime


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#58013: Can't use guix pull
  2022-09-23 19:58       ` bossatossa via Bug reports for GNU Guix
@ 2022-09-25 11:23         ` zimoun
  0 siblings, 0 replies; 8+ messages in thread
From: zimoun @ 2022-09-25 11:23 UTC (permalink / raw)
  To: bossatossa, 58013

Hi,

On Fri, 23 Sep 2022 at 20:58, bossatossa via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:
> 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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-09-25 12:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 19:06 bug#58013: Can't use guix pull bossatossa via Bug reports for GNU Guix
2022-09-23  9:00 ` Maxime Devos
2022-09-23  9:24 ` zimoun
2022-09-23 12:03   ` bossatossa via Bug reports for GNU Guix
2022-09-23 12:22     ` zimoun
2022-09-23 19:58       ` bossatossa via Bug reports for GNU Guix
2022-09-25 11:23         ` zimoun
2022-09-24  1:38 ` Maxime Devos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).