guix archive --export broken on foreign distro

DoneSubmitted by Lars-Dominik Braun.
Details
2 participants
  • Lars-Dominik Braun
  • Ludovic Courtès
Owner
unassigned
Severity
important
L
L
Lars-Dominik Braun wrote on 1 Oct 2020 13:22
(address . bug-guix@gnu.org)
20201001112245.GA3101@zpidnp36
Hi,
as discussed on IRC [1][2] `guix archive --export` is currently broken onforeign 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 theguix-daemon does not expect:
guile: warning: failed to install locale
Installing the package glibc-locales into root’s user profile (becauseguix-daemon.service references that) and restarting the daemon solves theissue.
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
-----BEGIN PGP SIGNATURE-----
iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl91vAEACgkQQhN3ARo3hEblcgwAxclbFtFdcOQNxnGsnlpQHNz2hDncerg/daW477sj+JpJdR/+xYNumOEzUEIrxSz7nKWuMY5JljmiITUlgzgDawKpwXswbO9Hjnta6WAyYP7sjULHTp9m6qyHYCHxT7IS8wFj87/o8yDIonIFDshckoiIBi+PbqRvkplLp3YwZYLvrx7PC2fh5lANv9dCMAjZwqCfPA1OnBWy86v3IzjTMdrEnA89uaWPPGMV4l9Xy7L4YZiMxTK7RycCHWDfXcMNv48+kOGCbrBTcUnacjSSOg0fKRgLCv/M9nIc5zdp14hK8lYjkS2GtWHDlhQ9eNqDIx+JKNobPo2mYfIHuidV9KQv7HxtYp+j5IzqvsS6aTAokPX5DsgNM8CrIMb3BOqdNqqUHtRz4lc1bHpx4l2m5n8rNdMtWMNgI+fsh/aFJhKcVffUNGgP5JRO/F7sVfRnthjwy1WtPcCVdCnVZaPBZt31ngHO7rxU/8ctehY0wamegDHS6FnD0e/QFC9dLJZR=m4DE-----END PGP SIGNATURE-----

L
L
Ludovic Courtès wrote on 1 Oct 2020 17:56
(name . Lars-Dominik Braun)(address . ldb@leibniz-psychology.org)(address . 43739@debbugs.gnu.org)
87lfgqq6rf.fsf@gnu.org
Hi,
Lars-Dominik Braun <ldb@leibniz-psychology.org> skribis:
Toggle quote (10 lines)> 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 in64cf660f872fb7aaf0d2b463e45b4c756297f743: 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 tostdout, which is useful for ‘guix offload’ but a bad idea for ‘guixauthenticate’.
Toggle quote (2 lines)> See also https://issues.guix.gnu.org/43737
Yup, part of the motivation came from this bug report.
Thanks!
Ludo’.
L
L
Ludovic Courtès wrote on 1 Oct 2020 22:16
control message for bug #43739
(address . control@debbugs.gnu.org)
87h7rdn1lm.fsf@gnu.org
severity 43739 importantquit
L
L
Ludovic Courtès wrote on 6 Oct 2020 14:27
Re: bug#43739: guix archive --export broken on foreign distro
(name . Lars-Dominik Braun)(address . ldb@leibniz-psychology.org)(address . 43739-done@debbugs.gnu.org)
87ft6rv8st.fsf@gnu.org
Hi,
Ludovic Courtès <ludo@gnu.org> skribis:
Toggle quote (17 lines)> 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 fromhttps://issues.guix.gnu.org/43737.
Closing.
Thanks,Ludo’.
Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send email to 43739@debbugs.gnu.org