Describe the bug
With Styhead, the QA warnings are now treated as errors.
Building the SDK fails with a QA error when packaging gcc-for-nvcc-cross-canadian-aarch64:
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/bin/aarch64-lms-linux/aarch64-lms-linux-lto-dump-10.3.0 in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/bin/aarch64-lms-linux/aarch64-lms-linux-g++-10.3.0 in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/bin/aarch64-lms-linux/aarch64-lms-linux-c++-10.3.0 in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/bin/aarch64-lms-linux/aarch64-lms-linux-cpp-10.3.0 in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/lib/aarch64-lms-linux/gcc/aarch64-lms-linux/10.3.0/include-fixed/pthread.h in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/lib/aarch64-lms-linux/gcc/aarch64-lms-linux/10.3.0/include-fixed/bits/statx.h in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/lib/aarch64-lms-linux/gcc/aarch64-lms-linux/10.3.0/include-fixed/bits/unistd_ext.h in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/lib/aarch64-lms-linux/gcc/aarch64-lms-linux/10.3.0/include-fixed/sys/rseq.h in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/lib/aarch64-lms-linux/gcc/aarch64-lms-linux/10.3.0/include-fixed/sys/mount.h in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/lib/aarch64-lms-linux/gcc/aarch64-lms-linux/10.3.0/plugin/include/configargs.h in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/libexec/aarch64-lms-linux/gcc/aarch64-lms-linux/10.3.0/cc1plus in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/libexec/aarch64-lms-linux/gcc/aarch64-lms-linux/10.3.0/cc1 in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-oesdk-linux/usr/libexec/aarch64-lms-linux/gcc/aarch64-lms-linux/10.3.0/lto1 in package gcc-for-nvcc-cross-canadian-aarch64 contains reference to TMPDIR [buildpaths]
ERROR: gcc-for-nvcc-cross-canadian-aarch64-10.3.0-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/lmsjk/lms-yocto/project-nvidia-base/build/tmp/work/x86_64-nativesdk-oesdk-linux/gcc-for-nvcc-cross-canadian-aarch64/10.3.0/temp/log.do_package_qa.1185
ERROR: Task (/home/lmsjk/lms-yocto/project-nvidia-base/build/../layers/meta-tegra/recipes-devtools/gcc-for-nvcc/gcc-for-nvcc-cross-canadian_10.3.bb:do_package_qa) failed with exit code '1'
To Reproduce
Steps to reproduce the behavior:
Build meta-tegra branch 'styhead' with MACHINE based on 'jetson-agx-orin-devkit'
Build with command 'bitbake gcc-for-nvcc-cross-canadian-aarch64'
Describe the bug With Styhead, the QA warnings are now treated as errors. Building the SDK fails with a QA error when packaging gcc-for-nvcc-cross-canadian-aarch64:
To Reproduce Steps to reproduce the behavior:
meta-tegra
branch 'styhead' withMACHINE
based on 'jetson-agx-orin-devkit'