Closed paroque28 closed 4 years ago
Add all libvisionworks packages to the same problem
ERROR: libvisionworks-1.6.0.500n-r0 do_package_qa: QA Issue: libvisionworks rdepends on cuda-cudart-dev [dev-deps]
ERROR: libvisionworks-1.6.0.500n-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: Logfile of failure stored in: <project>/build/tmp-glibc/work/armv8a_tegra210-wrs-linux/libvisionworks/1.6.0.500n-r0/temp/log.do_package_qa.88754
ERROR: Task (<project>/layers/meta-tegra/recipes-devtools/visionworks/libvisionworks_1.6.0.500n.bb:do_package_qa) failed with exit code '1'
ERROR: libvisionworks-sfm-0.90.4-r0 do_package_qa: QA Issue: libvisionworks-sfm rdepends on cuda-cudart-dev [dev-deps]
ERROR: libvisionworks-sfm-0.90.4-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: Logfile of failure stored in: <project>/build/tmp-glibc/work/armv8a_tegra210-wrs-linux/libvisionworks-sfm/0.90.4-r0/temp/log.do_package_qa.88752
ERROR: Task (<project>/layers/meta-tegra/recipes-devtools/visionworks/libvisionworks-sfm_0.90.4.bb:do_package_qa) failed with exit code '1'
For the libvisionworks I am not sure if an INSANE_SKIP should be the fix: https://www.yoctoproject.org/pipermail/yocto/2012-June/007198.html
I think you need to track down why libcudart.so.10.0
is ending up in the cuda-cudart-dev
package in your builds, rather than cuda-cudart
, where it belongs. I don't seen any of these packaging QA issues in my builds, and that library symlink is correctly packaged into cuda-cudart
.
Thanks @madisongh , I will look into it
I figured out it's because of this:
${@' ${prefix}/local/cuda-${CUDA_VERSION}/lib64' if d.getVar('baselib') != '64' and d.getVar('SITEINFO_BITS') == '64' else ''}"
build$ find tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/etc
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/etc/nvidia-container-runtime
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/etc/nvidia-container-runtime/host-files-for-container.d
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/etc/nvidia-container-runtime/host-files-for-container.d/cuda-cudart.csv
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/etc/ld.so.conf.d
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/etc/ld.so.conf.d/cuda-10-0.conf
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/lib64
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/lib64/libcudart_static.a
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/lib64/libculibos.a
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/lib64/libcudart.so
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/lib64/libcudadevrt.a
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/lib64/libcudart.so.10.0.326
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/lib64/libcudart.so.10.0
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/include
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/include/cuda_runtime.h
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/include/cudart_platform.h
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/include/cuda_device_runtime_api.h
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/local/cuda-10.0/include/cuda_runtime_api.h
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/lib64
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/lib64/pkgconfig
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/lib64/pkgconfig/cudart-10.0.pc
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/share
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/share/doc
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/share/doc/cuda-cudart-10-0
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/share/doc/cuda-cudart-10-0/changelog.Debian.gz
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/share/doc/cuda-cudart-10-0/copyright
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/share/doc/cuda-cudart-dev-10-0
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/share/doc/cuda-cudart-dev-10-0/changelog.Debian.gz
tmp-glibc/work/armv8a_tegra210-wrs-linux/cuda-cudart/10.0.326-1-r1/image/usr/share/doc/cuda-cudart-dev-10-0/copyright
That '64'
should be 'lib64'
, right?
Yes I believe so but let me try first
@madisongh Yes, changing 64
to lib64
solved all the issues :)
Thanks for the help
Obvious typo, sorry I missed that when these changes first went in. I'll push a fix.
OK, fix should be there in zeus-l4t-r32.3.1, dunfell, and later branches.
Branch: zeus-l4t-r32.3.1
For the cudnn:
Possible patch: