Control: severity -1 important
Control: tag -1 pending

I found my way here from the last of my packages that hasn't been built
on ppc64el, which is blocked on libforms, and
https://buildd.debian.org/status/package.php?p=libforms&suite=sid refers
to this bug.  I've upgraded this bug's severity to important, since
ppc64el is a possible release architecture for jessie.

x32 has actually been fixed by way of upstream updates to the build
system, and the patch to autogen.sh is no longer needed, but ppc64el
requires a newer config.guess/config.sub as well as an even newer
libtool.  There will no doubt be more of these, so dh-autoreconf remains
the right answer.

However, autogen.sh is essentially pointless nowadays, and moreover
isn't enough for ppc64el since it fails to update
config.guess/config.sub.  autoreconf -fi does a better job, at least as
long as you remove acinclude.m4 first (aclocal will use m4_include to
include config/*.m4).  The attached patch builds cleanly on ppc64el.


I've prepared an NMU for libforms (versioned as 1.2.3-1.2) and uploaded
it to DELAYED/5.  Please feel free to tell me if I should delay it
longer.

Regards,

-- 
Colin Watson                                       [[email protected]]
diff -Nru libforms-1.2.3/debian/changelog libforms-1.2.3/debian/changelog
--- libforms-1.2.3/debian/changelog	2014-06-30 03:42:17.000000000 +0100
+++ libforms-1.2.3/debian/changelog	2014-10-04 06:18:52.000000000 +0100
@@ -1,3 +1,11 @@
+libforms (1.2.3-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Update the build system using dh-autoreconf, in order to fix build
+    failure on ppc64el (thanks, Daniel Schepler; closes: #702269).
+
+ -- Colin Watson <[email protected]>  Sat, 04 Oct 2014 06:18:51 +0100
+
 libforms (1.2.3-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libforms-1.2.3/debian/control libforms-1.2.3/debian/control
--- libforms-1.2.3/debian/control	2014-06-30 03:41:35.000000000 +0100
+++ libforms-1.2.3/debian/control	2014-10-04 05:48:23.000000000 +0100
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Peter S Galbraith <[email protected]>
-Build-Depends: debhelper (>= 7), dpkg (>= 1.15.4) | install-info, libxpm-dev, libjpeg-dev, libtiff-dev, libgl1-mesa-dev, libxext-dev, texi2html, texinfo, texlive-generic-recommended, texlive-latex-base, gsfonts
+Build-Depends: debhelper (>= 7), dpkg (>= 1.15.4) | install-info, libxpm-dev, libjpeg-dev, libtiff-dev, libgl1-mesa-dev, libxext-dev, texi2html, texinfo, texlive-generic-recommended, texlive-latex-base, gsfonts, dh-autoreconf
 Standards-Version: 3.8.4
 Homepage: http://savannah.nongnu.org/projects/xforms/
 
diff -Nru libforms-1.2.3/debian/rules libforms-1.2.3/debian/rules
--- libforms-1.2.3/debian/rules	2010-05-19 14:07:51.000000000 +0100
+++ libforms-1.2.3/debian/rules	2014-10-04 06:18:43.000000000 +0100
@@ -6,9 +6,14 @@
 export DH_OPTIONS=
 
 
+autoreconf:
+	rm -f acinclude.m4
+	autoreconf -fi
+
 build: patch-stamp build-stamp
 build-stamp:
 	dh_testdir
+	dh_autoreconf debian/rules -- autoreconf
 	./configure --prefix=/usr
 	make
 	(cd doc; make info pdf html)
@@ -21,6 +26,7 @@
 	rm -f fdesign/Makefile demos/Makefile fd2ps/Makefile gl/Makefile
 	rm -f lib/include/Makefile lib/Makefile image/Makefile Makefile
 	rm -f build-stamp
+	dh_autoreconf_clean
 	dh_clean
 
 # Build architecture-independent files here.

Reply via email to