Bug 5079 - binutils-cross: rebuild do_configure failed with command gnu-configize not found
Summary: binutils-cross: rebuild do_configure failed with command gnu-configize not found
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.5
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.6
Assignee: Hongxu Jia
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-08-30 06:47 UTC by Hongxu Jia
Modified: 2014-02-27 07:00 UTC (History)
10 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hongxu Jia 2013-08-30 06:47:04 UTC
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't assign INHIBIT_AUTOTOOLS_DEPS in binutils-cross could fix this issue.
Comment 1 Saul Wold 2013-09-12 18:35:44 UTC
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.
Comment 2 Hongxu Jia 2013-09-13 08:33:30 UTC
branch master 4ed03e50b60b31d9ab8bb51017816bf8cfff9117

On Ubuntu 13.04, I could reproduce it:

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

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
Comment 4 Hongxu Jia 2014-02-27 07:00:42 UTC
(In reply to comment #3)
> Was this fixed by
> http://git.yoctoproject.org/cgit.cgi/poky/commit/
> ?id=7ef0f55a95e8bcb1f5c7190305672fcff3c72d90 ?

Yes, the test is ok.

//Hongxu