<?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>3473</bug_id>
          
          <creation_ts>2012-11-21 11:54:35 +0000</creation_ts>
          <short_desc>atom-pc kernel fails to build</short_desc>
          <delta_ts>2012-11-22 17:41:00 +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>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>27600</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-11-21 11:54:35 +0000</bug_when>
    <thetext>ERROR: Function failed: do_kernel_configme (see /data/poky-master/tmp/work/atom_pc-poky-linux/linux-yocto/3.0.32+git1+bf5ee4945ee6d748e6abe16356f2357f76b5e2f0_1+834c2a69c87ee7211932f8ec5102a472828abcb1-r4.1/temp/log.do_kernel_configme.18243 for further information)
ERROR: Logfile of failure stored in: /data/poky-master/tmp/work/atom_pc-poky-linux/linux-yocto/3.0.32+git1+bf5ee4945ee6d748e6abe16356f2357f76b5e2f0_1+834c2a69c87ee7211932f8ec5102a472828abcb1-r4.1/temp/log.do_kernel_configme.18243
Log data follows:
| DEBUG: Executing shell function do_kernel_configme
| [INFO] doing kernel configme
| [INFO] Configuring target/machine combo: &quot;standard/atom-pc&quot;
| [INFO] collecting configs in ./meta/meta-series
| ERROR: could not sanitize configuration fragments
|    errors are logged in /data/poky-master/tmp/work/atom_pc-poky-linux/linux-yocto/3.0.32+git1+bf5ee4945ee6d748e6abe16356f2357f76b5e2f0_1+834c2a69c87ee7211932f8ec5102a472828abcb1-r4.1/linux/meta/cfg/standard/atom-pc/config.log

$ cat /data/poky-master/tmp/work/atom_pc-poky-linux/linux-yocto/3.0.32+git1+bf5ee4945ee6d748e6abe16356f2357f76b5e2f0_1+834c2a69c87ee7211932f8ec5102a472828abcb1-r4.1/linux/meta/cfg/standard/atom-pc/config.log
[INFO] Sanitizing meta/cfg/kernel-cache/ktypes/base/base.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/ktypes/standard/standard.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/kgdb/kgdb.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/lttng/lttng.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/blktrace/blktrace.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/systemtap/systemtap.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/utrace/utrace.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/hrt/hrt.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/ftrace/ftrace.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/cgroups/cgroups.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/namespaces/namespaces.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/namespaces/namespaces-experimental.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/fuse/fuse.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/cfg/devtmpfs.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/debugfs/debugfs.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/bsp/common-pc/common-pc.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/bsp/common-pc/common-pc-gfx.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/cfg/boot-live.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/intel-e1xxxx/intel-e100.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/intel-e1xxxx/intel-e1xxxx.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/latencytop/latencytop.cfg
[INFO] Sanitizing meta/cfg/kernel-cache/features/profiling/profiling.cfg
[INFO] Sanitizing meta/cfg
[ERROR] Kern frag meta/cfg does not exist</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27601</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-11-21 11:55:37 +0000</bug_when>
    <thetext>This worked on Monday 19th poky, but fails with Wednesday 21st.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27602</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-11-21 13:32:29 +0000</bug_when>
    <thetext>I&apos;ll grab this. Could be the new tools update.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27603</commentid>
    <comment_count>3</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-11-21 13:34:25 +0000</bug_when>
    <thetext>The error message is correct. There&apos;s a typo in the virtio configuration fragments. Fixing it locally
and re-testing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27604</commentid>
    <comment_count>4</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-11-21 14:01:31 +0000</bug_when>
    <thetext>out of curiosity .. the atom-pc should probably not be preferring the 3.0 kernel. There&apos;s a 
typo in the meta data that was fixed for other kernel versions, but not for 3.0. I&apos;ll fix it there,
but atom-pc should not be using that kernel by default. I nearly missed the error because
I was checking the wrong kernel version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27605</commentid>
    <comment_count>5</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-11-21 14:13:41 +0000</bug_when>
    <thetext>As well as fixing the meta-data, I&apos;ve tweaked the tools to have this output when a similar
error is encountered:

 [ERROR] kernel configuration fragment fragment &apos;virto.cfg&apos; cannot be found

You&apos;ll note the obvious typo in virtio ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27620</commentid>
    <comment_count>6</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-11-22 17:41:00 +0000</bug_when>
    <thetext>Fix merged to oe-core master:

commit 37c752ab05842a70bca0727af14709e0a9720425
Author: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Date:   Wed Nov 21 16:32:26 2012 -0500

    kern-tools: report missing config fragments by name
    
    If a configuration fragment was missing, the previous error output
    was not clear about the error:
    
      | [INFO] doing kernel configme
      | [INFO] Configuring target/machine combo: &quot;standard/atom-pc&quot;
      | [INFO] collecting configs in ./meta/meta-series
      | ERROR: could not sanitize configuration fragments
      |    errors are logged in ... linux/meta/cfg/standard/atom-pc/config.log
    
    but we know the name of the missing fragment and can improve the error
    message to be this:
    
      | [ERROR] kernel configuration fragment fragment &apos;virto.cfg&apos; cannot be found
      | ERROR. A meta series could not be created for branch yocto/standard/common-pc/atom-pc
      | ERROR. Could not locate meta series for atom-pc
      | ERROR. Could not apply patches for atom-pc.
      |        Patch failures can be resolved in the devshell (bitbake -c devshell linux-yocto)
    
    [YOCTO #3473]
    
    (From OE-Core rev: 46cc0d0a2f1486bf541c1a1b11075de3da396cc2)
    
    Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>