Package: vdk2
Version: 2.4.0-5.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 also fix FTBFS on ppc64el by
    getting new libtool macros (still updates config.{sub,guess}).
  * Add newline at end of configure.in to fix FTBFS while autoreconfing.

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 vdk2-2.4.0/debian/control vdk2-2.4.0/debian/control
--- vdk2-2.4.0/debian/control
+++ vdk2-2.4.0/debian/control
@@ -4,7 +4,7 @@
 Maintainer: Michael Vogt <m...@debian.org>
 Uploaders: Sam Hocevar (Debian packages) <sam+...@zoy.org>
 Standards-Version: 3.7.2
-Build-Depends: debhelper (>= 4.0), libgnome2-dev, libgtk2.0-dev (>= 2.4.0-1), libglib2.0-dev, doxygen, autotools-dev, dpatch, chrpath
+Build-Depends: debhelper (>= 4.0), libgnome2-dev, libgtk2.0-dev (>= 2.4.0-1), libglib2.0-dev, doxygen, dh-autoreconf, dpatch, chrpath
 
 Package: libvdk2-2c2
 Section: libs
diff -u vdk2-2.4.0/debian/rules vdk2-2.4.0/debian/rules
--- vdk2-2.4.0/debian/rules
+++ vdk2-2.4.0/debian/rules
@@ -13,6 +13,7 @@
 build: build-stamp 
 build-stamp:
 	dh_testdir
+	dh_autoreconf
 	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
 		--prefix=/usr --enable-debug=no \
 		--enable-testvdk=no --mandir=/usr/share/man \
@@ -36,15 +37,11 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp build-dbg-stamp install-stamp install-dbg-stamp
-	# autotools-dev stuff
-	-test -r /usr/share/misc/config.sub && \
-	  cp -f /usr/share/misc/config.sub config.sub
-	-test -r /usr/share/misc/config.guess && \
-	  cp -f /usr/share/misc/config.guess config.guess
 
 	# Add here commands to clean up after the build process.
 	-$(MAKE) distclean
 	find . -name '*.o' -o -name '_libs' -o -name '*.lo' -o -name '*.a' -o -name '.deps' | xargs rm -rf
+	dh_autoreconf_clean
 	dh_clean
 
 install: install-stamp
only in patch2:
unchanged:
--- vdk2-2.4.0.orig/configure.in
+++ vdk2-2.4.0/configure.in
@@ -373,4 +373,4 @@
 echo " 	* Installation Prefix               : $prefix"
 echo " 	* Compiler version                  :" `g++ --version`
 echo " 	* Target machine                    :" `c++ -dumpmachine`
-#echo " 	* CPU                               :" `cat /proc/cpuinfo`
\ No newline at end of file
+#echo " 	* CPU                               :" `cat /proc/cpuinfo`

Reply via email to