[yocto] 2 step solution to ERROR: QA Issue: Files/directories were installed but not shipped

Khem Raj raj.khem at gmail.com
Wed Jan 20 09:36:22 PST 2016


On Wed, Jan 20, 2016 at 9:11 AM, DEEPAK N PAWATE
<deepak.mtech2006 at gmail.com> wrote:
> Hi Folks,
>
> Below is the simple 2 step solution for
>
> ERROR: QA Issue: Files/directories were installed but not shipped
>
> WARNING: QA Issue: Files/directories were installed but not shipped
>   /usr/lib/lib-0.29/lib-gstreamer.so
>   /usr/lib/lib-0.29/lib-multi.so
>   /usr/lib/lib-0.29/lib-pulse.so
>

.so by default are treated as either symlinks or linker script stubs
which are only useful during build therefore the defaults
in OE is to package .so into PN-dev files however many packages dont
use shlib versioning and .so itself is the real .so and not a symlink
to .so.X or .so.X.Y

So in above case you would teach this exception to bitbake via the recipe

FILES_SOLIBSDEV = ""

The you would add then to FILES section so they get packages if not
done via other regexps

FILES_${PN} += "${libdir}/lib-0.9.29"

> Problem statement:
> Above error occurs during installation
> This scenario happens when files have been installed but not shipped in
> any package
>
> Solution:
>
> Step1 :
> Please open Bitbake.conf in meta/conf path:
> when bitbake runs bitbake.conf is parsed. This file is present in
> meta/conf & includes config variables that are used in metadata, bb
> files.
> Kindly go through this file to understand
>
> Example :
> export prefix = "/usr"
> libdir = "${prefix}/lib"
>
> Step 2:
> Files that do not appear in any package such as
> directories/files in this path /usr/lib (as stated in error above)
>
> Add the files to FILES to include in package
>
> Open the meta files
> example :
> pulseaudio-meta.bb
>
> Add  below line
> FILES_${PN} += "${libdir}/*"
>
> Hope it helped you to resolve the warning.
> See you soon with more discussions on solutions.
>
> Thank-you,
>
> Regards,
> Deepak
>
>
>
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list