Package: libdmapsharing
Version: 2.9.23-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: ppc64el
User: [email protected]
Usertags: autoreconf

Dear Maintainer,

This package fails to build on new archs (as ppc64el) due to old autotools
files that causes the build process failing when detecting shared libraries
support, as shon below:

        dh_install -plibdmapsharing-3.0-2  
        dh_install: libdmapsharing-3.0-2 missing files 
(usr/lib/libdmapsharing-3.0.so.*), aborting
        make: *** [binary-install/libdmapsharing-3.0-2] 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/libdmapsharing_2.9.23-1_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


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: libdmapsharing-2.9.23/debian/control
===================================================================
--- libdmapsharing-2.9.23.orig/debian/control
+++ libdmapsharing-2.9.23/debian/control
@@ -10,6 +10,7 @@ Maintainer: Debian GNOME Maintainers <pk
 Uploaders: Jordi Mallach <[email protected]>, Josselin Mouette <[email protected]>, Michael Biebl <[email protected]>
 Build-Depends: debhelper (>= 9),
                cdbs (>= 0.4.73),
+               dh-autoreconf,
                gnome-pkg-tools,
                gtk-doc-tools (>= 1.0),
                pkg-config,
Index: libdmapsharing-2.9.23/debian/rules
===================================================================
--- libdmapsharing-2.9.23.orig/debian/rules
+++ libdmapsharing-2.9.23/debian/rules
@@ -3,6 +3,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/gnome.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
 

Reply via email to