GNU bug report logs -
#52559
Guile doesn't like carriage returns after \
Previous Next
To reply to this bug, email your comments to 52559 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 17:47:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Grigory Shepelev <shegeley <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 16 Dec 2021 17:47:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
guix pull fails for a 4 days at least with the same error:
fish: Unknown command: nix
fish:
nix show-derivation
"/home/shegeley/.cache/.fr-sqOEpp/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv"
I had nix-service-type enabled and I had this problem. Then I disabled it
(with remove-service...), reconfigured the system. Same error message and
problem. Cleaned the thrash (guix gc) and tried to pull without
substitutes. Same result each time.
shegeley <at> zone51 ~ (master) [127]> guix pull
Updating channel 'nonguix' from Git repository at '
https://gitlab.com/nonguix/nonguix'...
Updating channel 'guix' from Git repository at '
https://git.savannah.gnu.org/git/guix.git'...
Authenticating channel 'guix', commits 9edb3f6 to 5e59153 (4 new commits)...
Building from these channels:
guix https://git.savannah.gnu.org/git/guix.git 5e59153
nonguix https://gitlab.com/nonguix/nonguix 21d41c8
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
... [author comment]
building
/gnu/store/6r273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv...
|builder for
`/gnu/store/6r273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv'
failed with exit code 1
build of
/gnu/store/6r273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv
failed
View build log at
'/var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv.bz2'.
cannot build derivation
`/gnu/store/nrhi4j1vrhjfibv6i1wvwa6zq4lnilpg-compute-guix-derivation.drv':
1 dependencies couldn't be built
guix pull: error: build of
`/gnu/store/nrhi4j1vrhjfibv6i1wvwa6zq4lnilpg-compute-guix-derivation.drv'
failed
(first time using mail-based issues system, tried to find issue-opening
rules on https://issues.guix.gnu.org/)
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 18:31:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 52559 <at> debbugs.gnu.org (full text, mbox):
Grigory Shepelev schreef op do 16-12-2021 om 20:46 [+0300]:
> guix pull fails for a 4 days at least with the same error:
>
> fish: Unknown command: nix
> fish:
> nix show-derivation "/home/shegeley/.cache/.fr-
> sqOEpp/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv"
That's an error message from fish, not from guix.
Why is fish trying to run nix on Guix System?
Maybe you configured fish to interpret output lines containing ".drv"?
Greetings,
Maxime.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 18:31:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 52559 <at> debbugs.gnu.org (full text, mbox):
Grigory Shepelev schreef op do 16-12-2021 om 20:46 [+0300]:
> View build log at
> '/var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-
> compiled.drv.bz2'.
To figure out the issue, we need the log.
Greetings,
Maxime.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 18:33:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Grigory Shepelev schreef op do 16-12-2021 om 20:46 [+0300]:
> (first time using mail-based issues system, tried to find issue-
> opening rules on https://issues.guix.gnu.org/)
The manual has a little information in ‘17.7 Tracking Bugs and Patches’
Greetings,
Maxime.
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 19:16:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hm...
I just use the "default" fish as home-service and it's set as my user's
shell... I will try to change them both to bash and try again. Maybe that's
a "non standard-shell" issue.
Will update later.
чт, 16 дек. 2021 г. в 21:29, Maxime Devos <maximedevos <at> telenet.be>:
> Grigory Shepelev schreef op do 16-12-2021 om 20:46 [+0300]:
> > guix pull fails for a 4 days at least with the same error:
> >
> > fish: Unknown command: nix
> > fish:
> > nix show-derivation "/home/shegeley/.cache/.fr-
> > sqOEpp/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv"
>
> That's an error message from fish, not from guix.
>
> Why is fish trying to run nix on Guix System?
> Maybe you configured fish to interpret output lines containing ".drv"?
>
> Greetings,
> Maxime.
>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 19:31:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ok. Now it's /gnu/store/87kif0bpf0anwbsaw0jvg8fyciw4sz67-bash-5.0.16/bin/bash:
nix: command not found. With bash...
I have no idea what's going on here. Guess there are some
nix-interpopability that fails somewhere.
Also: noticed that all associated nix-directories (~/nix-profile, ...)
exist, have root chown, and are not empty. There is even a spotify that I
installed with nix earlier, in ~/.nix-profile/bin. Although I removed nix
from services and packages in my system-wide config.
чт, 16 дек. 2021 г. в 22:15, Grigory Shepelev <shegeley <at> gmail.com>:
> Hm...
> I just use the "default" fish as home-service and it's set as my user's
> shell... I will try to change them both to bash and try again. Maybe that's
> a "non standard-shell" issue.
> Will update later.
>
> чт, 16 дек. 2021 г. в 21:29, Maxime Devos <maximedevos <at> telenet.be>:
>
>> Grigory Shepelev schreef op do 16-12-2021 om 20:46 [+0300]:
>> > guix pull fails for a 4 days at least with the same error:
>> >
>> > fish: Unknown command: nix
>> > fish:
>> > nix show-derivation "/home/shegeley/.cache/.fr-
>> > sqOEpp/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv"
>>
>> That's an error message from fish, not from guix.
>>
>> Why is fish trying to run nix on Guix System?
>> Maybe you configured fish to interpret output lines containing ".drv"?
>>
>> Greetings,
>> Maxime.
>>
>>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 19:34:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Also: tried guix pull rollback, reconfigure the system, and pull again
multiple times.
чт, 16 дек. 2021 г. в 22:29, Grigory Shepelev <shegeley <at> gmail.com>:
> Ok. Now it's /gnu/store/87kif0bpf0anwbsaw0jvg8fyciw4sz67-bash-5.0.16/bin/bash:
> nix: command not found. With bash...
> I have no idea what's going on here. Guess there are some
> nix-interpopability that fails somewhere.
> Also: noticed that all associated nix-directories (~/nix-profile, ...)
> exist, have root chown, and are not empty. There is even a spotify that I
> installed with nix earlier, in ~/.nix-profile/bin. Although I removed nix
> from services and packages in my system-wide config.
>
> чт, 16 дек. 2021 г. в 22:15, Grigory Shepelev <shegeley <at> gmail.com>:
>
>> Hm...
>> I just use the "default" fish as home-service and it's set as my user's
>> shell... I will try to change them both to bash and try again. Maybe that's
>> a "non standard-shell" issue.
>> Will update later.
>>
>> чт, 16 дек. 2021 г. в 21:29, Maxime Devos <maximedevos <at> telenet.be>:
>>
>>> Grigory Shepelev schreef op do 16-12-2021 om 20:46 [+0300]:
>>> > guix pull fails for a 4 days at least with the same error:
>>> >
>>> > fish: Unknown command: nix
>>> > fish:
>>> > nix show-derivation "/home/shegeley/.cache/.fr-
>>> > sqOEpp/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv"
>>>
>>> That's an error message from fish, not from guix.
>>>
>>> Why is fish trying to run nix on Guix System?
>>> Maybe you configured fish to interpret output lines containing ".drv"?
>>>
>>> Greetings,
>>> Maxime.
>>>
>>>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 19:54:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Deleted the .nix-profile and all the nix-related stuff from my home-dir,
reconfigured the system, pulled again. Same problem.
чт, 16 дек. 2021 г. в 22:15, Grigory Shepelev <shegeley <at> gmail.com>:
> Hm...
> I just use the "default" fish as home-service and it's set as my user's
> shell... I will try to change them both to bash and try again. Maybe that's
> a "non standard-shell" issue.
> Will update later.
>
> чт, 16 дек. 2021 г. в 21:29, Maxime Devos <maximedevos <at> telenet.be>:
>
>> Grigory Shepelev schreef op do 16-12-2021 om 20:46 [+0300]:
>> > guix pull fails for a 4 days at least with the same error:
>> >
>> > fish: Unknown command: nix
>> > fish:
>> > nix show-derivation "/home/shegeley/.cache/.fr-
>> > sqOEpp/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv"
>>
>> That's an error message from fish, not from guix.
>>
>> Why is fish trying to run nix on Guix System?
>> Maybe you configured fish to interpret output lines containing ".drv"?
>>
>> Greetings,
>> Maxime.
>>
>>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 20:27:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[putting 52559 <at> debbugs.gnu.org back into the To/CC:]
Grigory Shepelev schreef op do 16-12-2021 om 22:33 [+0300]:
> This IS in fact the log.
No, you haven't posted any build log anywhere.
I'm asking for the log mentioned by
> View build log at
> '/var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-
> compiled.drv.bz2'.
That is, the file at
/var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv.bz2
.
Greetings,
Maxime
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 20:50:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
> fish: Unknown command: nix
> fish:
> nix show-derivation "/home/shegeley/.cache/.fr-
> sqOEpp/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv"
IS in fact the contents of
/var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv.bz2.
чт, 16 дек. 2021 г. в 23:26, Maxime Devos <maximedevos <at> telenet.be>:
> [putting 52559 <at> debbugs.gnu.org back into the To/CC:]
>
> Grigory Shepelev schreef op do 16-12-2021 om 22:33 [+0300]:
> > This IS in fact the log.
>
> No, you haven't posted any build log anywhere.
> I'm asking for the log mentioned by
>
> > View build log at
> > '/var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-
> > compiled.drv.bz2'.
>
> That is, the file at
>
> /var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv.bz2
> .
>
> Greetings,
> Maxime
>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 20:55:02 GMT)
Full text and
rfc822 format available.
Message #35 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I just didn't add it as an attachment for it being only 4 lines.
чт, 16 дек. 2021 г. в 23:49, Grigory Shepelev <shegeley <at> gmail.com>:
> > fish: Unknown command: nix
> > fish:
> > nix show-derivation "/home/shegeley/.cache/.fr-
> > sqOEpp/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv"
>
> IS in fact the contents of
> /var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv.bz2.
>
> чт, 16 дек. 2021 г. в 23:26, Maxime Devos <maximedevos <at> telenet.be>:
>
>> [putting 52559 <at> debbugs.gnu.org back into the To/CC:]
>>
>> Grigory Shepelev schreef op do 16-12-2021 om 22:33 [+0300]:
>> > This IS in fact the log.
>>
>> No, you haven't posted any build log anywhere.
>> I'm asking for the log mentioned by
>>
>> > View build log at
>> > '/var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-
>> > compiled.drv.bz2'.
>>
>> That is, the file at
>>
>> /var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv.bz2
>> .
>>
>> Greetings,
>> Maxime
>>
>>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 21:14:01 GMT)
Full text and
rfc822 format available.
Message #38 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Extended research. Lead to
ERROR: In procedure primitive-load:
In procedure scm_lreadr: /gnu/store/l375q7zi0k894a03xdfsq8qsm5nh2m
97-module-import/guix/build/utils.scm:822:1: illegal character in escape
sequence: #\return
Possibly related to
https://www.mail-archive.com/help-guix <at> gnu.org/msg12265.html
(Now I added file as an attachment)
чт, 16 дек. 2021 г. в 23:54, Grigory Shepelev <shegeley <at> gmail.com>:
> I just didn't add it as an attachment for it being only 4 lines.
>
> чт, 16 дек. 2021 г. в 23:49, Grigory Shepelev <shegeley <at> gmail.com>:
>
>> > fish: Unknown command: nix
>> > fish:
>> > nix show-derivation "/home/shegeley/.cache/.fr-
>> > sqOEpp/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv"
>>
>> IS in fact the contents of
>> /var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv.bz2.
>>
>> чт, 16 дек. 2021 г. в 23:26, Maxime Devos <maximedevos <at> telenet.be>:
>>
>>> [putting 52559 <at> debbugs.gnu.org back into the To/CC:]
>>>
>>> Grigory Shepelev schreef op do 16-12-2021 om 22:33 [+0300]:
>>> > This IS in fact the log.
>>>
>>> No, you haven't posted any build log anywhere.
>>> I'm asking for the log mentioned by
>>>
>>> > View build log at
>>> > '/var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-
>>> > compiled.drv.bz2'.
>>>
>>> That is, the file at
>>>
>>> /var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv.bz2
>>> .
>>>
>>> Greetings,
>>> Maxime
>>>
>>>
[Message part 2 (text/html, inline)]
[attempt.txt (text/plain, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 21:14:02 GMT)
Full text and
rfc822 format available.
Message #41 received at 52559 <at> debbugs.gnu.org (full text, mbox):
Grigory Shepelev schreef op do 16-12-2021 om 23:49 [+0300]:
> > fish: Unknown command: nix
> > fish:
> > nix show-derivation "/home/shegeley/.cache/.fr-
> > sqOEpp/273vsd5gv1ch73ayih504s5wcxvysq-module-import-compiled.drv"
>
> IS in fact the contents of
> /var/log/guix/drvs/6r/273vsd5gv1ch73ayih504s5wcxvysq-module-import-
> compiled.drv.bz2.
This is very weird, because:
1. what's a derivation doing in $HOME?
2. This would mean that, while compiling some guile modules, fish is
invoked and fish is calling nix. But nix and fish are not involved at
all when compiling guile modules. (The only mention of 'fish' in the
source code is in shell completions.)
3. How did $HOME get leaked to the builder?
4. How did 'show-derivation' appear in the builder? There's no mention
of 'show-derivation' anywhere in guix' source code.
Greetings,
Maxime.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 21:26:01 GMT)
Full text and
rfc822 format available.
Message #44 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sorry. Forgot to mention the thread.
Now using bash with system and home profiles. same error except
(s/nix/bash).
---------- Forwarded message ---------
От: Grigory Shepelev <shegeley <at> gmail.com>
Date: пт, 17 дек. 2021 г. в 00:21
Subject: Re: bug#52559: guix pull fails with `Unknown command: nix fish:
nix show-derivation "~/.fr-sqOEpp/....-module-import-compiled.drv"
To: Maxime Devos <maximedevos <at> telenet.be>
Sure, sorry, sleepy.
пт, 17 дек. 2021 г. в 00:16, Maxime Devos <maximedevos <at> telenet.be>:
> Grigory Shepelev schreef op vr 17-12-2021 om 00:12 [+0300]:
> > In procedure scm_lreadr: /gnu/store/l375q7zi0k894a03xdfsq8qsm5nh2m97-
> > module-import/guix/build/utils.scm:822:1: illegal character in escape
> > sequence: #\return
>
> It would be useful to have a copy of the file that the error message is
> complaining about.
>
> Greetings,
> Maxime.
>
>
[Message part 2 (text/html, inline)]
[utils.scm (application/octet-stream, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 21:33:01 GMT)
Full text and
rfc822 format available.
Message #47 received at 52559 <at> debbugs.gnu.org (full text, mbox):
Grigory Shepelev schreef op vr 17-12-2021 om 00:12 [+0300]:
> In procedure scm_lreadr: /gnu/store/l375q7zi0k894a03xdfsq8qsm5nh2m97-
> module-import/guix/build/utils.scm:822:1: illegal character in escape
> sequence: #\return
It turns out to be these lines:
(message (format #f (G_ "'~a~{ ~a~}' exited \
with status ~a; output follows:~%~%~{ ~a~%~}")
It seems like the reader isn't parsing the \ escape properly somehow.
But which guile version, which reader (guile has two due to $REASONS),
...
TBI ...
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Thu, 16 Dec 2021 21:51:02 GMT)
Full text and
rfc822 format available.
Message #50 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Grigory Shepelev schreef op vr 17-12-2021 om 00:12 [+0300]:
> Extended research. Lead to
>
> ERROR: In procedure primitive-load:
> In procedure scm_lreadr: /gnu/store/l375q7zi0k894a03xdfsq8qsm5nh2m97-
> module-import/guix/build/utils.scm:822:1: illegal character in escape
> sequence: #\return
>
> Possibly related to https://www.mail-archive.com/help-
> guix <at> gnu.org/msg12265.html
Here's a minimal reproducer:
Run the following in a REPL:
(call-with-input-string "\"Hello\\\rcarriage return!\"" read).
Alternatively, run guile -l c.scm on the attached file.
In both cases, you'll get
> invalid character in escape sequence: #\return
> > >
Greetings,
Maxime
[c.scm (text/x-scheme, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Fri, 17 Dec 2021 05:52:02 GMT)
Full text and
rfc822 format available.
Message #53 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks for your research.
Any ideas on how to fix it? I would change the file itself, but /gnu/store
is read-only.
пт, 17 дек. 2021 г. в 00:50, Maxime Devos <maximedevos <at> telenet.be>:
> Grigory Shepelev schreef op vr 17-12-2021 om 00:12 [+0300]:
> > Extended research. Lead to
> >
> > ERROR: In procedure primitive-load:
> > In procedure scm_lreadr: /gnu/store/l375q7zi0k894a03xdfsq8qsm5nh2m97-
> > module-import/guix/build/utils.scm:822:1: illegal character in escape
> > sequence: #\return
> >
> > Possibly related to https://www.mail-archive.com/help-
> > guix <at> gnu.org/msg12265.html
>
> Here's a minimal reproducer:
>
> Run the following in a REPL:
> (call-with-input-string "\"Hello\\\rcarriage return!\"" read).
>
> Alternatively, run guile -l c.scm on the attached file.
>
> In both cases, you'll get
> > invalid character in escape sequence: #\return
> > > >
>
> Greetings,
> Maxime
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Fri, 17 Dec 2021 06:22:02 GMT)
Full text and
rfc822 format available.
Message #56 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Although I was able to "guix pull" with "sudo", as root user normally. As
far as I know guix pull updates only per-user when called.
Can I use the result from root somehow?
пт, 17 дек. 2021 г. в 08:50, Grigory Shepelev <shegeley <at> gmail.com>:
> Thanks for your research.
> Any ideas on how to fix it? I would change the file itself, but /gnu/store
> is read-only.
>
> пт, 17 дек. 2021 г. в 00:50, Maxime Devos <maximedevos <at> telenet.be>:
>
>> Grigory Shepelev schreef op vr 17-12-2021 om 00:12 [+0300]:
>> > Extended research. Lead to
>> >
>> > ERROR: In procedure primitive-load:
>> > In procedure scm_lreadr: /gnu/store/l375q7zi0k894a03xdfsq8qsm5nh2m97-
>> > module-import/guix/build/utils.scm:822:1: illegal character in escape
>> > sequence: #\return
>> >
>> > Possibly related to https://www.mail-archive.com/help-
>> > guix <at> gnu.org/msg12265.html
>>
>> Here's a minimal reproducer:
>>
>> Run the following in a REPL:
>> (call-with-input-string "\"Hello\\\rcarriage return!\"" read).
>>
>> Alternatively, run guile -l c.scm on the attached file.
>>
>> In both cases, you'll get
>> > invalid character in escape sequence: #\return
>> > > >
>>
>> Greetings,
>> Maxime
>>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Fri, 17 Dec 2021 06:54:02 GMT)
Full text and
rfc822 format available.
Message #59 received at 52559 <at> debbugs.gnu.org (full text, mbox):
Grigory Shepelev schreef op vr 17-12-2021 om 08:50 [+0300]:
> Thanks for your research.
> Any ideas on how to fix it? I would change the file itself, but
> /gnu/store is read-only.
The file isn't broken; it looks like a bug in Guile, so to fix things,
Guile needs to be fixed.
Though I don't know why you encounter the bug but I don't when doing a
"guix pull".
Greetings,
Maxime.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Fri, 17 Dec 2021 07:00:02 GMT)
Full text and
rfc822 format available.
Message #62 received at 52559 <at> debbugs.gnu.org (full text, mbox):
Grigory Shepelev schreef op vr 17-12-2021 om 09:21 [+0300]:
> Although I was able to "guix pull" with "sudo", as root user
> normally. As far as I know guix pull updates only per-user when
> called.
> Can I use the result from root somehow?
Determine the full store path of root's guix & run that.
Greetings,
Maxime
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Fri, 17 Dec 2021 09:09:01 GMT)
Full text and
rfc822 format available.
Message #65 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I tried different approaches to copy guix-related stuff from root to my
user and failed each time. I mean: I've failed each time with almost the
same error as at the beginning except for the log was about escape sequence
from the very beginning.
пт, 17 дек. 2021 г. в 09:59, Maxime Devos <maximedevos <at> telenet.be>:
> Grigory Shepelev schreef op vr 17-12-2021 om 09:21 [+0300]:
> > Although I was able to "guix pull" with "sudo", as root user
> > normally. As far as I know guix pull updates only per-user when
> > called.
> > Can I use the result from root somehow?
>
> Determine the full store path of root's guix & run that.
>
> Greetings,
> Maxime
>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Mon, 27 Dec 2021 14:28:01 GMT)
Full text and
rfc822 format available.
Message #68 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
After the last letter my laptop's motherboard broke. It was replaced
recently but all the data was lost from the SSD due to encryption...
TLDR: I made a backup and reinstalled the system.
But the problem still persists. How can I safely move root's profile into
the user's one? Tinkering with any root-related things is a danger zone
for me, so I won't do anything on my own until there are any clear
instructions.
As previously: from root "guix pull" works perfectly. From users it has the
same problem (nix-related error).
пт, 17 дек. 2021 г. в 09:59, Maxime Devos <maximedevos <at> telenet.be>:
> Grigory Shepelev schreef op vr 17-12-2021 om 09:21 [+0300]:
> > Although I was able to "guix pull" with "sudo", as root user
> > normally. As far as I know guix pull updates only per-user when
> > called.
> > Can I use the result from root somehow?
>
> Determine the full store path of root's guix & run that.
>
> Greetings,
> Maxime
>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Mon, 27 Dec 2021 15:54:02 GMT)
Full text and
rfc822 format available.
Message #71 received at 52559 <at> debbugs.gnu.org (full text, mbox):
Hi,
Grigory Shepelev schreef op ma 27-12-2021 om 17:27 [+0300]:
> After the last letter my laptop's motherboard broke. It was replaced
> recently but all the data was lost from the SSD due to encryption...
> TLDR: I made a backup and reinstalled the system.
> But the problem still persists. How can I safely move root's profile
> into the user's one? Tinkering with any root-related things is a
> danger zone for me, so I won't do anything on my own until there are
> any clear instructions.
You could try deleting /var/guix/profiles/per-user/$USER and running
"$THE_GUIX_OF_ROOT pull" and "$guix install ...". I don't see why that
wouldn't work, but I've never tried it and 0 warranty.
> As previously: from root "guix pull" works perfectly. From users it
> has the same problem (nix-related error).
Could you search for "show-derivation" in the back-up? E.g. with grep -
rF show-derivation. Maybe there's a leftover from when you used nix
somewhere ...
Greetings,
Maxime.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Mon, 27 Dec 2021 18:02:01 GMT)
Full text and
rfc822 format available.
Message #74 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Created new user. Tested from it. Guix pull works great. Now will move the
stuff.
Thanks a lot.
пн, 27 дек. 2021 г., 18:53 Maxime Devos <maximedevos <at> telenet.be>:
> Hi,
>
> Grigory Shepelev schreef op ma 27-12-2021 om 17:27 [+0300]:
> > After the last letter my laptop's motherboard broke. It was replaced
> > recently but all the data was lost from the SSD due to encryption...
> > TLDR: I made a backup and reinstalled the system.
> > But the problem still persists. How can I safely move root's profile
> > into the user's one? Tinkering with any root-related things is a
> > danger zone for me, so I won't do anything on my own until there are
> > any clear instructions.
>
> You could try deleting /var/guix/profiles/per-user/$USER and running
> "$THE_GUIX_OF_ROOT pull" and "$guix install ...". I don't see why that
> wouldn't work, but I've never tried it and 0 warranty.
>
> > As previously: from root "guix pull" works perfectly. From users it
> > has the same problem (nix-related error).
>
> Could you search for "show-derivation" in the back-up? E.g. with grep -
> rF show-derivation. Maybe there's a leftover from when you used nix
> somewhere ...
>
> Greetings,
> Maxime.
>
>
[Message part 2 (text/html, inline)]
Reply sent
to
Maxime Devos <maximedevos <at> telenet.be>
:
You have taken responsibility.
(Mon, 27 Dec 2021 20:09:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Grigory Shepelev <shegeley <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 27 Dec 2021 20:09:01 GMT)
Full text and
rfc822 format available.
Message #79 received at 52559-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Grigory Shepelev schreef op ma 27-12-2021 om 21:01 [+0300]:
> Created new user. Tested from it. Guix pull works great. Now will
> move the stuff.
> Thanks a lot.
Seems like the issue has been resolved, so closing.
If you want to re-open the bug report, see
<https://debbugs.gnu.org/server-control.html>.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Mon, 17 Jan 2022 19:04:02 GMT)
Full text and
rfc822 format available.
Message #82 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Encountered same problem again on both machines (recently installed guix on
laptop and an old desktop PC of mine).
Seems like the problems arise after home reconfiguration. Still can pull
successfully from the root user.
On "usual user" I have to move all my stuff from home to a separate
directory.
cd ~; mkdir vault; mv * vault; mv .* vault;
Then guix pull works. Of course all the home configuration content is lost.
And I have to reconfigure my home. And then recover all files except for
".guix-home" and etc. from the "vault" dir.
I wondered that happens because of wrong lang/locale settings, So I even
forced them in my user's config:
(simple-service 'some-useful-env-vars-service
home-environment-variables-service-type
`(("LC_ALL" . "en_US.UTF-8")
("LANG" . "en_US.UTF-8")
("GDM_LANG" . "en_US.UTF-8")
("LANGUAGE" . "en_US")
("EDITOR" . "emacs")))
Still the same problem.
пн, 27 дек. 2021 г. в 23:08, Maxime Devos <maximedevos <at> telenet.be>:
> Grigory Shepelev schreef op ma 27-12-2021 om 21:01 [+0300]:
> > Created new user. Tested from it. Guix pull works great. Now will
> > move the stuff.
> > Thanks a lot.
>
> Seems like the issue has been resolved, so closing.
> If you want to re-open the bug report, see
> <https://debbugs.gnu.org/server-control.html>.
>
> Greetings,
> Maxime.
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Mon, 17 Jan 2022 19:04:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Mon, 17 Jan 2022 19:32:02 GMT)
Full text and
rfc822 format available.
Message #88 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Grigory Shepelev schreef op ma 17-01-2022 om 22:02 [+0300]:
> Encountered same problem again on both machines (recently installed
> guix on laptop and an old desktop PC of mine).
See <https://debbugs.gnu.org/server-control.html> for how to re-open.
What is the ‘same problem’ here? IIRC, there were two separate
problems.
Do you mean this one:
Unknown command: nix fish: nix show-derivation "~/.fr-sqOEpp/....
module-import-compiled.drv"
> Seems like the problems arise after home reconfiguration. Still can
> pull successfully from the root user.
I didn't know you were using "guix home", was this also the case in the
original report? This seems potentially relevant information. The
exact contents of the home configuration (with personal information
removed and preferably reduced to a minimal test case) could be useful
to investigate the issue.
Or was ‘same problem’ the following
<https://issues.guix.gnu.org/52559#15>?
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52559
; Package
guix
.
(Mon, 17 Jan 2022 19:38:02 GMT)
Full text and
rfc822 format available.
Message #91 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Same problem is:
Computing Guix derivation for 'x86_64-linux'... |ice-9/read.scm:126:4: In
procedure read-string: gnu/packages/virtualization.scm:643:1: invalid
character in escape sequence: #\return
guix pull: error: You found a bug: the program
'/gnu/store/kms78b5wzmp763lljsazbp8v8a88p1z8-compute-guix-derivation'
failed to compute the derivation for Guix ...
on "guix pull".
All my config are right there:
https://git.sr.ht/~shegeley/config/tree/master/item/home/core.scm
пн, 17 янв. 2022 г. в 22:31, Maxime Devos <maximedevos <at> telenet.be>:
> Grigory Shepelev schreef op ma 17-01-2022 om 22:02 [+0300]:
> > Encountered same problem again on both machines (recently installed
> > guix on laptop and an old desktop PC of mine).
>
> See <https://debbugs.gnu.org/server-control.html> for how to re-open.
>
> What is the ‘same problem’ here? IIRC, there were two separate
> problems.
>
> Do you mean this one:
>
> Unknown command: nix fish: nix show-derivation "~/.fr-sqOEpp/....
> module-import-compiled.drv"
>
> > Seems like the problems arise after home reconfiguration. Still can
> > pull successfully from the root user.
>
> I didn't know you were using "guix home", was this also the case in the
> original report? This seems potentially relevant information. The
> exact contents of the home configuration (with personal information
> removed and preferably reduced to a minimal test case) could be useful
> to investigate the issue.
>
> Or was ‘same problem’ the following
> <https://issues.guix.gnu.org/52559#15>?
>
> Greetings,
> Maxime.
>
[Message part 2 (text/html, inline)]
Did not alter fixed versions and reopened.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 17 Jan 2022 19:45:01 GMT)
Full text and
rfc822 format available.
bug reassigned from package 'guix' to 'guile'.
Request was from
Maxime Devos <maximedevos <at> telenet.be>
to
control <at> debbugs.gnu.org
.
(Mon, 17 Jan 2022 19:45:01 GMT)
Full text and
rfc822 format available.
Changed bug title to 'Guile doesn't like carriage returns after \' from 'guix pull fails with `Unknown command: nix fish: nix show-derivation "~/.fr-sqOEpp/....-module-import-compiled.drv"'
Request was from
Maxime Devos <maximedevos <at> telenet.be>
to
control <at> debbugs.gnu.org
.
(Mon, 17 Jan 2022 19:45:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guile <at> gnu.org
:
bug#52559
; Package
guile
.
(Mon, 17 Jan 2022 19:46:01 GMT)
Full text and
rfc822 format available.
Message #100 received at 52559 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
reopen 52559
reassign 52559 guile
retitle 52559 Guile doesn't like carriage returns after \
thanks
(I thought I renamed it already?)
Grigory Shepelev schreef op ma 17-01-2022 om 22:37 [+0300]:
> Same problem is:
> Computing Guix derivation for 'x86_64-linux'... |ice-
> 9/read.scm:126:4: In procedure read-string:
> gnu/packages/virtualization.scm:643:1: invalid character in escape
> sequence: #\return
> guix pull: error: You found a bug: the program
> '/gnu/store/kms78b5wzmp763lljsazbp8v8a88p1z8-compute-guix-derivation'
> failed to compute the derivation for Guix ...
>
> on "guix pull".
I reassigned the bug to Guile since that is were the issue appears to
be. To Guile people who haven't seen this bug report before, there's
a minimal reproducer at <https://issues.guix.gnu.org/52559#15>.
Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 147 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.