Today I started adding jobs to jenkins that build software components using the cross compilation toolchain from a baked B2Qt SDK for TX2.
At the beginning of the script I source . /opt/sdk/environment-setup-aarch64-poky-linux as I should.
Sourcing this file from PC terminal only only shows warnings. But jenkins check every shell instructions return value to detect is the build is successful.
should be changed to
otherwise build fail with error:
export OE_QMAKE_CC=aarch64-poky-linux-gcc --sysroot=/opt/sdk/sysroots/aarch64-poky-linux
/tmp/jenkins6449859542230643733.sh: 5: export: --sysroot: bad variable name
Also when executing that script these warnings show up:
It turns out that QT_INSTALL_LIBS and QT_INSTALL_HEADERS are not defined. I'm not aware of the impact of these warning at this stage
|For Gerrit Dashboard: QTBUG-68163|
|228690,2||nativesdk-qtbase: add quotes to CC and CXX in environment file||5.11||yocto/meta-qt5||Status: MERGED||+2||0|