Skip to contentSkip to conversation

lttng-tools: disable build-time test failing for musl/uclibc

PATCH New Waldemar Brodkorb 2 participants 2 messages Aug 20, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lttng-tools: disable build-time test failing for musl/uclibc

Disable a failing build time test, which uses dlmopen without the need for autoreconf.

Fixes:
http://autobuild.buildroot.net/results/011/0111d1f3c18b3f482207a1052831cd0bc45172b3//

---
 .../lttng-tools/0001-disable-dlmopen-test.patch    | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 package/lttng-tools/0001-disable-dlmopen-test.patch
package/lttng-tools/0001-disable-dlmopen-test.patch new file +27 -0
new file mode 100644
index 000000000..7cc0f35ba
@@ -0,0 +1,27 @@
+test is not appropriate for uclibc/musl as it uses
+dlmopen. Disable the test without need to autoreconf.
+
+Signed-off-by: Waldemar Brodkorb <[email protected]>
+
+diff -Nur lttng-tools-2.9.5.orig/tests/regression/ust/Makefile.in lttng-tools-2.9.5/tests/regression/ust/Makefile.in
+--- lttng-tools-2.9.5.orig/tests/regression/ust/Makefile.in	2017-06-14 20:30:16.729238010 +0200
++++ lttng-tools-2.9.5/tests/regression/ust/Makefile.in	2017-08-20 04:27:34.818432154 +0200
+@@ -88,7 +88,7 @@
+ build_triplet = @build@
+ host_triplet = @host@
+ target_triplet = @target@
+- at HAVE_LIBLTTNG_UST_CTL_TRUE@@HAVE_OBJCOPY_TRUE at am__append_1 = baddr-statedump ust-dl
++ at HAVE_LIBLTTNG_UST_CTL_TRUE@@HAVE_OBJCOPY_TRUE at am__append_1 = baddr-statedump
+ subdir = tests/regression/ust
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
+@@ -178,8 +178,7 @@
+ 	multi-session overlap buffers-pid linking daemon exit-fast \
+ 	fork libc-wrapper periodical-metadata-flush java-jul \
+ 	java-log4j python-logging getcpu-override clock-override \
+-	type-declarations rotation-destroy-flush baddr-statedump \
+-	ust-dl
++	type-declarations rotation-destroy-flush baddr-statedump
+ am__DIST_COMMON = $(srcdir)/Makefile.in
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ am__relativize = \
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 lttng-tools: disable build-time test failing for musl/uclibc

Hello,

Quoted 2 lines · Waldemar Brodkorb

Disable a failing build time test, which uses dlmopen without the need for autoreconf.

Why without doing an autoreconf ?

Also perhaps it is in fact better to add a --disable-tests option, since we don't really need to build tests in the context of Buildroot.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com