GNU bug report logs - #15314
‘--no-substitutes’ is ignored on i686

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Mon, 9 Sep 2013 21:39:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

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 15314 in the body.
You can then email your comments to 15314 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#15314; Package guix. (Mon, 09 Sep 2013 21:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ludo <at> gnu.org (Ludovic Courtès):
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 09 Sep 2013 21:39:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita <at> karetnikov.org>
Cc: bug-guix <at> gnu.org, Cyril Roelandt <tipecaml <at> gmail.com>
Subject: Re: ‘--no-substitutes’ is ignored on i686
Date: Mon, 09 Sep 2013 23:32:45 +0200
(Moving to bug-guix.  Please reply to the bug address.
See <https://lists.gnu.org/archive/html/guix-devel/2013-09/msg00064.html>
for the beginning of the report.)

Nikita Karetnikov <nikita <at> karetnikov.org> skribis:

>> I can confirm this bug on i686. The same happens with "guix package
>> --no-substitutes -i gnupg". On x86-64, everything works as expected.
>
> Does it mean that the daemon is the cause of the problem since the error
> is platform-specific?

It looks as though ‘set-build-options’ was not passing through correctly
serialized data.

So, could you add a bunch of ‘pk’ in ‘set-build-options’ in store.scm,
as well as in the corresponding code in nix-daemon.cc (under
‘wopSetOptions’, in particular), to see whether something gets munged on
the way?

TIA,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#15314; Package guix. (Tue, 11 Feb 2014 22:15:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita <at> karetnikov.org>
Cc: 15314 <at> debbugs.gnu.org, tipecaml <at> gmail.com
Subject: Re: bug#15314: ‘--no-substitutes’ is
 ignored on i686
Date: Tue, 11 Feb 2014 23:13:57 +0100
Hello!

Reviving this old bug.

ludo <at> gnu.org (Ludovic Courtès) skribis:

> (Moving to bug-guix.  Please reply to the bug address.
> See <https://lists.gnu.org/archive/html/guix-devel/2013-09/msg00064.html>
> for the beginning of the report.)
>
> Nikita Karetnikov <nikita <at> karetnikov.org> skribis:
>
>>> I can confirm this bug on i686. The same happens with "guix package
>>> --no-substitutes -i gnupg". On x86-64, everything works as expected.
>>
>> Does it mean that the daemon is the cause of the problem since the error
>> is platform-specific?
>
> It looks as though ‘set-build-options’ was not passing through correctly
> serialized data.
>
> So, could you add a bunch of ‘pk’ in ‘set-build-options’ in store.scm,
> as well as in the corresponding code in nix-daemon.cc (under
> ‘wopSetOptions’, in particular), to see whether something gets munged on
> the way?

Alternately, could you run something like:

  sudo strace -f -p $(pidof guix-daemon) -o daemon.log
  guix build emacs --no-substitutes

then kill strace once ‘guix build’ has completed, and post daemon.log
(compressed)?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#15314; Package guix. (Wed, 12 Feb 2014 10:10:03 GMT) Full text and rfc822 format available.

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

From: Nikita Karetnikov <nikita <at> karetnikov.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 15314 <at> debbugs.gnu.org, tipecaml <at> gmail.com
Subject: Re: bug#15314: ‘--no-substitutes’ is
 ignored on i686
Date: Wed, 12 Feb 2014 14:15:18 +0400
[Message part 1 (text/plain, inline)]
> Alternately, could you run something like:

>   sudo strace -f -p $(pidof guix-daemon) -o daemon.log
>   guix build emacs --no-substitutes

> then kill strace once ‘guix build’ has completed, and post daemon.log
> (compressed)?

I haven’t seen the bug for a while.  Should I run the above commands
anyway?
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#15314; Package guix. (Wed, 12 Feb 2014 12:59:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita <at> karetnikov.org>
Cc: 15314 <at> debbugs.gnu.org, tipecaml <at> gmail.com
Subject: Re: bug#15314: ‘--no-substitutes’ is
 ignored on i686
