Package: libcutl
Version: 1.8.0+ds1-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el
User: [email protected]
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: 

        dh_install: libcutl-dev missing files (usr/lib/*/libcutl.so), aborting
        make: *** [binary] Error 2

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/logs/libcutl_1.8.0+ds1-1_ppc64el.build

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: libcutl-1.8.0+ds1/debian/control
===================================================================
--- libcutl-1.8.0+ds1.orig/debian/control
+++ libcutl-1.8.0+ds1/debian/control
@@ -2,7 +2,7 @@ Source: libcutl
 Priority: optional
 Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
 Uploaders: Onur Aslan <[email protected]>
-Build-Depends: debhelper (>= 9), autotools-dev, libboost-all-dev, libexpat1-dev
+Build-Depends: debhelper (>= 9), dh-autoreconf, libboost-all-dev, libexpat1-dev
 Standards-Version: 3.9.5
 Section: libs
 Homepage: http://www.codesynthesis.com/projects/libcutl/
Index: libcutl-1.8.0+ds1/debian/rules
===================================================================
--- libcutl-1.8.0+ds1.orig/debian/rules
+++ libcutl-1.8.0+ds1/debian/rules
@@ -11,6 +11,6 @@ override_dh_installchangelogs:
 	dh_installchangelogs NEWS
 
 %:
-	dh $@ --with autotools_dev
+	dh $@ --with autoreconf
 
 .PHONY: override_dh_auto_configure override_dh_installchangelogs

Reply via email to