Package: libpff
Version: 20120802-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}).
  * Build-depend on pkg-config to fix FTBFS.

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-3-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 libpff-20120802/debian/control libpff-20120802/debian/control
--- libpff-20120802/debian/control
+++ libpff-20120802/debian/control
@@ -5,8 +5,9 @@
 Uploaders: Pierre Chifflier <pol...@debian.org>,
   Christophe Monniez <christophe.monn...@fccu.be>
 Build-Depends: debhelper (>= 9),
-  autotools-dev,
-  libbfio-dev
+  dh-autoreconf,
+  libbfio-dev,
+  pkg-config
 Standards-Version: 3.9.4
 Homepage: http://libpff.sourceforge.net
 Vcs-Browser: http://git.debian.org/?p=forensics/libpff.git
diff -u libpff-20120802/debian/rules libpff-20120802/debian/rules
--- libpff-20120802/debian/rules
+++ libpff-20120802/debian/rules
@@ -15,7 +15,7 @@
 	do rm -f $$filename; done
 
 %:
-	dh $@  --with autotools-dev
+	dh $@  --with autoreconf
 
 override_dh_auto_configure:
 	dh_auto_configure -- LDFLAGS="-Wl,--as-needed $(LDFLAGS)"

Reply via email to