[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#755929: snappea: use dh-autoreconf to build (ftbfs on ppc64el)



Source: snappea
Version: 3.0d3-22
Severity: normal
Tags: patch
User: debian-devel@lists.debian.org
Usertags: autoreconf
User: debian-powerpc@lists.debian.org
Usertag: ppc64el

Dear Maintainer,

The package snappea fails to build from source on ppc64el.
Adding the usage of dh-autoreconf to the build fixes that.

The attached patch contains the modifications to do so.

Thanks and regards.
Fernando


-- 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.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u snappea-3.0d3/debian/rules snappea-3.0d3/debian/rules
--- snappea-3.0d3/debian/rules
+++ snappea-3.0d3/debian/rules
@@ -18,6 +18,7 @@
 	# Remove an unwanted makefile that gets in the way.
 	rm -f SnapPeaPython/makefile
 
+	dh_autoreconf
 	chmod a+x ./configure
 	./configure --prefix=/usr
 	$(MAKE)
@@ -33,6 +34,7 @@
 	rm -f build-stamp
 	rm -f conftest*
 	[ ! -f Makefile ] || $(MAKE) distclean
+	dh_autoreconf_clean
 	dh_clean
 
 install: build
diff -u snappea-3.0d3/debian/control snappea-3.0d3/debian/control
--- snappea-3.0d3/debian/control
+++ snappea-3.0d3/debian/control
@@ -2,7 +2,7 @@
 Section: math
 Priority: extra
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.6.6-3~)
+Build-Depends: debhelper (>= 5.0.37.2), python-dev (>= 2.6.6-3~), dh-autoreconf
 Standards-Version: 3.7.2.1
 X-Python-Version: 2.7
 

Reply to: