Source: gsl
Version: 1.16+dfsg-1
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf

Dear Maintainer,

Package gsl fails to build from source on ppc64el.
The usage of dh-autoreconf fixes that and the package builds successfully.

Could you please consider the patch attached? The patch includes dh-autoreconf 
to
debian/rules (including the prof target) properly and adds it as a build-dep.

Thanks.
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 gsl-1.16+dfsg/debian/rules gsl-1.16+dfsg/debian/rules
--- gsl-1.16+dfsg/debian/rules
+++ gsl-1.16+dfsg/debian/rules
@@ -87,13 +87,12 @@
 	dh_testdir
 	dh_testdir
 
-	ln -sf /usr/share/misc/config.sub .
-	ln -sf /usr/share/misc/config.guess .
 	rm -f config.cache
 
 	[ -d doc ] || mkdir doc
 	cp -vax debian/Makefile.in.doc doc/Makefile.in
 
+	dh_autoreconf
 	./configure 	CFLAGS="$(CFLAGS)" 		\
 			--prefix=/usr 			\
 			--enable-shared 		\
@@ -113,13 +112,11 @@
 configure-prof-stamp:
 	dh_testdir
 
-	ln -sf /usr/share/misc/config.sub .
-	ln -sf /usr/share/misc/config.guess .
 	rm -f config.cache
 
 	[ -d doc ] || mkdir doc
 	cp -vax debian/Makefile.in.doc doc/Makefile.in
-
+	dh_autoreconf
 	./configure 	CFLAGS="$(CFLAGS)" 		\
 			--prefix=/usr 			\
 			--disable-shared 		\
@@ -172,6 +169,7 @@
 clean:
 	dh_testdir
 	dh_testroot
+	dh_autoreconf_clean
 	rm -f build-stamp install-stamp test-stamp build-doc-stamp \
 		configure-stamp install-doc-stamp configure-prof-stamp \
 		install-prof-stamp
@@ -179,7 +177,6 @@
 	-rm -f doc/*.pdf doc/*.dvi doc/*.log doc/*.ps
 	dh_clean lib/*so* build/*.so*
 	[ ! -f Makefile ] || $(MAKE) distclean || true
-	rm -vf config.sub config.guess
 	rm -rf doc/
 	rm -rf $(debtmp) $(debprof)
 
diff -u gsl-1.16+dfsg/debian/control gsl-1.16+dfsg/debian/control
--- gsl-1.16+dfsg/debian/control
+++ gsl-1.16+dfsg/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Dirk Eddelbuettel <e...@debian.org>
 Standards-Version: 3.9.4
-Build-Depends: gawk | awk, debhelper (>= 5.0.0), libtool, gcc (>= 4:4.0), binutils (>= 2.12.90.0.9), autotools-dev
+Build-Depends: gawk | awk, debhelper (>= 5.0.0), gcc (>= 4:4.0), binutils (>= 2.12.90.0.9), dh-autoreconf
 Homepage: http://www.gnu.org/software/gsl
 
 Package: libgsl0ldbl

Reply via email to