GNU bug report logs -
#39090
Daemon fails with "got unexpected path ... from substituter"
Previous Next
Full log
Message #62 received at 39090-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Gábor Boskovits <boskovits <at> gmail.com> skribis:
> Ricardo Wurmus <rekado <at> elephly.net> ezt írta (időpont: 2020. jan. 11.,
> Szo, 17:44):
>>
>>
>> Gábor Boskovits <boskovits <at> gmail.com> writes:
>>
>> > 5. create a file gexp.scm with this content:
>> > (use-modules
>> > (gnu packages package-management)
>> > (guix gexp))
>> >
>> > (program-file
>> > "a"
>> > (with-extensions
>> > (list guix)
>> > #~(#t)))
>> > 6. guix build -f gexp.scm
>> >
>> > This will fail with as strange error message.
>>
>> What’s the error message?
>
> guix build: error: got unexpected path <store-path-name> from substituter
>
> <store-path-name> varies, currently it was
> /gnu/store/0q95b...-libarchive-3.4.0.tar.gz
Fixed by e2922f527ee8d891a41b5086637fa560a1c2ddd8! I’ll update the
‘guix’ package shortly.
This was tricky to reproduce because it depends on what’s in your store
and what’s in /var/guix/substitute/cache.
I managed to reproduce it first in a VM following your instructions, and
then on a local instance of guix-daemon where I had wiped
/var/guix/substitute/cache and also changed the condition in
‘http-multiple-get’ to exercise the “Connection: close” case (which is
otherwise infrequent.)
Thanks a lot for your investigation, which helped a lot!
Ludo’.
This bug report was last modified 5 years and 189 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.