Skip to contentSkip to conversation

xmlrpc-c: inherit binconfig

PATCH New [email protected] 1 participant 1 message Feb 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xmlrpc-c: inherit binconfig

From: Kai Kang <[email protected]>

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.

---
 meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.51.03.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.51.03.bb +1 -1
index 02ea8cc5f..524263760 100644
@@ -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"
 
Signature · 1 line
2.20.0