[yocto] RPATH invalid

bart.thoelen at telenet.be bart.thoelen at telenet.be
Thu Nov 27 08:24:09 PST 2014


Hi, 

I now the following issue pops up here and there, but I cannot find a proper answer on what is wrong. 

I'm trying to build a custom created auto-tools package in yocto (daisy release). I get this QA check error: 



ERROR: QA Issue: package logctrl contains bad RPATH /mnt/data/sources/dx2/yocto/dx2/yocto/build/tmp/sysroots/zynq-lc80dx-appl/usr/lib in file /mnt/data/sources/dx2/yocto/dx2/yocto/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/logctrl/1.0.0-r0/packages-split/logctrl/usr/bin/logctrl 
ERROR: QA run found fatal errors. Please consider fixing them. 
ERROR: Function failed: do_package_qa 
ERROR: Logfile of failure stored in: /mnt/data/sources/dx2/yocto/dx2/yocto/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/logctrl/1.0.0-r0/temp/log.do_package.20691 
ERROR: Task 10 (/mnt/data/sources/dx2/yocto/dx2/yocto/meta-nikon/recipes-core/logctrl/logctrl_1.0.0.bb, do_package) failed with exit code '1' 

I guess this must be passed via the configure - see configure log (ignore --without-rpath): 

NOTE: Running /mnt/data/sources/dx2/yocto/dx2/yocto/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/logctrl/1.0.0-r0/logctrl//configure --build=i686-linux --host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/logctrl --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/mnt/data/sources/dx2/yocto/dx2/yocto/build/tmp/sysroots/zynq-lc80dx-appl --disable-shared --enable-static --without-rpath 

configure: WARNING: unrecognized options: --with-libtool-sysroot, --without-rpath 

What can I do to fix this. 

included is the configure.ac, Makefile.am and recipe. 




Many thanks. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141127/ddc59025/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logctrl_1.0.0.bb
Type: application/octet-stream
Size: 666 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141127/ddc59025/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.ac
Type: application/octet-stream
Size: 382 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141127/ddc59025/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.in
Type: text/x-makefile
Size: 30480 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141127/ddc59025/attachment.bin>


More information about the yocto mailing list