Source: pspp
Version: 0.8.3-1
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf

Dear Maintainer,

Currently this package FTBFS when compiled in new architectures (as ppc64el)
that is not supported on the outdated package autotools files, mainly because
it fails to understand that the new architectures has support for shared
libraries, as shown below: 

The full log could be found at the package log on our buildd entries at:
http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/Build-Attempted.html

        checking if libtool supports shared libraries... no
        checking whether to build shared libraries... no

I created this patch that call autoreconf to updates the autotool files during
the build, as suggest by the following wiki:

https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

You can find more information about autoreconf in the following link:
https://wiki.debian.org/Autoreconf

I tested this patch and it worked fine.

Thank you,
Breno
Index: pspp-0.8.3/debian/control
===================================================================
--- pspp-0.8.3.orig/debian/control
+++ pspp-0.8.3/debian/control
@@ -20,7 +20,8 @@ Build-Depends: debhelper (>= 9.0.0),
                pkg-config (>= 0.21), 
                postgresql [!hurd-i386],
                libtext-diff-perl,
-               libpq-dev
+               libpq-dev,
+               dh-autoreconf
 Standards-Version: 3.9.5
 Homepage: http://savannah.gnu.org/projects/pspp
 
Index: pspp-0.8.3/debian/rules
===================================================================
--- pspp-0.8.3.orig/debian/rules
+++ pspp-0.8.3/debian/rules
@@ -10,7 +10,7 @@
 export DH_VERBOSE=1
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 override_dh_auto_build:
 	dh_auto_build -- all html pdf

Reply via email to