Skip to contentSkip to conversation

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

DISCUSSION DEEPAK N PAWATE 2 participants 2 messages Jan 20, 2016

lore
Share & tools
lore
#0 lore raw

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

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

#1 lore raw
Quoted 11 lines · DEEPAK N PAWATE

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"

Quoted 49 lines

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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto