GNU bug report logs - #27042
test-package.sh fails on aarch64

Previous Next

Package: guix;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Tue, 23 May 2017 19:26:02 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27042 in the body.
You can then email your comments to 27042 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Tue, 23 May 2017 19:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Efraim Flashner <efraim <at> flashner.co.il>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 23 May 2017 19:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: bug-guix <at> gnu.org
Subject: test-package.sh fails on aarch64
Date: Tue, 23 May 2017 22:25:21 +0300
[Message part 1 (text/plain, inline)]
On aarch64 the test 'test-package.sh' fails due to 'offload: command not
found'

-- 
Efraim Flashner   <efraim <at> 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
[test-suite.log (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Tue, 23 May 2017 21:02:01 GMT) Full text and rfc822 format available.

Message #8 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Tue, 23 May 2017 23:01:18 +0200
Hi Efraim,

Efraim Flashner <efraim <at> flashner.co.il> skribis:

> On aarch64 the test 'test-package.sh' fails due to 'offload: command not
> found'

You mean tests/guix-package.sh, right?  Could it be a misconfiguration,
like ./configure initially detected Guile-SSH (is
HAVE_DAEMON_OFFLOAD_HOOK defined in nix/config.h), but then, later on,
Guile-SSH became unavailable (removed, search path changed, etc.) and at
the time the test was run it was no longer there, so ‘guix offload’
failed.  Something like that.

You can check that by building in a pristine tree:

  make distclean
  autoreconf -vfi
  ./configure -C …
  …

HTH,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Wed, 24 May 2017 07:10:01 GMT) Full text and rfc822 format available.

Message #11 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Wed, 24 May 2017 10:09:23 +0300
[Message part 1 (text/plain, inline)]
On Tue, May 23, 2017 at 11:01:18PM +0200, Ludovic Courtès wrote:
> Hi Efraim,
> 
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> 
> > On aarch64 the test 'test-package.sh' fails due to 'offload: command not
> > found'
> 
> You mean tests/guix-package.sh, right?  Could it be a misconfiguration,
> like ./configure initially detected Guile-SSH (is
> HAVE_DAEMON_OFFLOAD_HOOK defined in nix/config.h), but then, later on,
> Guile-SSH became unavailable (removed, search path changed, etc.) and at
> the time the test was run it was no longer there, so ‘guix offload’
> failed.  Something like that.
> 
> You can check that by building in a pristine tree:
> 
>   make distclean
>   autoreconf -vfi
>   ./configure -C …
>   …
> 
> HTH,
> Ludo’.

I can test this, but it also happens with 'guix build guix', so it
doesn't seem likely to me that this would make a difference.


-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Mon, 29 May 2017 07:22:02 GMT) Full text and rfc822 format available.

Message #14 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Mon, 29 May 2017 10:21:08 +0300
[Message part 1 (text/plain, inline)]
On Wed, May 24, 2017 at 10:09:23AM +0300, Efraim Flashner wrote:
> On Tue, May 23, 2017 at 11:01:18PM +0200, Ludovic Courtès wrote:
> > Hi Efraim,
> > 
> > Efraim Flashner <efraim <at> flashner.co.il> skribis:
> > 
> > > On aarch64 the test 'test-package.sh' fails due to 'offload: command not
> > > found'
> > 
> > You mean tests/guix-package.sh, right?  Could it be a misconfiguration,
> > like ./configure initially detected Guile-SSH (is
> > HAVE_DAEMON_OFFLOAD_HOOK defined in nix/config.h), but then, later on,
> > Guile-SSH became unavailable (removed, search path changed, etc.) and at
> > the time the test was run it was no longer there, so ‘guix offload’
> > failed.  Something like that.
> > 
> > You can check that by building in a pristine tree:
> > 
> >   make distclean
> >   autoreconf -vfi
> >   ./configure -C …
> >   …
> > 
> > HTH,
> > Ludo’.
> 
> I can test this, but it also happens with 'guix build guix', so it
> doesn't seem likely to me that this would make a difference.
> 

I haven't tested with 'make distclean' yet, but `guix environment
--ad-hoc guile-ssh test...' works. Interestingly, 'guix environment
--ad-hoc guile2.0-ssh test...' also works.

