Package: libmemcache Version: 1.4.0.rc2-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}). * Use automake's "foreign" option 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 libmemcache-1.4.0.rc2/debian/rules libmemcache-1.4.0.rc2/debian/rules --- libmemcache-1.4.0.rc2/debian/rules +++ libmemcache-1.4.0.rc2/debian/rules @@ -6,6 +6,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/simple-patchsys.mk include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/autoreconf.mk # Use touch-fu before build to avoid remaking the autotools. Wrap this in # `test' so we don't call `configure' again upon `binary'. diff -u libmemcache-1.4.0.rc2/debian/control libmemcache-1.4.0.rc2/debian/control --- libmemcache-1.4.0.rc2/debian/control +++ libmemcache-1.4.0.rc2/debian/control @@ -3,7 +3,7 @@ Section: libs Maintainer: Zak B. Elep <zak...@spunge.org> Standards-Version: 3.6.2 -Build-Depends: autotools-dev, cdbs, debhelper (>= 5) +Build-Depends: dh-autoreconf, cdbs, debhelper (>= 5) Package: libmemcache0 Architecture: any only in patch2: unchanged: --- libmemcache-1.4.0.rc2.orig/debian/patches/30_automake_foreign.patch +++ libmemcache-1.4.0.rc2/debian/patches/30_automake_foreign.patch @@ -0,0 +1,14 @@ +## Description: use foreign option to fix FTBFS while autoreconfing +## Origin/Author: Logan Rosen <lo...@ubuntu.com> +diff -Nur -x '*.orig' -x '*~' libmemcache-1.4.0.rc2/configure.ac libmemcache-1.4.0.rc2.new/configure.ac +--- libmemcache-1.4.0.rc2/configure.ac 2006-02-21 03:01:41.000000000 -0500 ++++ libmemcache-1.4.0.rc2.new/configure.ac 2013-12-31 19:08:02.689248746 -0500 +@@ -35,7 +35,7 @@ + AC_SUBST(MEMCACHE_VERSION_INFO) + AC_SUBST(MEMCACHE_VERSION_NUMBER) + +-AM_INIT_AUTOMAKE(libmemcache,${MEMCACHE_VERSION}) ++AM_INIT_AUTOMAKE([foreign]) + + dnl AM_PATH_CHECK() +