I'm compiling julia-9999 about every second day. Since about ~1 week, it fails to update the libuv git repo in /usr/portage/distfiles/git3-src/JuliaLang_libuv.git/. Purging all JuliaLang* repos made the build work again but this has to be done before each build manually. Reverting to http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/git-r3.eclass?revision=1.26 fixes this problem. Attached a build.log with the different git-r3 versions
Created attachment 371650 [details] build.log with git-r3 in rev 1.26 build.log with git-r3 in rev 1.26 (but abort during build as only fetch is relevant)
Created attachment 371652 [details] build.log with git-r3 in rev 1.32
Comment on attachment 371652 [details] build.log with git-r3 in rev 1.32 build-git-r3-1.32.log is actually done with 1.38
Bisected the problem: Introduced with revision 1.32, working with revision 1.31
Excuse me, but how are go-fuse logs related? I took a look at that package and it seems that go is somehow broken there and fails to rebuild it when it's installed. I will now try to reproduce julia.
Created attachment 371682 [details] build.log with git-r3 in rev 1.32 Sorry for the go-fuse log, that was for another bug report. Now attached the correct log.
+ 03 Mar 2014; Michał Górny <mgorny@gentoo.org> git-r3.eclass: + Force EGIT_CLONE_TYPE=mirror for submodules since they can reference commits + in any branch without explicitly naming the branch, bug #503332. Long story short, julia wanted a commit that wasn't on libuv's master, and gitmodules does not specify the branch. I've changed the submodule code to always fetch all commits following what git does.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=142a99106adf15e03c3fc45a490730bdb7b56980 commit 142a99106adf15e03c3fc45a490730bdb7b56980 Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2023-11-22 11:40:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-20 13:41:02 +0000 git-r3.eclass: fetch remote_ref in the mirror clone type * Handles scenarios where commits in submodules are orphaned. Closes: https://bugs.gentoo.org/917746 Bug: https://bugs.gentoo.org/503332 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/33935 Signed-off-by: Sam James <sam@gentoo.org> eclass/git-r3.eclass | 2 ++ 1 file changed, 2 insertions(+)