I tried adding guile-ssh to the inputs also to see if that would have it
pulled in by the tests but it didn't help.

-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Thu, 22 Jun 2017 21:07:02 GMT) Full text and rfc822 format available.

Message #17 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Thu, 22 Jun 2017 23:06:45 +0200
Efraim Flashner <efraim <at> flashner.co.il> skribis:

> On aarch64 the test 'test-package.sh' fails due to 'offload: command not
> found'

I think you mentioned on IRC that the problem vanished, right?

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Thu, 29 Jun 2017 17:52:02 GMT) Full text and rfc822 format available.

Message #20 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Thu, 29 Jun 2017 20:51:40 +0300
[Message part 1 (text/plain, inline)]
On Thu, Jun 22, 2017 at 11:06:45PM +0200, Ludovic Courtès wrote:
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> 
> > On aarch64 the test 'test-package.sh' fails due to 'offload: command not
> > found'
> 
> I think you mentioned on IRC that the problem vanished, right?
> 
> Ludo’.

The test still fails when run separately, but running `guix pull` on aarch64
and `guix build guix` both work.

-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Thu, 29 Jun 2017 19:24:02 GMT) Full text and rfc822 format available.

Message #23 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Thu, 29 Jun 2017 21:22:59 +0200
Efraim Flashner <efraim <at> flashner.co.il> skribis:

> On Thu, Jun 22, 2017 at 11:06:45PM +0200, Ludovic Courtès wrote:
>> Efraim Flashner <efraim <at> flashner.co.il> skribis:
>> 
>> > On aarch64 the test 'test-package.sh' fails due to 'offload: command not
>> > found'
>> 
>> I think you mentioned on IRC that the problem vanished, right?
>> 
>> Ludo’.
>
> The test still fails when run separately, but running `guix pull` on aarch64
> and `guix build guix` both work.

But really, I think “offload: command not found” is a setup issue and is
not related to aarch64 specifically.  That it works in ‘guix build guix’
tends to confirm my hypothesis.  :-)

Could you check the value of HAVE_DAEMON_OFFLOAD_HOOK in the
‘configure’-generated files, and also that of
‘guix_cv_have_recent_guile_ssh’ and ‘ac_cv_guix_cbips_support_setvbuf’
in ‘config.log’?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Thu, 29 Jun 2017 19:30:02 GMT) Full text and rfc822 format available.

Message #26 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Thu, 29 Jun 2017 22:29:05 +0300
[Message part 1 (text/plain, inline)]
On Thu, Jun 29, 2017 at 09:22:59PM +0200, Ludovic Courtès wrote:
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> 
> > On Thu, Jun 22, 2017 at 11:06:45PM +0200, Ludovic Courtès wrote:
> >> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> >> 
> >> > On aarch64 the test 'test-package.sh' fails due to 'offload: command not
> >> > found'
> >> 
> >> I think you mentioned on IRC that the problem vanished, right?
> >> 
> >> Ludo’.
> >
> > The test still fails when run separately, but running `guix pull` on aarch64
> > and `guix build guix` both work.
> 
> But really, I think “offload: command not found” is a setup issue and is
> not related to aarch64 specifically.  That it works in ‘guix build guix’
> tends to confirm my hypothesis.  :-)
> 
> Could you check the value of HAVE_DAEMON_OFFLOAD_HOOK in the

#define HAVE_DAEMON_OFFLOAD_HOOK 1

> ‘configure’-generated files, and also that of
> ‘guix_cv_have_recent_guile_ssh’ and ‘ac_cv_guix_cbips_support_setvbuf’

guix_cv_have_recent_guile_ssh=yes
ac_cv_guix_cbips_support_setvbuf=yes

> in ‘config.log’?
> 
> Thanks,
> Ludo’.

