Package: libftdi
Version: 0.20
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el
User: [email protected]
Usertags: autoreconf

The package libftdi fails to build on ppc64el as on new architectures, because
the config.{guess,sub} files are out of date, and are not updated during the
build.

I just created a patch that enable it to be built on ppc64el. I am using the
following URL as reference:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

Thank you,
Breno

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: libftdi-0.20/debian/control
===================================================================
--- libftdi-0.20.orig/debian/control	2012-04-02 10:27:53.000000000 +0000
+++ libftdi-0.20/debian/control	2014-05-20 15:33:05.000000000 +0000
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Aurelien Jarno <[email protected]>
-Build-Depends: debhelper (>= 8.1.3), libusb-dev (>= 2:0.1.11), pkg-config (>= 0.18), doxygen, libboost-dev, swig, python-all-dev (>= 2.2.6.6-3~)
+Build-Depends: debhelper (>= 8.1.3), libusb-dev (>= 2:0.1.11), pkg-config (>= 0.18), doxygen, libboost-dev, swig, python-all-dev (>= 2.2.6.6-3~), dh-autoreconf
 Standards-Version: 3.9.3
 Homepage: http://www.intra2net.com/en/developer/libftdi/
 X-Python-Version: >= 2.4
Index: libftdi-0.20/debian/rules
===================================================================
--- libftdi-0.20.orig/debian/rules	2011-06-28 17:48:31.000000000 +0000
+++ libftdi-0.20/debian/rules	2014-05-20 15:32:48.000000000 +0000
@@ -36,6 +36,7 @@
 
 build-arch-stamp-main:
 	dh_testdir
+	dh_autoreconf
 	mkdir $(CURDIR)/build-main
 	cd $(CURDIR)/build-main && \
 		CFLAGS="$(CFLAGS)" ../configure $(confflags) \
@@ -99,6 +100,7 @@
 clean:
 	dh_testdir
 	dh_testroot
+	dh_autoreconf_clean
 	rm -rf build-main build-python*
 	rm -f *-stamp*
 	dh_clean 

Reply via email to