Skip to contentSkip to conversation

binutils-cross: autotools dependence is needed

PATCH New Hongxu Jia 1 participant 2 messages Aug 30, 2013

lore
Share & tools
lore

Hongxu Jia

author
#0 lore raw

cover binutils-cross: autotools dependence is needed

The following changes since commit b467b99a5d25efe5eadfb07dbecba608575256ac:

linux-yocto: switch genericx86 to use common-pc (2013-08-24 09:37:49 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/fix-binutils-cross
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-binutils-cross

Hongxu Jia (1):
binutils-cross: autotools dependence is needed

 meta/recipes-devtools/binutils/binutils-cross.inc | 1 -
 1 file changed, 1 deletion(-)
Signature · 1 line
1.8.1.2
author
#1 lore raw

PATCH 1/1 binutils-cross: autotools dependence is needed

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]

---
 meta/recipes-devtools/binutils/binutils-cross.inc | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-devtools/binutils/binutils-cross.inc +0 -1
index 300a1d3..f1afe8f 100644
@@ -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 \
Signature · 1 line
1.8.1.2