yocto zeus 上的 meta-toolchain-qt5,gcc-cross-canatian-aarch64 失败

meta-toolchain-qt5 on yocto zeus, gcc-cross-canatian-aarch64 fail

我正在尝试在 yocto 映像构建过程中交叉编译 C++ 应用程序。我正在使用 meta-tegra yocto zeus,机器是 Jetson Nano。 一开始我尝试只添加 inherit populate_sdk_qt5 并执行任务 do_populate_sdk。似乎没问题,但在 shell 脚本 运行 之后,目标位置 (/opt/poky)

上没有 qmake

我正在尝试的另一种方法是由 bitbake meta-toolchain-qt5 完成。不幸的是我面临另一个问题。我无法解决以下错误:

NOTE: recipe packagegroup-cross-canadian-jetson-nano-1.0-r0: task do_package_write_ipk: Succeeded
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libstdc++.so.6(GLIBCXX_3.4.20)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libstdc++.so.6(CXXABI_1.3.9)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libstdc++.so.6(GLIBCXX_3.4.21)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libstdc++.so.6(GLIBCXX_3.4)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libgcc_s.so.1(GCC_4.2.0)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libgcc_s.so.1(GCC_3.3)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto-wrapper contained in package gcc-cross-canadian-aarch64 requires libc.so.6(GLIBC_2.11)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/plugin/gengtype contained in package gcc-cross-canadian-aarch64 requires libc.so.6(GLIBC_2.7)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/plugin/gengtype contained in package gcc-cross-canadian-aarch64 requires libc.so.6(GLIBC_2.14)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/plugin/gengtype contained in package gcc-cross-canadian-aarch64 requires libc.so.6(GLIBC_2.3)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/plugin/gengtype contained in package gcc-cross-canadian-aarch64 requires libc.so.6(GLIBC_2.2.5)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/plugin/gengtype contained in package gcc-cross-canadian-aarch64 requires libstdc++.so.6()(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/plugin/gengtype contained in package gcc-cross-canadian-aarch64 requires libm.so.6()(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/plugin/gengtype contained in package gcc-cross-canadian-aarch64 requires libgcc_s.so.1()(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/plugin/gengtype contained in package gcc-cross-canadian-aarch64 requires libc.so.6()(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libgcc_s.so.1(GCC_3.4)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcov-tool contained in package gcc-cross-canadian-aarch64 requires libc.so.6(GLIBC_2.3.3)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libm.so.6(GLIBC_2.2.5)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libdl.so.2(GLIBC_2.2.5)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libstdc++.so.6(CXXABI_1.3)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libstdc++.so.6(GLIBCXX_3.4.15)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libgmp.so.10()(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libdl.so.2()(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/lto1 contained in package gcc-cross-canadian-aarch64 requires libz.so.1()(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/libcp1plugin.so.0.0.0 contained in package gcc-cross-canadian-aarch64 requires libgcc_s.so.1(GCC_3.0)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/libcp1plugin.so.0.0.0 contained in package gcc-cross-canadian-aarch64 requires libstdc++.so.6(CXXABI_1.3.8)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA Issue: /opt/poky/3.0.3/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/7.3.0/libcc1.so.0.0.0 contained in package gcc-cross-canadian-aarch64 requires libstdc++.so.6(GLIBCXX_3.4.9)(64bit), but no providers found in RDEPENDS_gcc-cross-canadian-aarch64? [file-rdeps]
ERROR: gcc-cross-canadian-aarch64-7.3.0-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: Logfile of failure stored in: /home/fuji/safeway-by-sternkraft/build/tmp/work/x86_64-nativesdk-pokysdk-linux/gcc-cross-canadian-aarch64/7.3.0-r0/temp/log.do_package_qa.16715
NOTE: recipe gcc-cross-canadian-aarch64-7.3.0-r0: task do_package_qa: Failed
ERROR: Task (/home/fuji/safeway-by-sternkraft/build/../meta-tegra/contrib/recipes-devtools/gcc/gcc-cross-canadian_7.3.bb:do_package_qa) failed with exit code '1'
NOTE: recipe gcc-cross-canadian-aarch64-7.3.0-r0: task do_package_write_ipk: Succeeded

您知道如何解决吗?也许您有一些技巧可以让我的 C++ 二进制文件以其他方式出现在设备上吗?

我正在研究 Fedora 30 并且它曾经工作,没有交叉编译。

谢谢!

尝试更新您的 zeus 分支。最近有一个更新。在this patch