Source: libnet
Version: 1.1.4-2.1
Severity: wishlist
Tags: patch
User: debian-...@lists.debian.org
Usertags: port-x32 ftbfs-libtool

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

<URL:http://buildd.debian-ports.org/status/fetch.php?pkg=libnet&arch=x32&ver=1.1.4-2.1&stamp=1361187432>:
...
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wall -version-info 6:0:5 -Wl
-Wl,-z,defs,--as-needed -o libnet.la -rpath /usr/lib libnet_asn1.lo
libnet_build_802.1q.lo libnet_build_802.1x.lo libnet_build_802.2.lo
libnet_build_802.3.lo libnet_build_arp.lo libnet_build_bgp.lo
libnet_build_cdp.lo libnet_build_data.lo libnet_build_dhcp.lo
libnet_build_dns.lo libnet_build_ethernet.lo libnet_build_fddi.lo
libnet_build_gre.lo libnet_build_hsrp.lo libnet_build_icmp.lo
libnet_build_igmp.lo libnet_build_ip.lo libnet_build_ipsec.lo
libnet_build_isl.lo libnet_build_mpls.lo libnet_build_ntp.lo
libnet_build_ospf.lo libnet_build_rip.lo libnet_build_rpc.lo
libnet_build_sebek.lo libnet_build_snmp.lo libnet_build_stp.lo
libnet_build_tcp.lo libnet_build_token_ring.lo libnet_build_udp.lo
libnet_build_vrrp.lo libnet_advanced.lo libnet_checksum.lo
libnet_cq.lo libnet_crc.lo libnet_error.lo libnet_if_addr.lo
libnet_init.lo libnet_internal.lo libnet_pblock.lo libnet_port_list.lo
libnet_prand.lo libnet_raw.lo libnet_resolve.lo libnet_version.lo
libnet_write.lo libnet_link_linux.lo
../libtool: line 4432: test: : integer expression expected
../libtool: line 4432: test: : integer expression expected
creating reloadable object files...
../libtool: line 4467: test: : integer expression expected
../libtool: line 4467: test: : integer expression expected
../libtool: line 4467: test: : integer expression expected
...
../libtool: line 4467: test: : integer expression expected
creating a temporary reloadable object file: .libs/libnet.la-48.o
/usr/bin/ld -m elf_i386 -r -o .libs/libnet.la-1.o .libs/libnet_asn1.o
/usr/bin/ld: Relocatable linking with relocations from format
elf32-x86-64 (.libs/libnet_asn1.o) to format elf32-i386
(.libs/libnet.la-1.o) is not supported
make[2]: *** [libnet.la] Error 1
make[2]: Leaving directory
`/build/buildd-libnet_1.1.4-2.1-x32-aV8cfk/libnet-1.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/build/buildd-libnet_1.1.4-2.1-x32-aV8cfk/libnet-1.1.4'
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: libnet.debdiff
Description: Binary data

Reply via email to