Package: libwnck3
Version: 3.0_3.4.7-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: 

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 -plibwnck-3-0  
        dh_install: libwnck-3-0 missing files (usr/lib/libwnck-3.so.*), aborting
        make: *** [binary-install/libwnck-3-0] Error 255
        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: libwnck3-3.4.7/debian/rules
===================================================================
--- libwnck3-3.4.7.orig/debian/rules
+++ libwnck3-3.4.7/debian/rules
@@ -6,6 +6,7 @@ include /usr/share/cdbs/1/class/gnome.mk
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk
 include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 GNOME_MODULE = libwnck
 LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
Index: libwnck3-3.4.7/debian/control
===================================================================
--- libwnck3-3.4.7.orig/debian/control
+++ libwnck3-3.4.7/debian/control
@@ -27,7 +27,8 @@ Build-Depends: debhelper (>= 8),
                libgirepository1.0-dev (>= 0.10),
                gtk-doc-tools (>= 1.9),
                libglib2.0-doc,
-               libgtk-3-doc
+               libgtk-3-doc,
+               dh-autoreconf
 Vcs-Svn: svn://anonscm.debian.org/pkg-gnome/desktop/unstable/libwnck3
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/libwnck3

Reply via email to