[yocto] Package build files not getting copied to sysroots directory

Gujulan Elango, Hari Prasath (H.) hgujulan at visteon.com
Thu Jun 30 02:24:47 PDT 2016


Hi,


I am looking into the files you have suggested. Meanwhile I forgot to mention in my original post that when I build the dependent package(dlt-daemon), I have been getting this QA warning. I have not done any changes in the original .bb file that comes with the meta-ivi.


ERROR: QA Issue: dlt-daemon: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/libdlt.so
  /usr/lib/libdlt.so.2.11.1
  /usr/lib/libdlt.so.2
  /usr/lib/pkgconfig
  /usr/lib/.debug
  /usr/lib/pkgconfig/automotive-dlt.pc
  /usr/lib/.debug/libdlt.so.2.11.1
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
dlt-daemon: 8 installed and not shipped files. [installed-vs-shipped]
WARNING: QA Issue: /usr/bin/dlt-example-user-func_dlt-daemon contained in package dlt-daemon requires libdlt.so.2()(64bit), but no providers found in its RDEPENDS [file-rdeps]



Thanks & Regards,

Hari Prasath


________________________________
From: Chris Z. <winotu.email at gmail.com>
Sent: Thursday, June 30, 2016 2:34 PM
To: Gujulan Elango, Hari Prasath (H.)
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Package build files not getting copied to sysroots directory

Hi,

Check what files are added to the package of your distribution (deb, ipk )
Variable FILES_ defines what files should be added to the packages ( -dev, -dbg, -doc ) which are installed in sysroot.

bitbake.conf specify default files which should be packed.

You can check bitbake -e <you_package> &> output.log , for FILES_  variable and check what files are search and where.

Probably FILES_${PN} +=  would help. But that would be mi first try to find root cause.

Also check temp/ log.do_   files


On Thu, Jun 30, 2016 at 9:51 AM, Gujulan Elango, Hari Prasath (H.) <hgujulan at visteon.com<mailto:hgujulan at visteon.com>> wrote:

Hello


I am trying to integrate the meta-ivi layer into my distribution. When I am trying to build the audiomanager, some dependent package do_configure() fails. It looks for some packageconfig files(.pc) file in the tmp/sysroots/<machine_specifid_directory>, but this file is not there.


When I look into the dependent package build directory in tmp/work/<arch-specific_dir>/<package_name>/, I am able to see the files in the build output(libraries and .pc files). Any reason why it is not getting copied into tmp/sysroots/ directory ? Do I need specify it somewhere explicitly do get this done ?


Thanks & Regards,

Hari Prasath

--
_______________________________________________
yocto mailing list
yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160630/4da26668/attachment.html>


More information about the yocto mailing list