[oe] [PATCH] xmlrpc-c: inherit binconfig

kai.kang at windriver.com kai.kang at windriver.com
Thu Feb 28 08:20:49 UTC 2019


From: Kai Kang <kai.kang at windriver.com>

libreport calls xmlrpc-c-config from package xmlrpc-c-native to get
cflags and libs. But it gets dirs in ${STAGING_DIR_NATIVE} which make
lib32-libreport compile failed with config:

  require conf/multilib.conf
  MACHINE = "qemuarm64"
  MULTILIBS = "multilib:lib32"
  DEFAULTTUNE_virtclass-multilib-lib32 = "armv7vethf"

| arm-wrs-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libabrt_dbus.so"
  && ln -s "libabrt_dbus.so.0.0.1" "libabrt_dbus.so")
| .../tmp-glibc/work/armv5e-wrs-linux-gnueabi/libreport/2.9.7-r0/recipe-sysroot-native/usr/lib/libxml2.so:
  file not recognized: file format not recognized
| collect2: error: ld returned 1 exit status
| make[3]: *** [Makefile:780: libreport-web.la] Error 1

Make xmlrpc-c inherit binconfig to avoid such kind of errors.

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.51.03.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.51.03.bb b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.51.03.bb
index 02ea8cc5f..524263760 100644
--- a/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.51.03.bb
+++ b/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.51.03.bb
@@ -17,7 +17,7 @@ S = "${WORKDIR}/git/stable"
 DEPENDS = "libxml2"
 RDEPENDS_${PN} = "perl"
 
-inherit autotools-brokensep pkgconfig
+inherit autotools-brokensep binconfig pkgconfig
 
 TARGET_CFLAGS += "-Wno-narrowing"
 
-- 
2.20.0



More information about the Openembedded-devel mailing list