[Pkg-xmpp-devel] Bug#702535: libntlm: FTBFS on x32: Needs libtool update

Daniel Schepler dschepler at gmail.com
Thu Mar 7 22:21:05 UTC 2013

Source: libntlm
Version: 1.2-1
Severity: wishlist
Tags: patch
User: debian-x32 at lists.debian.org
Usertags: port-x32 ftbfs-libtool

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

/bin/bash ./libtool --tag=CC   --mode=link x86_64-linux-gnux32-gcc
-Wall -W -Wformat-y2k -Wformat-nonliteral -Wformat-security
-Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum
-Wunused -Wunknown-pragmas -Wstrict-aliasing -Wstrict-overflow
-Wfloat-equal -Wdeclaration-after-statement -Wundef -Wshadow
-Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast
-Wc++-compat -Wcast-qual -Wcast-align -Wwrite-strings -Wlogical-op
-Waggregate-return -Wstrict-prototypes -Wold-style-definition
-Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn
-Wmissing-format-attribute -Wpacked -Wpadded -Wredundant-decls
-Wnested-externs -Winline -Winvalid-pch -Wlong-long -Wvla
-Wvolatile-register-var -Wdisabled-optimization -Wstack-protector
-Woverlength-strings -Wbuiltin-macro-redefined -Wmudflap
-Wpacked-bitfield-compat -Wsync-nand -Wattributes -Wcoverage-mismatch
-Wmultichar -Wunused-macros -Wno-pointer-sign
-fdiagnostics-show-option -Wall -g -O2 -Wl,-z,defs -version-info
0:17:0 -export-symbols-regex '^(dumpSmb|buildSmb|ntlm_).*'
-no-undefined  -o libntlm.la -rpath /usr/lib smbutil.lo smbencrypt.lo
./libtool: line 7509: test: : integer expression expected
./libtool: line 7509: test: : integer expression expected
./libtool: line 7614: test: : integer expression expected
./libtool: line 7686: test: : integer expression expected
libtool: link: /usr/bin/ld -m elf_i386 -r -o .libs/libntlm.la-1.o
/usr/bin/ld: Relocatable linking with relocations from format
elf32-x86-64 (.libs/smbutil.o) to format elf32-i386
(.libs/libntlm.la-1.o) is not supported
make[3]: *** [libntlm.la] Error 1
make[3]: Leaving directory `/build/buildd-libntlm_1.2-1-x32-Ktnhux/libntlm-1.2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd-libntlm_1.2-1-x32-Ktnhux/libntlm-1.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd-libntlm_1.2-1-x32-Ktnhux/libntlm-1.2'
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
Daniel Schepler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libntlm.debdiff
Type: application/octet-stream
Size: 1536 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xmpp-devel/attachments/20130307/e10a7780/attachment.obj>

More information about the Pkg-xmpp-devel mailing list