Package: pktools
Version: 2.5.2+20140505-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

        dh_install: pktools missing files (usr/lib/*/libalgorithms.so.1), 
aborting
        make: *** [binary] Error 2
        dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit 
status 2

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: pktools-2.5.2+20140505/debian/control
===================================================================
--- pktools-2.5.2+20140505.orig/debian/control
+++ pktools-2.5.2+20140505/debian/control
@@ -5,6 +5,7 @@ Maintainer: Debian GIS Project <pkg-gras
 Uploaders: Francesco Paolo Lovergine <fran...@debian.org>
 Build-Depends: debhelper (>= 9)
  , autotools-dev
+ , dh-autoreconf
  , libgdal-dev (>=1.10.0-0~)
  , libgsl0-dev
  , libboost-dev
Index: pktools-2.5.2+20140505/debian/rules
===================================================================
--- pktools-2.5.2+20140505.orig/debian/rules
+++ pktools-2.5.2+20140505/debian/rules
@@ -5,7 +5,7 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@  --buildsystem autoconf
+	dh $@  --buildsystem autoconf --with autoreconf
 
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-fann --enable-las --enable-nlopt
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to