valgrind: Fix multilib header conflict - valgrind/config.h
PATCH 1/3 valgrind: Fix multilib header conflict - valgrind/config.h
Header file conflict between 32-bit and 64-bit versions.
Signed-off-by Zhang Xiao <[email protected]>
--- meta/recipes-devtools/valgrind/valgrind_3.13.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-devtools/valgrind/valgrind_3.13.0.bb +2 -1
@@ -58,7 +58,7 @@ COMPATIBLE_HOST_linux-muslx32 = 'null' COMPATIBLE_HOST_mipsarchn32 = 'null' COMPATIBLE_HOST_mipsarchr6 = 'null' -inherit autotools ptest +inherit autotools ptest multilib_header EXTRA_OECONF = "--enable-tls --without-mpicc" EXTRA_OECONF += "${@['--enable-only32bit','--enable-only64bit'][d.getVar('SITEINFO_BITS') != '32']}"
@@ -91,6 +91,7 @@ do_configure_prepend () { do_install_append () { install -m 644 ${B}/default.supp ${D}/${libdir}/valgrind/ + oe_multilib_header valgrind/config.h } TUNE = "${@strip_mcpu(d)}"
Signature · 1 line
2.11.0
PATCH 2/3 tiff: Fix multilib header conflict - tiffconf.h
Header file conflict between 32-bit and 64-bit versions.
Signed-off-by Zhang Xiao <[email protected]>
--- meta/recipes-multimedia/libtiff/tiff_4.0.9.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-multimedia/libtiff/tiff_4.0.9.bb +5 -1
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "6e7bdeec2c310734e734d19aae3a71ebe37a4d842e0e23dbb1b8921c00 # exclude betas UPSTREAM_CHECK_REGEX = "tiff-(?P<pver>\d+(\.\d+)+).tar" -inherit autotools +inherit autotools multilib_header CACHED_CONFIGUREVARS = "ax_cv_check_gl_libgl=no"
@@ -45,4 +45,8 @@ PACKAGES =+ "tiffxx tiff-utils" FILES_tiffxx = "${libdir}/libtiffxx.so.*" FILES_tiff-utils = "${bindir}/*" +do_install_append() { + oe_multilib_header tiffconf.h +} + BBCLASSEXTEND = "native"
Signature · 1 line
2.11.0
PATCH 3/3 libgpg-error: Fix multilib header conflict - pg-error.h and gpgrt.h
In reply to Zhang XiaoHeader file conflict between 32-bit and 64-bit versions.
Signed-off-by Zhang Xiao <[email protected]>
--- meta/recipes-support/libgpg-error/libgpg-error_1.27.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-support/libgpg-error/libgpg-error_1.27.bb +2 -1
@@ -21,7 +21,7 @@ SRC_URI[sha256sum] = "4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a2 BINCONFIG = "${bindir}/gpg-error-config" -inherit autotools binconfig-disabled pkgconfig gettext +inherit autotools binconfig-disabled pkgconfig gettext multilib_header CPPFLAGS += "-P" do_compile_prepend() { TARGET_FILE=linux-gnu
@@ -53,6 +53,7 @@ do_compile_prepend() { do_install_append() { # we don't have common lisp in OE rm -rf "${D}${datadir}/common-lisp/" + oe_multilib_header gpg-error.h gpgrt.h } FILES_${PN}-dev += "${bindir}/gpg-error"
Signature · 1 line
2.11.0
Quoted 1 line · Zhang Xiao
Header file conflict between 32-bit and 64-bit versions.
I believe these patches should go to oe-core list.
Alex