Bug 13220 - Cannot unpack dotnet's source-build repository
Summary: Cannot unpack dotnet's source-build repository
Status: RESOLVED DUPLICATE of bug 13214
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: 2.6.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.6.2
Assignee: Armin Kuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-03-09 15:47 UTC by Kai Ruhnau
Modified: 2019-03-21 14:34 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***