Wind River Support Network

HomeDefectsLIN7-4626
Fixed

LIN7-4626 : buildtools-standalone: git-submodule is missing

Created: Aug 27, 2015    Updated: Sep 8, 2018
Resolved Date: Aug 28, 2015
Found In Version: 7.0.0.8
Fix Version: 7.0.0.9
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config

Description

Problem description: 
When having a recipe that has a SRC_URI including gitsm:// to fetch a git repo with submodules we are getting an error during unpack stage. 

Scenario: 
1. Set up a git repo with a submodule 
2. Create a recipe to download and build that repo 

Reproduced on: WR Linux 700.8 
BSP: fsl-t4xxx 

Analysis: 
Error log: 
| DEBUG: Python function base_do_unpack finished 
| DEBUG: Python function do_unpack finished 
| ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 1, output: 
| git: 'submodule' is not a git command. See 'git --help'. 

The installed binary in buildtools does not seem to support git submodule command: 
$ bitbake_build/buildtools/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/git submodule 
git: 'submodule' is not a git command. See 'git --help'. 

If configuring the project with "--enable-buildtools=auto" then it works fine. 

Workaround

If configuring the project with "--enable-buildtools=auto" then it works fine. 

Other Downloads


Live chat
Online