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

DEEPAK N PAWATE deepak.mtech2006 at gmail.com
Wed Jan 20 09:11:50 PST 2016


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


 

 




More information about the yocto mailing list