Example: 1. Run bitbake perf 2. Notice warning during buidld: Build Configuration: BB_VERSION = "1.16.0" TARGET_ARCH = "i586" TARGET_OS = "linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20121116" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "(nobranch):9e0d3c0faa9cc80ce8f2ce0eb31dcd20ef875955" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks WARNING: /home/cornel/SDD/Yocto/2poky/build/tmp/sysroots/qemux86/usr/src/kernel/COPYING could not be copied for some reason. It may not exist. WARN for now. NOTE: validating kernel configuration NOTE: Tasks Summary: Attempted 904 tasks of which 168 didn't need to be rerun and all succeeded. Summary: There was 1 WARNING message shown.
I believe this has been fixed in the 1.4 cycle as the issue doesn't seem to occur for me in local tests.
Issue still present in master: Build Configuration: BB_VERSION = "1.18.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "x86_64-poky-linux" MACHINE = "qemux86-64" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20130417" TUNE_FEATURES = "m64" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "master:595e92c76700306f9ff8fcf1557eb7ade1f3e907" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks WARNING: /home/lserban/work/2poky/build/tmp/sysroots/qemux86-64/usr/src/kernel/COPYING could not be copied for some reason. It may not exist. WARN for now. NOTE: validating kernel config, see log.do_kernel_configcheck for details Currently 4 running tasks (821 of 1085): 0: linux-yocto-3.8.4+gitAUTOINC+27b63fdbd25ad1a37bacc05f49a205c150d21779_d9a45e3325030f7bd6f37947a7a0b12da7f602c3-r4.1 do_compile (pid 12415) 1: openssl-native-1.0.1e-r15.0 do_install (pid 19254) 2: perl-native-5.14.3-r0 do_populate_sysroot (pid 20213) 3: openssl-1.0.1e-r15.0 do_install (pid 26717)
Can you attach the tmp/log/cooker/ logfile showing the warning please. We need more information about the timing of it.
Created attachment 1182 [details] cooker log
The reproducer is "bitbake perf -c populate_lic -f" on an empty build, its a missing dependency.
Fixed by poky commit: commit 870d8a817dbfd35bca0237246a15142215dbc30b Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Thu Apr 18 14:27:08 2013 +0000 perf: Ensure license is handled correctly
Verified in master:814d89bcbacb559775ad1b46f2163eaa7fae7f34