<?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>2774</bug_id>
          
          <creation_ts>2012-07-17 04:54:11 +0000</creation_ts>
          <short_desc>libgcc configure failed when rebuild within the same build directory due to dirty configuration</short_desc>
          <delta_ts>2012-12-22 19:40:59 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.2</version>
          <rep_platform>All</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongna Xu">hongnax.xu</reporter>
          <assigned_to name="Scott Garman">scott.a.garman</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>dongxiao.xu</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>shane.wang</cc>
    
    <cc>terence.chiang</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>23147</commentid>
    <comment_count>0</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-07-17 04:54:11 +0000</bug_when>
    <thetext>Firstly, build atom-pc sato image, and add layers meta-intel/meta-cedartrail and then build cedartrail sato image, gcc-cross configure failed.
the log are:
*******************************
| configure: error: in `/home/build/git-work/1.3M2rc1/hob/poky/build/tmp/work/core2-poky-linux/gcc-cross-4.6.3+svnr184847-r25/gcc-4_6-branch/build.x86_64-linux.i586-poky-linux/i586-poky-linux/libgcc&apos;:
| configure: error: changes in the environment can compromise the build
| configure: error: run `make distclean&apos; and/or `rm ./config.cache&apos; and start over
| make: *** [configure-target-libgcc] Error 1
| ERROR: oe_runmake failed
NOTE: package gcc-cross-4.6.3+svnr184847-r25: task do_compile: Failed
ERROR: Task 659 (/home/build/git-work/1.3M2rc1/hob/poky/meta/recipes-devtools/gcc/gcc-cross_4.6.bb, do_compile) failed with exit code &apos;1&apos;
Waiting for 1 running tasks to finish:
0: eglibc-locale-2.13-r20 do_package (pid 31909)
NOTE: package eglibc-locale-2.13-r20: task do_package: Succeeded
NOTE: Tasks Summary: Attempted 2879 tasks of which 2701 didn&apos;t need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/build/git-work/1.3M2rc1/hob/poky/meta/recipes-devtools/gcc/gcc-cross_4.6.bb, do_compile
Summary: There were 7 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
********************************
reproduce steps:
1.git clone git://git.yoctoproject.org/poky
2.In poky directory, run “git checkout denzil”
3.git clone git://git.yoctoproject.org/meta-intel
4.in meta-intel directory, run “git checkout denzil”
5.in poky directory, run “source oe-init-build-env”
6.build machine set as atom-pc and build “core-image-sato”. build success
7.then add “mata-intel” and “mata-cetratrail” layers
8.add NF_VERSION = &quot;1&quot; LICENSE_FLAGS_WHITELIST = &quot;license_cdv-pvr-driver_1.0&quot; to conf/local.conf  
9.build “core-image-sato”, using the same directory with step 5.
10.error occurs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23149</commentid>
    <comment_count>1</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-07-17 05:09:48 +0000</bug_when>
    <thetext>in reproduce step 8, modify the MACHINE = &quot;cedartrail&quot;, the key point is that two buildings with two different BSPs in the same build dir.

with shane&apos;s investigation and he suggested add layers first and then build sato.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23178</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-07-17 21:58:36 +0000</bug_when>
    <thetext>Is this with Denzil or 1.3 M2?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23179</commentid>
    <comment_count>3</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-07-18 01:02:11 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Is this with Denzil or 1.3 M2?

poky/denzil:73cdebf60df225ee10f2eb215935be3b61e1b831
meta-intel/denzil: 2552a046878e4352595f6e081ad371538cceda10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24089</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-08-16 11:01:28 +0000</bug_when>
    <thetext>Saul, Hogna: Do we have any updates regarding this issue?

Thanks,
Alex.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25165</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-09-13 13:01:59 +0000</bug_when>
    <thetext>Resolved with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8b9b1ab42e6e3226fc06818ec3dd186b6f81acad in master. Reassigning to Scott to track for Denzil.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28430</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2012-12-22 19:40:59 +0000</bug_when>
    <thetext>Fixed in oe-core and poky denzil branches as of:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=denzil&amp;id=241653a01ba98426cc0551ff4210e1f8eb28abdb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>