Package: ccfits Version: 2.4-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu trusty ubuntu-patch
Dear Maintainer, For the ppc64el architecture in Ubuntu, since this package uses libtool, a full autoreconf is necessary instead of just config.{sub,guess} updates with autotools-dev. This is because we need new libtool macros for ppc64el. In Ubuntu, the attached patch was applied to achieve the following: * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by getting new libtool macros (still updates config.{sub,guess}). * Add AC_CONFIG_MACRO_DIR([config/m4]) to fix FTBFS while autoreconfing. Thanks for considering the patch. Logan Rosen -- System Information: Debian Release: jessie/sid APT prefers trusty-updates APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (100, 'trusty-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13.0-5-generic (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru ccfits-2.4/debian/control ccfits-2.4/debian/control --- ccfits-2.4/debian/control 2012-04-03 10:20:18.000000000 -0400 +++ ccfits-2.4/debian/control 2014-01-22 22:20:36.000000000 -0500 @@ -2,7 +2,7 @@ Section: libs Priority: optional Maintainer: Aurelien Jarno <aure...@debian.org> -Build-Depends: debhelper (>= 8.1.3), libcfitsio3-dev (>= 3.08), autotools-dev, chrpath +Build-Depends: debhelper (>= 8.1.3), libcfitsio3-dev (>= 3.08), dh-autoreconf, chrpath Build-Depends-Indep: doxygen-latex, ghostscript, texlive, texlive-extra-utils, texlive-font-utils Standards-Version: 3.9.3 Homepage: http://heasarc.gsfc.nasa.gov/fitsio/CCfits/ diff -Nru ccfits-2.4/debian/patches/03-m4-directory.patch ccfits-2.4/debian/patches/03-m4-directory.patch --- ccfits-2.4/debian/patches/03-m4-directory.patch 1969-12-31 19:00:00.000000000 -0500 +++ ccfits-2.4/debian/patches/03-m4-directory.patch 2014-01-18 22:41:05.000000000 -0500 @@ -0,0 +1,10 @@ +--- a/configure.in ++++ b/configure.in +@@ -9,6 +9,7 @@ + AC_CONFIG_AUX_DIR(config) + AC_CANONICAL_SYSTEM + AM_INIT_AUTOMAKE(CCfits, 2.4) ++AC_CONFIG_MACRO_DIR([config/m4]) + + AM_MAINTAINER_MODE + diff -Nru ccfits-2.4/debian/patches/series ccfits-2.4/debian/patches/series --- ccfits-2.4/debian/patches/series 2012-04-03 10:29:05.000000000 -0400 +++ ccfits-2.4/debian/patches/series 2014-01-18 22:40:47.000000000 -0500 @@ -1,3 +1,4 @@ 01-no-cookbook.patch 02-am-maintainer-mode.patch 99-relibtoolize.patch +03-m4-directory.patch diff -Nru ccfits-2.4/debian/rules ccfits-2.4/debian/rules --- ccfits-2.4/debian/rules 2011-11-20 17:25:19.000000000 -0500 +++ ccfits-2.4/debian/rules 2014-01-18 22:35:44.000000000 -0500 @@ -26,16 +26,15 @@ dh_testdir dh_testroot [ ! -f Makefile ] || $(MAKE) distclean - rm -f config/config.guess config/config.sub rm -rf html latex rm -f *-stamp + dh_autoreconf_clean dh_clean configure: configure-stamp configure-stamp: dh_testdir - cp /usr/share/misc/config.guess $(CURDIR)/config/config.guess - cp /usr/share/misc/config.sub $(CURDIR)/config/config.sub + dh_autoreconf CFLAGS="$(CFLAGS)" ./configure \ --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \