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 #44 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Sun, 9 Jul 2017 21:27:12 +0300
[Message part 1 (text/plain, inline)]
On Sun, Jul 02, 2017 at 09:53:58PM +0200, Ludovic Courtès wrote:
> 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’.

I went back to a previous email and reran the 'guix offload' command.

firefly <at> firefly:$ ./pre-inst-env guix offload:
guix: offload: command not found

firefly <at> firefly:$ guix offload:
guix offload: error: invalid arguments:

so it looks like guile-json and guile-ssh are not pulled in with
'./pre-inst-env guix'

firefly <at> firefly:$ guix environment -- env
...snip...
GUILE_LOAD_COMPLETED_PATH=/gnu/store/...guile-json:/gnu/store/...guile-ssh:/gnu/store/...guile2.2-gnutls

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

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.