On guix pull: failed to compute the derivation for Guix (ERROR: In procedure %resolve-variable:)

  • Open
  • quality assurance status badge
Details
2 participants
  • Wiktor ?elazny
  • zimoun
Owner
unassigned
Submitted by
Wiktor ?elazny
Severity
normal
W
W
Wiktor ?elazny wrote on 26 Oct 2022 19:07
(address . bug-guix@gnu.org)
20221026170720.iemdlz2c5nasetzf@wzguix
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.

Toggle snippet (48 lines)
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>.


Thanks for taking a look,

W?
-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAmNZaUdfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE
Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg
edUYHw/+NBqeHRp2gnahplfBplnRX4V2Mr/byPaDfcRvGtM1FSNY2B386ZtKQIA3
Xy8Pf/BxvYiZqWlPwkB+03KrmfBy1f7Ce2pwEg60FuyQOYosqsRP1SwY69yUDAxF
NGfb40vB/ih30WyOxBhgCe1awdMi036gcS8rBkk1vd2Tkm8KVIaGhW1OElXbieq/
SENfS0AtHTV+e5sOsd3NGuMCzY9LvdiVCyRO4E2SrD7IIxWG8bsig3swcdGOKZj1
1Gcz6CGa+YTtCWTH/rw22LtsxSukupfz8xOuu1v/uscapDi16y6NvAUtD9O3bvgG
DLSy+ymoMcQtpdD1KUJADqDVK3MEuB+BQ+zl75unfJoEYTg5wS5j9v3iGvIRV50x
WkxLNNbzjPNI+l7jL6I35cbnLke67trqiC/ytUxxQE4G/kqN9Xcxf2+gIXXoVImr
0aDJOvGjkib0Zuz9fTeGBQebGZlmWchBVHlj82uz4AXg5c2Avx4DhdfjA4TpVznl
ZSOpshNGAUOi42HWHoXrj9K5JN9PWxjJMnp48K/ul5JTybW1ZPDZ/+TguQwps9Au
eUvIML5Q1X9UhMLA+MdWZzQBfu579/0ijsjH2ghbMJilatMttvDgFPufwvcxuUvs
1bd+v5n3zonUkprTRS7NsVnLsrKDnb191jN0Zl+9VO2wgo1ydhU=
=0mD5
-----END PGP SIGNATURE-----


Z
Z
zimoun wrote on 27 Oct 2022 10:04
868rl1bskk.fsf@gmail.com
Hi,

On Wed, 26 Oct 2022 at 19:07, Wiktor ?elazny <wz@freeshell.de> wrote:
Toggle quote (8 lines)
> --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

[...]

Toggle quote (9 lines)
> 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,

Toggle snippet (5 lines)
$ guix time-machine --commit=86ec52f66735b122b9035eba56516fd16f3be958 \
-- time-machine --commit=c07b55eb94f8cfa9d0f56cfd97a16f2f7d842652 \
-- help

then it works for me.


Cheers,
simon
W
W
Wiktor ?elazny wrote on 31 Oct 2022 23:32
(name . zimoun)(address . zimon.toutoune@gmail.com)(address . 58802@debbugs.gnu.org)
20221031223245.uqbb4plygkyom7tg@wzguix
On Thu, Oct 27, 2022 at 10:04:43AM +0200, zimoun wrote:

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

iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAmNgTQ1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE
Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg
edUihA/+Ncau4/e5HhoUaiZVRhF99XI9OwYhp5eKnzZa0bgAt+OOZF9Y/PEmUh0g
kbJTrrGvxydgxzIqCOotQcDoiBXUPHibddvXh60Xt8whXaQ27ySP4wzmYZECYGPC
eFNidUaOvMHRzBqtf2W+QWuJ8a6O76cBYhnMTPhMIZCDaJjTbtZ/VeRvbO1Jauk4
Y0HCbSztIvi9TFgCrKQutQ7A0cMCT4MjXWFuwum4Nx/cWByIcoPmQ+xS/ZYyO7BR
NWHT1oaPvAOVi6/izQpwVPf6as7bLfReL24Uu9FbvCZ7r8Yl9wCl84C6EfyieeLg
ZHQjYNwzkQfXijIJTvAXMPi3uD6mS9KGrBoA9mqsHigSZNqSYKsJkqG4Tonmdu4N
ze5W9f3zR+zSfK3SBYr2UGrxv+/kZ3GBm5cLXtVTSDmOCQlRKEx3JlkLkODp6rW9
oVwMdZVUCIeg/9m9YSLBPmbavFowTC+As5hTx/+ad3c5MsJ0WPd3uS3Gte94PS2e
YTY3vV1XfWwwNYrktlMqX59+hW5bw4X3Ewo2nghqPXA0+hWNVWfUIR9JMVAxmpdl
ALcupuw4uaO5DrwKl85XqONe5oj2AQNLcHSIO1DXXC5OPfrTkxyM8JQd8QgYrd10
AK//kncHXYPtUC1GBK7dlWt7E4uQ2VNZaxhTSKBaslKizVzuKtQ=
=xBVc
-----END PGP SIGNATURE-----


Z
Z
zimoun wrote on 2 Nov 2022 10:31
(name . Wiktor ?elazny)(address . wz@freeshell.de)(address . 58802@debbugs.gnu.org)
87o7tphfds.fsf@gmail.com
Hi,

On lun., 31 oct. 2022 at 23:32, Wiktor ?elazny <wz@freeshell.de> wrote:
Toggle quote (12 lines)
> 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. :-)


Toggle quote (15 lines)
> 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
W
W
Wiktor ?elazny wrote on 3 Nov 2022 21:02
(name . zimoun)(address . zimon.toutoune@gmail.com)(address . 58802@debbugs.gnu.org)
20221103200214.3fcdxtsmm27hmsxd@wzguix
On Wed, Nov 02, 2022 at 10:31:11AM +0100, zimoun wrote:

Toggle quote (12 lines)
> > 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

Toggle quote (3 lines)
> 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.

Toggle quote (3 lines)
> And it would appear to me weird that the error would be from the
> addition of the package guile-dns.

Yes, I agree.

W?
-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAmNkHkZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE
Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg
edWrkRAAiXK9+d9ZSmiH7G+pbDKoVEAf5NuWf6dw/W35jxk1icKRkPeRIMoKHLh0
ZBaOT7T39PeBQ7XMXKvjJIPMjAeRYveBmpZlGIwgC79vis5tvb90wNN6DyG1+gUz
0YLluzrEDtu5JGeGrQd3Ah3yCBKepwzN58YG811zhYHgSdzdoqxazN5iJYDM58Hs
uFdabRjb7i96luRDacwidQGHT7X5EDEmnO3AuKFKck5BY947CYahxrTF1M3Vojwf
8sLZI+wvU4oASeWu/MXkiTiJOEod7+bn0KiPaPMPUubc3+1kZNWO/51wUAOk3rIs
PBgXDRAfE6OgLXefCjR/4gJkyj7KhrmBPSIJQZKGDUycBPK9LBcETW8Xa89oKXhU
VZMSrJGwF+iQs9J5VCpz4tcsWSsfIl/fIq4IByUSArhgPwzVtF7Q1VzmXs83bcaT
iUMwgqe6er/8MqueZHal49h++YpwAS5c6qfFuG8V32RzybEshfk7KwQrq9807S7l
gLGyqKBvrH3+sCVeeBWQzO2UGQwL3o8ZL4ZONSEJXUuJ0eNnrH470bRnfo2WyA0m
SZ6+dLggCA+CZ3R2kI/fFlNB+jMK/BMJCsneM5PCCV9gV2hsSGd8Usc/9Qad3SSf
NoAJBVjaiJi6Q8IzN7Bp6Q5SJxLNWcsySBev9URzyw4e/1vUcik=
=j+Ss
-----END PGP SIGNATURE-----


?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 58802
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