Package: libunique
Version: 1.1.6-4
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf

Currently libunique FTBFS when compiled in new architectures (as ppc64el) that
is not supported on the outdated package autotools files, with the following
error:

        dh_install: libunique-1.0-0 missing files (usr/lib/libunique-1.0.so.*), 
aborting
        make: *** [binary-install/libunique-1.0-0] Error 255
        dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit 
status 2

The full log could be found at 
http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/libunique_1.1.6-4_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: libunique-1.1.6/debian/control
===================================================================
--- libunique-1.1.6.orig/debian/control	2014-06-30 18:21:27.000000000 +0000
+++ libunique-1.1.6/debian/control	2014-06-30 18:22:49.000000000 +0000
@@ -17,7 +17,8 @@
                libx11-dev,
                libdbus-glib-1-dev (>= 0.70),
                gtk-doc-tools (>= 1.11),
-               intltool
+               intltool,
+               dh-autoreconf
 Standards-Version: 3.9.2
 Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/packages/unstable/libunique
 Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/packages/unstable/libunique
Index: libunique-1.1.6/debian/rules
===================================================================
--- libunique-1.1.6.orig/debian/rules	2014-06-30 18:21:27.000000000 +0000
+++ libunique-1.1.6/debian/rules	2014-06-30 18:22:36.000000000 +0000
@@ -5,6 +5,7 @@
 include /usr/share/cdbs/1/rules/utils.mk
 include /usr/share/cdbs/1/class/gnome.mk
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
 
 LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed

Reply via email to