Bug 3454 - some builds invoke this warning: " /kernel/COPYING could not be copied "
Summary: some builds invoke this warning: " /kernel/COPYING could not be copied "
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: kernel (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4 M5
Assignee: Tom Zanussi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-11-16 14:43 UTC by Stoicescu Cornel
Modified: 2013-05-09 14:16 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
cooker log (201.54 KB, application/octet-stream)
2013-04-18 08:53 UTC, Stoicescu Cornel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stoicescu Cornel 2012-11-16 14:43:32 UTC
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.
Comment 1 Richard Purdie 2013-04-16 10:57:06 UTC
I believe this has been fixed in the 1.4 cycle as the issue doesn't seem to occur for me in local tests.
Comment 2 Stoicescu Cornel 2013-04-17 09:30:38 UTC
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)
Comment 3 Richard Purdie 2013-04-17 09:48:18 UTC
Can you attach the tmp/log/cooker/ logfile showing the warning please. We need more information about the timing of it.
Comment 4 Stoicescu Cornel 2013-04-18 08:53:37 UTC
Created attachment 1182 [details]
cooker log
Comment 5 Richard Purdie 2013-04-18 14:27:48 UTC
The reproducer is "bitbake perf -c populate_lic -f" on an empty build, its a missing dependency.
Comment 6 Tom Zanussi 2013-04-30 18:50:49 UTC
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
Comment 7 Stoicescu Cornel 2013-05-09 14:16:13 UTC
Verified in master:814d89bcbacb559775ad1b46f2163eaa7fae7f34