<?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>2554</bug_id>
          
          <creation_ts>2012-06-07 09:21:09 +0000</creation_ts>
          <short_desc>autogen-native 5.12: do_compile failed on FC 17 64bit</short_desc>
          <delta_ts>2012-07-05 06:46:19 +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>devtools / tool chain</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(QA testing completed) Done </status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>song.liu</cc>
    
    <cc>zhenfeng.zhao</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>21910</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-06-07 09:21:09 +0000</bug_when>
    <thetext>Seems a strange error on FC 17 64bit (MACHINE=qemux86):

| gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts  -isystem/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/usr/include  -isystem/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -c gd.c
| ../x86_64-linux-libtool --tag=CC   --mode=link gcc -std=gnu99  -isystem/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe  -L/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/usr/lib -L/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/lib -Wl,-O1 -o getdefs  gd.o ../autoopts/libopts.la -lm -ldl
| x86_64-linux-libtool: link: gcc -std=gnu99 -isystem/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-lERROR: Function failed: do_compile (see /buildarea2/lyang1/testdeb2/tmp/work/x86_64-linux/autogen-native-5.12-r2/temp/log.do_compile.20319 for further information)
| inux/usr/include -O2 -pipe -Wl,-rpath-link -Wl,/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link -Wl,/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/lib -Wl,-rpath -Wl,/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath -Wl,/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/lib -Wl,-O1 -o .libs/getdefs gd.o  -L/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/usr/lib -L/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/lib ../autoopts/.libs/libopts.so -lm -ldl -Wl,-rpath -Wl,/buildarea2/lyang1/testdeb2/tmp/sysroots/x86_64-linux/usr/lib
| make[4]: Leaving directory `/buildarea2/lyang1/testdeb2/tmp/work/x86_64-linux/autogen-native-5.12-r2/autogen-5.12/getdefs&apos;
| Re-building stamp-man
| /buildarea2/lyang1/testdeb2/tmp/work/x86_64-linux/autogen-native-5.12-r2/autogen-5.12/agen5/autogen -L/buildarea2/lyang1/testdeb2/tmp/work/x86_64-linux/autogen-native-5.12-r2/autogen-5.12/autoopts/tpl -L/buildarea2/lyang1/testdeb2/tmp/work/x86_64-linux/autogen-native-5.12-r2/autogen-5.12/autoopts/tpl -MFstamp-man -Tagman-cmd -DMAN_SECTION=1 ./opts.def
| ccache: failed to create /dev/null/.ccache (Not a directory)nbootstrap failure:  trapped exit signal
| make[3]: *** [stamp-man] Killed
| make[3]: *** Deleting file `stamp-man&apos;
| make[3]: Leaving directory `/buildarea2/lyang1/testdeb2/tmp/work/x86_64-linux/autogen-native-5.12-r2/autogen-5.12/agen5&apos;
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/buildarea2/lyang1/testdeb2/tmp/work/x86_64-linux/autogen-native-5.12-r2/autogen-5.12/agen5&apos;
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/buildarea2/lyang1/testdeb2/tmp/work/x86_64-linux/autogen-native-5.12-r2/autogen-5.12&apos;
| make: *** [all] Error 2
| ERROR: oe_runmake failed
NOTE: package autogen-native-5.12-r2: task do_compile: Failed
ERROR: Task 7 (/buildarea2/lyang1/poky/meta/recipes-devtools/autogen/autogen-native_5.12.bb, do_compile) failed with exit code &apos;1&apos;
NOTE: Tasks Summary: Attempted 160 tasks of which 155 didn&apos;t need to be rerun and 1 failed.

Summary: 1 task failed:
  /buildarea2/lyang1/poky/meta/recipes-devtools/autogen/autogen-native_5.12.bb, do_compile</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21914</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2012-06-07 16:07:50 +0000</bug_when>
    <thetext>I&apos;m seeing this too.  The quick fix is to remove ccache from your build machine.

The problem appears to be that autogen is setting HOME=/dev/null when configuring itself (no idea why...).  ccache doesn&apos;t handle this very well, so it dramatically breaks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22684</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2012-06-29 01:45:14 +0000</bug_when>
    <thetext>Merged into master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f64d68fb977c0d8410916a88281df8b6f463b89e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22824</commentid>
    <comment_count>3</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2012-07-05 06:46:19 +0000</bug_when>
    <thetext>run &quot;bitbake autogen-native&quot; ,no such error:
NOTE: Running task 160 of 166 (ID: 6, /buildarea/poky.ubuntu.new/meta/recipes-devtools/autogen/autogen-native_5.12.bb, do_compile)
NOTE: package autogen-native-5.12-r2: task do_compile: Started
NOTE: package autogen-native-5.12-r2: task do_compile: Succeeded
NOTE: Running task 161 of 166 (ID: 2, /buildarea/poky.ubuntu.new/meta/recipes-devtools/autogen/autogen-native_5.12.bb, do_install)
...
NOTE: Running noexec task 166 of 166 (ID: 9, /buildarea/poky.ubuntu.new/meta/recipes-devtools/autogen/autogen-native_5.12.bb, do_build)
NOTE: Tasks Summary: Attempted 166 tasks of which 157 didn&apos;t need to be rerun and all succeeded.

test env: Fedora 17 x86_64
git info: 3051f3644496ab570f3c6fb8f5def9d5843b1508
git branch: poky/master</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>