* bug#15314: ‘--no-substitutes’ is ignored on i686
[not found] ` <871u4zjvmn.fsf@karetnikov.org>
@ 2013-09-09 21:32 ` Ludovic Courtès
2014-02-11 22:13 ` Ludovic Courtès
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2013-09-09 21:32 UTC (permalink / raw)
To: Nikita Karetnikov; +Cc: 15314
(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@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’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#15314: ‘--no-substitutes’ is ignored on i686
2013-09-09 21:32 ` bug#15314: ‘--no-substitutes’ is ignored on i686 Ludovic Courtès
@ 2014-02-11 22:13 ` Ludovic Courtès
2014-02-12 10:15 ` Nikita Karetnikov
0 siblings, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2014-02-11 22:13 UTC (permalink / raw)
To: Nikita Karetnikov; +Cc: 15314
Hello!
Reviving this old bug.
ludo@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@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’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#15314: ‘--no-substitutes’ is ignored on i686
2014-02-11 22:13 ` Ludovic Courtès
@ 2014-02-12 10:15 ` Nikita Karetnikov
2014-02-12 12:58 ` Ludovic Courtès
2014-02-12 13:03 ` Ludovic Courtès
0 siblings, 2 replies; 8+ messages in thread
From: Nikita Karetnikov @ 2014-02-12 10:15 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 15314
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
> 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?
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#15314: ‘--no-substitutes’ is ignored on i686
2014-02-12 10:15 ` Nikita Karetnikov
@ 2014-02-12 12:58 ` Ludovic Courtès
2014-02-12 18:56 ` Nikita Karetnikov
2014-02-12 13:03 ` Ludovic Courtès
1 sibling, 1 reply; 8+ messages in thread
From: Ludovic Courtès @ 2014-02-12 12:58 UTC (permalink / raw)
To: Nikita Karetnikov; +Cc: 15314
Nikita Karetnikov <nikita@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’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#15314: ‘--no-substitutes’ is ignored on i686
2014-02-12 10:15 ` Nikita Karetnikov
2014-02-12 12:58 ` Ludovic Courtès
@ 2014-02-12 13:03 ` Ludovic Courtès
1 sibling, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2014-02-12 13:03 UTC (permalink / raw)
To: Nikita Karetnikov; +Cc: 15314
Nikita Karetnikov <nikita@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’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#15314: ‘--no-substitutes’ is ignored on i686
2014-02-12 12:58 ` Ludovic Courtès
@ 2014-02-12 18:56 ` Nikita Karetnikov
2014-02-12 20:34 ` Ludovic Courtès
2014-03-29 13:19 ` Ludovic Courtès
0 siblings, 2 replies; 8+ messages in thread
From: Nikita Karetnikov @ 2014-02-12 18:56 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 15314
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
> 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.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#15314: ‘--no-substitutes’ is ignored on i686
2014-02-12 18:56 ` Nikita Karetnikov
@ 2014-02-12 20:34 ` Ludovic Courtès
2014-03-29 13:19 ` Ludovic Courtès
1 sibling, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2014-02-12 20:34 UTC (permalink / raw)
To: Nikita Karetnikov; +Cc: 15314
Nikita Karetnikov <nikita@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’.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#15314: ‘--no-substitutes’ is ignored on i686
2014-02-12 18:56 ` Nikita Karetnikov
2014-02-12 20:34 ` Ludovic Courtès
@ 2014-03-29 13:19 ` Ludovic Courtès
1 sibling, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2014-03-29 13:19 UTC (permalink / raw)
To: Nikita Karetnikov; +Cc: 15314-done
Nikita Karetnikov <nikita@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’.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-03-29 13:21 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87vc2o4qwc.fsf@gnu.org>
[not found] ` <87fvtimho8.fsf@karetnikov.org>
[not found] ` <87txhy2rup.fsf@gnu.org>
[not found] ` <87ppsldntv.fsf@karetnikov.org>
[not found] ` <878uz87pnx.fsf@gnu.org>
[not found] ` <87d2ojh6mc.fsf@karetnikov.org>
[not found] ` <522C64D2.4000603@gmail.com>
[not found] ` <871u4zjvmn.fsf@karetnikov.org>
2013-09-09 21:32 ` bug#15314: ‘--no-substitutes’ is ignored on i686 Ludovic Courtès
2014-02-11 22:13 ` Ludovic Courtès
2014-02-12 10:15 ` Nikita Karetnikov
2014-02-12 12:58 ` Ludovic Courtès
2014-02-12 18:56 ` Nikita Karetnikov
2014-02-12 20:34 ` Ludovic Courtès
2014-03-29 13:19 ` Ludovic Courtès
2014-02-12 13:03 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).