Package: hyphen Version: 2.8.7-2 Severity: normal Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el User: debian-de...@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 --sourcedir=debian/tmp dh_install: libhyphen-dev missing files (usr/lib/*.so), aborting make: *** [install] 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/hyphen_2.8.7-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: hyphen-2.8.7/debian/control =================================================================== --- hyphen-2.8.7.orig/debian/control 2014-07-02 18:58:23.000000000 +0000 +++ hyphen-2.8.7/debian/control 2014-07-02 19:01:35.000000000 +0000 @@ -2,7 +2,7 @@ Priority: optional Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org> Uploaders: Rene Engelhard <r...@debian.org> -Build-Depends: debhelper (>= 5), autotools-dev, texlive-base (>= 2013~), dpatch, gawk +Build-Depends: debhelper (>= 5), autotools-dev, dh-autoreconf, texlive-base (>= 2013~), dpatch, gawk Build-Depends-Indep: dictionaries-common-dev Standards-Version: 3.7.2 Section: libs Index: hyphen-2.8.7/debian/rules =================================================================== --- hyphen-2.8.7.orig/debian/rules 2014-07-02 18:58:23.000000000 +0000 +++ hyphen-2.8.7/debian/rules 2014-07-02 18:59:58.000000000 +0000 @@ -28,13 +28,7 @@ config.status: patch-stamp configure dh_testdir - # Add here commands to configure the package. -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif + dh_autoreconf ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" AWK=gawk @@ -50,6 +44,7 @@ clean: unpatch dh_testdir dh_testroot + dh_autoreconf_clean rm -f build-stamp # Add here commands to clean up after the build process.