<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2889</bug_id>
          
          <creation_ts>2012-08-03 22:55:59 +0000</creation_ts>
          <short_desc>linux-yocto-custom QA warning for mismatched architecture for tools/relocs in kernel-dev package</short_desc>
          <delta_ts>2012-10-05 13:51:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>laurentiu.serban</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23797</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-08-03 22:55:59 +0000</bug_when>
    <thetext>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 &apos;1&apos;

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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23798</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-08-03 23:21:20 +0000</bug_when>
    <thetext>It&apos;s a bug in the Linux kernel &quot;make clean&quot;.

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

I&apos;ll investigate the best way to address on Monday morning.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25734</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-09-25 22:29:06 +0000</bug_when>
    <thetext>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&apos;m closing this as NOTABUG.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26285</commentid>
    <comment_count>3</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-10-05 13:51:46 +0000</bug_when>
    <thetext>Setting this to verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>