Source: openvrml
Version: 0.18.9-7
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:
dh_install -a
dh_install: libopenvrml9 missing files (usr/lib/*/libopenvrml.so.9),
aborting
make: *** [binary-arch] Error 2
The full log could be found at
http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/openvrml_0.18.9-7_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: openvrml-0.18.9/debian/control
===================================================================
--- openvrml-0.18.9.orig/debian/control
+++ openvrml-0.18.9/debian/control
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 9.0), dpkg-
libboost-thread-dev, libboost-filesystem-dev, libgtk2.0-dev,
libxmu-dev, procps, graphviz, libgnomeui-dev, libglade2-dev,
libcurl4-gnutls-dev, libgtkglext1-dev, libltdl-dev,
- libdbus-glib-1-dev, ghostscript, doxygen-latex
+ libdbus-glib-1-dev, ghostscript, doxygen-latex, dh-autoreconf
Standards-Version: 3.9.5
Vcs-Git: git://git.debian.org/git/collab-maint/openvrml.git
Vcs-Browser: http://git.debian.org/?p=collab-maint/openvrml.git;a=summary
Index: openvrml-0.18.9/debian/rules
===================================================================
--- openvrml-0.18.9.orig/debian/rules
+++ openvrml-0.18.9/debian/rules
@@ -44,6 +44,7 @@ configure: configure-stamp
configure-stamp:
dh_testdir
QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+ dh_autoreconf
LIBS="-lboost_system" BOOST_LIB_SUFFIX="" ./configure $(confflags)
touch configure-stamp
@@ -60,6 +61,7 @@ build-stamp: configure-stamp
clean:
dh_testdir
dh_testroot
+ dh_autoreconf_clean
rm -f build-stamp configure-stamp conftest
[ ! -f Makefile ] || $(MAKE) distclean
QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2