As I'm sponsoring this package and I'm not able to upload at the moment, I think Andreas Tcharners will either agree for a NMU or would apreciate you upload the corrected package for him, when he will make it available.
Thanks in advance
Christian 

Kurt Roeckx a écrit :

On Fri, Jul 14, 2006 at 07:14:20PM +0200, Roberto Pariset wrote:
Package: cvsnt
Severity: serious

Hi,

cvsnt_2.5.03.2382-1 FTBFS on amd64 with the following error:

x86_64-linux-gnu-g++ -g -O2 -o .libs/cvsnt add.o admin.o annotate.o buffer.o 
chacl.o chown.o checkin.o checkout.o classify.o client.o commit.o create_adm.o 
cvsrc.o cvsrcs.o diff.o edit.o entries.o error.o expand_path.o fileattr.o 
filesubr.o find_names.o hash.o history.o ignore.o info.o import.o lock.o log.o 
login.o logmsg.o ls.o lsacl.o main.o mapping.o mkmodules.o modules.o myndbm.o 
no_diff.o parseinfo.o passwd.o patch.o perms.o rcs.o rcscmds.o recurse.o 
release.o remove.o rename.o repos.o root.o run.o savecwd.o scramble.o server.o 
status.o stripslash.o subr.o tag.o update.o version.o vers_ts.o watch.o 
wrapper.o xgetwd.o xdiff.o zlib.o  -L//usr/lib ../diff/libdiff.a 
../lib/libcvs.a ../cvsdelta/libcvsdelta.a ../cvsapi/.libs/libcvsapi.so 
../cvstools/.libs/libcvstools.so -lz -lpcreposix ../libltdl/.libs/libltdlc.a 
-ldl -lcrypt
../diff/libdiff.a(diff3.o): In function `read_diff':
/build/buildd/cvsnt-2.5.03.2382/diff/diff3.c:1311: warning: the use of `mktemp' 
is dangerous, better use `mkstemp'
../cvsapi/.libs/libcvsapi.so: undefined reference to `__dn_expand'
../cvsapi/.libs/libcvsapi.so: undefined reference to `__res_query'
collect2: ld returned 1 exit status
make[4]: *** [cvsnt] Error 1

Full logs at http://buildd.debian.org/build.php?arch=amd64&pkg=cvsnt .
The problem is a missing -lresolv.  Note that it's libcvsapi.so
should be linked to it, not cvsnt.

I'm guessing the real problem is this from configure:
checking for library containing res_query... no

The configure check needs to #include <resolv.h> when checking
for that function.  As you can see from the log, the symbol is
actually called __res_query, so the configure checks fails, which
is why you need the include.  Let me know if you need a patch for
this.


Kurt






Reply via email to