GNU bug report logs - #58802
On guix pull: failed to compute the derivation for Guix (ERROR: In procedure %resolve-variable:)

Previous Next

Package: guix;

Reported by: Wiktor Żelazny <wz <at> freeshell.de>

Date: Wed, 26 Oct 2022 17:08:02 UTC

Severity: normal

To reply to this bug, email your comments to 58802 AT debbugs.gnu.org.

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#58802; Package guix. (Wed, 26 Oct 2022 17:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Wiktor Żelazny <wz <at> freeshell.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 26 Oct 2022 17:08:02 GMT) Full text and rfc822 format available.

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

From: Wiktor Żelazny <wz <at> freeshell.de>
To: bug-guix <at> gnu.org
Subject: On guix pull: failed to compute the derivation for Guix (ERROR: In
 procedure %resolve-variable:)
Date: Wed, 26 Oct 2022 19:07:20 +0200
[Message part 1 (text/plain, inline)]
Hi Guix,

Reporting as instructed. I stripped down this line

   error: #{\x0;\x0;\x0;\x0}#: unbound variable

In reality, “\x0;” inside the braces is repeated maaaaaaaany times.

The error persists after disabling my “guix-wz” channel.

--8<---------------cut here---------------start------------->8---

Updating channel 'guix-wz' from Git repository at 'file:///home/w/guix/guix-wz-git'...
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from these channels:
  guix      https://git.savannah.gnu.org/git/guix.git	c07b55e
  guix-wz   file:///home/w/guix/guix-wz-git	ca5b233
Backtrace:
In ice-9/eval.scm:
   721:20 19 (primitive-eval _)