-- 
Efraim Flashner   <efraim <at> 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
[config.log (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Fri, 30 Jun 2017 09:46:02 GMT) Full text and rfc822 format available.

Message #29 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Fri, 30 Jun 2017 11:45:10 +0200
Efraim Flashner <efraim <at> flashner.co.il> skribis:

> On Thu, Jun 29, 2017 at 09:22:59PM +0200, Ludovic Courtès wrote:
>> Efraim Flashner <efraim <at> flashner.co.il> skribis:
>> 
>> > On Thu, Jun 22, 2017 at 11:06:45PM +0200, Ludovic Courtès wrote:
>> >> Efraim Flashner <efraim <at> flashner.co.il> skribis:
>> >> 
>> >> > On aarch64 the test 'test-package.sh' fails due to 'offload: command not
>> >> > found'
>> >> 
>> >> I think you mentioned on IRC that the problem vanished, right?
>> >> 
>> >> Ludo’.
>> >
>> > The test still fails when run separately, but running `guix pull` on aarch64
>> > and `guix build guix` both work.
>> 
>> But really, I think “offload: command not found” is a setup issue and is
>> not related to aarch64 specifically.  That it works in ‘guix build guix’
>> tends to confirm my hypothesis.  :-)
>> 
>> Could you check the value of HAVE_DAEMON_OFFLOAD_HOOK in the
>
> #define HAVE_DAEMON_OFFLOAD_HOOK 1
>
>> ‘configure’-generated files, and also that of
>> ‘guix_cv_have_recent_guile_ssh’ and ‘ac_cv_guix_cbips_support_setvbuf’
>
> guix_cv_have_recent_guile_ssh=yes
> ac_cv_guix_cbips_support_setvbuf=yes

And what does “./pre-inst-env guix offload” say?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Sat, 01 Jul 2017 19:44:02 GMT) Full text and rfc822 format available.

Message #32 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Sat, 1 Jul 2017 22:42:53 +0300
[Message part 1 (text/plain, inline)]
On Fri, Jun 30, 2017 at 11:45:10AM +0200, Ludovic Courtès wrote:
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> 
> > On Thu, Jun 29, 2017 at 09:22:59PM +0200, Ludovic Courtès wrote:
> >> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> >> 
> >> > On Thu, Jun 22, 2017 at 11:06:45PM +0200, Ludovic Courtès wrote:
> >> >> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> >> >> 
> >> >> > On aarch64 the test 'test-package.sh' fails due to 'offload: command not
> >> >> > found'
> >> >> 
> >> >> I think you mentioned on IRC that the problem vanished, right?
> >> >> 
> >> >> Ludo’.
> >> >
> >> > The test still fails when run separately, but running `guix pull` on aarch64
> >> > and `guix build guix` both work.
> >> 
> >> But really, I think “offload: command not found” is a setup issue and is
> >> not related to aarch64 specifically.  That it works in ‘guix build guix’
> >> tends to confirm my hypothesis.  :-)
> >> 
> >> Could you check the value of HAVE_DAEMON_OFFLOAD_HOOK in the
> >
> > #define HAVE_DAEMON_OFFLOAD_HOOK 1
> >
> >> ‘configure’-generated files, and also that of
> >> ‘guix_cv_have_recent_guile_ssh’ and ‘ac_cv_guix_cbips_support_setvbuf’
> >
> > guix_cv_have_recent_guile_ssh=yes
> > ac_cv_guix_cbips_support_setvbuf=yes
> 
> And what does “./pre-inst-env guix offload” say?
> 

guix: offload: command not found

I get that from my aarch64 box and my x86_64 laptop though

-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Sun, 02 Jul 2017 09:14:01 GMT) Full text and rfc822 format available.

Message #35 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Sun, 02 Jul 2017 11:13:05 +0200
Efraim Flashner <efraim <at> flashner.co.il> skribis:

