As this bug has been pending for a couple ofmonths, and this build failure (on arm64) is blocking abiword, I have NMUed this package with the attached patch, based on the ubuntu patch referenced above.
Hope that's OK. Wookey -- Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM http://wookware.org/
diff -Nru gtkmathview-0.8.0/debian/changelog gtkmathview-0.8.0/debian/changelog --- gtkmathview-0.8.0/debian/changelog 2014-03-29 02:49:26.000000000 +0000 +++ gtkmathview-0.8.0/debian/changelog 2014-10-21 02:02:28.000000000 +0000 @@ -1,3 +1,11 @@ +gtkmathview (0.8.0-10+nmu2) unstable; urgency=low + + * Non-maintainer upload. + * Build with dh-autoreconf for new architecture support (Closes: 757134) + * Link with -lm (for ppc64el) + + -- Wookey <woo...@debian.org> Tue, 21 Oct 2014 01:59:31 +0000 + gtkmathview (0.8.0-10+nmu1) unstable; urgency=medium * Non-maintainer upload. diff -Nru gtkmathview-0.8.0/debian/control gtkmathview-0.8.0/debian/control --- gtkmathview-0.8.0/debian/control 2014-03-29 02:49:26.000000000 +0000 +++ gtkmathview-0.8.0/debian/control 2014-10-21 02:03:35.000000000 +0000 @@ -5,6 +5,7 @@ Uploaders: Sylvestre Ledru <sylves...@debian.org> Build-Depends: debhelper (>= 7), + dh-autoreconf, libgdome2-cpp-smart-dev (>= 0.2.6-2), libxml2-dev (>= 2.4.2), libglib2.0-dev (>= 2.2.3), diff -Nru gtkmathview-0.8.0/debian/patches/ppc64el-autoreconf-update.diff gtkmathview-0.8.0/debian/patches/ppc64el-autoreconf-update.diff --- gtkmathview-0.8.0/debian/patches/ppc64el-autoreconf-update.diff 1970-01-01 00:00:00.000000000 +0000 +++ gtkmathview-0.8.0/debian/patches/ppc64el-autoreconf-update.diff 2014-10-21 02:32:54.000000000 +0000 @@ -0,0 +1,18 @@ +Description: Coupleof linking fixes for ppc64el port +Author: Mattias Klose <d...@debian.org> +Bug-Debian: https://bugs.debian.org/757134 + + +--- /dev/null ++++ gtkmathview-0.8.0/acinclude.m4 +@@ -0,0 +1 @@ ++m4_pattern_allow(AM_BINRELOC) +--- gtkmathview-0.8.0.orig/src/Makefile.am ++++ gtkmathview-0.8.0/src/Makefile.am +@@ -32,5 +32,5 @@ libmathview_la_LIBADD = \ + $(MAYBE_BOXML_LIBADD) \ + $(top_builddir)/src/engine/common/libengine_common.la \ + $(top_builddir)/src/common/libcommon.la \ +- -lstdc++ \ ++ -lstdc++ -lm\ + $(NULL) diff -Nru gtkmathview-0.8.0/debian/patches/series gtkmathview-0.8.0/debian/patches/series --- gtkmathview-0.8.0/debian/patches/series 2014-03-05 17:49:41.000000000 +0000 +++ gtkmathview-0.8.0/debian/patches/series 2014-10-21 02:34:45.000000000 +0000 @@ -5,4 +5,4 @@ 0005-gcc-4.7-build-fixes.patch missingLib.diff remove_t1_include.diff - +ppc64el-autoreconf-update.diff diff -Nru gtkmathview-0.8.0/debian/rules gtkmathview-0.8.0/debian/rules --- gtkmathview-0.8.0/debian/rules 2014-03-05 17:31:47.000000000 +0000 +++ gtkmathview-0.8.0/debian/rules 2014-10-21 02:07:47.000000000 +0000 @@ -2,6 +2,7 @@ include /usr/share/cdbs/1/rules/patchsys-quilt.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/autoreconf.mk common-install-arch:: for file in debian/tmp/usr/lib/*.la; do \