Package: libeot
Version: 0.01-2
Severity: normal
Tags: patch

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: 

          /bin/bash ./libtool   --mode=install /usr/bin/install -c eot2ttf 
'/«PKGBUILDDIR»/debian/tmp/usr/bin'
        libtool: install: /usr/bin/install -c eot2ttf 
/«PKGBUILDDIR»/debian/tmp/usr/bin/eot2ttf
         /bin/mkdir -p '/«PKGBUILDDIR»/debian/tmp/usr/include/libeot'
         /usr/bin/install -c -m 644 inc/libeot/EOT.h inc/libeot/EOTError.h 
inc/libeot/libeot.h '/«PKGBUILDDIR»/debian/tmp/usr/include/libeot'
         /bin/mkdir -p '/«PKGBUILDDIR»/debian/tmp/usr/lib/pkgconfig'
         /usr/bin/install -c -m 644 libeot.pc 
'/«PKGBUILDDIR»/debian/tmp/usr/lib/pkgconfig'
        make[2]: Leaving directory `/«PKGBUILDDIR»'
        make[1]: Leaving directory `/«PKGBUILDDIR»'
           dh_install
        dh_install: libeot-dev missing files (usr/lib/lib*.so), aborting
        make: *** [binary] Error 255


The full log could be found at 
http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/libeot_0.01-2_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

I tested it on ppc64el and it worked.

Thank you,
Breno
Index: libeot-0.01/debian/control
===================================================================
--- libeot-0.01.orig/debian/control
+++ libeot-0.01/debian/control
@@ -1,7 +1,7 @@
 Source: libeot
 Priority: optional
 Maintainer: Rene Engelhard <[email protected]>
-Build-Depends: debhelper (>= 9.0.0)
+Build-Depends: debhelper (>= 9.0.0), dh-autoreconf
 Standards-Version: 3.9.4
 Section: fonts
 
Index: libeot-0.01/debian/rules
===================================================================
--- libeot-0.01.orig/debian/rules
+++ libeot-0.01/debian/rules
@@ -5,7 +5,7 @@
 #export DH_VERBOSE=1
 
 %:
-	dh $@ 
+	dh $@ --with autoreconf
 
 override_dh_auto_configure:
 	dh_auto_configure -- --libdir=/usr/lib --enable-static

Reply via email to