Source: libdshconfig Version: 0.20.13-1 Severity: wishlist Tags: patch User: [email protected] Usertags: port-x32 ftbfs-libtool
The libdshconfig source package is getting this build failure on the unofficial Debian x32 port: <URL:http://buildd.debian-ports.org/status/fetch.php?pkg=libdshconfig&arch=x32&ver=0.20.13-1&stamp=1361155302>: ... /bin/bash ./libtool --tag=CC --mode=link gcc -g -O2 -o libdshconfig.la -rpath /usr/lib -export-dynamic -version-info 1:0:0 -Wl,--version-script,dsh.ver -Wl,-O1 libdshconfig.lo ./libtool: line 4432: test: : integer expression expected ./libtool: line 4432: test: : integer expression expected creating reloadable object files... creating a temporary reloadable object file: .libs/libdshconfig.la-1.o /usr/bin/ld -m elf_i386 -r -o .libs/libdshconfig.la-1.o .libs/libdshconfig.o /usr/bin/ld: Relocatable linking with relocations from format elf32-x86-64 (.libs/libdshconfig.o) to format elf32-i386 (.libs/libdshconfig.la-1.o) is not supported make[2]: *** [libdshconfig.la] Error 1 make[2]: Leaving directory `/build/buildd-libdshconfig_0.20.13-1-x32-KDlX68/libdshconfig-0.20.13' make[1]: *** [all] Error 2 make[1]: Leaving directory `/build/buildd-libdshconfig_0.20.13-1-x32-KDlX68/libdshconfig-0.20.13' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build 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 libdshconfig-0.20.13/debian/changelog libdshconfig-0.20.13/debian/changelog --- libdshconfig-0.20.13/debian/changelog +++ libdshconfig-0.20.13/debian/changelog @@ -1,3 +1,10 @@ +libdshconfig (0.20.13-1+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]> Mon, 04 Mar 2013 08:00:19 -0800 + libdshconfig (0.20.13-1) unstable; urgency=low * New upstream version diff -u libdshconfig-0.20.13/debian/control libdshconfig-0.20.13/debian/control --- libdshconfig-0.20.13/debian/control +++ libdshconfig-0.20.13/debian/control @@ -2,7 +2,7 @@ Section: libs Priority: optional Maintainer: Junichi Uekawa <[email protected]> -Build-Depends: debhelper (>> 4.0.0), libtool, d-shlibs (>= 0.4), doxygen +Build-Depends: debhelper (>> 4.0.0), libtool, d-shlibs (>= 0.4), doxygen, dh-autoreconf Standards-Version: 3.7.2 Package: libdshconfig1 diff -u libdshconfig-0.20.13/debian/rules libdshconfig-0.20.13/debian/rules --- libdshconfig-0.20.13/debian/rules +++ libdshconfig-0.20.13/debian/rules @@ -14,6 +14,7 @@ configure-stamp: dh_testdir # Add here commands to configure the package. + dh_autoreconf ./configure -prefix=/usr --with-versioned-symbol touch configure-stamp @@ -31,6 +32,7 @@ rm -f build-stamp configure-stamp rm -rf $(DSH) -$(MAKE) distclean + dh_autoreconf_clean dh_clean install: build

