error: make-session: unbound variable

  • Done
  • quality assurance status badge
Details
3 participants
  • Jean Louis
  • Maxim Cournoyer
  • Mark H Weaver
Owner
unassigned
Submitted by
Jean Louis
Severity
normal
J
J
Jean Louis wrote on 12 Mar 2021 08:34
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
courier.00000000604B199D.0000792F@stw1.rcdrun.com
Running guix package manager on Hyperbola GNU/Linux-libre:

[root@protected ~]# guix pull --no-substitutes -K
accepted connection from pid 876, user root
Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
Building from this channel:
building /gnu/store/0l5krmnzmkyawbh7y7xa808sq7sp30vv-config.scm.drv...
building /gnu/store/klcxrfvivkjri4whdpyhsnjywr9ki8br-git.scm.drv...
building /gnu/store/6kfhwxxjkrknf9wgv2mawyrrzlbbzli2-hash.scm.drv...
building /gnu/store/1imdq47vyanhn2mw4814xz10d4ahyd25-module-import.drv...
building /gnu/store/2zb0ys1iiz7djfgyj234ykzfqcjg27lf-module-import-compiled.drv...
building /gnu/store/dmr42vhl0wsjm413i79dxx5nv6wqvcb8-compute-guix-derivation.drv...
Computing Guix derivation for 'x86_64-linux'... |@ build-started /gnu/store/51h0bidlh2w1qhkmy1mc3jdg31jla4b1-module-import-compiled.drv - x86_64-linux /var/log/guix/drvs/51//h0bidlh2w1qhkmy1mc3jdg31jla4b1-module-import-compiled.drv.bz2 2051
-@ build-succeeded /gnu/store/51h0bidlh2w1qhkmy1mc3jdg31jla4b1-module-import-compiled.drv -
@ build-started /gnu/store/rx4xa4pzl258yg3hgxrv8xaasrcc6fkg-Python-3.8.2.tar.xz.drv - x86_64-linux /var/log/guix/drvs/rx//4xa4pzl258yg3hgxrv8xaasrcc6fkg-Python-3.8.2.tar.xz.drv.bz2 2083
|@ build-log 2083 22

Starting download of @ build-log 2083 132
/gnu/store/pkzdxf9fhdfx473lphqgydd4q3nk4rql-Python-3.8.2.tar.xz
/@ build-log 2083 51
error: make-session: unbound variable

Starting dow@ build-log 2083 78
nload of /gnu/store/pkzdxf9fhdfx473lphqgydd4q3nk4rql-Python-3.8.2.tar.xz
From @ build-log 2083 109
..
@ build-log 2083 38
error: make-session: unbound variable
@ build-log 2083 19

Starting download @ build-log 2083 3
of @ build-log 2083 67
/gnu/store/pkzdxf9fhdfx473lphqgydd4q3nk4rql-Python-3.8.2.tar.xz
Fro@ build-log 2083 2
m @ build-log 2083 88
.
-@ build-log 2083 38
error: make-session: unbound variable
@ build-log 2083 8

Startin@ build-log 2083 5
g dow@ build-log 2083 3
nlo@ build-log 2083 3
ad @ build-log 2083 3
of @ build-log 2083 65
/gnu/store/pkzdxf9fhdfx473lphqgydd4q3nk4rql-Python-3.8.2.tar.xz
F@ build-log 2083 4
rom @ build-log 2083 129
.
\@ build-log 2083 38
error: make-session: unbound variable
@ build-log 2083 152
failed to download "/gnu/store/pkzdxf9fhdfx473lphqgydd4q3nk4rql-Python-3.8.2.tar.xz" from "https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tar.xz"
builder for `/gnu/store/rx4xa4pzl258yg3hgxrv8xaasrcc6fkg-Python-3.8.2.tar.xz.drv' failed to produce output path `/gnu/store/pkzdxf9fhdfx473lphqgydd4q3nk4rql-Python-3.8.2.tar.xz'
@ build-failed /gnu/store/rx4xa4pzl258yg3hgxrv8xaasrcc6fkg-Python-3.8.2.tar.xz.drv - 1 builder for `/gnu/store/rx4xa4pzl258yg3hgxrv8xaasrcc6fkg-Python-3.8.2.tar.xz.drv' failed to produce output path `/gnu/store/pkzdxf9fhdfx473lphqgydd4q3nk4rql-Python-3.8.2.tar.xz'
note: keeping build directory `/tmp/guix-build-Python-3.8.2.tar.xz.drv-1'
cannot build derivation `/gnu/store/y5wcd0idn4v472czjyd3vflzmdhijqpr-Python-3.8.2.tar.xz.drv': 1 dependencies couldn't be built
@ build-started /gnu/store/d98958cpg7pcg0q0ncsy5y91fsyss98p-bash-2.05b.tar.gz.drv - x86_64-linux /var/log/guix/drvs/d9//8958cpg7pcg0q0ncsy5y91fsyss98p-bash-2.05b.tar.gz.drv.bz2 2112
cannot build derivation `/gnu/store/7c79mxlcnxkxizxx74ixj0jy2lbk8hlw-python-minimal-3.8.2.drv': 1 dependencies couldn't be built
note: keeping build directory `/tmp/guix-build-bash-2.05b.tar.gz.drv-0'
Backtrace:
11 (primitive-load "/gnu/store/59c8cdndz3ssbj2b3pbvw14vhdhgfmvk-compute-guix-derivation")
In ice-9/eval.scm:
155:9 10 (_ _)
159:9 9 (_ #(#(#(#(#(#(#(#(#(#(#(#(#(#<directory (guile-user) 7f972f663f?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In ./guix/store.scm:
2066:24 8 (run-with-store #<store-connection 256.99 7f972d9d05f0> _ #:guile-for-build _ #:system _ #:target _)
1900:8 7 (_ _)
In ./guix/gexp.scm:
256:18 6 (_ _)
1136:2 5 (_ _)
1002:2 4 (_ _)
849:4 3 (_ _)
In ./guix/store.scm:
1948:12 2 (_ #<store-connection 256.99 7f972d9d05f0>)
1362:5 1 (map/accumulate-builds #<store-connection 256.99 7f972d9d05f0> _ _)
1373:15 0 (_ #<store-connection 256.99 7f972d9d05f0> _ _)

./guix/store.scm:1373:15: ERROR:
1. &store-protocol-error:
message: "build of `/gnu/store/7c79mxlcnxkxizxx74ixj0jy2lbk8hlw-python-minimal-3.8.2.drv' failed"
status: 1
guix pull: error: You found a bug: the program '/gnu/store/59c8cdndz3ssbj2b3pbvw14vhdhgfmvk-compute-guix-derivation'
failed to compute the derivation for Guix (version: "5a06b83fc92710c5846a83bbf49f0ea84c8ecec2"; system: "x86_64-linux";
host version: "1.2.0"; pull-version: 1).
Please report it by email to <bug-guix@gnu.org>.
M
M
Mark H Weaver wrote on 15 Mar 2021 05:10
87v99tqcp4.fsf@netris.org
Hi Jean,

Jean Louis <bugs@gnu.support> writes:

Toggle quote (24 lines)
> Running guix package manager on Hyperbola GNU/Linux-libre:
>
> [root@protected ~]# guix pull --no-substitutes -K
> accepted connection from pid 876, user root
> 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 5a06b83
> building /gnu/store/0l5krmnzmkyawbh7y7xa808sq7sp30vv-config.scm.drv...
> building /gnu/store/klcxrfvivkjri4whdpyhsnjywr9ki8br-git.scm.drv...
> building /gnu/store/6kfhwxxjkrknf9wgv2mawyrrzlbbzli2-hash.scm.drv...
> building /gnu/store/1imdq47vyanhn2mw4814xz10d4ahyd25-module-import.drv...
> building /gnu/store/2zb0ys1iiz7djfgyj234ykzfqcjg27lf-module-import-compiled.drv...
> building /gnu/store/dmr42vhl0wsjm413i79dxx5nv6wqvcb8-compute-guix-derivation.drv...
> Computing Guix derivation for 'x86_64-linux'... |@ build-started /gnu/store/51h0bidlh2w1qhkmy1mc3jdg31jla4b1-module-import-compiled.drv - x86_64-linux /var/log/guix/drvs/51//h0bidlh2w1qhkmy1mc3jdg31jla4b1-module-import-compiled.drv.bz2 2051
> -@ build-succeeded /gnu/store/51h0bidlh2w1qhkmy1mc3jdg31jla4b1-module-import-compiled.drv -
> @ build-started /gnu/store/rx4xa4pzl258yg3hgxrv8xaasrcc6fkg-Python-3.8.2.tar.xz.drv - x86_64-linux /var/log/guix/drvs/rx//4xa4pzl258yg3hgxrv8xaasrcc6fkg-Python-3.8.2.tar.xz.drv.bz2 2083
> |@ build-log 2083 22
>
> Starting download of @ build-log 2083 132
> /gnu/store/pkzdxf9fhdfx473lphqgydd4q3nk4rql-Python-3.8.2.tar.xz
> From https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tar.xz...
> /@ build-log 2083 51
> error: make-session: unbound variable

'make-session' should be provided by the Guile-bindings included in
GnuTLS. It might be that the GnuTLS provided by Hyperbola wasn't
compiled with Guile support, or provides Guile support but for a
different version of Guile than the one you're using to run Guix.

What method did you use to install Guix?

It looks like you compiled Guix from source using Hyperbola's native
toolchain, libraries, and Guile. If so, you might have better results
using Guix's binary installer method, which installs a Guix binary that
avoids using components from your native OS, in favor of components that
were built by Guix and are known to work correctly with it.

Regards,
Mark
M
M
Maxim Cournoyer wrote on 5 Nov 2021 05:47
(name . Mark H Weaver)(address . mhw@netris.org)
87lf2343a7.fsf@gmail.com
Hi,

Mark H Weaver <mhw@netris.org> writes:

Toggle quote (45 lines)
> Hi Jean,
>
> Jean Louis <bugs@gnu.support> writes:
>
>> Running guix package manager on Hyperbola GNU/Linux-libre:
>>
>> [root@protected ~]# guix pull --no-substitutes -K
>> accepted connection from pid 876, user root
>> 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 5a06b83
>> building /gnu/store/0l5krmnzmkyawbh7y7xa808sq7sp30vv-config.scm.drv...
>> building /gnu/store/klcxrfvivkjri4whdpyhsnjywr9ki8br-git.scm.drv...
>> building /gnu/store/6kfhwxxjkrknf9wgv2mawyrrzlbbzli2-hash.scm.drv...
>> building /gnu/store/1imdq47vyanhn2mw4814xz10d4ahyd25-module-import.drv...
>> building /gnu/store/2zb0ys1iiz7djfgyj234ykzfqcjg27lf-module-import-compiled.drv...
>> building /gnu/store/dmr42vhl0wsjm413i79dxx5nv6wqvcb8-compute-guix-derivation.drv...
>> Computing Guix derivation for 'x86_64-linux'... |@ build-started
>> /gnu/store/51h0bidlh2w1qhkmy1mc3jdg31jla4b1-module-import-compiled.drv
>> - x86_64-linux
>> /var/log/guix/drvs/51//h0bidlh2w1qhkmy1mc3jdg31jla4b1-module-import-compiled.drv.bz2
>> 2051
>> -@ build-succeeded /gnu/store/51h0bidlh2w1qhkmy1mc3jdg31jla4b1-module-import-compiled.drv -
>> @ build-started /gnu/store/rx4xa4pzl258yg3hgxrv8xaasrcc6fkg-Python-3.8.2.tar.xz.drv - x86_64-linux /var/log/guix/drvs/rx//4xa4pzl258yg3hgxrv8xaasrcc6fkg-Python-3.8.2.tar.xz.drv.bz2 2083
>> |@ build-log 2083 22
>>
>> Starting download of @ build-log 2083 132
>> /gnu/store/pkzdxf9fhdfx473lphqgydd4q3nk4rql-Python-3.8.2.tar.xz
>> From https://www.python.org/ftp/python/3.8.2/Python-3.8.2.tar.xz...
>> /@ build-log 2083 51
>> error: make-session: unbound variable
>
> 'make-session' should be provided by the Guile-bindings included in
> GnuTLS. It might be that the GnuTLS provided by Hyperbola wasn't
> compiled with Guile support, or provides Guile support but for a
> different version of Guile than the one you're using to run Guix.
>
> What method did you use to install Guix?
>
> It looks like you compiled Guix from source using Hyperbola's native
> toolchain, libraries, and Guile. If so, you might have better results
> using Guix's binary installer method, which installs a Guix binary that
> avoids using components from your native OS, in favor of components that
> were built by Guix and are known to work correctly with it.

Thanks for your answer, Mark.

I believe it addresses the question, as there haven't been a new reply
in the last 6 months.

Thanks for the report!

Closing.

Maxim
Closed
?