> On Fri, Jun 30, 2017 at 11:45:10AM +0200, Ludovic Courtès wrote:
>> Efraim Flashner <efraim <at> flashner.co.il> skribis:
>> 
>> > On Thu, Jun 29, 2017 at 09:22:59PM +0200, Ludovic Courtès wrote:
>> >> Efraim Flashner <efraim <at> flashner.co.il> skribis:
>> >> 
>> >> > On Thu, Jun 22, 2017 at 11:06:45PM +0200, Ludovic Courtès wrote:
>> >> >> Efraim Flashner <efraim <at> flashner.co.il> skribis:
>> >> >> 
>> >> >> > On aarch64 the test 'test-package.sh' fails due to 'offload: command not
>> >> >> > found'
>> >> >> 
>> >> >> I think you mentioned on IRC that the problem vanished, right?
>> >> >> 
>> >> >> Ludo’.
>> >> >
>> >> > The test still fails when run separately, but running `guix pull` on aarch64
>> >> > and `guix build guix` both work.
>> >> 
>> >> But really, I think “offload: command not found” is a setup issue and is
>> >> not related to aarch64 specifically.  That it works in ‘guix build guix’
>> >> tends to confirm my hypothesis.  :-)
>> >> 
>> >> Could you check the value of HAVE_DAEMON_OFFLOAD_HOOK in the
>> >
>> > #define HAVE_DAEMON_OFFLOAD_HOOK 1
>> >
>> >> ‘configure’-generated files, and also that of
>> >> ‘guix_cv_have_recent_guile_ssh’ and ‘ac_cv_guix_cbips_support_setvbuf’
>> >
>> > guix_cv_have_recent_guile_ssh=yes
>> > ac_cv_guix_cbips_support_setvbuf=yes
>> 
>> And what does “./pre-inst-env guix offload” say?
>> 
>
> 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?  :-)

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Sun, 02 Jul 2017 17:40:01 GMT) Full text and rfc822 format available.

Message #38 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Sun, 2 Jul 2017 20:39:07 +0300
[Message part 1 (text/plain, inline)]
On Sun, Jul 02, 2017 at 11:13:05AM +0200, Ludovic Courtès wrote:
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> 
> > On Fri, Jun 30, 2017 at 11:45:10AM +0200, Ludovic Courtès wrote:
> >> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> >> 
> >> > On Thu, Jun 29, 2017 at 09:22:59PM +0200, Ludovic Courtès wrote:
> >> >> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> >> >> 
> >> >> > On Thu, Jun 22, 2017 at 11:06:45PM +0200, Ludovic Courtès wrote:
> >> >> >> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> >> >> >> 
> >> >> >> > On aarch64 the test 'test-package.sh' fails due to 'offload: command not
> >> >> >> > found'
> >> >> >> 
> >> >> >> I think you mentioned on IRC that the problem vanished, right?
> >> >> >> 
> >> >> >> Ludo’.
> >> >> >
> >> >> > The test still fails when run separately, but running `guix pull` on aarch64
> >> >> > and `guix build guix` both work.
> >> >> 
> >> >> But really, I think “offload: command not found” is a setup issue and is
> >> >> not related to aarch64 specifically.  That it works in ‘guix build guix’
> >> >> tends to confirm my hypothesis.  :-)
> >> >> 
> >> >> Could you check the value of HAVE_DAEMON_OFFLOAD_HOOK in the
> >> >
> >> > #define HAVE_DAEMON_OFFLOAD_HOOK 1
> >> >
> >> >> ‘configure’-generated files, and also that of
> >> >> ‘guix_cv_have_recent_guile_ssh’ and ‘ac_cv_guix_cbips_support_setvbuf’
> >> >
> >> > guix_cv_have_recent_guile_ssh=yes
> >> > ac_cv_guix_cbips_support_setvbuf=yes
> >> 
> >> And what does “./pre-inst-env guix offload” say?
> >> 
> >
> > 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 <at> firefly$ which guile
firefly <at> 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 <at> firefly$ env | grep guile
firefly <at> firefly$ env | grep GUILE
firefly <at> firefly$


-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Sun, 02 Jul 2017 19:55:01 GMT) Full text and rfc822 format available.

Message #41 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Sun, 02 Jul 2017 21:53:58 +0200
Efraim Flashner <efraim <at> 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 <at> firefly$ which guile
> firefly <at> 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 <at> firefly$ env | grep guile
> firefly <at> firefly$ env | grep GUILE
> firefly <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Sun, 09 Jul 2017 18:28:02 GMT) Full text and rfc822 format available.

Message #44 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Sun, 9 Jul 2017 21:27:12 +0300
[Message part 1 (text/plain, inline)]
On Sun, Jul 02, 2017 at 09:53:58PM +0200, Ludovic Courtès wrote:
> Efraim Flashner <efraim <at> 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 <at> firefly$ which guile
> > firefly <at> 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 <at> firefly$ env | grep guile
> > firefly <at> firefly$ env | grep GUILE
> > firefly <at> 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 <at> firefly:$ ./pre-inst-env guix offload:
guix: offload: command not found

