Lucas Nussbaum a écrit :
Package: coolkey
version: 1.1.0-3
Severity: serious
User: [EMAIL PROTECTED]
Usertags: qa-ftbfs-20071217 qa-ftbfs
Justification: FTBFS on i386
Hi,
During a rebuild of all packages in sid, your package failed to build on i386.
Relevant part:
> make[3]: Entering directory `/build/user/coolkey-1.1.0/src/install'
> if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I /usr/include/nss -I /usr/include/nspr/ -g
-O2 -MT pk11install.o -MD -MP -MF ".deps/pk11install.Tpo" -c -o pk11install.o
pk11install.c; \
> then mv -f ".deps/pk11install.Tpo" ".deps/pk11install.Po"; else rm -f
".deps/pk11install.Tpo"; exit 1; fi
> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -o pk11install pk11install.o -lnss3 -lsoftokn3 -ldl -lz
> mkdir .libs
> gcc -g -O2 -o pk11install pk11install.o -lnss3 -lsoftokn3 -ldl -lz
> /usr/bin/ld: cannot find -lsoftokn3
> collect2: ld returned 1 exit status
> make[3]: *** [pk11install] Error 1
> make[3]: Leaving directory `/build/user/coolkey-1.1.0/src/install'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/build/user/coolkey-1.1.0'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/build/user/coolkey-1.1.0'
> make: *** [build-stamp] Error 2
> dpkg-buildpackage: failure: debian/rules build gave error exit status 2
The libsoftokn3.so library has moved to /usr/lib/nss/ with nss version
3.12.0~1.9b1-1 with the changelog.Debian.gz [1] entry:
+ Install libsoftokn3 and the new libnssdbm3 in /usr/lib/nss.
I tried to hack src/install/Makefile.in to add -L/usr/lib/nss. The build
works fine but the generated /usr/bin/pk11install binary will not find
the libsoftokn3.
I also tried to add -rpath /usr/lib/nss but libtool removed this argument.
I guess the only solution now is to use dlopen().
Mike, as nss maintainer, do you have a better idea/solution?
Thanks,
[1]
http://packages.debian.org/changelogs/pool/main/n/nss/nss_3.12.0~1.9b1-2/changelog
--
Dr. Ludovic Rousseau