From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: bug#27042: test-package.sh fails on aarch64 Date: Sun, 9 Jul 2017 23:09:04 +0300 Message-ID: <20170709200904.GB13424@macbook42.flashner.co.il> References: <20170629175140.GC1734@macbook42.flashner.co.il> <8737aimwdo.fsf@gnu.org> <20170629192905.GF1734@macbook42.flashner.co.il> <87r2y1olll.fsf@gnu.org> <20170701194253.GG1734@macbook42.flashner.co.il> <8737af9p7i.fsf@gnu.org> <20170702173907.GB2938@macbook42.flashner.co.il> <87a84m62eh.fsf@gnu.org> <20170709182711.GA13424@macbook42.flashner.co.il> <87van1v2a1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="U+BazGySraz5kW0T" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUIWr-0004cc-An for bug-guix@gnu.org; Sun, 09 Jul 2017 16:10:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUIWo-0007Lp-2x for bug-guix@gnu.org; Sun, 09 Jul 2017 16:10:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56509) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUIWn-0007LX-VF for bug-guix@gnu.org; Sun, 09 Jul 2017 16:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dUIWn-0002zD-Pd for bug-guix@gnu.org; Sun, 09 Jul 2017 16:10:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87van1v2a1.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27042@debbugs.gnu.org --U+BazGySraz5kW0T Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 09, 2017 at 09:27:50PM +0200, Ludovic Court=C3=A8s wrote: > Efraim Flashner skribis: >=20 > > On Sun, Jul 02, 2017 at 09:53:58PM +0200, Ludovic Court=C3=A8s wrote: > >> Efraim Flashner skribis: > >>=20 > >> > On Sun, Jul 02, 2017 at 11:13:05AM +0200, Ludovic Court=C3=A8s wrote: > >>=20 > >> [...] > >>=20 > >> >> > guix: offload: command not found > >> >>=20 > >> >> And =E2=80=9C./pre-inst-env guile -c '(use-modules (ssh key))'=E2= =80=9D fails as well I > >> >> guess? > >> >>=20 > >> >> That would mean that Guile-SSH was found at configure time (i.e., i= t was > >> >> in GUILE_LOAD_PATH) but has since disappeared or become unusable (e= =2Eg., > >> >> GUILE_LOAD_PATH is different and no longer includes it, or Guile-SS= H has > >> >> been uninstalled, or a Guile-SSH is installed but it=E2=80=99s one = for Guile 2.0 > >> >> and you=E2=80=99re using 2.2 or vice-versa, etc.). > >> >>=20 > >> >> Does this hypothesis hold? :-) > >> >>=20 > >> > > >> > firefly@firefly$ which guile > >> > firefly@firefly$ guix environment --ad-hoc guile -- ./pre-inst-env g= uile -c '((use-modules (ssh key))' > >> > ...snip... > >> > ;;; compiling /gnu/store/...-guile-ssh-0.11.0/share/guile/site/2.2/s= sh/key.scm > >> > ;;; compiling /gnu/store/...-guile-ssh-0.11.0/share/guile/site/2.2/s= sh/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$ > >>=20 > >> Could it be that =E2=80=98guix environment=E2=80=99 sources your shell= startup file > >> (e.g., .bashrc), and that said file adds Guile-SSH to GUILE_LOAD_PATH? > >>=20 > >> That would explain while the first command finds Guile-SSH while =E2= =80=9Cenv=E2=80=9D > >> outside of =E2=80=98guix environment=E2=80=99 shows that GUILE_LOAD_PA= TH is unset. > >>=20 > >> Ludo=E2=80=99. > > > > 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=3D/gnu/store/...guile-json:/gnu/store/...guil= e-ssh:/gnu/store/...guile2.2-gnutls >=20 > What does =E2=80=9C./pre-inst-env guile -c '(use-modules (guix scripts of= fload))'=E2=80=9D > say? >=20 > Ludo=E2=80=99. =2E/pre-inst-env: 78: exec: guile: not found guix package -i guile =2E/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 #) 3006:22 8 (_) In unknown file: 7 (primitive-load-path "guix/scripts/offload" #) 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 #) 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) --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --U+BazGySraz5kW0T Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAllijVYACgkQQarn3Mo9 g1Hdhw/8CSlgCe1TTpdBBpvjKgJGJdq2vaE5hyJSbfj0ayl7ZzV/b5n9re2Juwfb IcFcQyjzl4JIl6i3uPHePEZXGCOBilZUTqUMUtvRYgvRK7HSnv6E2hvkPi7eEZnY cC2wGs2Q5078rcCm8Mv2+355iJtNk4MmfF8O/VcK5WMMdHF03xfjoe1oPkNg4rHu JkK4w6sBwgqMpbL4T4Ml2eXEEkajdQKMDUb5IbHythON7hzCysogNHHjytRfDyKz +pVuzEmI5oClmsGzV68I7TZow20WsqHtKD3m8adA6wXB3mPnW49IQ3hiV0+iyJeb ExMKskiJChaGK6tRukXYtAOCBS9l23JG77RW68Cb0AsXRsk3tnlf3M3jm3KCz8hp cqTEYn8m7VKuu+5I0S63adEltzEHiYiMXCnRgYlcz2ZSXilXEH1BkR9P9hvX0fqF 8tkwvndE1NiVUbnB9jWJTKKm7bIAogoB1YL9SecTN8SSnMyozCa4mKWD6R4jYvUD dcdQc89UJoZDe9f47EcXrM+XrH+LqSeTL2DmmOrQpljbNiLEfrRzCdnawwoLHQ7Q 4QE6Puyq1nj6jNibjnyHInT9Ovff654nrI6lkBo3lntnvJmpwVEu3dbQQ2bbQP8v cjoyz3zwjtcogOWH/pTRerEgrgnk9C2RlMmpIGUjakLndcwfw88= =5Y0E -----END PGP SIGNATURE----- --U+BazGySraz5kW0T--