Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 705114

Summary: git-r3.eclass - recursive cloning does not work
Product: Gentoo Linux Reporter: Gabriel David <myownpersonalaccount>
Component: EclassesAssignee: Michał Górny <mgorny>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
citra-9999.ebuild

Description Gabriel David 2020-01-10 15:13:09 UTC
Created attachment 602920 [details]
build.log

So yesterday I was working on a local ebuild for a program I needed. However, I quickly noticed that something happened while git was fetching the project. I'll quickly quote the build.log:

> * Checking out https://github.com/fmtlib/fmt.git to /var/tmp/portage/games-emulation/citra-9999/work/citra-9999/externals/dynarmic/externals/fmt ...
>git checkout --quiet 97ea04e828d33c512eb0956ae014540a266107b9
>fatal: Cannot switch branch to a non-commit '97ea04e828d33c512eb0956ae014540a266107b9'

That is a submodule of the project I'm merging. However, the commit it tries to download doesn't exists(which explains why it fails)!

I know this isn't an upstream issue since manually git cloning works.

I'll provide any other information needed.
Comment 1 Gabriel David 2020-01-10 15:15:00 UTC
Created attachment 602922 [details]
citra-9999.ebuild
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-01-10 17:49:13 UTC
I think it's getting confused by fmt being used twice.  I'll try to debug it.