Package: unixodbc-gui-qt
Version: 2.3.0-3
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-2-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 unixodbc-gui-qt-2.3.0/debian/control unixodbc-gui-qt-2.3.0/debian/control
--- unixodbc-gui-qt-2.3.0/debian/control
+++ unixodbc-gui-qt-2.3.0/debian/control
@@ -1,6 +1,6 @@
 Source: unixodbc-gui-qt
 Build-Depends: debhelper (>= 9), libqt4-dev, libqtassistantclient-dev,
-	libreadline-dev, autotools-dev, libltdl-dev, unixodbc-dev
+	libreadline-dev, dh-autoreconf, libltdl-dev, unixodbc-dev
 Section: libs
 Priority: optional
 Maintainer: Steve Langasek <vor...@debian.org>
diff -u unixodbc-gui-qt-2.3.0/debian/rules unixodbc-gui-qt-2.3.0/debian/rules
--- unixodbc-gui-qt-2.3.0/debian/rules
+++ unixodbc-gui-qt-2.3.0/debian/rules
@@ -7,9 +7,9 @@
 export LDFLAGS=-Wl,-z,defs
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
-override_dh_auto_configure: autotools
+override_dh_auto_configure:
 	# Add here commands to configure the package.
 	CXXFLAGS="-g -O2 -pipe" \
 	dh_auto_configure -- --with-qt_dir_include=/usr/include/qt4 \
@@ -26,10 +25,0 @@
-
-# The autotools target adds a forced build-time dependency on
-# autotools-dev (for /usr/share/misc/config.*)
-autotools:
-	OLDDATESUB=`./config.sub -t | tr -d - ` || OLDDATESUB=""; \
-	NEWDATESUB=`/usr/share/misc/config.sub -t | tr -d - `; \
-	if [ -z "$$OLDDATESUB" ] || [ "$$OLDDATESUB" -lt "$$NEWDATESUB" ]; \
-	then \
-	   cp -f /usr/share/misc/config.sub config.sub; \
-	fi

Reply via email to