GNU bug report logs - #47089
error: make-session: unbound variable

Previous Next

Package: guix;

Reported by: Jean Louis <bugs <at> gnu.support>

Date: Fri, 12 Mar 2021 07:36:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47089 in the body.
You can then email your comments to 47089 AT debbugs.gnu.org in the normal way.

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#47089; Package guix. (Fri, 12 Mar 2021 07:36:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jean Louis <bugs <at> gnu.support>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 12 Mar 2021 07:36:02 GMT) Full text and rfc822 format available.

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

From: Jean Louis <bugs <at> gnu.support>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: error: make-session: unbound variable
Date: Fri, 12 Mar 2021 08:34:49 +0100
Running guix package manager on Hyperbola GNU/Linux-libre:

[root <at> 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

Starting dow@ build-log 2083 78
nload of /gnu/store/pkzdxf9fhdfx473lphqgydd4q3nk4rql-Python-3.8.2.tar.xz
From @ build-log 2083 109
https://ci.guix.gnu.org/file/Python-3.8.2.tar.xz/sha256/1ps5v323cp5czfshqjmbsqw7nvrdpcbk06f62jbzaqik4gfffii6.@ build-log 2083 3
..
@ 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
https://tarballs.nixos.org/sha256/1ps5v323cp5czfshqjmbsqw7nvrdpcbk06f62jbzaqik4gfffii6..@ build-log 2083 2
.
-@ 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
https://archive.softwareheritage.org/api/1/content/sha256:2646e7dc233362f59714c6193017bb2d6f7b38d6ab4a0cb5fbac5c36c4d845df/raw/..@ build-log 2083 2
.
\@ 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 <at> gnu.org>.





Information forwarded to bug-guix <at> gnu.org:
bug#47089; Package guix. (Mon, 15 Mar 2021 04:12:01 GMT) Full text and rfc822 format available.

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

From: Mark H Weaver <mhw <at> netris.org>
To: Jean Louis <bugs <at> gnu.support>, 47089 <at> debbugs.gnu.org
Subject: Re: bug#47089: error: make-session: unbound variable
Date: Mon, 15 Mar 2021 00:10:04 -0400
Hi Jean,

Jean Louis <bugs <at> gnu.support> writes:

> Running guix package manager on Hyperbola GNU/Linux-libre:
>
> [root <at> 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




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Fri, 05 Nov 2021 04:48:01 GMT) Full text and rfc822 format available.

Notification sent to Jean Louis <bugs <at> gnu.support>:
bug acknowledged by developer. (Fri, 05 Nov 2021 04:48:01 GMT) Full text and rfc822 format available.

Message #13 received at 47089-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 47089-done <at> debbugs.gnu.org, Jean Louis <bugs <at> gnu.support>
Subject: Re: bug#47089: error: make-session: unbound variable
Date: Fri, 05 Nov 2021 00:47:28 -0400
Hi,

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

> Hi Jean,
>
> Jean Louis <bugs <at> gnu.support> writes:
>
>> Running guix package manager on Hyperbola GNU/Linux-libre:
>>
>> [root <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 03 Dec 2021 12:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 144 days ago.

Previous Next


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