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, 02 Jul 2017 21:53:58 +0200 Message-ID: <87a84m62eh.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> 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]:54122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRkxW-00041k-5P for bug-guix@gnu.org; Sun, 02 Jul 2017 15:55:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRkxS-00064k-7b for bug-guix@gnu.org; Sun, 02 Jul 2017 15:55:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dRkxS-00064T-3E for bug-guix@gnu.org; Sun, 02 Jul 2017 15:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dRkxR-0005C9-TG for bug-guix@gnu.org; Sun, 02 Jul 2017 15:55:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170702173907.GB2938@macbook42.flashner.co.il> (Efraim Flashner's message of "Sun, 2 Jul 2017 20:39:07 +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 11:13:05AM +0200, Ludovic Court=C3=A8s wrote: [...] >> > 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 for G= uile 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 guile = -c '((use-modules (ssh key))' > ...snip... > ;;; compiling /gnu/store/...-guile-ssh-0.11.0/share/guile/site/2.2/ssh/ke= y.scm > ;;; compiling /gnu/store/...-guile-ssh-0.11.0/share/guile/site/2.2/ssh/lo= g.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 =E2=80=98guix environment=E2=80=99 sources your shell star= tup 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 =E2=80=9Ce= nv=E2=80=9D outside of =E2=80=98guix environment=E2=80=99 shows that GUILE_LOAD_PATH is= unset. Ludo=E2=80=99.