From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 17 01:21:58 2021 Received: (at 52559) by debbugs.gnu.org; 17 Dec 2021 06:21:58 +0000 Received: from localhost ([127.0.0.1]:37676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my6cv-00067U-Kx for submit@debbugs.gnu.org; Fri, 17 Dec 2021 01:21:57 -0500 Received: from mail-lj1-f178.google.com ([209.85.208.178]:41915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my6ct-00067G-Fr for 52559@debbugs.gnu.org; Fri, 17 Dec 2021 01:21:56 -0500 Received: by mail-lj1-f178.google.com with SMTP id bn20so1688850ljb.8 for <52559@debbugs.gnu.org>; Thu, 16 Dec 2021 22:21:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HL0aJfvbP3MlulX0N/ZQi07vJasDK9XWTtyE1LaxpnY=; b=Yq9awsisgoiiH/HqPHT9n91RLQfxpWMc1wT0G80EJ5HtzA73Qq4FZ32gdkpGTclYbF 2fzJIE+97ly79D5uxeIcgB9r9xpnBIMdLbqa7vMU0hkEOmuls4Zy34+P1JVj0XJEnUfu Td6ZMT+v1yYanBYTtSa/l+cPVvHSxq+01Wm24aii5UrP9MTmtbOvSCIFhE9ydSuL4Jve 9+jm+CTIgvhX4ltJsMbXsgucinO7SCNhHuUE/bYDNKTvgTACc3vojPyhDP8moWJNYNBS nd90lMAfmRxk2mJ7zddnKmCWd19mFlDZPY21l3noUE1thPazpevYlGeFHd6Nso2z3Xaa SLLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HL0aJfvbP3MlulX0N/ZQi07vJasDK9XWTtyE1LaxpnY=; b=j5Gio0Ny+dyqgDLwGxK4CfubXx3LC6IvPYcWeXFSeTPSSaNSJaTBs+Hg6N+q+0l06Q YrJKVDUGwsfV0P4jrSu5mMSFMWzHWTkDhZXYQk48XFHbMnFPCukEr5Frk9cNvQISheIs vjpepVhzbLfuFoDOYjvhtJsJ2kripLJR0PaG2AFW9TEKAL2cWNyYR+UCL/CYcoR4HFNC owAOZXOlNmQl0LvJHuIEr7rvfZepE/xcpTkgPBy4NdS7/ieDy066617xVEc0yYvC3VA3 cFDitMrkxjpzFEq4C9JjAMe4/NN8KqKavIVlw+75eIKWkmBd/M1gn9hZyH9BK3hmxxJr 3Fvw== X-Gm-Message-State: AOAM530HhzdhZjY2vR+DdqOBAsRg6xUArHeOgtEPZg0n8Y9NkBF7NTSx qG/XXV8gk41l8OrTypb173ysW7ou7eysiAQDfHs= X-Google-Smtp-Source: ABdhPJz/E/TsWUlhZ5pVR0PslyaxgQNxah4Ne9SwS8Qioz1wnikdVUGBc32gQTD26k+BuA9nrpKQ+HoYVyYzkJOCeIg= X-Received: by 2002:a2e:a370:: with SMTP id i16mr1546102ljn.336.1639722109416; Thu, 16 Dec 2021 22:21:49 -0800 (PST) MIME-Version: 1.0 References: <1c887d3cd8fde540fce68e610301abd3c29e7915.camel@telenet.be> <144f07ae1cd27c52289a8b175160a21816ead8a8.camel@telenet.be> <18b33b7d7333239abf30045910de78e60da57e6e.camel@telenet.be> In-Reply-To: From: Grigory Shepelev Date: Fri, 17 Dec 2021 09:21:13 +0300 Message-ID: Subject: Re: bug#52559: guix pull fails with `Unknown command: nix fish: nix show-derivation "~/.fr-sqOEpp/....-module-import-compiled.drv" To: Maxime Devos Content-Type: multipart/alternative; boundary="000000000000dcb7bf05d3518da7" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 52559 Cc: phil@beadling.co.uk, 52559@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000dcb7bf05d3518da7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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? =D0=BF=D1=82, 17 =D0=B4=D0=B5=D0=BA. 2021 =D0=B3. =D0=B2 08:50, Grigory She= pelev : > Thanks for your research. > Any ideas on how to fix it? I would change the file itself, but /gnu/stor= e > is read-only. > > =D0=BF=D1=82, 17 =D0=B4=D0=B5=D0=BA. 2021 =D0=B3. =D0=B2 00:50, Maxime De= vos : > >> 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@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 >> > --000000000000dcb7bf05d3518da7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Although I was able to "guix pull" with "su= do", as root user normally. As far as I know guix pull updates only pe= r-user when called.
Can I use the result from root somehow?
=D0=BF= =D1=82, 17 =D0=B4=D0=B5=D0=BA. 2021 =D0=B3. =D0=B2 08:50, Grigory Shepelev = <shegeley@gmail.com>:
Than= ks for your research.
Any ideas on how to fix it? I would change the fi= le itself, but /gnu/store is read-only.

=D0=BF=D1=82, 17 =D0=B4=D0=B5=D0= =BA. 2021 =D0=B3. =D0=B2 00:50, Maxime Devos <maximedevos@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-<= br> > module-import/guix/build/utils.scm:822:1: illegal character in escape<= br> > sequence: #\return
>
> Possibly related to https://www.mail-archive.com/help- > guix@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
--000000000000dcb7bf05d3518da7--