unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Josefsson via Bug reports for GNU Guix <bug-guix@gnu.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 74925-done@debbugs.gnu.org
Subject: bug#74925: failed to compute the derivation for Guix
Date: Mon, 23 Dec 2024 22:07:06 +0100	[thread overview]
Message-ID: <878qs6qfb9.fsf@kaka.sjd.se> (raw)
In-Reply-To: <87jzbtgikw.fsf@gnu.org> ("Ludovic Courtès"'s message of "Sat, 21 Dec 2024 16:29:51 +0100")

[-- Attachment #1: Type: text/plain, Size: 1625 bytes --]

Ludovic Courtès <ludo@gnu.org> writes:

> Hello,
>
> Simon Josefsson <simon@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

  reply	other threads:[~2024-12-23 21:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-17 10:15 bug#74925: failed to compute the derivation for Guix Simon Josefsson via Bug reports for GNU Guix
2024-12-21 15:29 ` Ludovic Courtès
2024-12-23 21:07   ` Simon Josefsson via Bug reports for GNU Guix [this message]
2024-12-26 11:29     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878qs6qfb9.fsf@kaka.sjd.se \
    --to=bug-guix@gnu.org \
    --cc=74925-done@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=simon@josefsson.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).