GNU bug report logs - #27042
test-package.sh fails on aarch64

Previous Next

Package: guix;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Tue, 23 May 2017 19:26:02 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Sun, 02 Jul 2017 21:53:58 +0200
Efraim Flashner <efraim <at> flashner.co.il> 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?  :-)
>> 
>
> firefly <at> firefly$ which guile
> firefly <at> firefly$ 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 ...
> firefly <at> firefly$ env | grep guile
> firefly <at> firefly$ env | grep GUILE
> firefly <at> firefly$

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’.




This bug report was last modified 7 years and 319 days ago.

Previous Next


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