Source: gnet
Version: 2.0.8-2.2
Severity: wishlist
Tags: patch
User: debian-...@lists.debian.org
Usertags: port-x32 ftbfs-libtool

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

<URL:http://buildd.debian-ports.org/status/fetch.php?pkg=gnet&arch=x32&ver=2.0.8-2.2&stamp=1361153589>:
...
/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wall -D_REENTRANT -DGNET_EXPERIMENTAL -Wall
-Wstrict-prototypes     -Wmissing-prototypes -Wmissing-declarations
-Wl,-z,relro -Wl,-z,defs -Wl,-O1 -Wl,--as-needed -o libgnet-2.0.la
-rpath /usr/lib  -version-info 8:0:8 -lglib-2.0   -pthread
-lgthread-2.0 -lrt -lglib-2.0    gnet.lo gnet-private.lo ipv6.lo
inetaddr.lo mcast.lo tcp.lo unix.lo udp.lo iochannel.lo socks.lo
socks-private.lo md5.lo sha.lo pack.lo uri.lo conn.lo conn-http.lo
server.lo usagi_ifaddrs.lo base64.lo  -lresolv -lnsl
../libtool: line 4446: test: : integer expression expected
../libtool: line 4446: test: : integer expression expected
creating reloadable object files...
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
../libtool: line 4481: test: : integer expression expected
creating a temporary reloadable object file: .libs/libgnet-2.0.la-20.o
/usr/bin/ld -m elf_i386 -r -o .libs/libgnet-2.0.la-1.o .libs/gnet.o
/usr/bin/ld: Relocatable linking with relocations from format
elf32-x86-64 (.libs/gnet.o) to format elf32-i386
(.libs/libgnet-2.0.la-1.o) is not supported
make[3]: *** [libgnet-2.0.la] Error 1
make[3]: Leaving directory
`/build/buildd-gnet_2.0.8-2.2-x32-VfnHXH/gnet-2.0.8/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd-gnet_2.0.8-2.2-x32-VfnHXH/gnet-2.0.8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd-gnet_2.0.8-2.2-x32-VfnHXH/gnet-2.0.8'
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

Attachment: gnet.debdiff
Description: Binary data

Reply via email to