Source: gnonlin
Version: 0.10.17-2
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 -pgstreamer0.10-gnonlin  
dh_install: gstreamer0.10-gnonlin missing files (debian/tmp/usr/lib/*/*.so*), 
aborting
make: *** [binary-install/gstreamer0.10-gnonlin] 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

I tested it on ppc64el and it worked.

Thank you,
Breno
Index: gnonlin-0.10.17/debian/control
===================================================================
--- gnonlin-0.10.17.orig/debian/control
+++ gnonlin-0.10.17/debian/control
@@ -15,7 +15,8 @@ Build-Depends: cdbs,
                gstreamer0.10-plugins-base,
                gstreamer0.10-plugins-good,
                python (>= 2.1),
-               gtk-doc-tools (>= 1.3)
+               gtk-doc-tools (>= 1.3),
+               dh-autoreconf
 Standards-Version: 3.8.3
 Homepage: http://gstreamer.freedesktop.org
 
Index: gnonlin-0.10.17/debian/rules
===================================================================
--- gnonlin-0.10.17.orig/debian/rules
+++ gnonlin-0.10.17/debian/rules
@@ -3,6 +3,7 @@
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 CFLAGS += -Wno-error
 CXXFLAGS += -Wno-error

Reply via email to