[yocto] dev package non-sym link

Alexander Kanavin alexander.kanavin at linux.intel.com
Thu Nov 30 11:41:23 PST 2017


On 11/30/2017 08:10 PM, Rail Shafigulin wrote:
> Somewhat new to Yocto. Trying to build a library. It compiled but I'm
> having issues during the package task. The error output is
> 
> ERROR: anokiwavelib-1.0+gitAUTOINC+16df62468c-r0 do_package_qa: QA
> Issue: -dev package contains non-symlink .so: anokiwavelib-dev path
> '/work/cortexa9hf-neon-xilinx-linux-gnueabi/anokiwavelib/1.0+gitAUTOINC+16df62468c-r0/packages-split/anokiwavelib-dev/usr/lib/libAnokiWave.so'
> [dev-elf]
> ERROR: anokiwavelib-1.0+gitAUTOINC+16df62468c-r0 do_package_qa: QA run
> found fatal errors. Please consider fixing them.
> ERROR: anokiwavelib-1.0+gitAUTOINC+16df62468c-r0 do_package_qa:
> Function failed: do_package_qa
> ERROR: Logfile of failure stored in:
> /home/someuser/projects/petalinux-build-system/petalinux-build-env/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/anokiwavelib/1.0+gitAUTOINC+16df62468c-r0/temp/log.do_package_qa.5765
> ERROR: Task (/home/someuser/projects/petalinux-build-system/sources/core/../meta-customlayer/recipes-anokiwave/lib/anokiwavelib_git.bb:do_package_qa)
> failed with exit code '1'
> 
> 
> I do understand the issue. It doesn't create links for libAnokiWave.so
> and libAnokiWave.so.1. I do see the following in
> /home/someuser/projects/petalinux-build-system/petalinux-build-env/tmp/work/cortexa9hf-neon-xilinx-linux-gnueabi/anokiwavelib/1.0+gitAUTOINC+16df62468c-r0/package/usr/lib

Check whether the situation is the same in .../image/usr/lib. If so, 
then the upstream is installing .so files incorrectly and you need to 
figure out what it does and how to fix it so that it symlinks .so 
instead of copying or hardlinking it.

Alex



More information about the yocto mailing list