Source: libg15 Version: 1.2.7-2 Severity: wishlist Tags: patch User: [email protected] Usertags: port-x32 ftbfs-libtool
The libg15 source package is getting this build failure on the unofficial Debian x32 port: <URL:http://buildd.debian-ports.org/status/fetch.php?pkg=libg15&arch=x32&ver=1.2.7-2&stamp=1361155725>: ... /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -version-info 1:0:0 -Wl,-z,relro -o libg15.la -rpath /usr/lib libg15.lo -lusb ./libtool: line 4467: test: : integer expression expected ./libtool: line 4467: test: : integer expression expected creating reloadable object files... creating a temporary reloadable object file: .libs/libg15.la-1.o /usr/bin/ld -m elf_i386 -r -o .libs/libg15.la-1.o .libs/libg15.o /usr/bin/ld: Relocatable linking with relocations from format elf32-x86-64 (.libs/libg15.o) to format elf32-i386 (.libs/libg15.la-1.o) is not supported make[2]: *** [libg15.la] Error 1 make[2]: Leaving directory `/build/buildd-libg15_1.2.7-2-x32-zto4zq/libg15-1.2.7' make[1]: *** [all] Error 2 make: make[1]: Leaving directory `/build/buildd-libg15_1.2.7-2-x32-zto4zq/libg15-1.2.7' *** [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 libg15-1.2.7/debian/control libg15-1.2.7/debian/control --- libg15-1.2.7/debian/control +++ libg15-1.2.7/debian/control @@ -2,7 +2,7 @@ Section: libs Priority: optional Maintainer: Giacomo Catenazzi <[email protected]> -Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libusb-dev +Build-Depends: cdbs, debhelper (>= 5), autotools-dev, dh-autoreconf, libusb-dev Standards-Version: 3.8.3 Homepage: http://www.g15tools.com/ diff -u libg15-1.2.7/debian/changelog libg15-1.2.7/debian/changelog --- libg15-1.2.7/debian/changelog +++ libg15-1.2.7/debian/changelog @@ -1,3 +1,10 @@ +libg15 (1.2.7-2+libtool) unreleased; urgency=low + + * Update libtool at build time using dh-autoreconf, in order to fix a + build failure on x32. + + -- Daniel Schepler <[email protected]> Tue, 05 Mar 2013 07:23:03 -0800 + libg15 (1.2.7-2) unstable; urgency=low * add list-missing to debian/rules diff -u libg15-1.2.7/debian/rules libg15-1.2.7/debian/rules --- libg15-1.2.7/debian/rules +++ libg15-1.2.7/debian/rules @@ -5,6 +5,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/rules/autoreconf.mk common-binary-predeb-arch:: list-missing

