[oe] [meta-oe][master][fido][PATCH] gsoap: fix DEPENDS to prevent link failure for gsoap-native

Joshua Lock joshua.lock at collabora.co.uk
Wed Sep 16 15:32:38 UTC 2015


With a fairly high number of threads I can reliably trigger the
following linker failure in gsoap-native:

| /usr/bin/ld: cannot find -ly
| collect2: error: ld returned 1 exit status
| Makefile:402: recipe for target 'soapcpp2' failed

Change the DEPENDS to include bison and let the BBCLASSEXTENDS
machinery fix DEPENDS for -native and -target variants, only
additonally adding gsoap-native to the DEPENDS for the target
recipe.

Signed-off-by: Joshua Lock <joshua.lock at collabora.co.uk>
---
 meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb b/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb
index b5c3995..6da08ac 100644
--- a/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb
+++ b/meta-oe/recipes-support/gsoap/gsoap_2.8.12.bb
@@ -20,8 +20,8 @@ PARALLEL_MAKE = ""
 
 EXTRA_OEMAKE_class-target = "SOAP=${STAGING_BINDIR_NATIVE}/soapcpp2"
 
-DEPENDS_class-target = "gsoap-native openssl zlib"
-DEPENDS_class-native = "flex-native"
+DEPENDS = "openssl zlib flex bison"
+DEPENDS_append_class-target = " gsoap-native"
 
 do_install_append() {
     install -d ${D}${libdir}
-- 
2.1.4




More information about the Openembedded-devel mailing list