=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for imap-uw-2007fnb12 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in PARTIAL compliance with RFC 3501 security + requirements: + Compliant: ++ TLS/SSL encryption is supported + Non-compliant: ++ Unencrypted plaintext passwords are permitted + + In order to rectify this problem, you MUST build with: ++ SSLTYPE=unix.nopwd +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 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 tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . touch ip6 make build EXTRACFLAGS='-O2 -mieee -I/usr/include' EXTRALDFLAGS='-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix IP=6 EXTRASPECIALS='SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLCERTS=/etc/openssl/certs SSLKEYS=/etc/openssl/private CREATEPROTO=unixproto' BUILDTYPE=neb IP=6 PASSWDTYPE=pam SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/openssl/certs SSLKEYS=/etc/openssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam" `ip6' is up to date. Building c-client for neb... echo `cat SPECIALS` SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLCERTS=/etc/openssl/certs SSLKEYS=/etc/openssl/private CREATEPROTO=unixproto > c-client/SPECIALS cd c-client;make neb EXTRACFLAGS='-O2 -mieee -I/usr/include' EXTRALDFLAGS='-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=unix IP=6 SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/openssl/certs SSLKEYS=/etc/openssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLCERTS=/etc/openssl/certs SSLKEYS=/etc/openssl/private CREATEPROTO=unixproto make build EXTRACFLAGS='-O2 -mieee -I/usr/include' EXTRALDFLAGS='-L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=unix IP=6 `cat SPECIALS` OS=bsi CRXTYPE=nfs SPOOLDIR=/var ACTIVEFILE=/var/news/db/active RSHPATH=/usr/bin/rsh BASECFLAGS="-pipe -fno-omit-frame-pointer" BASELDFLAGS="-lcrypt" sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE libc-client.la || true' Once-only environment setup... echo cc > CCTYPE echo -pipe -fno-omit-frame-pointer '-O2 -mieee -I/usr/include' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" -DANONYMOUSHOME=\"/var/mail/anonymous\" -DACTIVEFILE=\"/var/news/db/active\" -DNEWSSPOOL=\"/var/news\" -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS echo -lcrypt -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib > LDFLAGS echo "libtool --tag=CC --mode=link cc -o libc-client.la osdep.lo mail.lo misc.lo newsrc.lo smanager.lo utf8.lo utf8aux.lo siglocal.lo dummy.lo pseudo.lo netmsg.lo flstring.lo fdstring.lo rfc822.lo nntp.lo smtp.lo imap4r1.lo pop3.lo unix.lo mbx.lo mmdf.lo tenex.lo mtx.lo news.lo phile.lo mh.lo mx.lo mix.lo -rpath /usr/pkg/lib -version-info 5:0 \`cat LDFLAGS\`" > ARCHIVE echo bsi > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths ext md5 pla log echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c 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 ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test bsi = sc5 -o bsi = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' PAM password authentication echo -lpam >> LDFLAGS ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/etc/openssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/openssl/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make bsi SSLTYPE=none libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" -DANONYMOUSHOME=\"/var/mail/anonymous\" -DACTIVEFILE=\"/var/news/db/active\" -DNEWSSPOOL=\"/var/news\" -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" -DLOCKPGM3=\"/etc/mlock\" -DNOFSTATVFS64 -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/etc/openssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/openssl/private\" -c osdep.c -fPIC -DPIC -o .libs/osdep.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" -DANONYMOUSHOME=\"/var/mail/anonymous\" -DACTIVEFILE=\"/var/news/db/active\" -DNEWSSPOOL=\"/var/news\" -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" -DLOCKPGM3=\"/etc/mlock\" -DNOFSTATVFS64 -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/etc/openssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/openssl/private\" -c osdep.c -o osdep.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` mail.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mail.c -fPIC -DPIC -o .libs/mail.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mail.c -o mail.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` misc.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 misc.c -fPIC -DPIC -o .libs/misc.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 misc.c -o misc.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` newsrc.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 newsrc.c -fPIC -DPIC -o .libs/newsrc.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 newsrc.c -o newsrc.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` smanager.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 smanager.c -fPIC -DPIC -o .libs/smanager.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 smanager.c -o smanager.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` utf8.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 utf8.c -fPIC -DPIC -o .libs/utf8.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 utf8.c -o utf8.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` utf8aux.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 utf8aux.c -fPIC -DPIC -o .libs/utf8aux.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 utf8aux.c -o utf8aux.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` siglocal.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 siglocal.c -fPIC -DPIC -o .libs/siglocal.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 siglocal.c -o siglocal.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` dummy.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 dummy.c -fPIC -DPIC -o .libs/dummy.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 dummy.c -o dummy.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` pseudo.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 pseudo.c -fPIC -DPIC -o .libs/pseudo.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 pseudo.c -o pseudo.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` netmsg.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 netmsg.c -fPIC -DPIC -o .libs/netmsg.o In file included from /usr/include/stdio.h:597:0, from netmsg.c:30: netmsg.c: In function 'netmsg_slurp': netmsg.c:62:45: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] sprintf (tmp,".%lx.%lx",(unsigned long) time (0),(unsigned long)getpid ()); ^ libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 netmsg.c -o netmsg.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` flstring.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 flstring.c -fPIC -DPIC -o .libs/flstring.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 flstring.c -o flstring.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` fdstring.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 fdstring.c -fPIC -DPIC -o .libs/fdstring.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 fdstring.c -o fdstring.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` rfc822.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 rfc822.c -fPIC -DPIC -o .libs/rfc822.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 rfc822.c -o rfc822.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` nntp.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 nntp.c -fPIC -DPIC -o .libs/nntp.o nntp.c: In function 'nntp_search_msg': nntp.c:1261:39: warning: implicit declaration of function 'time'; did you mean 'utime'? [-Wimplicit-function-declaration] unsigned long now = (unsigned long) time (0); ^~~~ utime libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 nntp.c -o nntp.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` smtp.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 smtp.c -fPIC -DPIC -o .libs/smtp.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 smtp.c -o smtp.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` imap4r1.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 imap4r1.c -fPIC -DPIC -o .libs/imap4r1.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 imap4r1.c -o imap4r1.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` pop3.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 pop3.c -fPIC -DPIC -o .libs/pop3.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 pop3.c -o pop3.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` unix.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 unix.c -fPIC -DPIC -o .libs/unix.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 unix.c -o unix.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` mbx.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mbx.c -fPIC -DPIC -o .libs/mbx.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mbx.c -o mbx.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` mmdf.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mmdf.c -fPIC -DPIC -o .libs/mmdf.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mmdf.c -o mmdf.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` tenex.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 tenex.c -fPIC -DPIC -o .libs/tenex.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 tenex.c -o tenex.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` mtx.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mtx.c -fPIC -DPIC -o .libs/mtx.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mtx.c -o mtx.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` news.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 news.c -fPIC -DPIC -o .libs/news.o news.c: In function 'news_open': news.c:369:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^~~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from news.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ news.c:369:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^~~~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from news.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int scandir(const char *, struct dirent ***, ^~~~~~~ libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 news.c -o news.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` phile.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 phile.c -fPIC -DPIC -o .libs/phile.o libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 phile.c -o phile.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` mh.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mh.c -fPIC -DPIC -o .libs/mh.o mh.c: In function 'mh_ping': mh.c:864:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mh.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mh.c:864:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mh.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mh.c: In function 'mh_append': mh.c:1130:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mh.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mh.c:1130:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mh.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int scandir(const char *, struct dirent ***, ^~~~~~~ libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mh.c -o mh.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` mx.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mx.c -fPIC -DPIC -o .libs/mx.o mx.c: In function 'mx_scan_contents': mx.c:276:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mx.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mx.c:276:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mx.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mx.c: In function 'mx_rename': mx.c:461:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mx.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mx.c:461:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mx.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mx.c: In function 'mx_ping': mx.c:730:51: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mx.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mx.c:730:61: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mx.c:34: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int scandir(const char *, struct dirent ***, ^~~~~~~ libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mx.c -o mx.o >/dev/null 2>&1 libtool --tag=CC --mode=compile `cat CCTYPE` -c `cat CFLAGS` mix.c libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mix.c -fPIC -DPIC -o .libs/mix.o mix.c: In function 'mix_scan_contents': mix.c:324:38: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mix.c:33: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mix.c:324:49: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^~~~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mix.c:33: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mix.c: In function 'mix_rename': mix.c:556:54: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); ^~~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mix.c:33: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mix.c: In function 'mix_expunge': mix.c:1054:53: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mix.c:33: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' int scandir(const char *, struct dirent ***, ^~~~~~~ mix.c:1054:64: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^~~~~~~~~~~~ In file included from /usr/include/sys/dir.h:47:0, from osdep.h:33, from mix.c:33: /usr/include/dirent.h:111:5: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' int scandir(const char *, struct dirent ***, ^~~~~~~ libtool: compile: cc -c -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 mix.c -o mix.o >/dev/null 2>&1 sh -c 'rm -rf libc-client.la || true' libtool --tag=CC --mode=link cc -o libc-client.la osdep.lo mail.lo misc.lo newsrc.lo smanager.lo utf8.lo utf8aux.lo siglocal.lo dummy.lo pseudo.lo netmsg.lo flstring.lo fdstring.lo rfc822.lo nntp.lo smtp.lo imap4r1.lo pop3.lo unix.lo mbx.lo mmdf.lo tenex.lo mtx.lo news.lo phile.lo mh.lo mx.lo mix.lo -rpath /usr/pkg/lib -version-info 5:0 `cat LDFLAGS` libtool: link: gcc -shared -fPIC -DPIC .libs/osdep.o .libs/mail.o .libs/misc.o .libs/newsrc.o .libs/smanager.o .libs/utf8.o .libs/utf8aux.o .libs/siglocal.o .libs/dummy.o .libs/pseudo.o .libs/netmsg.o .libs/flstring.o .libs/fdstring.o .libs/rfc822.o .libs/nntp.o .libs/smtp.o .libs/imap4r1.o .libs/pop3.o .libs/unix.o .libs/mbx.o .libs/mmdf.o .libs/tenex.o .libs/mtx.o .libs/news.o .libs/phile.o .libs/mh.o .libs/mx.o .libs/mix.o -lpam -lssl -lcrypto -lcrypt -Wl,-rpath -Wl,/usr/pkg/lib -Wl,-soname -Wl,libc-client.so.5 -o .libs/libc-client.so.5.0.0 ld: .libs/osdep.o: in function `ssl_onceonlyinit.part.8': (.text+0x90b4): warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: .libs/netmsg.o: in function `netmsg_slurp': (.text+0x2d4): warning: warning: reference to compatibility time(); include for correct reference libtool: link: (cd ".libs" && rm -f "libc-client.so.5" && ln -s "libc-client.so.5.0.0" "libc-client.so.5") libtool: link: (cd ".libs" && rm -f "libc-client.so" && ln -s "libc-client.so.5.0.0" "libc-client.so") libtool: link: ar cr .libs/libc-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.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 mix.o libtool: link: ranlib .libs/libc-client.a libtool: link: ( 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 `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -I/usr/include -c mtest.c libtool --tag=CC --mode=link `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/libc-client.la `cat ../c-client/LDFLAGS` libtool: link: cc -I../c-client -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 -o .libs/mtest mtest.o -Wl,-rpath -Wl,/usr/pkg/lib -L../c-client/.libs -lc-client -lpam -lssl -lcrypto -lcrypt -Wl,-rpath,/usr/pkg/lib ld: ../c-client/.libs/libc-client.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: ../c-client/.libs/libc-client.so: warning: warning: reference to compatibility time(); include for correct reference cd ipopd;make `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -I/usr/include -c ipop2d.c libtool --tag=CC --mode=link `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o ../c-client/libc-client.la `cat ../c-client/LDFLAGS` libtool: link: cc -I../c-client -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 -o .libs/ipop2d ipop2d.o -Wl,-rpath -Wl,/usr/pkg/lib -L../c-client/.libs -lc-client -lpam -lssl -lcrypto -lcrypt -Wl,-rpath,/usr/pkg/lib ld: ../c-client/.libs/libc-client.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: ../c-client/.libs/libc-client.so: warning: warning: reference to compatibility time(); include for correct reference `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -I/usr/include -c ipop3d.c libtool --tag=CC --mode=link `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o ../c-client/libc-client.la `cat ../c-client/LDFLAGS` libtool: link: cc -I../c-client -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 -o .libs/ipop3d ipop3d.o -Wl,-rpath -Wl,/usr/pkg/lib -L../c-client/.libs -lc-client -lpam -lssl -lcrypto -lcrypt -Wl,-rpath,/usr/pkg/lib ld: ../c-client/.libs/libc-client.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: ../c-client/.libs/libc-client.so: warning: warning: reference to compatibility time(); include for correct reference cd imapd;make `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -I/usr/include -c imapd.c libtool --tag=CC --mode=link `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o ../c-client/libc-client.la `cat ../c-client/LDFLAGS` libtool: link: cc -I../c-client -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o .libs/imapd imapd.o -Wl,-rpath -Wl,/usr/pkg/lib -L../c-client/.libs -lc-client -lpam -lssl -lcrypto -lcrypt -Wl,-rpath,/usr/pkg/lib ld: ../c-client/.libs/libc-client.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: ../c-client/.libs/libc-client.so: warning: warning: reference to compatibility time(); include for correct reference cd mailutil;make `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -I/usr/include -c mailutil.c libtool --tag=CC --mode=link `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/libc-client.la `cat ../c-client/LDFLAGS` libtool: link: cc -I../c-client -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 -o .libs/mailutil mailutil.o -Wl,-rpath -Wl,/usr/pkg/lib -L../c-client/.libs -lc-client -lpam -lssl -lcrypto -lcrypt -Wl,-rpath,/usr/pkg/lib ld: ../c-client/.libs/libc-client.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: ../c-client/.libs/libc-client.so: warning: warning: reference to compatibility time(); include for correct reference cd mlock;make || true `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -I/usr/include -c mlock.c mlock.c: In function 'die': mlock.c:60:3: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write (1,"?",1); /* indicate "impossible" failure */ ^~~~~ fwrite mlock.c: In function 'main': mlock.c:75:31: warning: implicit declaration of function 'getegid'; did you mean 'getgrgid'? [-Wimplicit-function-declaration] if (!grp || (grp->gr_gid != getegid ())) ^~~~~~~ getgrgid mlock.c:94:3: warning: implicit declaration of function 'chdir'; did you mean 'mkdir'? [-Wimplicit-function-declaration] chdir (dir); ^~~~~ mkdir mlock.c:114:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink (lock); /* time out lock if enough time has passed */ ^~~~~~ In file included from /usr/include/stdio.h:597:0, from mlock.c:31: mlock.c:123:23: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] (unsigned long) getpid ()); ^ mlock.c:125:5: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] gethostname (hitch + len,MAXHOSTNAMELEN); ^~~~~~~~~~~ gethostbyname mlock.c:132:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close (ld); /* close the hitching-post */ ^~~~~ pclose mlock.c:138:11: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration] i = link (hitch,lock) ? errno : 0; ^~~~ mlock.c:161:20: warning: implicit declaration of function 'sleep'; did you mean 'stresep'? [-Wimplicit-function-declaration] if (tries--) sleep (1); /* sleep 1 second and try again */ ^~~~~ stresep mlock.c:169:3: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] read (0,tmp,1); /* read continue signal from parent */ ^~~~ fread `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` `cat ../c-client/LDFLAGS` -o mlock mlock.o cd dmail;make || true `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -I/usr/include -c dmail.c dmail.c: In function 'main': dmail.c:161:35: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -I/usr/include -c dquota.c libtool --tag=CC --mode=link `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o ../c-client/libc-client.la `cat ../c-client/LDFLAGS` libtool: link: cc -I../c-client -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 -o .libs/dmail dmail.o dquota.o -Wl,-rpath -Wl,/usr/pkg/lib -L../c-client/.libs -lc-client -lpam -lssl -lcrypto -lcrypt -Wl,-rpath,/usr/pkg/lib ld: ../c-client/.libs/libc-client.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: ../c-client/.libs/libc-client.so: warning: warning: reference to compatibility time(); include for correct reference cd tmail;make || true `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -I/usr/include -c tmail.c tmail.c: In function 'main': tmail.c:170:37: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -I/usr/include -c tquota.c libtool --tag=CC --mode=link `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o ../c-client/libc-client.la `cat ../c-client/LDFLAGS` libtool: link: cc -I../c-client -pipe -fno-omit-frame-pointer -O2 -mieee -DCHUNKSIZE=65536 -o .libs/tmail tmail.o tquota.o -Wl,-rpath -Wl,/usr/pkg/lib -L../c-client/.libs -lc-client -lpam -lssl -lcrypto -lcrypt -Wl,-rpath,/usr/pkg/lib ld: ../c-client/.libs/libc-client.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() ld: ../c-client/.libs/libc-client.so: warning: warning: reference to compatibility time(); include for correct reference => Substituting "man" in src/imapd/imapd.8 src/ipopd/ipopd.8 cd /tmp/pkgbuild/mail/imap-uw/work.alpha/imap-2007f/c-client; /tmp/pkgbuild/mail/imap-uw/work.alpha/.cwrapper/bin/libtool --mode=link gcc -o libc-client_pic.la *.lo libtool: link: ar cr .libs/libc-client_pic.a .libs/dummy.o .libs/fdstring.o .libs/flstring.o .libs/imap4r1.o .libs/mail.o .libs/mbx.o .libs/mh.o .libs/misc.o .libs/mix.o .libs/mmdf.o .libs/mtx.o .libs/mx.o .libs/netmsg.o .libs/news.o .libs/newsrc.o .libs/nntp.o .libs/osdep.o .libs/phile.o .libs/pop3.o .libs/pseudo.o .libs/rfc822.o .libs/siglocal.o .libs/smanager.o .libs/smtp.o .libs/tenex.o .libs/unix.o .libs/utf8.o .libs/utf8aux.o libtool: link: ranlib .libs/libc-client_pic.a libtool: link: ( cd ".libs" && rm -f "libc-client_pic.la" && ln -s "../libc-client_pic.la" "libc-client_pic.la" )