[yocto] Package build files not getting copied to sysroots directory
Gujulan Elango, Hari Prasath (H.)
hgujulan at visteon.com
Thu Jun 30 02:40:18 PDT 2016
I looked into the output log of bitbake -e dlt-daemon. I could see that the baselib variable expands to lib64. For e.g FILES_SOLIBSDEV expands to /lib64/lib*.so.
The dlt-daemon package build directory at tmp/work/aarch64-poky-linux/dlt-daemon/2.11.1-r0/image has the following build output where I couldn't see any directory named lib64. Probably this is the reason I am getting the QA warning as well.
.
|-- etc
| |-- dlt.conf
| |-- dlt-dbus.conf
| `-- dlt-system.conf
|-- lib
| `-- systemd
| `-- system
`-- usr
|-- bin
| |-- dlt-adaptor-stdin
| |-- dlt-adaptor-udp
| |-- dlt-control
| |-- dlt-convert
| |-- dlt-daemon
| |-- dlt-dbus
| |-- dlt-example-filetransfer
| |-- dlt-example-user
| |-- dlt-example-user-common-api
| |-- dlt-example-user-func
| |-- dlt-receive
| `-- dlt-system
|-- include
| `-- dlt
|-- lib
| |-- libdlt.so -> libdlt.so.2
| |-- libdlt.so.2 -> libdlt.so.2.11.1
| |-- libdlt.so.2.11.1
| `-- pkgconfig
`-- share
|-- dlt-filetransfer
`-- man
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/d4385f34/attachment.html>
More information about the yocto
mailing list