firefly <at> 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 <at> firefly:$ guix environment -- env
...snip...
GUILE_LOAD_COMPLETED_PATH=/gnu/store/...guile-json:/gnu/store/...guile-ssh:/gnu/store/...guile2.2-gnutls

-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Sun, 09 Jul 2017 19:29:02 GMT) Full text and rfc822 format available.

Message #47 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Sun, 09 Jul 2017 21:27:50 +0200
Efraim Flashner <efraim <at> flashner.co.il> skribis:

> On Sun, Jul 02, 2017 at 09:53:58PM +0200, Ludovic Courtès wrote:
>> Efraim Flashner <efraim <at> 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 <at> firefly$ which guile
>> > firefly <at> 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 <at> firefly$ env | grep guile
>> > firefly <at> firefly$ env | grep GUILE
>> > firefly <at> 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 <at> firefly:$ ./pre-inst-env guix offload:
> guix: offload: command not found
>
> firefly <at> 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 <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Sun, 09 Jul 2017 20:10:01 GMT) Full text and rfc822 format available.

Message #50 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Sun, 9 Jul 2017 23:09:04 +0300
[Message part 1 (text/plain, inline)]
On Sun, Jul 09, 2017 at 09:27:50PM +0200, Ludovic Courtès wrote:
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> 
> > On Sun, Jul 02, 2017 at 09:53:58PM +0200, Ludovic Courtès wrote:
> >> Efraim Flashner <efraim <at> 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 <at> firefly$ which guile
> >> > firefly <at> 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 <at> firefly$ env | grep guile
> >> > firefly <at> firefly$ env | grep GUILE
> >> > firefly <at> 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 <at> firefly:$ ./pre-inst-env guix offload:
> > guix: offload: command not found
> >
> > firefly <at> 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 <at> 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 <at> 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
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#27042; Package guix. (Mon, 10 Jul 2017 09:06:01 GMT) Full text and rfc822 format available.

Message #53 received at 27042 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 27042 <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Mon, 10 Jul 2017 11:05:35 +0200
Hi Efraim,

Efraim Flashner <efraim <at> flashner.co.il> skribis:

> ./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)

So something is wrong with this environment.  I’m not sure what, but
the fact that Guile and Guile-SSH are sometimes available, sometimes
not, suggests some flakiness.  :-)

It seems that sometimes you used ‘guix environment guix’, sometimes not,
which probably caused some confusion.

Anyway I’m willing to close this bug as “not a bug” because it really
looks like an environment issue and not an aarch64-specific problem.
Fine with you?

Thanks for taking the time to investigate!

Ludo’.




Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Mon, 10 Jul 2017 19:33:02 GMT) Full text and rfc822 format available.

Notification sent to Efraim Flashner <efraim <at> flashner.co.il>:
bug acknowledged by developer. (Mon, 10 Jul 2017 19:33:02 GMT) Full text and rfc822 format available.

Message #58 received at 27042-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27042-done <at> debbugs.gnu.org
Subject: Re: bug#27042: test-package.sh fails on aarch64
Date: Mon, 10 Jul 2017 22:32:16 +0300
[Message part 1 (text/plain, inline)]
On Mon, Jul 10, 2017 at 11:05:35AM +0200, Ludovic Courtès wrote:
> Hi Efraim,
> 
> Efraim Flashner <efraim <at> flashner.co.il> skribis:
> 
> > ./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)
> 
> So something is wrong with this environment.  I’m not sure what, but
> the fact that Guile and Guile-SSH are sometimes available, sometimes
> not, suggests some flakiness.  :-)
> 
> It seems that sometimes you used ‘guix environment guix’, sometimes not,
> which probably caused some confusion.
> 
> Anyway I’m willing to close this bug as “not a bug” because it really
> looks like an environment issue and not an aarch64-specific problem.
> Fine with you?
> 
> Thanks for taking the time to investigate!
> 
> Ludo’.

That works for me. Whatever is going on here isn't aarch64 specific.

-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 08 Aug 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.