hello commuity:
i have a problem :
when i bitbake fsl-image-auto , the bsp yocoto comes out an eorror :
ERROR: ExpansionError during parsing /usr1/bsp1116/fsl-auto-yocto-bsp/sources/meta-alb/recipes-extended/opendds/opendds_git.bb#
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export PATH="/usr1/bsp1116/fsl-auto-yocto-bsp/sources/poky/scripts:/usr1/bsp1116/fsl-auto-yocto-bsp/build_s32g274ardb/tmp/work/aarch64-fsl-linux/opendds/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/aarch64-fsl-linux:/usr1/bsp1116/fsl-auto-yocto-bsp/build_s32g274ardb/tmp/work/aarch64-fsl-linux/opendds/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/usr1/bsp1116/fsl-auto-yocto-bsp/build_s32g274ardb/tmp/work/aarch64-fsl-linux/opendds/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/usr1/bsp1116/fsl-auto-yocto-bsp/build_s32g274ardb/tmp/work/aarch64-fsl-linux/opendds/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/usr1/bsp1116/fsl-auto-yocto-bsp/build_s32g274ardb/tmp/work/aarch64-fsl-linux/opendds/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/usr1/bsp1116/fsl-auto-yocto-bsp/build_s32g274ardb/tmp/work/aarch64-fsl-linux/opendds/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/usr1/bsp1116/fsl-auto-yocto-bsp/sources/poky/bitbake/bin:/usr1/bsp1116/fsl-auto-yocto-bsp/build_s32g274ardb/tmp/hosttools"; export HOME="/home/ci_proj"; git -c core.fsyncobjectfiles=0 ls-remote https://github.com/objectcomputing/OpenDDS.git failed with exit code 128, output:
fatal: unable to access 'https://github.com/objectcomputing/OpenDDS.git/': Operation timed out after 300024 milliseconds with 0 out of 0 bytes received
i have tried that i can clone the git, ihave no idea why it seems i can not access the git url.
the commands i used here:
mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin
Download the Yocto Project Environment into your directory:
-----------------------------------------------------------
$: mkdir fsl-auto-yocto-bsp
$: cd fsl-auto-yocto-bsp
$: repo init -u https://source.codeaurora.org/external/autobsps32/auto_yocto_bsp -b release/bsp30.0
$: repo sync
./sources/meta-alb/scripts/host-prepare.sh
. nxp-setup-alb.sh -m s32g274ardb
bitbake fsl-image-auto
what can i do next?
THANKS for any suggestion!
Well, a connection timeout means problems with connection to the remote repository.
It is not possible to tell why it fails in this way in your case, but it is
not necessarily a problem with the local machine. I have seen
other intermittent problems with github. Not exactly like this,
but similar. What can be suggested here is, try later, try from another machine
or network. Using 'btibake -c fetch opendds' instead of initiating a full target
build can save you time. Once it completes the fetch, it works with the local
copy which should be sufficient proceed with building fsl-image-auto. If the
problem persists, ask your organization network administrator for help in diagnostics.
Best Regards,
Platon