Patchwork [1/1] binutils-cross: autotools dependence is needed

login
register
mail settings
Submitter Hongxu Jia
Date Aug. 30, 2013, 6:57 a.m.
Message ID <92e60acbac317fbc9d9109c6c3591339bca297ad.1377845594.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/57129/
State New
Headers show

Comments

Hongxu Jia - Aug. 30, 2013, 6:57 a.m.
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.

[YOCTO #5079]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta/recipes-devtools/binutils/binutils-cross.inc | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc
index 300a1d3..f1afe8f 100644
--- a/meta/recipes-devtools/binutils/binutils-cross.inc
+++ b/meta/recipes-devtools/binutils/binutils-cross.inc
@@ -2,7 +2,6 @@  inherit cross
 PROVIDES = "virtual/${TARGET_PREFIX}binutils"
 
 INHIBIT_DEFAULT_DEPS = "1"
-INHIBIT_AUTOTOOLS_DEPS = "1"
 
 EXTRA_OECONF += "--with-sysroot=${STAGING_DIR_TARGET} \
                 --disable-install-libbfd \