GNU bug report logs -
#36438
git-fetch issue
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36438 in the body.
You can then email your comments to 36438 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#36438
; Package
guix
.
(Sat, 29 Jun 2019 21:11:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 29 Jun 2019 21:11:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi, I'm trying to build an old version of kotlin from its git
repository. Unfortunately, there is an issue when checking out the
repository. Here is the log (truncated in the list of branches and
tags):
environment variable `PATH' set to
`/gnu/store/q09sy224qnxrp982z4xfaxi19721mjx8-gzip-1.9/bin:/gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-tar-1.30/bin'
Initialized empty Git repository
in /gnu/store/z4mqw5b9vq2ki0rxaix2wsmhmxq14s6a-kotlin-0.4.424-checkout/.git/
error: Server does not allow request for unadvertised object
2f47e30a1a12347759dbb8707f5137178de65696 Failed to do a shallow fetch;
retrying a full fetch... From https://github.com/JetBrains/kotlin
* [new branch] 1.0.1 -> origin/1.0.1
* [new branch] 1.0.1_/br141 -> origin/1.0.1_/br141
* [new branch] 1.0.1_/br145 -> origin/1.0.1_/br145
...
* [new tag] v1.3.40-eap-32 ->
v1.3.40-eap-32
* [new tag] v1.3.40-eap-67 ->
v1.3.40-eap-67 Note: checking out
'2f47e30a1a12347759dbb8707f5137178de65696'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in
this state without impacting any branches by performing another
checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again.
Example:
git checkout -b <new-branch-name>
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36438
; Package
guix
.
(Wed, 17 Jul 2019 20:01:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 36438 <at> debbugs.gnu.org (full text, mbox):
Hello,
Julien Lepiller <julien <at> 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’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36438
; Package
guix
.
(Thu, 18 Jul 2019 06:46:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 36438 <at> debbugs.gnu.org (full text, mbox):
Le 17 juillet 2019 22:00:43 GMT+02:00, "Ludovic Courtès" <ludo <at> gnu.org> a écrit :
>Hello,
>
>Julien Lepiller <julien <at> 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’.
If it allows me to build and bootstrap kotlin, I think so :)
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36438
; Package
guix
.
(Thu, 18 Jul 2019 11:17:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 36438 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Jul 18, 2019 at 08:45:01AM +0200, Julien Lepiller wrote:
> If it allows me to build and bootstrap kotlin, I think so :)
>
Not related to the bug, but there's a Debian GSoC project to
(apparently) bootstrap kotlin from ources in Debian¹. I thought that
might be of interest to you :)
¹ https://salsa.debian.org/m36-guest/kotlin-1.3.30
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36438
; Package
guix
.
(Thu, 18 Jul 2019 12:49:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 36438 <at> debbugs.gnu.org (full text, mbox):
Le 18 juillet 2019 13:15:56 GMT+02:00, Efraim Flashner <efraim <at> flashner.co.il> a écrit :
>On Thu, Jul 18, 2019 at 08:45:01AM +0200, Julien Lepiller wrote:
>> If it allows me to build and bootstrap kotlin, I think so :)
>>
>
>Not related to the bug, but there's a Debian GSoC project to
>(apparently) bootstrap kotlin from ources in Debian¹. I thought that
>might be of interest to you :)
>
>¹ https://salsa.debian.org/m36-guest/kotlin-1.3.30
I've talked with them, but the project (at jeast for now) is to bootstrap from an older binary version, not entirely from source. I'm still interested by their results :)
Information forwarded
to
bug-guix <at> gnu.org
:
bug#36438
; Package
guix
.
(Thu, 18 Jul 2019 13:48:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 36438 <at> debbugs.gnu.org (full text, mbox):
Julien Lepiller <julien <at> lepiller.eu> skribis:
> Le 17 juillet 2019 22:00:43 GMT+02:00, "Ludovic Courtès" <ludo <at> gnu.org> a écrit :
>>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’.
>
> If it allows me to build and bootstrap kotlin, I think so :)
Fair enough. Go for it!
Ludo’.
Reply sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
You have taken responsibility.
(Fri, 19 Nov 2021 15:21:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Julien Lepiller <julien <at> lepiller.eu>
:
bug acknowledged by developer.
(Fri, 19 Nov 2021 15:21:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 36438-close <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I don't have this issue anymore, so closing. Thanks!
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 18 Dec 2021 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 91 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.