unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58802: On guix pull: failed to compute the derivation for Guix (ERROR: In procedure %resolve-variable:)
@ 2022-10-26 17:07 Wiktor Żelazny
  2022-10-27  8:04 ` zimoun
  0 siblings, 1 reply; 5+ messages in thread
From: Wiktor Żelazny @ 2022-10-26 17:07 UTC (permalink / raw)
  To: 58802

[-- Attachment #1: Type: text/plain, Size: 2666 bytes --]

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@gnu.org>.

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

Thanks for taking a look,

WŻ

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

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

* bug#58802: On guix pull: failed to compute the derivation for Guix (ERROR: In procedure %resolve-variable:)
  2022-10-26 17:07 bug#58802: On guix pull: failed to compute the derivation for Guix (ERROR: In procedure %resolve-variable:) Wiktor Żelazny
@ 2022-10-27  8:04 ` zimoun
  2022-10-31 22:32   ` Wiktor Żelazny
  0 siblings, 1 reply; 5+ messages in thread
From: zimoun @ 2022-10-27  8:04 UTC (permalink / raw)
  To: Wiktor Żelazny, 58802

Hi,

On Wed, 26 Oct 2022 at 19:07, Wiktor Żelazny <wz@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@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




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

* bug#58802: On guix pull: failed to compute the derivation for Guix (ERROR: In procedure %resolve-variable:)
  2022-10-27  8:04 ` zimoun
@ 2022-10-31 22:32   ` Wiktor Żelazny
  2022-11-02  9:31     ` zimoun
  0 siblings, 1 reply; 5+ messages in thread
From: Wiktor Żelazny @ 2022-10-31 22:32 UTC (permalink / raw)
  To: zimoun; +Cc: 58802

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

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Ż

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

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

* bug#58802: On guix pull: failed to compute the derivation for Guix (ERROR: In procedure %resolve-variable:)
  2022-10-31 22:32   ` Wiktor Żelazny
@ 2022-11-02  9:31     ` zimoun
  2022-11-03 20:02       ` Wiktor Żelazny
  0 siblings, 1 reply; 5+ messages in thread
From: zimoun @ 2022-11-02  9:31 UTC (permalink / raw)
  To: Wiktor Żelazny; +Cc: 58802

Hi,

On lun., 31 oct. 2022 at 23:32, Wiktor Żelazny <wz@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




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

* bug#58802: On guix pull: failed to compute the derivation for Guix (ERROR: In procedure %resolve-variable:)
  2022-11-02  9:31     ` zimoun
@ 2022-11-03 20:02       ` Wiktor Żelazny
  0 siblings, 0 replies; 5+ messages in thread
From: Wiktor Żelazny @ 2022-11-03 20:02 UTC (permalink / raw)
  To: zimoun; +Cc: 58802

[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]

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Ż

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

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

end of thread, other threads:[~2022-11-03 20:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26 17:07 bug#58802: On guix pull: failed to compute the derivation for Guix (ERROR: In procedure %resolve-variable:) Wiktor Żelazny
2022-10-27  8:04 ` zimoun
2022-10-31 22:32   ` Wiktor Żelazny
2022-11-02  9:31     ` zimoun
2022-11-03 20:02       ` Wiktor Żelazny

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).