Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
597 views
in Technique[技术] by (71.8m points)

yocto - buildtools-tarball fails on nativesdk-kconfig-frontends do_package_qa

running bitbake buildtools-tarball on a Yocto Zeus based build system (based on meta-xilinx, meta-xilinx-tools and meta-petalinux) fails with the following error:

ERROR: nativesdk-kconfig-frontends-4.11.0.1-r0 do_package_qa: QA Issue: nativesdk-kconfig-frontends: The compile log indicates that host include and/or library paths were used. Please check the log '[...]/build/tmp/work/x86_64-nativesdk-my-project/nativesdk-kconfig-frontends/4.11.0.1-r0/temp/log.do_compile' for more information. [compile-host-path] ERROR: nativesdk-kconfig-frontends-4.11.0.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

The nativesdk-kconfig-frontends build log states:

cc1: warning: include location "/usr/include/ncursesw" is unsafe for cross-compilation [-Wpoison-system-directories] cc1: warning: include location "/usr/include/ncursesw" is unsafe for cross-compilation [-Wpoison-system-directories]

The include path inside ncurses seems to be a long running issue in multiple distros, i.e.: https://lists.gnu.org/archive/html/bug-ncurses/2014-09/msg00004.html

However I cannot find a solution for that. Even adding INSANE_SKIP_${PN} += "configure-unsafe" to kconfig-frontends_%.bbappend didn't fix the issue.

Any ideas? Thanks!

question from:https://stackoverflow.com/questions/65950853/buildtools-tarball-fails-on-nativesdk-kconfig-frontends-do-package-qa

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...