* bug#41494: guix build error on armhf - hash-algorithm: unbound variable
@ 2020-05-23 21:14 Danny Milosavljevic
2020-05-23 22:09 ` Danny Milosavljevic
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Danny Milosavljevic @ 2020-05-23 21:14 UTC (permalink / raw)
To: 41494
[-- Attachment #1: Type: text/plain, Size: 277 bytes --]
$ guix environment --pure guix --ad-hoc git guile-json guile-readline
$ make
[ 11%] LOAD guix/scripts/download.scm
ice-9/eval.scm:293:34: error: hash-algorithm: unbound variable
guix master commit 51443772b80c5ca51ccbe5cf05c5db4c216a7b66
on Ubuntu 16.04 on armhf.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#41494: guix build error on armhf - hash-algorithm: unbound variable
2020-05-23 21:14 bug#41494: guix build error on armhf - hash-algorithm: unbound variable Danny Milosavljevic
@ 2020-05-23 22:09 ` Danny Milosavljevic
2020-05-23 22:23 ` Marius Bakke
2020-05-24 21:27 ` Ludovic Courtès
2 siblings, 0 replies; 9+ messages in thread
From: Danny Milosavljevic @ 2020-05-23 22:09 UTC (permalink / raw)
To: 41494
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
On Sat, 23 May 2020 23:14:09 +0200
Danny Milosavljevic <dannym@scratchpost.org> wrote:
> $ guix environment --pure guix --ad-hoc git guile-json guile-readline
> $ make
> [ 11%] LOAD guix/scripts/download.scm
> ice-9/eval.scm:293:34: error: hash-algorithm: unbound variable
>
> guix master commit 51443772b80c5ca51ccbe5cf05c5db4c216a7b66
> on Ubuntu 16.04 on armhf.
Works just fine when not doing "make" but just interpreting the stuff
using ~/src/guix-master/guix/pre-inst-env guix environment ...
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#41494: guix build error on armhf - hash-algorithm: unbound variable
2020-05-23 21:14 bug#41494: guix build error on armhf - hash-algorithm: unbound variable Danny Milosavljevic
2020-05-23 22:09 ` Danny Milosavljevic
@ 2020-05-23 22:23 ` Marius Bakke
2020-05-23 22:32 ` Danny Milosavljevic
2020-05-24 21:27 ` Ludovic Courtès
2 siblings, 1 reply; 9+ messages in thread
From: Marius Bakke @ 2020-05-23 22:23 UTC (permalink / raw)
To: Danny Milosavljevic, 41494
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
Danny Milosavljevic <dannym@scratchpost.org> writes:
> $ guix environment --pure guix --ad-hoc git guile-json guile-readline
> $ make
> [ 11%] LOAD guix/scripts/download.scm
> ice-9/eval.scm:293:34: error: hash-algorithm: unbound variable
>
> guix master commit 51443772b80c5ca51ccbe5cf05c5db4c216a7b66
> on Ubuntu 16.04 on armhf.
What is your 'guix --version'?
Presumably you can fix this by importing (guix openpgp) in (guix scripts
download), but IWBN to figure out why it works on other systems.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#41494: guix build error on armhf - hash-algorithm: unbound variable
2020-05-23 22:23 ` Marius Bakke
@ 2020-05-23 22:32 ` Danny Milosavljevic
0 siblings, 0 replies; 9+ messages in thread
From: Danny Milosavljevic @ 2020-05-23 22:32 UTC (permalink / raw)
To: Marius Bakke; +Cc: 41494
[-- Attachment #1: Type: text/plain, Size: 1288 bytes --]
Hi Marius,
On Sun, 24 May 2020 00:23:57 +0200
Marius Bakke <mbakke@fastmail.com> wrote:
> Danny Milosavljevic <dannym@scratchpost.org> writes:
>
> > $ guix environment --pure guix --ad-hoc git guile-json guile-readline
> > $ make
> > [ 11%] LOAD guix/scripts/download.scm
> > ice-9/eval.scm:293:34: error: hash-algorithm: unbound variable
> >
> > guix master commit 51443772b80c5ca51ccbe5cf05c5db4c216a7b66
> > on Ubuntu 16.04 on armhf.
>
> What is your 'guix --version'?
>
> Presumably you can fix this by importing (guix openpgp) in (guix scripts
> download), but IWBN to figure out why it works on other systems.
dannym@bpi-iot-ros-ai:~$ guix --version
guix (GNU Guix) 1.0.1
Copyright (C) 2019 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
dannym@bpi-iot-ros-ai:~$ guix describe
guix describe: error: failed to determine origin
hint: Perhaps this `guix' command was not obtained with `guix pull'? Its version
string is 1.0.1.
(This is the host guix, not the guix I'm trying to build)
strace says
/gnu/store/a8041j3pg62zi62b30w91mxrmjsamp64-guix-1.0.1/HEAD ENOENT
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#41494: guix build error on armhf - hash-algorithm: unbound variable
2020-05-23 21:14 bug#41494: guix build error on armhf - hash-algorithm: unbound variable Danny Milosavljevic
2020-05-23 22:09 ` Danny Milosavljevic
2020-05-23 22:23 ` Marius Bakke
@ 2020-05-24 21:27 ` Ludovic Courtès
2020-05-24 21:41 ` Danny Milosavljevic
2 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2020-05-24 21:27 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 41494
Hi,
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> $ guix environment --pure guix --ad-hoc git guile-json guile-readline
> $ make
> [ 11%] LOAD guix/scripts/download.scm
> ice-9/eval.scm:293:34: error: hash-algorithm: unbound variable
Which version of Guile-Gcrypt do you have in that profile?
You need 0.2.0 or later.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#41494: guix build error on armhf - hash-algorithm: unbound variable
2020-05-24 21:27 ` Ludovic Courtès
@ 2020-05-24 21:41 ` Danny Milosavljevic
2020-05-25 7:43 ` Ludovic Courtès
0 siblings, 1 reply; 9+ messages in thread
From: Danny Milosavljevic @ 2020-05-24 21:41 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 41494
[-- Attachment #1: Type: text/plain, Size: 1405 bytes --]
Hi Ludo,
On Sun, 24 May 2020 23:27:24 +0200
Ludovic Courtès <ludo@gnu.org> wrote:
> > $ guix environment --pure guix --ad-hoc git guile-json guile-readline
> > $ make
> > [ 11%] LOAD guix/scripts/download.scm
> > ice-9/eval.scm:293:34: error: hash-algorithm: unbound variable
>
> Which version of Guile-Gcrypt do you have in that profile?
/gnu/store/k1jj8xpklngfshd9d9rvws9636am7lp7-guile-gcrypt-0.1.0/share/guile/site/2.2/gcrypt
> You need 0.2.0 or later.
Oops.
I've installed the host guix using the armhf tarball from the website.
$ which guix
/usr/local/bin/guix
$ ls -l /usr/local/bin/guix
lrwxrwxrwx 1 root root 54 Mar 4 15:25 /usr/local/bin/guix -> /var/guix/profiles/per-user/root/current-guix/bin/guix
Aha! That's different to Guix System, right?
$ ls -l /var/guix/profiles/per-user/root/current-guix
/var/guix/profiles/per-user/root/current-guix -> current-guix-1-link
$ ls -l /var/guix/profiles/per-user/root/current-guix-1-link/
[...]
libexec -> /gnu/store/a8041j3pg62zi62b30w91mxrmjsamp64-guix-1.0.1/libexec
I guess I could guix pull under root user, but that would hide these kind of
usability bugs under the carpet :)
In any case, seems to work fine to just not compile target guix in the first
place and have it be interpreted, so that's what I'm doing now to get some
actual work done :)
Will try guix pull as root later...
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#41494: guix build error on armhf - hash-algorithm: unbound variable
2020-05-24 21:41 ` Danny Milosavljevic
@ 2020-05-25 7:43 ` Ludovic Courtès
2020-05-25 8:13 ` Danny Milosavljevic
0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2020-05-25 7:43 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 41494
Hi,
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> On Sun, 24 May 2020 23:27:24 +0200
> Ludovic Courtès <ludo@gnu.org> wrote:
>
>> > $ guix environment --pure guix --ad-hoc git guile-json guile-readline
>> > $ make
>> > [ 11%] LOAD guix/scripts/download.scm
>> > ice-9/eval.scm:293:34: error: hash-algorithm: unbound variable
>>
>> Which version of Guile-Gcrypt do you have in that profile?
>
> /gnu/store/k1jj8xpklngfshd9d9rvws9636am7lp7-guile-gcrypt-0.1.0/share/guile/site/2.2/gcrypt
OK, so “not-a-bug” from my perspective. :-)
>> You need 0.2.0 or later.
>
> Oops.
>
> I've installed the host guix using the armhf tarball from the website.
>
> $ which guix
> /usr/local/bin/guix
> $ ls -l /usr/local/bin/guix
> lrwxrwxrwx 1 root root 54 Mar 4 15:25 /usr/local/bin/guix -> /var/guix/profiles/per-user/root/current-guix/bin/guix
>
> Aha! That's different to Guix System, right?
Yeah.
> $ ls -l /var/guix/profiles/per-user/root/current-guix
> /var/guix/profiles/per-user/root/current-guix -> current-guix-1-link
> $ ls -l /var/guix/profiles/per-user/root/current-guix-1-link/
> [...]
> libexec -> /gnu/store/a8041j3pg62zi62b30w91mxrmjsamp64-guix-1.0.1/libexec
>
> I guess I could guix pull under root user, but that would hide these kind of
> usability bugs under the carpet :)
‘guix pull’ under the user you want, but you have to use a Guix that’s
recent enough to provide Guile-Gcrypt 0.2.0 or later. :-)
Cheers,
Ludo’.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#41494: guix build error on armhf - hash-algorithm: unbound variable
2020-05-25 7:43 ` Ludovic Courtès
@ 2020-05-25 8:13 ` Danny Milosavljevic
2020-05-27 23:04 ` Ludovic Courtès
0 siblings, 1 reply; 9+ messages in thread
From: Danny Milosavljevic @ 2020-05-25 8:13 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 41494
[-- Attachment #1: Type: text/plain, Size: 1183 bytes --]
Hi Ludo,
On Mon, 25 May 2020 09:43:36 +0200
Ludovic Courtès <ludo@gnu.org> wrote:
> OK, so “not-a-bug” from my perspective. :-)
Sure, buy maybe configure could check the guile-gcrypt version or something and
error out? :)
> > $ which guix
> > /usr/local/bin/guix
> > $ ls -l /usr/local/bin/guix
> > lrwxrwxrwx 1 root root 54 Mar 4 15:25 /usr/local/bin/guix -> /var/guix/profiles/per-user/root/current-guix/bin/guix
> >
> > Aha! That's different to Guix System, right?
>
> Yeah.
I mean especially that it doesn't use my regular user's guix (ever), as opposed
to Guix System--where it does.
> > I guess I could guix pull under root user, but that would hide these kind of
> > usability bugs under the carpet :)
>
> ‘guix pull’ under the user you want
I don't think guix pull under non-root would help.
I've now added $HOME/.config/guix/current/bin to PATH in ~/.profile of the
regular user manually--let's see.
>, but you have to use a Guix that’s
> recent enough to provide Guile-Gcrypt 0.2.0 or later. :-)
Thanks for checking :)
But it would be nice to have some kind of nicer error message, if that's
possible.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#41494: guix build error on armhf - hash-algorithm: unbound variable
2020-05-25 8:13 ` Danny Milosavljevic
@ 2020-05-27 23:04 ` Ludovic Courtès
0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2020-05-27 23:04 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 41494-done
Hi,
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> On Mon, 25 May 2020 09:43:36 +0200
> Ludovic Courtès <ludo@gnu.org> wrote:
>
>> OK, so “not-a-bug” from my perspective. :-)
>
> Sure, buy maybe configure could check the guile-gcrypt version or something and
> error out? :)
Good idea; done in c1dc50ab202fafedde3a6b70ce6339496ad53a51.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-05-27 23:05 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-23 21:14 bug#41494: guix build error on armhf - hash-algorithm: unbound variable Danny Milosavljevic
2020-05-23 22:09 ` Danny Milosavljevic
2020-05-23 22:23 ` Marius Bakke
2020-05-23 22:32 ` Danny Milosavljevic
2020-05-24 21:27 ` Ludovic Courtès
2020-05-24 21:41 ` Danny Milosavljevic
2020-05-25 7:43 ` Ludovic Courtès
2020-05-25 8:13 ` Danny Milosavljevic
2020-05-27 23:04 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.