Subject: pkg/8898:
To: None <gnats-bugs@gnats.netbsd.org>
From: Hisashi T Fujinaka <htodd@alison.i8u.org>
List: netbsd-bugs
Date: 11/27/1999 18:21:45
>Number:         8898
>Category:       pkg
>Synopsis:       
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 27 18:20:59 1999
>Last-Modified:
>Originator:
>Organization:
>Release:        11/27/99
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
Class: 		sw-bug
Environment: 	i386, netbsd-current
System: NetBSD alison 1.4P NetBSD 1.4P (alison) #8: Sun Nov 21 12:00:17 PST 1999 htodd@alison:/disk/alison/1/src/sys/arch/i386/compile/alison i386


Description:
local: imap-4.5.tar.Z remote: imap-4.5.tar.Z
500 'EPSV': command not understood.
227 Entering Passive Mode (204,152,184,75,219,243)
150 Opening BINARY mode data connection for 'imap-4.5.tar.Z' (1656569 bytes).
100% |*************************************|  1617 KB   45.51 KB/s    00:00 ETA
226 Transfer complete.
1656569 bytes received in 00:35 (45.50 KB/s)
221 Goodbye.
>> Checksum OK for imap-4.5.tar.Z.
===>  Extracting for imap-uw-4.5
===>  imap-uw-4.5 depends on file: /usr/pkg/bin/pkglibtool-ELF-1.2p2 - found
===>  Patching for imap-uw-4.5
===>  Applying NetBSD patches for imap-uw-4.5
===>  Configuring for imap-uw-4.5
===>  Building for imap-uw-4.5
cd /disk/alison/1/pkgsrc/mail/imap-uw/work/imap-4.5 && make neb PREFIX=/usr/pkg CC="/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc"
Applying an process to sources...
tools/an "ln -s" src/c-client c-client
tools/an "ln -s" src/ansilib c-client
tools/an "ln -s" src/charset c-client
sh -c '(test -d src/kerberos) && (ln -s `pwd`/src/kerberos/* c-client) || true'
tools/an "ln -s" src/osdep/unix c-client
tools/an "ln -s" src/mtest mtest
tools/an "ln -s" src/ipopd ipopd
tools/an "ln -s" src/imapd imapd
ln -s tools/an .
make build EXTRACFLAGS="" EXTRALDFLAGS="" EXTRADRIVERS="mbox" EXTRAAUTHENTICATORS="" PASSWDTYPE=std GSSDIR=/usr/pkg OS=neb
Building c-client for neb...
echo  > c-client/EXTRASPECIALS
echo GSSDIR=/usr/pkg >> c-client/EXTRASPECIALS
cd c-client;make neb BUILDOPTIONS='EXTRACFLAGS="" EXTRALDFLAGS="" EXTRADRIVERS="mbox" EXTRAAUTHENTICATORS="" PASSWDTYPE=std'  PREFIX=/usr/pkg CC="/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc"
make build EXTRACFLAGS="" EXTRALDFLAGS="" EXTRADRIVERS="mbox" EXTRAAUTHENTICATORS="" PASSWDTYPE=std `cat EXTRASPECIALS` OS=bsi  CC="/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc"  SPOOLDIR=/var  ACTIVEFILE=/var/news/db/active  RSHPATH=/usr/bin/rsh  BASECFLAGS="-O -pipe -DNFSKLUDGE"  BASELDFLAGS="-lcrypt"
sh -c 'rm -rf auths.c flockbsd.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE libimapuw.la || true'
Once-only environment setup...
echo /usr/pkg/bin/pkglibtool-ELF-1.2p2 cc > CCTYPE
echo -O -pipe -DNFSKLUDGE  > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto  -DMAILSPOOL=\"/var/mail\"  -DANONYMOUSHOME=\"/var/mail/anonymous\"  -DACTIVEFILE=\"/var/news/db/active\" -DNEWSSPOOL=\"/var/news\"  -DRSHPATH=\"/usr/bin/rsh\" > OSCFLAGS
echo -lcrypt  > LDFLAGS
echo "ar rc libimapuw.la mail.o misc.o newsrc.o smanager.o osdep.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 mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib libimapuw.la" > ARCHIVE
./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy
./mkauths  md5 log
echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
ln -s os_bsi.h osdep.h
ln -s os_bsi.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_bsd.c siglocal.c
sh -c '(test -f /usr/include/sys/statvfs.h -a bsi != sc5 -a bsi != sco) && ln -s flocksun.c flockbsd.c || ln -s flocksv4.c flockbsd.c'
ln -s ckp_std.c osdepckp.c
cat osdepbas.c osdepckp.c osdeplog.c > osdep.c
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c mail.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC mail.c
mv -f mail.o mail.lo
cc -O -pipe -DNFSKLUDGE -c mail.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c misc.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC misc.c
mv -f misc.o misc.lo
cc -O -pipe -DNFSKLUDGE -c misc.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c newsrc.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC newsrc.c
mv -f newsrc.o newsrc.lo
cc -O -pipe -DNFSKLUDGE -c newsrc.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c smanager.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC smanager.c
mv -f smanager.o smanager.lo
cc -O -pipe -DNFSKLUDGE -c smanager.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE  `cat OSCFLAGS` -c osdep.c
cc -O -pipe -DNFSKLUDGE -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto -DMAILSPOOL=\"/var/mail\" -DANONYMOUSHOME=\"/var/mail/anonymous\" -DACTIVEFILE=\"/var/news/db/active\" -DNEWSSPOOL=\"/var/news\" -DRSHPATH=\"/usr/bin/rsh\" -DMD5ENABLE=\"/etc/cram-md5.pwd\" -c -fPIC -DPIC osdep.c
mv -f osdep.o osdep.lo
cc -O -pipe -DNFSKLUDGE -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto -DMAILSPOOL=\"/var/mail\" -DANONYMOUSHOME=\"/var/mail/anonymous\" -DACTIVEFILE=\"/var/news/db/active\" -DNEWSSPOOL=\"/var/news\" -DRSHPATH=\"/usr/bin/rsh\" -DMD5ENABLE=\"/etc/cram-md5.pwd\" -c osdep.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c utf8.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC utf8.c
mv -f utf8.o utf8.lo
cc -O -pipe -DNFSKLUDGE -c utf8.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c siglocal.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC siglocal.c
mv -f siglocal.o siglocal.lo
cc -O -pipe -DNFSKLUDGE -c siglocal.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c dummy.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC dummy.c
mv -f dummy.o dummy.lo
cc -O -pipe -DNFSKLUDGE -c dummy.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c pseudo.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC pseudo.c
mv -f pseudo.o pseudo.lo
cc -O -pipe -DNFSKLUDGE -c pseudo.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c netmsg.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC netmsg.c
mv -pipe -DNFSKLUDGE   -c nntp.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC nntp.c
mv -f nntp.o nntp.lo
cc -O -pipe -DNFSKLUDG/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c smtp.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC smtp.c
mv -f smtp.o smtp.lo
cc -O -pipe -DNFSKLUDGE -c smtp.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c imap4r1.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC imap4r1.c
mv -f imap4r1.o imap4r1.lo
cc -O -pipe -DNFSKLUDGE -c imap4r1.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNFSKLUDGE   -c pop3.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC pop3.c
mv -f pop3.o pop3.lo
cc -O -pipe -DNFSKLUDGE -c pop3.c >/dev/null 2>&1
/usr/pkg/bin/pkglibtool-ELF-1.2p2 cc -O -pipe -DNSKLUDGE   -c unix.c
cc -O -pipe -DNFSKLUDGE -c -fPIC -DPIC unix.c
mv -f unix.o unix.lo
cc -O -pipe -DNFSKLUDGE -c unix.c >/devo pop3.lo unix.lo mbox.lo mbx.lo mmdf.lo tenex.lo mtx.lo news.l3:0
mkdir .libs
cc -shared -Wl,-soname -Wl,libimapuw.so.3 -o .libs/libimapuw.so.3.0 mail.lo misc.lo newsrc.lo smanager.lo osdep.lo utf8.lo siglocal.lo dummy.lo pseudo.lo netmsg.lo flstring.lo fdstring.lo rfc822.lo nntp.lo smtp.lo imap4r1.lo pop3.lo unio mbox.lo mbx.lo mmdf.lo tenex.lo mtx.lo news.lo phile.lo mh.lo mx.lo
(cd .libs && ln -s libimapuw.so.3.0 libimapuw.so.3)
(cd .libs && ln -s libimapuw.so.3.0 libimapuw.so)
ar cru .libs/libimapuw.a mail.o misc.o newsrc.o smanager.o osdep.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 mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o
ranlib .libs/libimapuw.a
creatng libimapuw.la
(cd .libs && ln -s ../libimapuw.la libimapuw.la)
echo neb > OSTYPE
touch rebuild
sh -c 'rm -rf rebuild || true
Building bundled tools...
cd mtest;make
cd ../c-client;make
make all CC="`cat CCTYPE`" CFLAGS="`cat CFLAGS`" `cat EXTRASPECIALS`
`cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLS`  -c mtest.c
cc -I../c-client -O -pipe -DNFSKLUDGE -c -fPIC -DPIC mtest.c
mv -f mtest.o mtest.lo
cc -I../c-client -O -pipe -DNFSKLUDGE -c mtest.c >/dev/null 2>&1
`cat ../c-client/CCTYPE` I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
cc -I../c-client -O -pipe -DNFSKLUDGE -o mtest mtest.o ../c-client/c-client.a -lcrypt ../c-client/c-client.a: No such file or directory
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

How-To-Repeat:
	make build
Fix: