Source: libgtkdatabox
Version: 0.9.2.0
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: 

        Library package automatic movement utility
        /usr/bin/d-shlibmove: expected [debian/tmp/usr/lib/*/libgtkdatabox.so] 
to be a symlink, but it is not
        make[1]: *** [override_dh_install] Error 1
        make[1]: Leaving directory `/«PKGBUILDDIR»'
        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

I tested it on ppc64el and it worked.

Thank you,
Breno
Index: libgtkdatabox-0.9.2.0/debian/control
===================================================================
--- libgtkdatabox-0.9.2.0.orig/debian/control
+++ libgtkdatabox-0.9.2.0/debian/control
@@ -6,7 +6,7 @@ Uploaders: Ramakrishnan Muthukrishnan <r
 Section: libs
 Priority: optional
 Build-Depends: debhelper (>= 9),
-               autotools-dev,
+               dh-autoreconf,
                d-shlibs,
                libgtk2.0-dev,
                libcairo2-dev,
Index: libgtkdatabox-0.9.2.0/debian/rules
===================================================================
--- libgtkdatabox-0.9.2.0.orig/debian/rules
+++ libgtkdatabox-0.9.2.0/debian/rules
@@ -16,7 +16,7 @@ ver  := $(shell dpkg-parsechangelog | gr
 arch := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-	dh $@ --with autotools_dev --with linktree
+	dh $@ --with autoreconf --with linktree
 
 DEB_INSTALL_DOCS_ALL := AUTHORS README
 
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to