Fixed
Created: Oct 30, 2017
Updated: May 7, 2019
Resolved Date: Dec 3, 2017
Found In Version: 10.17.41.1
Fix Version: 10.17.41.2
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Build & Config
$...wrlinux-x/setup.sh --machines=qemux86-64 --kernel=standard --dl-layers
$source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
$ bitbake wrlinux-image-glibc-std
$ bitbake wrlinux-image-glibc-std -c populate_sdk_ext
$ bitbake wrlinux-image-glibc-std -c testsdk
Preparation failed for sdk update with devtool:
File "/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/bin/buildtools.buildtools-standalone-20171016/sysroots/x86_64-wrlinuxsdk-linux/usr/lib/python3.5/subprocess.py", line 398, in run
output=stdout, stderr=stderr)
oeqa.utils.subprocesstweak.OETestCalledProcessError: Command '. /buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/environment-setup-core2-64-wrs-linux > /dev/null; devtool sdk-update "http://127.0.0.1:55662";' returned non-zero exit status 255
Standard Output: NOTE: Starting bitbake server...
NOTE: Starting bitbake server...
Cloning into 'layers'...
NOTE: Preparing build system... (This may take some time.)
ERROR: Preparation failed:
Processing Wind River templates files...
Loading cache...done.
Loaded 3326 entries from dependency cache.
Parsing recipes...ERROR: ExpansionError during parsing /buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/layers/oe-core/meta/recipes-kernel/linux/linux-yocto_4.12.bb
Traceback (most recent call last):
File "/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/layers/oe-core/bitbake/lib/bb/data_smart.py", line 412, in DataSmart.expandWithRefs(s='${LINUX_VERSION}+git${SRCPV}', varname='PV'):
try:
> s = __expand_var_regexp__.sub(varparse.var_sub, s)
try:
File "/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/layers/oe-core/bitbake/lib/bb/data_smart.py", line 111, in VariableParse.var_sub(match=<_sre.SRE_Match object; span=(20, 28), match='${SRCPV}'>):
else:
> var = self.d.getVarFlag(key, "_content")
self.references.add(key)
File "/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/layers/oe-core/bitbake/lib/bb/data_smart.py", line 794, in DataSmart.getVarFlag(var='SRCPV', flag='_content', expand=True, noweakdefault=False, parsing=False):
cachename = var + "[" + flag + "]"
> value = self.expand(value, cachename)
File "/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/layers/oe-core/bitbake/lib/bb/data_smart.py", line 436, in DataSmart.expand(s='${@bb.fetch2.get_srcrev(d)}', varname='SRCPV'):
def expand(self, s, varname = None):
> return self.expandWithRefs(s, varname).value
File "/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/layers/oe-core/bitbake/lib/bb/data_smart.py", line 426, in DataSmart.expandWithRefs(s='${@bb.fetch2.get_srcrev(d)}', varname='SRCPV'):
except Exception as exc:
> raise ExpansionError(varname, s, exc) from exc
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export GIT_SSL_CAINFO="/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/buildtools/sysroots/x86_64-wrlinuxsdk-linux/etc/ssl/certs/ca-certificates.crt"; export PATH="/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/tmp/sysroots-uninative/x86_64-linux/usr/bin:/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/layers/oe-core/scripts:/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/tmp/work/qemux86_64-wrs-linux/linux-yocto/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/bin/x86_64-wrs-linux:/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/tmp/work/qemux86_64-wrs-linux/linux-yocto/fetcheravoidrecurse-r0/recipe-sysroot/usr/bin/crossscripts:/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/tmp/work/qemux86_64-wrs-linux/linux-yocto/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/sbin:/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/tmp/work/qemux86_64-wrs-linux/linux-yocto/fetcheravoidrecurse-r0/recipe-sysroot-native/usr/bin:/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/tmp/work/qemux86_64-wrs-linux/linux-yocto/fetcheravoidrecurse-r0/recipe-sysroot-native/sbin:/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/tmp/work/qemux86_64-wrs-linux/linux-yocto/fetcheravoidrecurse-r0/recipe-sysroot-native/bin:/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standar d-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/layers/oe-core/bitbake/bin:/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/tmp/hosttools:/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/layers/local/scripts"; export HOME="/folk/wr-taf"; git -c core.fsyncobjectfiles=0 ls-remote file:///buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/layers/wrlinux/git/linux-yocto-4.12.git failed with exit code 128, output:
fatal: '/buildarea1/lwang4/tools2/10292259-eSDK/qemux86-64-standard-glibc-std-OE/build/tmp-glibc/work/qemux86_64-wrs-linux/wrlinux-image-glibc-std/1.0-r5/testsdkext/layers/wrlinux/git/linux-yocto-4.12.git' does not appear to be a git repository
fatal: Could not read from remote repository.
$...wrlinux-x/setup.sh --machines=qemux86-64 --kernel=standard --dl-layers
$source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
$ bitbake wrlinux-image-glibc-std
$ bitbake wrlinux-image-glibc-std -c populate_sdk_ext
$ bitbake wrlinux-image-glibc-std -c testsdkext