Package: jpeginfo Version: 1.6.0-5 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_testdir ./configure --prefix=/usr --with-libjpeg \ --mandir=\${prefix}/share/man \ --infodir=\${prefix}/share/info creating cache ./config.cache aux/config.guess: unable to guess system type This script, last modified 2009-12-30, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from .... The full log could be found at http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/jpeginfo_1.6.0-5_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 did some tests (as in ppc64el) and the patch solves the problem and doesn't seem to add any regression. 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: jpeginfo-1.6.0/debian/control =================================================================== --- jpeginfo-1.6.0.orig/debian/control 2014-07-02 12:53:07.000000000 +0000 +++ jpeginfo-1.6.0/debian/control 2014-07-02 12:57:55.000000000 +0000 @@ -2,7 +2,7 @@ Section: graphics Priority: optional Maintainer: Ola Lundqvist <o...@debian.org> -Build-Depends: debhelper (>> 6.0), libjpeg-dev +Build-Depends: debhelper (>> 6.0), libjpeg-dev, autotools-dev Standards-Version: 3.9.1 Package: jpeginfo Index: jpeginfo-1.6.0/debian/rules =================================================================== --- jpeginfo-1.6.0.orig/debian/rules 2014-07-02 12:53:07.000000000 +0000 +++ jpeginfo-1.6.0/debian/rules 2014-07-02 12:58:29.000000000 +0000 @@ -12,6 +12,7 @@ configure: configure-stamp configure-stamp: dh_testdir + dh_autotools-dev_updateconfig ./configure --prefix=/usr --with-libjpeg \ --mandir=\$${prefix}/share/man \ --infodir=\$${prefix}/share/info @@ -26,6 +27,7 @@ clean: dh_testdir + dh_autotools-dev_restoreconfig -rm -f build-stamp configure-stamp [ ! -f Makefile ] || $(MAKE) distclean rm -f `find . -name "*~"` \