Source: blitz++
Version: 0.10-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: 

        Library package automatic movement utility
        /usr/bin/d-shlibmove: expected [lib/.libs/libblitz.so] to be a symlink, 
but it is not
        make[1]: *** [override_dh_install] Error 1
        make[1]: Leaving directory `/build/blitz++-7lfpwQ/blitz++-0.10'
        make: *** [binary] Error 2

The full log could be found at
http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/Build-Attempted.html

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: blitz++-0.10/debian/control
===================================================================
--- blitz++-0.10.orig/debian/control
+++ blitz++-0.10/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Science Team <debian-
 DM-Upload-Allowed: yes
 Uploaders: Andreas Tille <[email protected]>,
  Christophe Trophime <[email protected]>
-Build-Depends: gfortran | fortran-compiler, autotools-dev, libtool, automake, texinfo,
+Build-Depends: gfortran | fortran-compiler, dh-autoreconf, libtool, automake, texinfo,
  libblas-dev | libatlas-base-dev, liblapack-dev | libatlas-base-dev,
  debhelper (>= 9), d-shlibs, doxygen-latex, texi2html, cfortran
 Standards-Version: 3.9.3
Index: blitz++-0.10/debian/rules
===================================================================
--- blitz++-0.10.orig/debian/rules
+++ blitz++-0.10/debian/rules
@@ -15,7 +15,7 @@ docname=$(libname)-doc
 PREFIX = /usr
 
 %:
-	dh $@ -with autotools-dev --parallel
+	dh $@ -with autoreconf --parallel
 	# dh --with autotools-dev --with autoreconf $@ # Needs Build-Depends: dh-autoreconf
 
 override_dh_auto_configure:
-- 
debian-science-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to