Received: (at 77214) by debbugs.gnu.org; 11 Apr 2025 17:15:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 11 13:15:19 2025 Received: from localhost ([127.0.0.1]:51598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1u3HyJ-0003bK-6U for submit <at> debbugs.gnu.org; Fri, 11 Apr 2025 13:15:19 -0400 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:45260) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <zimon.toutoune@HIDDEN>) id 1u3Hxw-0003Tm-OO for 77214 <at> debbugs.gnu.org; Fri, 11 Apr 2025 13:14:58 -0400 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-43cfebc343dso17284805e9.2 for <77214 <at> debbugs.gnu.org>; Fri, 11 Apr 2025 10:14:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744391690; x=1744996490; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=8b6LgCfgrjRK1h8fmL480TCvX87skYwWqlF2nb+yHDg=; b=Iw3Jh/NYxL3dilvHqmF7xds4yD3A8jP+KfyLgyvHMDKzYJJGbaMz9Tkn53f1Ki8s0K 1v3WXr/4ZRHLw6sF44XDeajwDQOU7JBJ7kK3CT8wMq4fKhu/VzJm97wr0MbFJpXooOC3 mBJbEDBkLPpVW3oB7ptnZ1yvhA3wRr7J1yqtZzm9ZZZNv9K5xRdiYIpMWZ9jXTpW+6sa QrY7Qz4FnfCoZFTzlmHiU3Sn4oFGnVhoaVmQsX4U6M9fzQvuNhb6ei784XGiljZBNvvC Zwx3INKttbHmqWIcUHP4qoToDj2zldQd1R6Dd1EaQF5/E2UlUsZtPOYwMcMAffgmh03y KFXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744391690; x=1744996490; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=8b6LgCfgrjRK1h8fmL480TCvX87skYwWqlF2nb+yHDg=; b=xAxrlfA6FgKP8/qJKbjG+Z6bvbcFGG3oWKNMH5E/avA6CSW4v1ULEqXzRd4mMCq44F 6hbtQzYxW4CbZZ2xN8AhfE+dQGwG6MREwQapiDvf97Y5zlLhG2Hfwzb9Q6OMNsxgpFcS 0Hx3HptT+CZErM9EV1N2MX099yQyopLIXcPv3UOehqrNTTd7SsxZ3lAaNzjbBtJjw7GH Us9w5lhwgByoE5Yecd9uFQG7VvarRXb8njIJgVe5j6GnuASVshEtnmWti/IHZK6EqB4U OTnzYNCk10g6gz0ixY8uzLBpTVi/8JlK8+e/jWlv4HG6WwOFKF5hFya16M9iFSpn44mh U49A== X-Forwarded-Encrypted: i=1; AJvYcCUzH37v/FwGEf7wOLU8LJ3xH15OttGzbz3W6IXyc4lbwbG4r516jHoHXlZ/AHBPItpeKkuY+Q==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzKMPoTiz4tN4xaUVoHpwmSTTFOjnlF6v4y2KDTRWUZQfGEefBm 4iUwpGVC66LT7kwORWDKPipsygQU7xofBlBsyui8r1sQw1sktVwEv6PgWQ== X-Gm-Gg: ASbGncvsGB9fP+UN14HzNO2gfhfXv1Q0JGjnFfY4fUgtMr/Vm0b2ve3ObhKlnJYkqlJ CJoP2rF7ExXQJmFBbu2v+E3W1m6b26dXZa38goCgUj5i/56nAQ23GT+/q/qOHt6vUqupy+wHnhK ZfGh3YaJ5FFZZ7pjh/0bNHULP2v93YmNTMYrgJKNx51vrkSP5MUj3SD5uTBkecLb6IMDAedLVbe OiKMFYkZ4NTpHsXLc5SIkH4Iye0QUV+pKw/kGnUdRDSEQH4U5hN0JSTfFcNBoWoT1PvIGiL10zL 26GJO6Jhb7Bzp/fAaQIm90T9lGecweaLG+3P6OhDa1NCCQj0YcojAA2t6i0x/r363Nqy/g2LSQT Jl9656f5JM+xlhM6FJF52JNVAjA== X-Google-Smtp-Source: AGHT+IHc05PxjQUvcBLmxNTZ2nBiiRPqBiMTSxUTjyaophEkoq4e7MwGsaKHf3hrCvPDizEETqz0BQ== X-Received: by 2002:a05:600c:3490:b0:43d:fa58:81d3 with SMTP id 5b1f17b1804b1-43f3a9aeefbmr30796595e9.32.1744391690452; Fri, 11 Apr 2025 10:14:50 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-43.net.univ-paris-diderot.fr. [194.254.61.43]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39eaf445708sm2616912f8f.96.2025.04.11.10.14.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Apr 2025 10:14:50 -0700 (PDT) From: Simon Tournier <zimon.toutoune@HIDDEN> To: Jodi Jodingtonstinski <jodijodingtondev@HIDDEN>, 77214 <at> debbugs.gnu.org Subject: Re: bug#77214: `guix pull` fails with `autocrlf=true` in git config In-Reply-To: <CA+dCcvwBbsravh0rMRiqBPbv9cMobx23fMjRwZvsr3Cr3mU_Qg@HIDDEN> References: <CA+dCcvwBbsravh0rMRiqBPbv9cMobx23fMjRwZvsr3Cr3mU_Qg@HIDDEN> Date: Fri, 11 Apr 2025 19:14:17 +0200 Message-ID: <87mscmboye.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77214 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, On Sun, 23 Mar 2025 at 12:36, Jodi Jodingtonstinski <jodijodingtondev@gmail= .com> wrote: > Ideally `guix pull` would ignore this setting (and possibly all user git > settings?) if it does not work with it. > This causes errors such as: > `gnu/packages/music.scm:2732:1: invalid character in escape sequence: > #\return` > and can be resolved by disabling autocrlf and deleting > `~/.cache/guix/checkouts` (thanks Rutherther) For instance, using 1d846b89ca3: --8<---------------cut here---------------start------------->8--- $ cat -n gnu/packages/music.scm | grep -C2 2732 2730 (add-after 'unpack 'patch-paths 2731 (lambda* (#:key inputs #:allow-other-keys) 2732 (substitute* "deps/juce/extras/Projucer/Source/Project= Saving/\ 2733 jucer_ProjectExport_CodeBlocks.h" 2734 (("/usr/include/freetype2") --8<---------------cut here---------------end--------------->8--- and I do not spot where the problem could come from. But indeed, --8<---------------cut here---------------start------------->8--- $ git config --global core.autocrlf true $ guix pull --commit=3D1d846b8 -p /tmp/new Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... Building from this channel: guix https://git.savannah.gnu.org/git/guix.git 1d846b8 substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... = 0.0%guix substitute: warning: bordeaux.guix.gnu.org: connection failed: Con= nection refused substitute:=20 substitute: updating substitutes from 'https://guix.bordeaux.inria.fr'... 1= 00.0% building /gnu/store/rc93f52y5l9v72l23cxzagq59mhhkc81-compute-guix-derivatio= n.drv... Computing Guix derivation for 'x86_64-linux'... \ice-9/read.scm:126:4: In p= rocedure read-string: gnu/packages/terminals.scm:601:1: invalid character in escape sequence: #\r= eturn guix pull: error: You found a bug: the program '/gnu/store/08c4v80na6c6cpd3= k159k0gfwf7ad1ap-compute-guix-derivation' failed to compute the derivation for Guix (version: "1d846b89ca3100fb1c6387= dfea3e052e9495cf55"; system: "x86_64-linux"; host version: "76e07a6f5c07f2c904ba5c1ade84feac88200ade"; pull-version: 1). Please report the COMPLETE output above by email to <bug-guix@HIDDEN>. --8<---------------cut here---------------end--------------->8--- And for me, the escape issue is elsewhere: --8<---------------cut here---------------start------------->8--- $ cat -n gnu/packages/terminals.scm | grep -C2 ' 601' 599 "/etc/udev/rules.d/70-pcspkr-b= eep.rules") 600 (lambda _ 601 (display (string-append "\ 602 ACTION=3D=3D\"add\", SUBSYSTEM=3D=3D\"input\", ATTRS{name}=3D=3D\"PC= Speaker\", " 603 "ENV{DEVNAME}!=3D\"\"= , " --8<---------------cut here---------------end--------------->8--- Well, interesting! :-) BTW, I agree with: > Ideally `guix pull` would ignore this setting (and possibly all u= ser git > settings?) and I=E2=80=99m even surprised that ~/.gitconfig is read by =E2=80=9Cguix p= ull=E2=80=9D. Ah?! I do not know which libgit2 procedure via guile-git reads ~/.gitconfig; somehow: openable-repository? relies on git_repository_open_ext -> obtain_config_and_set_oid_type -> git_repository_config_snapshot -> git_repository_config__weakptr and there I guess some GIT_CONFIG_FILENAME_* variables is read. Well, that=E2=80=99s annoying. I hope I=E2=80=99m missing something. Cheers, simon
bug-guix@HIDDEN
:bug#77214
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 23 Mar 2025 17:45:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 23 13:45:54 2025 Received: from localhost ([127.0.0.1]:52479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1twPOU-0006Sl-44 for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 13:45:54 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52256) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <jodijodingtondev@HIDDEN>) id 1twPFe-0005y0-Fm for submit <at> debbugs.gnu.org; Sun, 23 Mar 2025 13:36:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jodijodingtondev@HIDDEN>) id 1twPFY-0005hk-U7 for bug-guix@HIDDEN; Sun, 23 Mar 2025 13:36:40 -0400 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <jodijodingtondev@HIDDEN>) id 1twPFX-0002mv-8h for bug-guix@HIDDEN; Sun, 23 Mar 2025 13:36:40 -0400 Received: by mail-pl1-x643.google.com with SMTP id d9443c01a7336-225477548e1so63219115ad.0 for <bug-guix@HIDDEN>; Sun, 23 Mar 2025 10:36:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1742751397; x=1743356197; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=yJJ18rc5Eo+NTIgaNe9uYpPpzo6J8/EG3/A3Yc1XQ3g=; b=gWMbYriWXY9uAXbZ2W+zdRxL/cdk7Xpqz6Q9PmVZ5Pkh2w10Hln/qpPRVQmB7MwNOP nfhyKM4gHLZxo98mKfD9mRLSMnigDRHDhA00YQJUEecQaiuwevR8cUTPb+eg7c/jGs04 myXu95jdyY7OEIuTsiEPpb+Ib1L2nI4UxEgzxUQqzbhNy0daePkTYP7I0Dvga7B0WWaJ EoEFLAg4/k3PM4MgTwOmSyTPg0cwWePaz60hx+XdbAf+laLduWW+QaBH3Y+ZSdGz88ka G/WkSD7jBgwOkXhOxAh47rdP2MvNA95dOx3kVd9Gno7goDlR0u4NnmMTSW/IkF2uem1Y vwbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742751397; x=1743356197; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yJJ18rc5Eo+NTIgaNe9uYpPpzo6J8/EG3/A3Yc1XQ3g=; b=FKgRZpuma1LaWSDzaSS/J+1KNMdm6kjzkpajMxrqEpF3OAEHIVWODYKQ0KGjQ11SLI PKkFc3yrdmCWMJnqkGfZKnGPawDJWRJX+UmaWzjJMgcD9rxKVSsYnSjp5R9jya+4GdH5 GYu67wWhuwf5KQiR3bbV0xXk5bKdlw7xjYdvN8rGUAEtowhIb1ViQv70nJuqLXzgxyIv +d1sUKi8EdnK6Xl6jYYfhB7AqzSbz5EhfUPNYdCZmr1jy683mbgztzS2d0RE/hEodZUJ 9caCOWK3gUznQ/BbuPqwR78bCcmIw6TNkOBJG/Da1CAmfq090Ej06SXjkwrVCmOK01Ga IsOg== X-Gm-Message-State: AOJu0Yx4j5RNNkpNudg2hhOW/IVAm+aYT8ATU7y0i9LUj+Tl9mbPHywM RBF5BnlL50r2hPekm7uF75yUt+SiH/7a3UwZSAvuYTr+PEJXRpicJ6pXGijKSM86CclYEi0AE87 /y1y6dTsCwmcj2IaPGkpQX0LhKaWkkrK4rsKY0g== X-Gm-Gg: ASbGncta/G/Aa9yp9Lt0qFI6UCwKuZ+wUnCGq5yak1UhyPVyPqjOSuXpB9d8utTffZB sPySKY6JG53viTH4Zrsk0rUxKzfTvvgwAeeLIl/gJfpEz+XAC8Ij9iRwakN1XfTp4YmgZp4Npc6 Ou7WbplkImLSDSLpDiwMRzjA5BBDEIL4xhCBGcYJWwH1fC9gcuo+Abs9vWOTw= X-Google-Smtp-Source: AGHT+IEUzZnU3t0NqehVNWUOyyFjoA+Z1D2doX3wF38BXw7Id0Sqy5GdGo/8L4eLX1VDOzWgD4KPFYv+DdhFoCKfLqo= X-Received: by 2002:a17:903:98d:b0:220:e362:9b1a with SMTP id d9443c01a7336-22780d83b3emr201644825ad.25.1742751396616; Sun, 23 Mar 2025 10:36:36 -0700 (PDT) MIME-Version: 1.0 From: Jodi Jodingtonstinski <jodijodingtondev@HIDDEN> Date: Sun, 23 Mar 2025 12:36:25 -0500 X-Gm-Features: AQ5f1JqO3JRr4ObX5pH2iDN32nG_FSRQzvphH_rlABBFojXJFhE15BL3Ckau1HM Message-ID: <CA+dCcvwBbsravh0rMRiqBPbv9cMobx23fMjRwZvsr3Cr3mU_Qg@HIDDEN> Subject: `guix pull` fails with `autocrlf=true` in git config To: bug-guix@HIDDEN Content-Type: multipart/alternative; boundary="000000000000ed602b063105ede8" Received-SPF: pass client-ip=2607:f8b0:4864:20::643; envelope-from=jodijodingtondev@HIDDEN; helo=mail-pl1-x643.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 23 Mar 2025 13:45:52 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --000000000000ed602b063105ede8 Content-Type: text/plain; charset="UTF-8" Ideally `guix pull` would ignore this setting (and possibly all user git settings?) if it does not work with it. This causes errors such as: `gnu/packages/music.scm:2732:1: invalid character in escape sequence: #\return` and can be resolved by disabling autocrlf and deleting `~/.cache/guix/checkouts` (thanks Rutherther) --000000000000ed602b063105ede8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Ideally `guix pull` would ignore this setting (and possibl= y all user=C2=A0git settings?) if it does not work with it.<div>=C2=A0This = causes errors such as:</div><div>=C2=A0<span style=3D"background-color:var(= --darkreader-background-ffffff,#181a1b);color:var(--darkreader-text-222222,= #d3cfc9)">`gnu/packages/music.scm:2732:1: invalid character in escape seque= nce: #\return`</span><div><div>and can be resolved by disabling autocrlf an= d deleting `~/.cache/guix/checkouts` (thanks Rutherther)</div></div></div><= /div> --000000000000ed602b063105ede8--
Jodi Jodingtonstinski <jodijodingtondev@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#77214
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.