GNU bug report logs -
#20163
substitute-binary fails when attempting to reconfigure
Previous Next
Reported by: Mark H Weaver <mhw <at> netris.org>
Date: Sun, 22 Mar 2015 02:53:02 UTC
Severity: normal
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
Message #8 received at 20163 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Mark H Weaver <mhw <at> netris.org> skribis:
> substitute-binary: In guix/scripts/substitute-binary.scm:
> substitute-binary: 634: 0 [#<procedure 9e74470 ()>]
> substitute-binary:
> substitute-binary: guix/scripts/substitute-binary.scm:634:2: In procedure #<procedure 9e74470 ()>:
> substitute-binary: guix/scripts/substitute-binary.scm:634:2: Throw to key `match-error' with args `("match" "no matching pattern" ())'.
This sounds possibly related to commit 41c45e7.
> The 'guix' command being run here is using 'pre-inst-env' within a git
> checkout that's on 9d297fa but with some local commits added including
> 'wip-http-pipelining'. The 'guix-daemon' being run is from
> guix-0.8.1.07157e8, which I suppose is using its own copy of 'guix
> substitute' (right?).
Yes, on GuixSD the daemon is using its own copy of ‘guix substitute’,
that is 07157e8.
So the problem could have to do with what the client passes with
‘set-build-options’, although I don’t know what’s going on. Could you
try something like this:
[Message part 2 (text/x-patch, inline)]
diff --git a/guix/store.scm b/guix/store.scm
index 45c555b..35cb680 100644
--- a/guix/store.scm
+++ b/guix/store.scm
@@ -487,7 +487,7 @@ encoding conversion errors."
(let ((pairs `(,@(if timeout
`(("build-timeout" . ,(number->string timeout)))
'())
- ("substitute-urls" . ,(string-join substitute-urls)))))
+ ("substitute-urls" . ,(pk 'surls (string-join substitute-urls))))))
(send (string-pairs pairs))))
(let loop ((done? (process-stderr server)))
(or done? (process-stderr server)))))
[Message part 3 (text/plain, inline)]
Thanks,
Ludo’.
This bug report was last modified 10 years and 59 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.