From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#27042: test-package.sh fails on aarch64 Date: Sun, 09 Jul 2017 21:27:50 +0200 Message-ID: <87van1v2a1.fsf@gnu.org> References: <20170523192521.GL27114@macbook42.flashner.co.il> <877f03pw9m.fsf@gnu.org> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUHtB-0003Cr-Np for bug-guix@gnu.org; Sun, 09 Jul 2017 15:29:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUHt8-0002gb-JZ for bug-guix@gnu.org; Sun, 09 Jul 2017 15:29:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUHt8-0002gU-FW for bug-guix@gnu.org; Sun, 09 Jul 2017 15:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dUHt8-00024D-9t for bug-guix@gnu.org; Sun, 09 Jul 2017 15:29:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170709182711.GA13424@macbook42.flashner.co.il> (Efraim Flashner's message of "Sun, 9 Jul 2017 21:27:12 +0300") 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: Efraim Flashner Cc: 27042@debbugs.gnu.org Efraim Flashner skribis: > 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., 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=E2=80=99s one fo= r 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 gui= le -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$ >>=20 >> Could it be that =E2=80=98guix environment=E2=80=99 sources your shell s= tartup 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_PATH= 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/...guile-= ssh:/gnu/store/...guile2.2-gnutls What does =E2=80=9C./pre-inst-env guile -c '(use-modules (guix scripts offl= oad))'=E2=80=9D say? Ludo=E2=80=99.