[yocto] errors in recipe after move from devtool

Greg Wilson-Lindberg GWilson at sakuraus.com
Tue Oct 10 09:34:28 PDT 2017


Sorry, hit the wrong button in my mailer and sent this before I was finished.


So to continue, what is the problem with symlinked libraries in a non-dev package, don't most libraries have syslink's to them?

Secondly, the redundant  RPATH, most of the links that I've found mentioning this show a link with something like lib/../lib, the error that I'm getting doesn't have that. Any insight would be appreciated.


Regards,

Greg

________________________________
From: Greg Wilson-Lindberg
Sent: Tuesday, October 10, 2017 9:29:11 AM
To: yocto at yoctoproject.org
Subject: errors in recipe after move from devtool


I'm trying to develop a new recipe for zint, barcode generating software. I initially built the recipe under devtool and got it to the point that there were no errors. I then did a devtool finish command to move it to my yocto build tree under our private recipe and now when I build it I get 2 different errors that don't make any sense to me:


ERROR: zint-2.6.1-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package contains symlink .so: zint path '/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/zint/2.6.1-r0/packages-split/
zint/usr/lib/libzint.so'
non -dev/-dbg/nativesdk- package contains symlink .so: zint path '/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/zint/2.6.1-r0/packages-split/zint/usr/lib/libQZint.so' [dev-so]
ERROR: zint-2.6.1-r0 do_package_qa: QA Issue: zint: /work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/zint/2.6.1-r0/packages-split/zint/usr/lib/libzint.so.2.6.1 contains probably-redundant RP
ATH /usr/lib
zint: /work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/zint/2.6.1-r0/packages-split/zint/usr/lib/libQZint.so.2.6.1 contains probably-redundant RPATH /usr/lib [useless-rpaths]
ERROR: zint-2.6.1-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: zint-2.6.1-r0 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/gwilson/Qt-5.9/Yocto-build-RPi3/build-raspberrypi3/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/zint/2.6.1-r0/temp/log.do_package_qa.3282
ERROR: Task (/home/gwilson/Qt-5.9/Yocto-build-RPi3/sources/meta-sakura/recipes-sakura/Scribe-support/zint_2.6.1.bb:do_package_qa) failed with exit code '1'


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171010/7a4d0475/attachment.html>


More information about the yocto mailing list