bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27042: test-package.sh fails on aarch64


From: Ludovic Courtès
Subject: bug#27042: test-package.sh fails on aarch64
Date: Sun, 02 Jul 2017 21:53:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Efraim Flashner <address@hidden> skribis:

> On Sun, Jul 02, 2017 at 11:13:05AM +0200, Ludovic Courtès wrote:

[...]

>> > guix: offload: command not found
>> 
>> And “./pre-inst-env guile -c '(use-modules (ssh key))'” fails as well I
>> guess?
>> 
>> That would mean that Guile-SSH was found at configure time (i.e., it was
>> in GUILE_LOAD_PATH) but has since disappeared or become unusable (e.g.,
>> GUILE_LOAD_PATH is different and no longer includes it, or Guile-SSH has
>> been uninstalled, or a Guile-SSH is installed but it’s one for Guile 2.0
>> and you’re using 2.2 or vice-versa, etc.).
>> 
>> Does this hypothesis hold?  :-)
>> 
>
> address@hidden which guile
> address@hidden guix environment --ad-hoc guile -- ./pre-inst-env guile -c 
> '((use-modules (ssh key))'
> ...snip...
> ;;; compiling /gnu/store/...-guile-ssh-0.11.0/share/guile/site/2.2/ssh/key.scm
> ;;; compiling /gnu/store/...-guile-ssh-0.11.0/share/guile/site/2.2/ssh/log.scm
> ;;; ssh/log.scm:65:4: warning: possibly unbound variable `%write-log'
> ;;; compiled ...
> ;;; compiled ...
> address@hidden env | grep guile
> address@hidden env | grep GUILE
> address@hidden

Could it be that ‘guix environment’ sources your shell startup file
(e.g., .bashrc), and that said file adds Guile-SSH to GUILE_LOAD_PATH?

That would explain while the first command finds Guile-SSH while “env”
outside of ‘guix environment’ shows that GUILE_LOAD_PATH is unset.

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]