Subject: pkg/28966: imap-uw build breaks with openssl-0.9.7e
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <diro@nixsys.bz>
List: pkgsrc-bugs
Date: 01/14/2005 19:09:00
>Number:         28966
>Category:       pkg
>Synopsis:       imap-uw build breaks with openssl-0.9.7e
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 14 19:09:00 +0000 2005
>Originator:     diro@nixsys.bz
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD nixsys 1.6.2 NetBSD 1.6.2 (NIXSYS) #10: Thu Mar 4 22:20:38 EST 2004 root@nixsys:/usr/src/sys/arch/alpha/compile/NIXSYS alpha
Architecture: alpha
Machine: alpha
>Description:

(cd .libs && rm -f libc-client.so.4 && ln -s libc-client.so.4.0.1 libc-client.so.4)
(cd .libs && rm -f libc-client.so && ln -s libc-client.so.4.0.1 libc-client.so)
ar cru .libs/libc-client.a  osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o
ranlib .libs/libc-client.a
creating libc-client.la
(cd .libs && rm -f libc-client.la && ln -s ../libc-client.la libc-client.la)
echo neb > OSTYPE
touch rebuild
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
libtool cc -I../c-client `cat ../c-client/CFLAGS`   -I/usr/pkg/include -c mtest.c
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
mkdir .libs
 cc -I../c-client -pipe -O -mieee -I/usr/src/sys/pkgsrc/mail/imap-uw/work/.buildlink/include -c mtest.c  -fPIC -DPIC -o .libs/mtest.o
  cc -I../c-client -pipe -O -mieee -I/usr/src/sys/pkgsrc/mail/imap-uw/work/.buildlink/include -c mtest.c -o mtest.o >/dev/null 2>&1
libtool cc -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/libc-client.la `cat ../c-client/LDFLAGS`
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
cc -I../c-client -pipe -O -mieee -I/usr/src/sys/pkgsrc/mail/imap-uw/work/.buildlink/include -o .libs/mtest mtest.o -Wl,-R/usr/pkg/lib  ../c-client/.libs/libc-client.so -L/usr/src/sys/pkgsrc/mail/imap-uw/work/.buildlink/lib -lcrypt -lgssapi -lkrb5 -lasn1 -lcom_err -lroken -lssl -lcrypto -Wl,--rpath -Wl,/usr/pkg/lib
../c-client/.libs/libc-client.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
mtest.o(.text+0x2398): In function `prompt':
: warning: warning: this program uses gets(), which is unsafe.
/usr/lib/libkrb5.so: undefined reference to `des_is_weak_key'
/usr/lib/libkrb5.so: undefined reference to `des_pcbc_encrypt'
/usr/lib/libkrb5.so: undefined reference to `des_cfb64_encrypt'
/usr/lib/libgssapi.so: undefined reference to `des_cbc_encrypt'
/usr/lib/libkrb5.so: undefined reference to `des_set_odd_parity'
/usr/lib/libkrb5.so: undefined reference to `des_read_pw_string'
/usr/lib/libgssapi.so: undefined reference to `des_set_key'
/usr/lib/libkrb5.so: undefined reference to `des_ede3_cbc_encrypt'
/usr/lib/libgssapi.so: undefined reference to `des_cbc_cksum'
/usr/lib/libkrb5.so: undefined reference to `des_string_to_key'
collect2: ld returned 1 exit status
*** Error code 1

>How-To-Repeat:
	make imap-uw after building with openssl-0.9.7e
>Fix: