<?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>5079</bug_id>
          
          <creation_ts>2013-08-30 06:47:04 +0000</creation_ts>
          <short_desc>binutils-cross: rebuild do_configure failed with command gnu-configize not found</short_desc>
          <delta_ts>2014-02-27 07:00:42 +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.5</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongxu Jia">hongxu.jia</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>hongxu.jia</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ning.zhang</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36067</commentid>
    <comment_count>0</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-08-30 06:47:04 +0000</bug_when>
    <thetext>branch master b467b99a5d25efe5eadfb07dbecba608575256ac

Reproduce:
1. bitbake binutils-cross
2. rm -rf tmp
3. bitbake binutils-cross -ccleansstate
4. bitbake binutils-cross failed at do_configure task
...
tmp/work/i586-poky-linux/binutils-cross/2.23.2-r4/temp/run.do_configure.3170: line 115: gnu-configize: command not found
ERROR: Failed to run gnu-configize
WARNING: tmp/work/i586-poky-linux/binutils-cross/2.23.2-r4/temp/run.do_configure.3170:1 exit 1  from
  exit 1
...

gnu-configize belongs to gnu-config-native, and gnu-config-native will be
added to DEPENDS while inherit autotools if INHIBIT_AUTOTOOLS_DEPS is not
true. In binutils-cross.inc, INHIBIT_AUTOTOOLS_DEPS is incorrectly assigned
with true.

And explicitly add gnu-config-native to DEPENDS is not ok, the do_configure
shows it needs autoconf-native.

Don&apos;t assign INHIBIT_AUTOTOOLS_DEPS in binutils-cross could fix this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36619</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-09-12 18:35:44 +0000</bug_when>
    <thetext>I was not able to reproduce this issue at all after a number of attempts, please let me know if you can with master and if those steps change, maybe more details about your Host OS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36657</commentid>
    <comment_count>2</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-09-13 08:33:30 +0000</bug_when>
    <thetext>branch master 4ed03e50b60b31d9ab8bb51017816bf8cfff9117

On Ubuntu 13.04, I could reproduce it:

1. Create a new build
   modify local.conf:
   BB_NUMBER_THREADS ?= &quot;10&quot;
   PARALLEL_MAKE ?= &quot;-j 10&quot;

2. bitbake binutils-cross

3. remove TMPDIR where to place the build output (keep SSTATE_DIR)

4. bitbake binutils-cross -ccleansstate

5. bitbake binutils-cross
   It failed at do_configure task</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39868</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2014-01-16 16:11:40 +0000</bug_when>
    <thetext>Was this fixed by http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7ef0f55a95e8bcb1f5c7190305672fcff3c72d90 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40725</commentid>
    <comment_count>4</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-02-27 07:00:42 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Was this fixed by
&gt; http://git.yoctoproject.org/cgit.cgi/poky/commit/
&gt; ?id=7ef0f55a95e8bcb1f5c7190305672fcff3c72d90 ?

Yes, the test is ok.

//Hongxu</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>