From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6PQmLgstvGG+IgAAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 07:24:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qJLhKQstvGHLBAAA1q6Kng (envelope-from ) for ; Fri, 17 Dec 2021 06:24:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 58996365DB for ; Fri, 17 Dec 2021 07:24:11 +0100 (CET) Received: from localhost ([::1]:50660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my6f3-0000Wh-4o for larch@yhetil.org; Fri, 17 Dec 2021 01:24:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my6d0-00072i-VV for bug-guix@gnu.org; Fri, 17 Dec 2021 01:22:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54363) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my6d0-0008VP-Lg for bug-guix@gnu.org; Fri, 17 Dec 2021 01:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my6d0-00067n-BS for bug-guix@gnu.org; Fri, 17 Dec 2021 01:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52559: guix pull fails with `Unknown command: nix fish: nix show-derivation "~/.fr-sqOEpp/....-module-import-compiled.drv" Resent-From: Grigory Shepelev Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 17 Dec 2021 06:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52559 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Received: via spool by 52559-submit@debbugs.gnu.org id=B52559.163972211823533 (code B ref 52559); Fri, 17 Dec 2021 06:22:02 +0000 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: Content-Type: multipart/alternative; boundary="000000000000dcb7bf05d3518da7" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: phil@beadling.co.uk, 52559@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639722251; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=HL0aJfvbP3MlulX0N/ZQi07vJasDK9XWTtyE1LaxpnY=; b=WzQ0HXnpRyuqtZ5a2ByNnCojrA87sEbtXIJWZG8P74GAlMkzoP9o1xw+7blfaNGtvYHZhQ cUwXkHtqR7bgUGeXKZk2tkCm5oRDJK0r2XVJIRdLJpi0jJ0m/PlKcjTsM+jYgkMQDwAOcw JZZ4GCXo8ze2ep4sO6YparcwvSyaqk6+cxc/pGn3q2kdB4DeoZcf1nS8hixJ8j/nc9Eshi xoXDMEbAB0Rrsgl45TMZQVY3YbH+isYPXIPMeI/Sn/+NSKmDFrnepTivzyu32HdoaW7Z4q xf80mDPSDUGJ+/C/WHgvjF36SVOzks0GNW81j7AgKFa3BM62EUnA2YWQ4NtWYg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639722251; a=rsa-sha256; cv=none; b=YJsqnBLdbVnRNbCvmn/w4Lp+EmMO4Qw2oeVn6NEyqqlLaoMWxxQQDHm2MrOIMGNseqPxP5 qVhqqq0PN50pX26G3AHTVJHcI9wjxdMtr3tUi41BXD2BAKCXUlamkcDt6oFfd5GVLEIECF 2vmUxmyryaqj4ry5vGopewPXUWdb4B8GIv1zaKcV+HinMJA0fLJmnZHDjcpaK0FPO6Ly/D cz2JGnz7n6sxj3v2aIeNctbb/LvIXKQw62J2vjV2anx+DEw0ux19tmKfQehsgy+FWpQBxL MxgMZl2fAF+8tW3VTKqvf+4JWnW+iWhFxXhwVdrS+uioFz7JfVvDr/1hBicMYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Yq9awsis; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Yq9awsis; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 58996365DB X-Spam-Score: -1.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: UIZYGRHUNw7G --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--