Source: ltt-control
Version: 2.1.1-1
Severity: serious
Tags: patch sid
User: debian-powerpc...@breakpoint.cc
Usertags: powerpcspe

Hi,

ltt-control FTBFS on several arches like this:

[...]
make[4]: Entering directory `/«PKGBUILDDIR»/tests/tools/streaming'
  CC     unit_tests.o
  CCLD   unit_tests
  CC     gen-ust-events.o
  CC     tp.o
  CCLD   gen-ust-events
/usr/bin/ld: tp.o: undefined reference to symbol 'rcu_dereference_sym'
/usr/bin/ld: note: 'rcu_dereference_sym' is defined in DSO 
/usr/lib/liburcu-bp.so.1 so try adding it to the linker command line
/usr/lib/liburcu-bp.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [gen-ust-events] Error 1
make[4]: Leaving directory `/«PKGBUILDDIR»/tests/tools/streaming'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/tests/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/«PKGBUILDDIR»/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2cd 
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
[...]


The attached patch fixes this by autoreconf'ing.

Roland



-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)

Kernel: Linux 3.8.0 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -ruN ltt-control-2.1.1.orig/debian/control ltt-control-2.1.1/debian/control
--- ltt-control-2.1.1.orig/debian/control	2013-03-01 00:34:37.000000000 +0100
+++ ltt-control-2.1.1/debian/control	2013-03-01 10:48:43.238021748 +0100
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Jon Bernard <jbern...@debian.org>
 Build-Depends: debhelper (>= 9), libpopt-dev, liburcu-dev (>= 0.7.4),
-  liblttng-ust-dev (>= 2.1.1-2)
+  liblttng-ust-dev (>= 2.1.1-2), dh-autoreconf
 Standards-Version: 3.9.3
 Vcs-Git: git://git.debian.org/git/collab-maint/ltt-control.git
 Vcs-Browser: http://git.debian.org/?p=collab-maint/ltt-control.git;a=summary
diff -ruN ltt-control-2.1.1.orig/debian/rules ltt-control-2.1.1/debian/rules
--- ltt-control-2.1.1.orig/debian/rules	2013-03-01 00:34:37.000000000 +0100
+++ ltt-control-2.1.1/debian/rules	2013-03-01 10:48:26.430017571 +0100
@@ -3,7 +3,7 @@
 export DEB_BUILD_MAINT_OPTIONS := hardening=+all
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 override_dh_auto_install:
 	# rename the bash completion file before installation

Reply via email to