QA issue : bad RPATH error with runtime dependencies of package PCL


Anup Kini <akini@...>
 

Hi All,

I am trying to build a recipe for PCL library, similar to the one that Lukas [1] has derived but for a older version because of some dependencies with other packages and support for ARM platform.


I am using PCL 1.6 instead of PCL 1.7 as used by Lukas.

When i try to include the package in the image (rootfs) i get the following error message:
ERROR: QA Issue: libpcl: Files/directories were installed but not shipped
  /usr/share
  /usr/share/pcl-1.6
  /usr/share/pcl-1.6/PCLConfigVersion.cmake
  /usr/share/pcl-1.6/PCLConfig.cmake
ERROR: QA Issue: package libpcl contains bad RPATH /usr/lib:/home/akini/poky/build/tmp/sysroots/zc702-zynq7/usr/lib/vtk-5.8 in file /home/akini/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libpcl/1.6.0-r0/packages-split/libpcl/usr/bin/pcl_ply2raw
ERROR: QA Issue: package libpcl contains bad RPATH /usr/lib:/home/akini/poky/build/tmp/sysroots/zc702-zynq7/usr/lib/vtk-5.8 in file /home/akini/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libpcl/1.6.0-r0/packages-split/libpcl/usr/bin/timed_trigger_test
ERROR: QA Issue: package libpcl contains bad RPATH /usr/lib:/home/akini/poky/build/tmp/sysroots/zc702-zynq7/usr/lib/vtk-5.8 in file /home/akini/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/libpcl/1.6.0-r0/packages-split/libpcl/usr/bin/pcl_convert_pcd_ascii_binary
... many more such errors.
ERROR: Function failed: do_package_qa

VTK is a runtime dependency for PCL and i have included the following line in my recipe:

...
RDEPENDS_${PN} = "eigen boost libflann vtk"
...

Let me know if i am doing something wrong and how to over come this error the right way !!

--

Anup Kini
Systems Engineer


Synapticon  |  Cyber-Physical System Solutions 

Mobile:

Direct:

+49 151 / 638 646 73

+49 7335 / 186 999 21

Fax:

+49 7335 / 186 999 1


 

 

synapticon.com  |  @synapticon_co

Synapticon GmbH  |  Hohlbachweg 2  |  73344 Gruibingen, DE
Secretary +49 7335 / 186 999 0  |  General Manager: Nikolai Ensslen 
Registry Court Ulm HRB 725114  |  USt-ID DE271647127

This message and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
Please notify the sender immediately if you have received this e-mail by 
mistake and delete it from your system. 

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.