From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#36438: git-fetch issue Date: Thu, 18 Jul 2019 08:45:01 +0200 Message-ID: References: <20190629230943.670b5e33@sybil.lepiller.eu> <87y30w8m8k.fsf@gnu.org> 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]:51538) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho0B9-0006X2-IZ for bug-guix@gnu.org; Thu, 18 Jul 2019 02:46:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ho0B5-0005Ov-0y for bug-guix@gnu.org; Thu, 18 Jul 2019 02:46:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44504) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ho0Az-0005Nf-Ui for bug-guix@gnu.org; Thu, 18 Jul 2019 02:46:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ho0Az-0007B0-RW for bug-guix@gnu.org; Thu, 18 Jul 2019 02:46:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y30w8m8k.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 36438@debbugs.gnu.org Le 17 juillet 2019 22:00:43 GMT+02:00, "Ludovic Court=C3=A8s" a =C3=A9crit : >Hello, > >Julien Lepiller skribis: > >> HEAD is now at 2f47e30a1a1 Fixed UnsupportedOperationException when a >> namespace is used in place of an expression=2E warning: failed to >> delete =2Egit/refs/tags/rc1=2E0=2E0-IJ143-5-143=2E???2072: No such file= or >> directory warning: failed to >> delete =2Egit/refs/tags/1=2E0=2E3-eap-13-IJ143-2-143=2E???2167=2E???2: = No such >> file or directory Backtrace: 11 (primitive-load >> "/gnu/store/21xc0h6f0c1zngfgza7526w32i0?") In ice-9/eval=2Escm: 293:34 >10 >> (_ #) In ice-9/boot-9=2Escm: >> 829:9 9 (catch _ _ # >?) >> In =2E/guix/build/git=2Escm: >> 76:6 8 (_) >> In ice-9/ftw=2Escm: >> 452:32 7 (loop _ _ #(64768 20746206 16877 7 999 30000 0 4096 # ?) >?) >> In srfi/srfi-1=2Escm: >> 466:18 6 (fold # >?) >> In unknown file: >> 5 (_ # # >?) >> In ice-9/ftw=2Escm: >> 452:32 4 (loop _ _ #(64768 20746213 16877 5 999 30000 0 4096 # ?) >?) >> In srfi/srfi-1=2Escm: >> 466:18 3 (fold # >?) >> In unknown file: >> 2 (_ # # >?) >> In ice-9/ftw=2Escm: >> 463:35 1 (loop _ _ _ _ _) >> In unknown file: >> 0 (rmdir "=2Egit/refs/tags") >> >> ERROR: In procedure rmdir: >> In procedure rmdir: Directory not empty > >It looks like =2Egit/refs/tags contains a file with a non-ASCII name=2E > >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=2E Thus, =E2=80=98delete-file-recursively=E2=80=99 fails to d= elete the >offending file, and the whole operation fails=2E > >The fix, as usual, would be to set GUIX_LOCPATH there to point to >(file-append glibc-utf8-locale "/lib/locale")=2E > >Is it worth it, though? > >Thanks, >Ludo=E2=80=99=2E If it allows me to build and bootstrap kotlin, I think so :)