[bitbake-devel] Library not getting installed to intended path

Yogesh Tyagi yogesh.bit2006 at gmail.com
Wed Jun 3 19:24:33 UTC 2015


Hi,

If I remove
FILES_${PN}-dev += "${libdir}/gstreamer-0.10/"

I get this error:

ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
gst-plugin-linux-user path
'/work/core2-32-poky-linux/gst-plugin-linux-user/git+master-r0/packages-split/gst-plugin-linux-user/lib/gstreamer-0.10/libgstfl.so'
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
/media/git/yocto/yogesh/build/tmp/work/core2-32-poky-linux/gst-plugin-linux-user/git+master-r0/temp/log.do_package.26194
ERROR: Task 3193
(/media/sdb/git/yocto/yogesh/yocto/meta-ce/recipes-ce/gst-plugin/
gst-plugin-linux-user.bb, do_package) failed with exit code '1'

Thanks,
Yogesh


On Thu, Jun 4, 2015 at 12:47 AM, Burton, Ross <ross.burton at intel.com> wrote:

>
> On 3 June 2015 at 20:07, Yogesh Tyagi <yogesh.bit2006 at gmail.com> wrote:
>
>> WARNING: QA Issue: gst-plugin-linux-user: Files/directories were
>> installed but not shipped
>>   /lib/gstreamer-0.10
>>   /lib/gstreamer-0.10/libgst................
>>
>> so I have added these lines to bb file:
>>
>> FILES_${PN} += "${libdir}/gstreamer-0.10/"
>> FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug"
>> FILES_${PN}-dev += "${libdir}/gstreamer-0.10/"
>>
>> Now library is not going to rootfs at all and no Warning is there.
>> Earlier it was installing to "/lib" in rootfs. I want the lib to install to
>> "/usr/lib/gstreamer-0.10" in rootfs. Please provide your suggestions.
>>
>
> Remove FILES_PN-dev, there's nothing in that directory that makes sense in
> the context of development and as PN-dev is packaged before PN all your
> files are in that package.
>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20150604/151b78ac/attachment-0002.html>


More information about the bitbake-devel mailing list