unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Julien Lepiller <julien@lepiller.eu>
Cc: 36438@debbugs.gnu.org
Subject: bug#36438: git-fetch issue
Date: Wed, 17 Jul 2019 22:00:43 +0200	[thread overview]
Message-ID: <87y30w8m8k.fsf@gnu.org> (raw)
In-Reply-To: <20190629230943.670b5e33@sybil.lepiller.eu> (Julien Lepiller's message of "Sat, 29 Jun 2019 23:09:43 +0200")

Hello,

Julien Lepiller <julien@lepiller.eu> 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
> (_ #<directory (guile-user) 5ce140>) In ice-9/boot-9.scm:
>     829:9  9 (catch _ _ #<procedure 87d360 at ./guix/build/git.scm:?> ?)
> 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 #<procedure 8812e0 at ice-9/ftw.scm:452:38 (subd?> ?)
> In unknown file:
>            5 (_ #<procedure 6da7b0 at ice-9/ftw.scm:454:44 ()> #<pr?> ?)
> 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 #<procedure 528f60 at ice-9/ftw.scm:452:38 (subd?> ?)
> In unknown file:
>            2 (_ #<procedure 6da780 at ice-9/ftw.scm:454:44 ()> #<pr?> ?)
> 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 ‘git-fetch’ derivation, in (guix git-download), runs in the C
locale, so Guile ends up substituting question marks to non-ASCII
characters.  Thus, ‘delete-file-recursively’ fails to delete 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’.

  reply	other threads:[~2019-07-17 20:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-29 21:09 bug#36438: git-fetch issue Julien Lepiller
2019-07-17 20:00 ` Ludovic Courtès [this message]
2019-07-18  6:45   ` Julien Lepiller
2019-07-18 11:15     ` Efraim Flashner
2019-07-18 12:47       ` Julien Lepiller
2019-07-18 13:47     ` Ludovic Courtès
2021-11-19 15:20 ` Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y30w8m8k.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=36438@debbugs.gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).