Bug 13220

Summary: Cannot unpack dotnet's source-build repository
Product: [Build System, Metadata & Runtime] BitBake Reporter: Kai Ruhnau <kai.ruhnau>
Component: bitbakeAssignee: Armin Kuster <akuster>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Medium CC: poky.bs.watcher, poky.watcher
Version: 2.6.2   
Target Milestone: 2.6.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Kai Ruhnau 2019-03-09 15:47:36 UTC
I have a recipe with

SRCREV="f063068ec3df0b5d1ad93f79266e548f315bb1b3"
SRC_URI = "gitsm://github.com/dotnet/source-build;branch=release/2.2"

and during do_unpack, it fails with

[...]
warning: core.bare and core.worktree do not make sense
fatal: unable to set up work tree using invalid config
Unable to checkout '8629bf5014f3cbfaf3d72e9dda6f7c8f91209f81' in submodule path 'src/linker/cecil'
Failed to recurse into submodule path 'src/linker'

Manually running
git clone -b release/2.2 git://github.com/dotnet/source-build
followed by
git submodule update --init --recursive
correctly checks out the expected source code tree.
Comment 1 Armin Kuster 2019-03-21 14:34:32 UTC
already have a bug opened for this.

*** This bug has been marked as a duplicate of bug 13214 ***