Source: libbind
Version: 6.0-1.1
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf

Dear Maintainer,

Bug #727394 does not fully fix the problem on building in new architecture.
In fact, it doesn't update aclocal files, which makes the build failure, at
least, in ppc64el, as shown on the following build log:

http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/libbind_6.0-1.1_ppc64el.build

As I said, the problem is that it doesn't update aclocal files, wich causes the
architecture to not see the new architecture as supporting shared libraries. 
There 
is a wiki entry covering it:

https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

I just created a patch that solves this problem, and enable all the autotools
files to be updated. How does it sound?

Thank you,
Breno

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: libbind-6.0/debian/control
===================================================================
--- libbind-6.0.orig/debian/control	2014-07-03 13:31:02.000000000 +0000
+++ libbind-6.0/debian/control	2014-07-03 13:31:16.000000000 +0000
@@ -1,7 +1,7 @@
 Source: libbind
 Priority: extra
 Maintainer: Robert S. Edmonds <edmo...@debian.org>
-Build-Depends: debhelper (>= 7.0.50), autotools-dev
+Build-Depends: debhelper (>= 7.0.50), dh-autoreconf
 Standards-Version: 3.8.1
 Section: libs
 Homepage: http://www.isc.org/software/libbind
Index: libbind-6.0/debian/rules
===================================================================
--- libbind-6.0.orig/debian/rules	2014-07-03 13:31:02.000000000 +0000
+++ libbind-6.0/debian/rules	2014-07-03 13:31:30.000000000 +0000
@@ -1,4 +1,5 @@
 #!/usr/bin/make -f
+export AUTOHEADER = true
 %:
 	dh $@
 
@@ -8,7 +9,7 @@
 	touch $@
 
 clean:
-	dh_autotools-dev_restoreconfig
+	dh_autoreconf_clean
 	dh clean 
 	find . -name '*.o' -delete
 
@@ -19,7 +20,8 @@
 	dh binary-arch
 
 override_dh_auto_configure:
-	dh_autotools-dev_updateconfig
+	aclocal
+	dh_autoreconf
 	dh_auto_configure -- -with-libtool
 
 binary: binary-arch binary-indep

Reply via email to