From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#36438: git-fetch issue Date: Wed, 17 Jul 2019 22:00:43 +0200 Message-ID: <87y30w8m8k.fsf@gnu.org> References: <20190629230943.670b5e33@sybil.lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56932) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnq6o-0001js-VL for bug-guix@gnu.org; Wed, 17 Jul 2019 16:01:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnq6n-0004fn-Tg for bug-guix@gnu.org; Wed, 17 Jul 2019 16:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44245) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnq6n-0004fh-Pi for bug-guix@gnu.org; Wed, 17 Jul 2019 16:01:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnq6n-0006E5-No for bug-guix@gnu.org; Wed, 17 Jul 2019 16:01:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20190629230943.670b5e33@sybil.lepiller.eu> (Julien Lepiller's message of "Sat, 29 Jun 2019 23:09:43 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Julien Lepiller Cc: 36438@debbugs.gnu.org Hello, Julien Lepiller skribis: > HEAD is now at 2f47e30a1a1 Fixed UnsupportedOperationException when a > namespace is used in place of an expression. warning: failed to > delete .git/refs/tags/rc1.0.0-IJ143-5-143.???2072: No such file or > directory warning: failed to > delete .git/refs/tags/1.0.3-eap-13-IJ143-2-143.???2167.???2: No such > file or directory Backtrace: 11 (primitive-load > "/gnu/store/21xc0h6f0c1zngfgza7526w32i0?") In ice-9/eval.scm: 293:34 10 > (_ #) In ice-9/boot-9.scm: > 829:9 9 (catch _ _ # ?) > In ./guix/build/git.scm: > 76:6 8 (_) > In ice-9/ftw.scm: > 452:32 7 (loop _ _ #(64768 20746206 16877 7 999 30000 0 4096 # ?) ?) > In srfi/srfi-1.scm: > 466:18 6 (fold # ?) > In unknown file: > 5 (_ # # ?) > In ice-9/ftw.scm: > 452:32 4 (loop _ _ #(64768 20746213 16877 5 999 30000 0 4096 # ?) ?) > In srfi/srfi-1.scm: > 466:18 3 (fold # ?) > In unknown file: > 2 (_ # # ?) > In ice-9/ftw.scm: > 463:35 1 (loop _ _ _ _ _) > In unknown file: > 0 (rmdir ".git/refs/tags") > > ERROR: In procedure rmdir: > In procedure rmdir: Directory not empty It looks like .git/refs/tags contains a file with a non-ASCII name. The =E2=80=98git-fetch=E2=80=99 derivation, in (guix git-download), runs in= the C locale, so Guile ends up substituting question marks to non-ASCII characters. Thus, =E2=80=98delete-file-recursively=E2=80=99 fails to delet= e the offending file, and the whole operation fails. The fix, as usual, would be to set GUIX_LOCPATH there to point to (file-append glibc-utf8-locale "/lib/locale"). Is it worth it, though? Thanks, Ludo=E2=80=99.