Bug 2889

Summary: linux-yocto-custom QA warning for mismatched architecture for tools/relocs in kernel-dev package
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Darren Hart <dvhart>
Component: kernelAssignee: Darren Hart <dvhart>
Status: VERIFIED NOTABUG QA Contact:
Severity: normal    
Priority: Medium CC: bruce.ashfield, laurentiu.serban, tom.zanussi
Version: unspecified   
Target Milestone: 1.3 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Darren Hart 2012-08-03 22:55:59 UTC
Compiling a linux-yocto-custom.bbappend with the defconfig from the stock linux-yocto for qemux86 results in the following:

ERROR: QA Issue: Architecture did not match (3 to 62) on /work/qemux86-poky-linux/linux-yocto-custom-3.4+git1+76e10d158efb6d4516018846f60c2ab5501900bc-r1/packages-split/kernel-dev/usr/src/kernel/arch/x86/tools/relocs
ERROR: QA Issue: non debug package contains .debug directory: kernel-dev path /work/qemux86-poky-linux/linux-yocto-custom-3.4+git1+76e10d158efb6d4516018846f60c2ab5501900bc-r1/packages-split/kernel-dev/usr/src/kernel/arch/x86/tools/.debug/relocs
ERROR: QA Issue: Architecture did not match (3 to 62) on /work/qemux86-poky-linux/linux-yocto-custom-3.4+git1+76e10d158efb6d4516018846f60c2ab5501900bc-r1/packages-split/kernel-dev/usr/src/kernel/arch/x86/tools/.debug/relocs
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /build/poky/master/qemux86_custom/tmp/work/qemux86-poky-linux/linux-yocto-custom-3.4+git1+76e10d158efb6d4516018846f60c2ab5501900bc-r1/temp/log.do_package.26034
NOTE: package linux-yocto-custom-3.4+git1+76e10d158efb6d4516018846f60c2ab5501900bc-r1: task do_package: Failed
ERROR: Task 158 (/home/dvhart/source/poky/meta-skeleton/recipes-kernel/linux/linux-yocto-custom.bb, do_package) failed with exit code '1'

This does not occur with linux-yocto, just linux-yocto-custom.

This file is indeed x86_64:
/work/qemux86-poky-linux/linux-yocto-custom-3.4+git1+76e10d158efb6d4516018846f60c2ab5501900bc-r1/packages-split/kernel-dev/usr/src/kernel/arch/x86/tools/relocs

but does not exist in linux-yocto, there are no binaries in the tools dir.
Comment 1 Darren Hart 2012-08-03 23:21:20 UTC
It's a bug in the Linux kernel "make clean".

https://lkml.org/lkml/2012/5/27/221

I'll investigate the best way to address on Monday morning.
Comment 2 Darren Hart 2012-09-25 22:29:06 UTC
This appears to simply be a matter of choosing sources for linux-yocto-custom that do not contain this particular bug. As linux-yocto-custom is not meant to be built as is without modification, I'm closing this as NOTABUG.
Comment 3 Laurentiu Serban 2012-10-05 13:51:46 UTC
Setting this to verified