GNU bug report logs - #74925
failed to compute the derivation for Guix

Previous Next

Package: guix;

Reported by: Simon Josefsson <simon <at> josefsson.org>

Date: Tue, 17 Dec 2024 10:22:01 UTC

Severity: normal

Done: Simon Josefsson <simon <at> josefsson.org>

Bug is archived. No further changes may be made.

Full log


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

From: Simon Josefsson <simon <at> josefsson.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 74925-done <at> debbugs.gnu.org
Subject: Re: bug#74925: failed to compute the derivation for Guix
Date: Mon, 23 Dec 2024 22:07:06 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> Hello,
>
> Simon Josefsson <simon <at> josefsson.org> skribis:
>
>> (guix-daemon --disable-chroot --build-users-group=_guixbuild &)
>> guix pull --url=https://gitlab.com/debdistutils/guix/mirror.git
>
> [...]
>
>> In ./guix/store.scm:
>>   2095:12  7 (_ #<store-connection 256.99 1e7edc80>)
>>   1437:13  6 (map/accumulate-builds #<store-connection 256.99 1e7edc80> #<procedure 25cd1c20 at ./guix/store.scm:20?> ?)
>>    1433:5  5 (map/accumulate-builds #<store-connection 256.99 1e7edc80> #<procedure 3614d880 at ./guix/store.scm:14?> ?)
>>   1449:15  4 (_ #<store-connection 256.99 1e7edc80> ("/gnu/store/vsv3dax6czpp5xnvks4zm1a2yg694hqv-guix-daemon-1.?" ?) ?)
>>   1449:15  3 (loop #f)
>>    746:11  2 (process-stderr #<store-connection 256.99 1e7edc80> _)
>> In ./guix/serialization.scm:
>>    101:11  1 (read-int #<input-output: file 10>)
>>      79:6  0 (get-bytevector-n* #<input-output: file 10> 8)
>> ./guix/serialization.scm:79:6: In procedure get-bytevector-n*:
>> ERROR:
>>   1. &nar-error:
>>       file: #f
>>       port: #<input-output: file 10>
>> guix pull: error: You found a bug: the program '/gnu/store/y0a6ck768ixr4zwdn3zg2wvwzn1j2kf6-compute-guix-derivation'
>
> Could it be due to guix-daemon not running in a UTF-8 locale?
>
> IOW, does it help if you run:
>
>   LC_ALL=C.UTF-8 guix-daemon …
>
> ?

Yes, thank you!  I get other backtraces now, but I believe this
particular bug can be closed.

Although maybe 'guix-daemon' want to set LC_ALL=C.UTF-8 internally if it
is known that things won't work with it...

/Simon
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 204 days ago.

Previous Next


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