[yocto] Package build files not getting copied to sysroots directory
Gary Thomas
gary at mlbassoc.com
Thu Jun 30 02:34:01 PDT 2016
On 2016-06-30 11:24, Gujulan Elango, Hari Prasath (H.) wrote:
> 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]
>
Odd, those files are normally packaged correctly.
Maybe you could send the recipe or a URL to it so [better eyes than mine] can give it a look?
> ------------------------------------------------------------------------------------------------------------------------
> *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 ?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the yocto
mailing list