[OE-core] [PATCH 10/24] dbus: update build options when enable ptest
Robert Yang
liezhi.yang at windriver.com
Fri May 25 03:01:13 UTC 2018
Qi said that this one can be covered by the fix:
commit 2d3e09949732ed48c8c9a328d9ab6ebbf6889b13
Author: Juro Bystricky <juro.bystricky at intel.com>
Date: Tue Feb 27 12:19:26 2018 -0800
dbus-test_1.12.2: various fixes
So I dropped it from the PULL.
// Robert
On 05/25/2018 10:48 AM, Robert Yang wrote:
> From: Kai Kang <kai.kang at windriver.com>
>
> It fails to run some dbus-ptest cases that some symbols cannot be found:
>
> | ./test/test-bus: relocation error: ./test/test-bus: symbol
> | _dbus_threads_init_debug, version LIBDBUS_PRIVATE_1.10.10 not defined
> | in file libdbus-1.so.3 with link time reference
> | FAIL: test/test-bus
>
> These missing symbols are controlled by some macros. Update configure
> options and compile macro to make the symbols visible to ptest cases.
>
> Signed-off-by: Kai Kang <kai.kang at windriver.com>
> ---
> meta/recipes-core/dbus/dbus_1.12.8.bb | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/dbus/dbus_1.12.8.bb b/meta/recipes-core/dbus/dbus_1.12.8.bb
> index b3ddaaf..ff235f1 100644
> --- a/meta/recipes-core/dbus/dbus_1.12.8.bb
> +++ b/meta/recipes-core/dbus/dbus_1.12.8.bb
> @@ -92,7 +92,7 @@ pkg_postinst_dbus() {
> fi
> }
>
> -EXTRA_OECONF = "--disable-tests \
> +EXTRA_OECONF = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '--enable-embedded-tests --enable-asserts --enable-verbose-mode', '--disable-tests', d)} \
> --disable-xml-docs \
> --disable-doxygen-docs \
> --disable-libaudit \
> @@ -102,6 +102,8 @@ EXTRA_OECONF = "--disable-tests \
> EXTRA_OECONF_append_class-target = " SYSTEMCTL=${base_bindir}/systemctl"
> EXTRA_OECONF_append_class-native = " --disable-selinux"
>
> +EXTRA_OEMAKE = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'CFLAG_VISIBILITY=-fvisibility=default', '', d)}"
> +
> PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)}"
> PACKAGECONFIG_class-native = ""
> PACKAGECONFIG_class-nativesdk = ""
>
More information about the Openembedded-core
mailing list