Skip to contentSkip to conversation

Fix elfutils build failure

PATCH Applied Paul Eggleton 2 participants 3 messages Apr 3, 2012

lore
Share & tools
lore
#0 lore raw

cover Fix elfutils build failure

The following change since commit 38ee88e3b32b7444d7f1eb64f1b4f69a48fe0458:

gdb: build with expat, add missing RRECOMMENDS_gdbserver (2012-04-03 14:10:44 +0100)

is available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/elfutils-compress
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/elfutils-compress

Paul Eggleton (1):
elfutils: disable lzma (and bzip2 for native)

 meta/recipes-devtools/elfutils/elfutils_0.148.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.5.4
#1 lore raw

PATCH 1/1 elfutils: disable lzma (and bzip2 for native)

Fix some library dependency issues:
* Disable lzma as xz-native is unstated in DEPENDS
* Disable bzip2 for native as it is in ASSUME_PROVIDED and thus isn't available when elfutils-native is normally built, but if it gets rebuilt the link will be made; plus we don't need it.

---
 meta/recipes-devtools/elfutils/elfutils_0.148.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
meta/recipes-devtools/elfutils/elfutils_0.148.bb +3 -2
index dca89b1..225627b 100644
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3\
                     file://EXCEPTION;md5=570adcb0c1218ab57f2249c67d0ce417"
 DEPENDS = "libtool bzip2 zlib"
 
-PR = "r6"
+PR = "r7"
 
 SRC_URI = "https://fedorahosted.org/releases/e/l/elfutils/elfutils-${PV}.tar.bz2"
 
@@ -45,7 +45,8 @@ SRC_URI += "\
 "
 inherit autotools gettext
 
-EXTRA_OECONF = "--program-prefix=eu-"
+EXTRA_OECONF = "--program-prefix=eu- --without-lzma"
+EXTRA_OECONF_append_virtclass-native = " --without-bzlib"
 EXTRA_OECONF_append_libc-uclibc = " ${@['', '--enable-uclibc']['${PN}' == '${BPN}']}"
 
 do_configure_prepend() {
Signature · 1 line
1.7.5.4
#2 lore raw

Re: [PATCH 1/1] elfutils: disable lzma (and bzip2 for native)

Quoted 10 lines · Paul Eggleton

Fix some library dependency issues:
* Disable lzma as xz-native is unstated in DEPENDS
* Disable bzip2 for native as it is in ASSUME_PROVIDED and thus isn't available when elfutils-native is normally built, but if it gets rebuilt the link will be made; plus we don't need it.

---
 meta/recipes-devtools/elfutils/elfutils_0.148.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard