All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] binutils-cross: autotools dependence is needed
@ 2013-08-30  6:57 Hongxu Jia
  2013-08-30  6:57 ` [PATCH 1/1] " Hongxu Jia
  0 siblings, 1 reply; 2+ messages in thread
From: Hongxu Jia @ 2013-08-30  6:57 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
1.8.1.2



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] binutils-cross: autotools dependence is needed
  2013-08-30  6:57 [PATCH 0/1] binutils-cross: autotools dependence is needed Hongxu Jia
@ 2013-08-30  6:57 ` Hongxu Jia
  0 siblings, 0 replies; 2+ messages in thread
From: Hongxu Jia @ 2013-08-30  6:57 UTC (permalink / raw)
  To: openembedded-core

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(-)

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 \
-- 
1.8.1.2



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-30  6:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-30  6:57 [PATCH 0/1] binutils-cross: autotools dependence is needed Hongxu Jia
2013-08-30  6:57 ` [PATCH 1/1] " Hongxu Jia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.