Source: libctapimkt Version: 1.0.1-1.1 Severity: wishlist Tags: patch User: debian-...@lists.debian.org Usertags: port-x32 ftbfs-libtool
The libctapimkt source package is getting this build failure on the unofficial Debian x32 port: <URL:http://buildd.debian-ports.org/status/fetch.php?pkg=libctapimkt&arch=x32&ver=1.0.1-1.1&stamp=1361155155>: ... /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -Wl,-z,relro -o libctapimkt.la -rpath /usr/lib ctapi.lo -lm ./libtool: line 4461: test: : integer expression expected ./libtool: line 4461: test: : integer expression expected creating reloadable object files... creating a temporary reloadable object file: .libs/libctapimkt.la-1.o /usr/bin/ld -m elf_i386 -r -o .libs/libctapimkt.la-1.o .libs/ctapi.o /usr/bin/ld: Relocatable linking with relocations from format elf32-x86-64 (.libs/ctapi.o) to format elf32-i386 (.libs/libctapimkt.la-1.o) is not supported make[2]: *** [libctapimkt.la] Error 1 make[2]: Leaving directory `/build/buildd-libctapimkt_1.0.1-1.1-x32-vhuCqL/libctapimkt-1.0.1' make[1]: *** [all] Error 2 make[1]: Leaving directory `/build/buildd-libctapimkt_1.0.1-1.1-x32-vhuCqL/libctapimkt-1.0.1' make: *** [debian/stamp-makefile-build] Error 2 dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 The fix is to update libtool using the current sid package (>= 2.4.2-1.2). The attached debdiff does this at build time using dh-autoreconf. -- Daniel Schepler
diff -u libctapimkt-1.0.1/debian/control libctapimkt-1.0.1/debian/control --- libctapimkt-1.0.1/debian/control +++ libctapimkt-1.0.1/debian/control @@ -3,7 +3,7 @@ Maintainer: Debian Med Packaging Team <debian-med-packag...@lists.alioth.debian.org> DM-Upload-Allowed: yes Uploaders: Andreas Tille <ti...@debian.org> -Build-Depends: debhelper (>= 7), autotools-dev, automake, d-shlibs (>= 0.38), cdbs +Build-Depends: debhelper (>= 7), autotools-dev, automake, d-shlibs (>= 0.38), cdbs, dh-autoreconf Standards-Version: 3.8.3 Section: libs Homepage: http://sourceforge.net/projects/ctapi-mkt diff -u libctapimkt-1.0.1/debian/changelog libctapimkt-1.0.1/debian/changelog --- libctapimkt-1.0.1/debian/changelog +++ libctapimkt-1.0.1/debian/changelog @@ -1,3 +1,10 @@ +libctapimkt (1.0.1-1.1+libtool) unreleased; urgency=low + + * Update libtool at build time using dh-autoreconf, in order to fix a + build failure on x32. + + -- Daniel Schepler <schep...@debian.org> Sat, 02 Mar 2013 16:14:00 -0800 + libctapimkt (1.0.1-1.1) unstable; urgency=low * Non-maintainer upload. diff -u libctapimkt-1.0.1/debian/rules libctapimkt-1.0.1/debian/rules --- libctapimkt-1.0.1/debian/rules +++ libctapimkt-1.0.1/debian/rules @@ -3,6 +3,7 @@ # include /usr/share/cdbs/1/rules/patchsys-quilt.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/autoreconf.mk pkg=libctapimkt version=1.0