Date: Wed, 12 Feb 2014 13:58:42 +0100
Nikita Karetnikov <nikita <at> karetnikov.org> skribis:

>> Alternately, could you run something like:
>
>>   sudo strace -f -p $(pidof guix-daemon) -o daemon.log
>>   guix build emacs --no-substitutes
>
>> then kill strace once ‘guix build’ has completed, and post daemon.log
>> (compressed)?
>
> I haven’t seen the bug for a while.

Could you check whether it’s still there?  Run ‘guix build emacs
--no-substitutes’ (for instance), and see if it uses substitutes.

> Should I run the above commands anyway?

If the bug is still there, yes.  :-)

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#15314; Package guix. (Wed, 12 Feb 2014 13:04:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita <at> karetnikov.org>
Cc: 15314 <at> debbugs.gnu.org, tipecaml <at> gmail.com
Subject: Re: bug#15314: ‘--no-substitutes’ is
 ignored on i686
Date: Wed, 12 Feb 2014 14:03:50 +0100
Nikita Karetnikov <nikita <at> karetnikov.org> skribis:

>> Alternately, could you run something like:
>
>>   sudo strace -f -p $(pidof guix-daemon) -o daemon.log
>>   guix build emacs --no-substitutes
>
>> then kill strace once ‘guix build’ has completed, and post daemon.log
>> (compressed)?
>
> I haven’t seen the bug for a while.  Should I run the above commands
> anyway?

Another strace log that could help:

  strace -o client.log guile -c \
    '(use-modules (guix))
     (set-build-options (open-connection) #:use-substitutes? #f)'

TIA,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#15314; Package guix. (Wed, 12 Feb 2014 18:51:01 GMT) Full text and rfc822 format available.

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

From: Nikita Karetnikov <nikita <at> karetnikov.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 15314 <at> debbugs.gnu.org, tipecaml <at> gmail.com
Subject: Re: bug#15314: ‘--no-substitutes’ is
 ignored on i686
Date: Wed, 12 Feb 2014 22:56:22 +0400
[Message part 1 (text/plain, inline)]
> Could you check whether it’s still there?  Run ‘guix build emacs
> --no-substitutes’ (for instance), and see if it uses substitutes.

I can’t reproduce the bug.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#15314; Package guix. (Wed, 12 Feb 2014 20:35:01 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita <at> karetnikov.org>
Cc: 15314 <at> debbugs.gnu.org, tipecaml <at> gmail.com
Subject: Re: bug#15314: ‘--no-substitutes’ is
 ignored on i686
Date: Wed, 12 Feb 2014 21:34:27 +0100
Nikita Karetnikov <nikita <at> karetnikov.org> skribis:

>> Could you check whether it’s still there?  Run ‘guix build emacs
>> --no-substitutes’ (for instance), and see if it uses substitutes.
>
> I can’t reproduce the bug.

So you do see a difference between ‘guix build emacs’ and
‘guix build emacs --no-substitutes’, right?

Well, I suppose that’s good news, then.

Ludo’.




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sat, 29 Mar 2014 13:21:02 GMT) Full text and rfc822 format available.

Notification sent to ludo <at> gnu.org (Ludovic Courtès):
bug acknowledged by developer. (Sat, 29 Mar 2014 13:21:03 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Nikita Karetnikov <nikita <at> karetnikov.org>
Cc: tipecaml <at> gmail.com, 15314-done <at> debbugs.gnu.org
Subject: Re: bug#15314: ‘--no-substitutes’ is
 ignored on i686
Date: Sat, 29 Mar 2014 14:19:57 +0100
Nikita Karetnikov <nikita <at> karetnikov.org> skribis:

>> Could you check whether it’s still there?  Run ‘guix build emacs
>> --no-substitutes’ (for instance), and see if it uses substitutes.
>
> I can’t reproduce the bug.

Closing it.  Please reopen if it shows up again.

Ludo’.




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

This bug report was last modified 10 years and 1 day ago.

Previous Next


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