In ice-9/psyntax.scm:
  1230:36 18 (expand-top-sequence _ _ _ #f _ _ _)
  1222:19 17 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () () ())) _ e (eval) (hygiene #{ g115}#))
   259:10 16 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) (hygiene #{ g115}#))
In ice-9/eval.scm:
   293:34 15 (_ #<module (#{ g115}#) 7f71f5401320>)
In ice-9/boot-9.scm:
   3409:4 14 (define-module* _ #:filename _ #:pure _ #:version _ #:imports _ #:exports _ #:replacements _ # _ # _ # _ ?)
  3422:24 13 (_)
   222:29 12 (map1 _)
   222:29 11 (map1 _)
   222:17 10 (map1 (((gnu packages perl)) ((gnu packages python)) ((gnu packages m4)) ((gnu packages man)) ((# ?)) ?))
  3326:17  9 (resolve-interface (gnu packages perl) #:select _ #:hide _ #:prefix _ #:renamer _ #:version _)
In ice-9/threads.scm:
    390:8  8 (_ _)
In ice-9/boot-9.scm:
  3252:13  7 (_)
In ice-9/threads.scm:
    390:8  6 (_ _)
In ice-9/boot-9.scm:
  3536:20  5 (_)
   2835:4  4 (save-module-excursion _)
  3556:26  3 (_)
In unknown file:
           2 (primitive-load-path "gnu/packages/perl" #<procedure 7f71f5411f80 at ice-9/boot-9.scm:3543:37 ()>)
In ice-9/eval.scm:
   223:20  1 (proc #<module (#{ g116}#) 7f71f54010a0>)
In unknown file:
           0 (%resolve-variable (7 . #) #<module (#{ g116}#) 7f71f54010a0>)

ERROR: In procedure %resolve-variable:
error: #{\x0;\x0;\x0;\x0}#: unbound variable
Computing Guix derivation for 'x86_64-linux'...  guix pull: error: You found a bug: the program '/gnu/store/gfp2fp64pva2skb4iqdjzwfyns4ghyzl-compute-guix-derivation'
failed to compute the derivation for Guix (version: "c07b55eb94f8cfa9d0f56cfd97a16f2f7d842652"; system: "x86_64-linux";
host version: "86ec52f66735b122b9035eba56516fd16f3be958"; pull-version: 1).
Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.

--8<---------------cut here---------------end--------------->8---

Thanks for taking a look,

WŻ
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#58802; Package guix. (Fri, 28 Oct 2022 08:48:03 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Wiktor Żelazny <wz <at> freeshell.de>, 58802 <at> debbugs.gnu.org
Subject: Re: bug#58802: On guix pull: failed to compute the derivation for
 Guix (ERROR: In procedure %resolve-variable:)
Date: Thu, 27 Oct 2022 10:04:43 +0200
Hi,

On Wed, 26 Oct 2022 at 19:07, Wiktor Żelazny <wz <at> freeshell.de> wrote:
> --8<---------------cut here---------------start------------->8---
>
> Updating channel 'guix-wz' from Git repository at 'file:///home/w/guix/guix-wz-git'...
> Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
> Building from these channels:
>   guix      https://git.savannah.gnu.org/git/guix.git	c07b55e
>   guix-wz   file:///home/w/guix/guix-wz-git	ca5b233

[...]

> ERROR: In procedure %resolve-variable:
> error: #{\x0;\x0;\x0;\x0}#: unbound variable
> Computing Guix derivation for 'x86_64-linux'...  guix pull: error: You found a bug: the program '/gnu/store/gfp2fp64pva2skb4iqdjzwfyns4ghyzl-compute-guix-derivation'
> failed to compute the derivation for Guix (version: "c07b55eb94f8cfa9d0f56cfd97a16f2f7d842652"; system: "x86_64-linux";
> host version: "86ec52f66735b122b9035eba56516fd16f3be958"; pull-version: 1).
> Please report the COMPLETE output above by email to <bug-guix <at> gnu.org>.
>
> --8<---------------cut here---------------end--------------->8---

Using Guix 00ff6f7 and running,

--8<---------------cut here---------------start------------->8---
$ guix time-machine --commit=86ec52f66735b122b9035eba56516fd16f3be958 \
     -- time-machine --commit=c07b55eb94f8cfa9d0f56cfd97a16f2f7d842652 \
     -- help
--8<---------------cut here---------------end--------------->8---

then it works for me.


Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#58802; Package guix. (Mon, 31 Oct 2022 22:33:02 GMT) Full text and rfc822 format available.

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

From: Wiktor Żelazny <wz <at> freeshell.de>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 58802 <at> debbugs.gnu.org
Subject: Re: bug#58802: On guix pull: failed to compute the derivation for
 Guix (ERROR: In procedure %resolve-variable:)
Date: Mon, 31 Oct 2022 23:32:45 +0100
[Message part 1 (text/plain, inline)]
On Thu, Oct 27, 2022 at 10:04:43AM +0200, zimoun wrote:

> Using Guix 00ff6f7 and running,
>
> --8<---------------cut here---------------start------------->8---
> $ guix time-machine --commit=86ec52f66735b122b9035eba56516fd16f3be958 \
>      -- time-machine --commit=c07b55eb94f8cfa9d0f56cfd97a16f2f7d842652 \
>      -- help
> --8<---------------cut here---------------end--------------->8---

Hi simon,

This doesn’t work for me, of course.

This

   guix time-machine --commit=67a204920285adaf5603da1bc5cc13726cbef191 -- help

works.

One commit later

   guix time-machine --commit=08f2a06d261ad7a91b3f4df83a5093b8a28f15ed -- help

fails.

The commit is “gnu: Add guile-dns.” Kind of makes sense that it is
guile-related.

WŻ
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#58802; Package guix. (Wed, 02 Nov 2022 13:07:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Wiktor Żelazny <wz <at> freeshell.de>
Cc: 58802 <at> debbugs.gnu.org
Subject: Re: bug#58802: On guix pull: failed to compute the derivation for
 Guix (ERROR: In procedure %resolve-variable:)
Date: Wed, 02 Nov 2022 10:31:11 +0100
Hi,

On lun., 31 oct. 2022 at 23:32, Wiktor Żelazny <wz <at> freeshell.de> wrote:
> On Thu, Oct 27, 2022 at 10:04:43AM +0200, zimoun wrote:
>
>> Using Guix 00ff6f7 and running,
>>
>> --8<---------------cut here---------------start------------->8---
>> $ guix time-machine --commit=86ec52f66735b122b9035eba56516fd16f3be958 \
>>      -- time-machine --commit=c07b55eb94f8cfa9d0f56cfd97a16f2f7d842652 \
>>      -- help
>> --8<---------------cut here---------------end--------------->8---

> This doesn’t work for me, of course.

It means it is on your side and not on Guix side, of course. :-)


> This
>
>    guix time-machine --commit=67a204920285adaf5603da1bc5cc13726cbef191 -- help
>
> works.
>
> One commit later
>
>    guix time-machine --commit=08f2a06d261ad7a91b3f4df83a5093b8a28f15ed -- help
>
> fails.
>
> The commit is “gnu: Add guile-dns.” Kind of makes sense that it is
> guile-related.

Are you sure the error is not coming from your local channel named
guix-wz?

From you initial bug report, the error seems because some Perl package.
And it would appear to me weird that the error would be from the
addition of the package guile-dns.


Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#58802; Package guix. (Thu, 03 Nov 2022 20:03:02 GMT) Full text and rfc822 format available.

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

From: Wiktor Żelazny <wz <at> freeshell.de>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 58802 <at> debbugs.gnu.org
Subject: Re: bug#58802: On guix pull: failed to compute the derivation for
 Guix (ERROR: In procedure %resolve-variable:)
Date: Thu, 3 Nov 2022 21:02:14 +0100
[Message part 1 (text/plain, inline)]
On Wed, Nov 02, 2022 at 10:31:11AM +0100, zimoun wrote:

> > One commit later
> >
> >    guix time-machine --commit=08f2a06d261ad7a91b3f4df83a5093b8a28f15ed -- help
> >
> > fails.
> >
> > The commit is “gnu: Add guile-dns.” Kind of makes sense that it is
> > guile-related.
>
> Are you sure the error is not coming from your local channel named
> guix-wz?

I’m not sure. However, I did

   sudo su -
   # guix pull

and ran into the same issue, even though root does not use guix-wz.

I reverted the above commit in a local clone and tried pointing
guix to the clone

   guix pull --url=… --commit=… --disable-authentication

Same problem.

I also build guix from the source and tried, in vain

   ./pre-inst-env guix pull

> From you initial bug report, the error seems because some Perl
> package.

There was one package with perl as a native-input. I removed it, and
nothing changed. Moreover, from the bug report:

   222:17 10 (map1 (((gnu packages perl)) ((gnu packages python)) ((gnu packages m4)) ((gnu packages man)) ((# ?)) ?))

I don’t use m4 and man modules anywhere. However, the sequence
perl-python-m4-man occurs in gnu/packages/autotools.scm of Guix proper.

> And it would appear to me weird that the error would be from the
> addition of the package guile-dns.

Yes, I agree.

WŻ
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 1 year and 175 days ago.

Previous Next


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