Source: libidn Version: 1.28-2 Severity: normal Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el User: debian-de...@lists.debian.org Usertags: autoreconf
Dear Maintainer, The package libidn is one of the major packages (together with libbsd (bug 748994)) that still doesn't compile on ppc64el. In fact, 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: install -d debian/libidn11-dev//usr/lib/powerpc64le-linux-gnu cp -a ./debian/tmp/usr/lib/powerpc64le-linux-gnu/libidn.a debian/libidn11-dev//usr/lib/powerpc64le-linux-gnu/ dh_install: libidn11-dev missing files (debian/tmp/usr/lib/*/lib*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/libidn_1.28-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. I would really appreciate if this fix get accepted. FWIW, Ubuntu has it for a long time. Thank you, Breno
Index: libidn-1.28/debian/control =================================================================== --- libidn-1.28.orig/debian/control +++ libidn-1.28/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Debian Libidn Team <help-lib...@gnu.org> Uploaders: Anibal Monsalve Salazar <ani...@debian.org>, Simon Josefsson <si...@josefsson.org> Standards-Version: 3.9.5 -Build-Depends: debhelper (>= 8.1.3), gcj-jdk [!arm !hppa !hurd-i386], fastjar [!arm !hppa !hurd-i386] +Build-Depends: debhelper (>= 8.1.3), gcj-jdk [!arm !hppa !hurd-i386], fastjar [!arm !hppa !hurd-i386], dh-autoreconf Vcs-Cvs: :pserver:anonym...@cvs.savannah.gnu.org:/sources/libidn Vcs-Browser: http://cvs.savannah.gnu.org/viewvc/debian-libidn/?root=libidn Homepage: https://www.gnu.org/software/libidn/ Index: libidn-1.28/debian/rules =================================================================== --- libidn-1.28.orig/debian/rules +++ libidn-1.28/debian/rules @@ -34,6 +34,7 @@ LDFLAGS:=$(shell dpkg-buildflags --get L config.status: configure dh_testdir + dh_autoreconf # Add here commands to configure the package. ./configure $(CFG_CROSS) $(CFG_PATHS) $(CFG_DEBP) $(ENABLE_JAVA) \ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ @@ -56,6 +57,7 @@ endif clean: dh_testdir dh_testroot + dh_autoreconf_clean rm -f build-stamp # Add here commands to clean up after the build process.