<?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>2156</bug_id>
          
          <creation_ts>2012-03-22 18:33:14 +0000</creation_ts>
          <short_desc>git-native rebuild fails</short_desc>
          <delta_ts>2012-04-11 12:32:23 +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>unspecified</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>(1.2) patch review 30%</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2 M4</target_milestone>
          
          <blocked>2194</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Denys Dmytriyenko">denis</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>19352</commentid>
    <comment_count>0</comment_count>
    <who name="Denys Dmytriyenko">denis</who>
    <bug_when>2012-03-22 18:33:14 +0000</bug_when>
    <thetext>As previously reported on IRC by otavio, I see the same issue (sstate related?), when _rebuilding_ git-native. Clean build works.


ERROR: Function failed: do_compile (see /OE/build/tmp-eglibc/work/i686-linux/git-native-1.7.7-r2/temp/log.do_compile.32225 for further information)
ERROR: Logfile of failure stored in: /OE/build/tmp-eglibc/work/i686-linux/git-native-1.7.7-r2/temp/log.do_compile.32225
Log data follows:
| ERROR: Function failed: do_compile (see /OE/build/tmp-eglibc/work/i686-linux/git-native-1.7.7-r2/temp/log.do_compile.32225 for further information)
| NOTE: make -j16
|     SUBDIR gitweb
|     SUBDIR ../
| make[2]: `GIT-VERSION-FILE&apos; is up to date.
|     GEN git-instaweb
|     SUBDIR perl
| Makefile out-of-date with respect to /OE/build/tmp-eglibc/sysroots/i686-linux/usr/lib/perl-native/perl/5.14.2/Config.pm /OE/build/tmp-eglibc/sysroots/i686-linux/usr/lib/perl-native/perl/5.14.2/CORE/config.h
| Cleaning current config before rebuilding Makefile...
| make -f perl.mak.old clean &gt; /dev/null 2&gt;&amp;1
| /OE/build/tmp-eglibc/sysroots/i686-linux/usr/bin/perl-native/perl Makefile.PL &quot;PREFIX=/OE/build/tmp-eglibc/sysroots/i686-linux/usr&quot; &quot;INSTALL_BASE=&quot;
| Writing perl.mak for Git
| Writing MYMETA.yml
| ==&gt; Your Makefile has been rebuilt. &lt;==
| ==&gt; Please rerun the make command.  &lt;==
| false
| make[2]: *** [perl.mak] Error 1
| make[1]: *** [all] Error 2
| make: *** [all] Error 2
| ERROR: oe_runmake failed
NOTE: package git-native-1.7.7-r2: task do_compile: Failed
ERROR: Task 37 (virtual:native:/OE/sources/openembedded-core/meta/recipes-devtools/git/git_1.7.7.bb, do_compile) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19924</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-04-05 03:41:48 +0000</bug_when>
    <thetext>I tried:

bitbake -f git-native -ccompile

in the second build, it worked well, would you please tell me more information:

1) which host
2) The detailed reproduce steps</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20006</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-06 14:46:30 +0000</bug_when>
    <thetext>To reproduce this:

bitbake git-native
bitbake perl-native -c cleansstate
bitbake git-native -c compile -f

The problem is that rebuilding perl-native, then rebuilding git-native (or perl, then git) causes the build to fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20176</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-04-11 12:32:23 +0000</bug_when>
    <thetext>Fixed in revision b0550403d4e499a6c165c03825d3e4f9e2a750ad.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>