Source: libqalculate
Version: 0.9.7-8
Severity: wishlist
Tags: patch
User: debian-...@lists.debian.org
Usertags: port-x32 ftbfs-libtool

The libqalculate source package is getting this build failure on the
unofficial Debian x32 port:

<URL:http://buildd.debian-ports.org/status/fetch.php?pkg=libqalculate&arch=x32&ver=0.9.7-8&stamp=1360967214>:
...
/bin/bash ../libtool --tag=CXX   --mode=link g++  -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -version-info 5:0:0 -no-undefined -Wl,-z,relro
-o libqalculate.la -rpath /usr/lib/x86_64-linux-gnux32 Function.lo
Calculator.lo DataSet.lo Variable.lo ExpressionItem.lo Number.lo
MathStructure.lo Prefix.lo util.lo Unit.lo BuiltinFunctions.lo
-lglib-2.0 -lxml2   -lpthread -lcln
../libtool: line 4461: test: : integer expression expected
../libtool: line 4461: test: : integer expression expected
creating reloadable object files...
../libtool: line 4496: test: : integer expression expected
../libtool: line 4496: test: : integer expression expected
../libtool: line 4496: test: : integer expression expected
../libtool: line 4496: test: : integer expression expected
../libtool: line 4496: test: : integer expression expected
../libtool: line 4496: test: : integer expression expected
../libtool: line 4496: test: : integer expression expected
../libtool: line 4496: test: : integer expression expected
../libtool: line 4496: test: : integer expression expected
../libtool: line 4496: test: : integer expression expected
creating a temporary reloadable object file: .libs/libqalculate.la-11.o
/usr/bin/ld -m elf_i386 -r -o .libs/libqalculate.la-1.o .libs/Function.o
/usr/bin/ld: Relocatable linking with relocations from format
elf32-x86-64 (.libs/Function.o) to format elf32-i386
(.libs/libqalculate.la-1.o) is not supported
make[3]: *** [libqalculate.la] Error 1
make[3]: Leaving directory
`/build/buildd-libqalculate_0.9.7-8-x32-1lxqHQ/libqalculate-0.9.7/libqalculate'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/build/buildd-libqalculate_0.9.7-8-x32-1lxqHQ/libqalculate-0.9.7'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/build/buildd-libqalculate_0.9.7-8-x32-1lxqHQ/libqalculate-0.9.7'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

The fix is to update libtool using the current Debian package in sid
(>= 2.4.2-1.2).  The attached debdiff does this at build time using
dh-autoreconf.
-- 
Daniel Schepler

Attachment: libqalculate.debdiff
Description: Binary data

Reply via email to