unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#43739: guix archive --export broken on foreign distro
@ 2020-10-01 11:22 Lars-Dominik Braun
  2020-10-01 15:56 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Lars-Dominik Braun @ 2020-10-01 11:22 UTC (permalink / raw)
  To: 43739

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

Hi,

as discussed on IRC [1][2] `guix archive --export` is currently broken on
foreign distributions. It fails with the error message:

	guix archive: error: corrupt input while restoring archive from #<closed: file 7f27c396e150>

strace reveals `guix authenticate` prints a message to stderr, which the
guix-daemon does not expect:

	guile: warning: failed to install locale

Installing the package glibc-locales into root’s user profile (because
guix-daemon.service references that) and restarting the daemon solves the
issue.

See also https://issues.guix.gnu.org/43737

Cheers,
Lars

[1] http://logs.guix.gnu.org/guix/2020-09-29.log#141931
[2] http://logs.guix.gnu.org/guix/2020-09-30.log#113955

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#43739: guix archive --export broken on foreign distro
  2020-10-01 11:22 bug#43739: guix archive --export broken on foreign distro Lars-Dominik Braun
@ 2020-10-01 15:56 ` Ludovic Courtès
  2020-10-06 12:27   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2020-10-01 15:56 UTC (permalink / raw)
  To: Lars-Dominik Braun; +Cc: 43739

Hi,

Lars-Dominik Braun <ldb@leibniz-psychology.org> skribis:

> as discussed on IRC [1][2] `guix archive --export` is currently broken on
> foreign distributions. It fails with the error message:
>
> 	guix archive: error: corrupt input while restoring archive from #<closed: file 7f27c396e150>
>
> strace reveals `guix authenticate` prints a message to stderr, which the
> guix-daemon does not expect:
>
> 	guile: warning: failed to install locale

Specifically, the problem occurs after the change in
64cf660f872fb7aaf0d2b463e45b4c756297f743: on the first call to
‘readAuthenticateReply’, the daemon gets a “g” (from the warning above)
instead of a digit as the protocol expects.

Part of the problem is that ‘Agent’ captures stderr in addition to
stdout, which is useful for ‘guix offload’ but a bad idea for ‘guix
authenticate’.

> See also https://issues.guix.gnu.org/43737

Yup, part of the motivation came from this bug report.

Thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#43739: guix archive --export broken on foreign distro
  2020-10-01 15:56 ` Ludovic Courtès
@ 2020-10-06 12:27   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-10-06 12:27 UTC (permalink / raw)
  To: Lars-Dominik Braun; +Cc: 43739-done

Hi,

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

> Lars-Dominik Braun <ldb@leibniz-psychology.org> skribis:
>
>> as discussed on IRC [1][2] `guix archive --export` is currently broken on
>> foreign distributions. It fails with the error message:
>>
>> 	guix archive: error: corrupt input while restoring archive from #<closed: file 7f27c396e150>
>>
>> strace reveals `guix authenticate` prints a message to stderr, which the
>> guix-daemon does not expect:
>>
>> 	guile: warning: failed to install locale
>
> Specifically, the problem occurs after the change in
> 64cf660f872fb7aaf0d2b463e45b4c756297f743: on the first call to
> ‘readAuthenticateReply’, the daemon gets a “g” (from the warning above)
> instead of a digit as the protocol expects.

This is fixed by 880fe019ae64df37815bbdb1a22305f99dae759d from
<https://issues.guix.gnu.org/43737>.

Closing.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-06 12:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01 11:22 bug#43739: guix archive --export broken on foreign distro Lars-Dominik Braun
2020-10-01 15:56 ` Ludovic Courtès
2020-10-06 12:27   ` Ludovic Courtès

unofficial mirror of bug-guix@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-bugs/0 guix-bugs/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-bugs guix-bugs/ https://yhetil.org/guix-bugs \
		bug-guix@gnu.org
	public-inbox-index guix-bugs

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.bugs
	nntp://news.gmane.io/gmane.comp.gnu.guix.bugs


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git