Package: libpqxx
Version: 4.0.1-2
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 fix FTBFS on ppc64el.

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-4-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 libpqxx-4.0.1/debian/control libpqxx-4.0.1/debian/control
--- libpqxx-4.0.1/debian/control	2013-11-15 14:28:42.000000000 -0500
+++ libpqxx-4.0.1/debian/control	2014-01-18 17:39:35.000000000 -0500
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Marcin Kulisz (kuLa) <deb...@kulisz.net>
 Build-Depends: debhelper (>> 9.0.0), libpq-dev (>= 8.0.3), chrpath, libtool,
- python-all, autotools-dev
+ python-all, dh-autoreconf
 Standards-Version: 3.9.4
 Vcs-Git: git://anonscm.debian.org/collab-maint/libpqxx.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libpqxx.git;a=summary
diff -Nru libpqxx-4.0.1/debian/rules libpqxx-4.0.1/debian/rules
--- libpqxx-4.0.1/debian/rules	2013-11-15 14:32:36.000000000 -0500
+++ libpqxx-4.0.1/debian/rules	2014-01-17 01:46:09.000000000 -0500
@@ -4,7 +4,7 @@
 export LIBRARY_VERSION=4.0
 
 %:
-	dh $@ --with autotools_dev
+	dh $@ --with autoreconf
 
 override_dh_auto_configure:
 	dh_auto_configure -- --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-shared CXXFLAGS="$(CXXFLAGS)"

Reply via email to