unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim@flashner.co.il>
Cc: 27042@debbugs.gnu.org
Subject: bug#27042: test-package.sh fails on aarch64
Date: Sun, 02 Jul 2017 21:53:58 +0200	[thread overview]
Message-ID: <87a84m62eh.fsf@gnu.org> (raw)
In-Reply-To: <20170702173907.GB2938@macbook42.flashner.co.il> (Efraim Flashner's message of "Sun, 2 Jul 2017 20:39:07 +0300")

Efraim Flashner <efraim@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@firefly$ which guile
> firefly@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@firefly$ env | grep guile
> firefly@firefly$ env | grep GUILE
> firefly@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’.

  reply	other threads:[~2017-07-02 19:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-23 19:25 bug#27042: test-package.sh fails on aarch64 Efraim Flashner
2017-05-23 21:01 ` Ludovic Courtès
2017-05-24  7:09   ` Efraim Flashner
2017-05-29  7:21     ` Efraim Flashner
2017-06-22 21:06 ` Ludovic Courtès
2017-06-29 17:51   ` Efraim Flashner
2017-06-29 19:22     ` Ludovic Courtès
2017-06-29 19:29       ` Efraim Flashner
2017-06-30  9:45         ` Ludovic Courtès
2017-07-01 19:42           ` Efraim Flashner
2017-07-02  9:13             ` Ludovic Courtès
2017-07-02 17:39               ` Efraim Flashner
2017-07-02 19:53                 ` Ludovic Courtès [this message]
2017-07-09 18:27                   ` Efraim Flashner
2017-07-09 19:27                     ` Ludovic Courtès
2017-07-09 20:09                       ` Efraim Flashner
2017-07-10  9:05                         ` Ludovic Courtès
2017-07-10 19:32                           ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a84m62eh.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=27042@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).