Source: libnfnetlink
Version: 1.0.0-1.1
Severity: wishlist
Tags: patch
User: debian-...@lists.debian.org
Usertags: port-x32 ftbfs-libtool

The libnfnetlink source package is getting this build failure on x32:

<URL:http://buildd.debian-ports.org/status/fetch.php?pkg=libnfnetlink&arch=x32&ver=1.0.0-1.1&stamp=1358420014>:

...
/bin/bash ../libtool --tag=CC   --mode=link x86_64-linux-gnux32-gcc
-fPIC -Wall -Wall -g -O2 -fno-strict-aliasing -Wc,-nostartfiles
-version-info 2:0:2  -o libnfnetlink.la -rpath /usr/lib
libnfnetlink.lo iftable.lo rtnl.lo
../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
creating a temporary reloadable object file: .libs/libnfnetlink.la-3.o
/usr/bin/ld -m elf_i386 -r -o .libs/libnfnetlink.la-1.o .libs/libnfnetlink.o
/usr/bin/ld: Relocatable linking with relocations from format
elf32-x86-64 (.libs/libnfnetlink.o) to format elf32-i386
(.libs/libnfnetlink.la-1.o) is not supported
make[2]: *** [libnfnetlink.la] Error 1
make[2]: Leaving directory
`/build/buildd-libnfnetlink_1.0.0-1.1-x32-DeVCoE/libnfnetlink-1.0.0/src'
...

The fix to this is to update libtool to the version in Debian sid (>=
2.4.2-1.2).  I'm attaching a patch I used here to do so at build time,
for an x32 upload to debian-ports/unreleased.
-- 
Daniel Schepler

Attachment: libnfnetlink.debdiff
Description: Binary data

Reply via email to