Bug#755959: ppl: [ftbfs] run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4
Source: ppl
Version: 1.1-2
Severity: normal
Tags: patch
User: debian-powerpc@lists.debian.org
Usertags: ppc64el
User: debian-devel@lists.debian.org
Usertags: autoreconf
Dear Maintainer,
Currently this package FTBFS when compiled in new architectures (as ppc64el)
that is not supported on the outdated package autotools files, mainly because
it fails to understand that the new architectures has support for shared
libraries, as shown below:
dh_install -s --sourcedir=debian/tmp
dh_install: libppl13 missing files (usr/lib/*/libppl.so.*), aborting
make: *** [binary-arch] Error 255
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
The full log could be found at
http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/ppl_1.1-2_ppc64el.build
I created this patch that call autoreconf to updates the autotool files during
the build, as suggest by the following wiki:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build
I tested it on ppc64el and it worked.
Thank you,
Breno
Index: ppl-1.1/debian/control
===================================================================
--- ppl-1.1.orig/debian/control
+++ ppl-1.1/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian GCC Maintainers <debi
Uploaders: Michael Tautschnig <mt@debian.org>, Arthur Loiret <aloiret@debian.org>, Matthias Klose <doko@debian.org>
Standards-Version: 3.9.5
Build-Depends: debhelper (>= 6.0.7~), libgmp-dev, autoconf, libtool, autotools-dev, swi-prolog [!hurd-i386], chrpath,
- libncurses5-dev, libncursesw5-dev
+ libncurses5-dev, libncursesw5-dev, dh-autoreconf
Build-Depends-Indep: doxygen-latex, graphviz, poppler-utils, ghostscript, texlive-math-extra
Homepage: http://www.cs.unipr.it/ppl/
Index: ppl-1.1/debian/rules
===================================================================
--- ppl-1.1.orig/debian/rules
+++ ppl-1.1/debian/rules
@@ -73,8 +73,7 @@ endif
configure: configure-stamp
configure-stamp:
dh_testdir
- cp -f /usr/share/misc/config.sub config.sub
- cp -f /usr/share/misc/config.guess config.guess
+ dh_autoreconf
./configure $(confflags) \
--prefix=/usr \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
@@ -114,6 +113,7 @@ build-indep-stamp: configure-stamp
clean:
dh_testdir
dh_testroot
+ dh_autoreconf_clean
rm -f configure-stamp build-stamp
rm -f build-arch-stamp build-indep-stamp
[ ! -e Makefile ] || $(MAKE) distclean
Reply to: