Source: timblserver
Version: 1.7-4
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el
User: debian-de...@lists.debian.org
Usertags: autoreconf


Dear Maintainer,

The package timblserver fails to build on ppc64el, as on new architectures,
because the config.{guess,sub} and libtool files are out of date, and are not
updated during the build, causing the following error, because shared library
is not generated.

        /bin/bash ../libtool --tag=CXX   --mode=link g++  -g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-Wall  -I/usr/include/libxml2  -fopenmp  -fopenmp  -Wl,-z,relro -o timblserver 
TimblServer.o libtimblserver.la -lpthread  -ltimbl  -lticcutils 
        libtool: link: g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 
-Wformat -Werror=format-security -Wall -I/usr/include/libxml2 -fopenmp -fopenmp 
-Wl,-z -Wl,relro -o timblserver TimblServer.o  ./.libs/libtimblserver.a 
-lpthread -ltimbl -lticcutils -fopenmp
        /usr/bin/ld: ./.libs/libtimblserver.a(ServerBase.o): undefined 
reference to symbol 'xmlNewNode@@LIBXML2_2.4.30'
        //usr/lib/powerpc64le-linux-gnu/libxml2.so.2: error adding symbols: DSO 
missing from command line
        collect2: error: ld returned 1 exit status

I just created a patch that enables the package to be reconfigured during the
build process, so, updating the libtool files. I am using the following URL as
reference:
https://wiki.debian.org/qa.debian.org/FTBFS#A2014-01-21_using_dh-autoreconf_during_the_build

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: timblserver-1.7/debian/control
===================================================================
--- timblserver-1.7.orig/debian/control	2013-08-03 16:43:29.000000000 +0000
+++ timblserver-1.7/debian/control	2014-06-26 16:49:55.000000000 +0000
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian Science Team <debian-science-maintain...@lists.alioth.debian.org>
 Uploaders: Joost van Baal-Ilić <joos...@debian.org>, Ko van der Sloot <ko.vandersl...@uvt.nl>
-Build-Depends: cdbs, debhelper (>= 7), pkg-config, libtimbl4-dev, libxml2-dev, libticcutils2-dev (>= 0.3)
+Build-Depends: cdbs, debhelper (>= 7), pkg-config, libtimbl4-dev, libxml2-dev, libticcutils2-dev (>= 0.3), dh-autoreconf
 Standards-Version: 3.9.4
 Homepage: http://ilk.uvt.nl/timbl/
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/timblserver/trunk
Index: timblserver-1.7/debian/rules
===================================================================
--- timblserver-1.7.orig/debian/rules	2013-08-03 16:43:29.000000000 +0000
+++ timblserver-1.7/debian/rules	2014-06-26 16:50:20.000000000 +0000
@@ -4,6 +4,5 @@
 # $URL: svn+ssh://svn.debian.org/svn/debian-science/packages/timblserver/trunk/debian/rules $
 
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 include /usr/share/cdbs/1/class/autotools.mk
-
-

Reply via email to