all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 27042@debbugs.gnu.org
Subject: bug#27042: test-package.sh fails on aarch64
Date: Sun, 9 Jul 2017 23:09:04 +0300	[thread overview]
Message-ID: <20170709200904.GB13424@macbook42.flashner.co.il> (raw)
In-Reply-To: <87van1v2a1.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 4332 bytes --]

On Sun, Jul 09, 2017 at 09:27:50PM +0200, Ludovic Courtès wrote:
> Efraim Flashner <efraim@flashner.co.il> skribis:
> 
> > On Sun, Jul 02, 2017 at 09:53:58PM +0200, Ludovic Courtès wrote:
> >> 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’.
> >
> > I went back to a previous email and reran the 'guix offload' command.
> >
> > firefly@firefly:$ ./pre-inst-env guix offload:
> > guix: offload: command not found
> >
> > firefly@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@firefly:$ guix environment -- env
> > ...snip...
> > GUILE_LOAD_COMPLETED_PATH=/gnu/store/...guile-json:/gnu/store/...guile-ssh:/gnu/store/...guile2.2-gnutls
> 
> What does “./pre-inst-env guile -c '(use-modules (guix scripts offload))'”
> say?
> 
> Ludo’.

./pre-inst-env: 78: exec: guile: not found

guix package -i guile
./pre-inst-env guile -c '(use-modules (guix scripts offload))'

guile: warning: failed to install locale
Backtrace:
In ice-9/eval.scm:
   721:20 19 (primitive-eval (use-modules (guix scripts offload)))
In ice-9/psyntax.scm:
  1234:36 18 (expand-top-sequence ((use-modules (guix scripts #))) _ ?)
  1181:24 17 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   284:10 16 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval) ?)
In ice-9/boot-9.scm:
  3369:20 15 (process-use-modules _)
   230:17 14 (map1 (((guix scripts offload))))
  3370:31 13 (_ ((guix scripts offload)))
  2792:17 12 (resolve-interface (guix scripts offload) #:select _ # _ ?)
  2718:10 11 (_ (guix scripts offload) _ _ #:ensure _)
  2986:16 10 (try-module-autoload _ _)
   2316:4  9 (save-module-excursion #<procedure 7b635d0 at ice-9/boo?>)
  3006:22  8 (_)
In unknown file:
           7 (primitive-load-path "guix/scripts/offload" #<procedure?>)
In guix/scripts/offload.scm:
     19:0  6 (_)
In ice-9/boot-9.scm:
   2866:4  5 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2075:24  4 (call-with-deferred-observers #<procedure 7a21190 at ic?>)
  2879:24  3 (_)
   230:17  2 (map1 (((ssh key)) ((ssh auth)) ((ssh session)) ((?)) ?))
   2795:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ # _ ?)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for modu?" ?) ?)

ERROR: In procedure scm-error:
ERROR: no code for module (ssh key)

-- 
Efraim Flashner   <efraim@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2017-07-09 20:10 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
2017-07-09 18:27                   ` Efraim Flashner
2017-07-09 19:27                     ` Ludovic Courtès
2017-07-09 20:09                       ` Efraim Flashner [this message]
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

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

  git send-email \
    --in-reply-to=20170709200904.GB13424@macbook42.flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=27042@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /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 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.