Package: libtcd Version: 2.2.2-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}). * Disable -Werror in automake to fix FTBFS while autoreconfing. Thanks for considering the patch. Logan Rosen -- System Information: Debian Release: wheezy/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.12.0-7-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 -u libtcd-2.2.2/debian/control libtcd-2.2.2/debian/control --- libtcd-2.2.2/debian/control +++ libtcd-2.2.2/debian/control @@ -1,7 +1,7 @@ Source: libtcd Priority: extra Maintainer: Peter S Galbraith <p...@debian.org> -Build-Depends: debhelper (>= 5), autotools-dev +Build-Depends: debhelper (>= 5), dh-autoreconf Standards-Version: 3.7.2 Section: libs diff -u libtcd-2.2.2/debian/rules libtcd-2.2.2/debian/rules --- libtcd-2.2.2/debian/rules +++ libtcd-2.2.2/debian/rules @@ -35,6 +35,7 @@ config.status: configure dh_testdir + dh_autoreconf # Add here commands to configure the package. ./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" @@ -54,14 +55,7 @@ rm -f build-stamp # Add here commands to clean up after the build process. - -$(MAKE) distclean -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_clean dh_clean only in patch2: unchanged: --- libtcd-2.2.2.orig/configure.ac +++ libtcd-2.2.2/configure.ac @@ -36,7 +36,7 @@ ]) ]) -AM_INIT_AUTOMAKE([-Wall -Werror]) +AM_INIT_AUTOMAKE([-Wall]) # Disable automatic checks that are incompatible with how subversion # sets timestamps.