Solved – QA Issue: Files/directories were installed but not shipped in any package

If you are compiling some recipe which you have written recently, you might seen an error like below, [ here example recipe is, which was a simple recipe to add precompiled helloworld binary to filesystem.

NOTE: Executing RunQueue Tasks<br>
ERROR: predefine-0.1-r0 do_package: QA Issue: predefine: Files/directories were installed but not shipped in any package:
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
predefine: 1 installed and not shipped files. [installed-vs-shipped]
ERROR: predefine-0.1-r0 do_package: Fatal QA errors found, failing task.
ERROR: predefine-0.1-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: yocto/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/predefine/0.1-r0/temp/log.do_package.11026
ERROR: Task (yocto/metadata/meta-lynxbee/recipes-example/predefined/ failed with exit code '1'
NOTE: Tasks Summary: Attempted 474 tasks of which 464 didn't need to be rerun and 1 failed.

Solution :

Open the respective bitbake recipe, in our case its “metadata/meta-lynxbee/recipes-example/predefined/” and add/modify/append below lines as,

FILES_${PN} = "${bindir}/helloworld_bin"

i.e. simple solution to resolve this error is to add FILES_$PN with the directories or files pointed out in errors at command line.

[100% working solution] | Failed to... x
[100% working solution] | Failed to load network image - flutter web app error

Leave a Comment

Sign up to our newsletter!

ADB Commands Android Android Applications Android Build system Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development, Debugging and Performance Tools Development and Build Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia NDK / Middleware / HAL Operating System Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web Design and Development Website Hosting Wordpress Yocto Embedded Linux