=> 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-2007fnb15 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 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 -I/usr/include' EXTRALDFLAGS='-Wl,-zrelro -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 -I/usr/include' EXTRALDFLAGS='-Wl,-zrelro -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 -I/usr/include' EXTRALDFLAGS='-Wl,-zrelro -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 -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 -Wl,-zrelro -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 -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 osdep.c: In function 'ssl_onceonlyinit': osdep.c:351:5: warning: implicit declaration of function 'SSL_library_init'; did you mean 'SSL_in_init'? [-Wimplicit-function-declaration] SSL_library_init (); /* add all algorithms */ ^~~~~~~~~~~~~~~~ SSL_in_init osdep.c: In function 'ssl_server_init': osdep.c:942:3: warning: implicit declaration of function 'ERR_load_crypto_strings'; did you mean 'ERR_load_RAND_strings'? [-Wimplicit-function-declaration] ERR_load_crypto_strings (); ^~~~~~~~~~~~~~~~~~~~~~~ ERR_load_RAND_strings osdep.c:943:3: warning: implicit declaration of function 'SSL_load_error_strings'; did you mean 'ERR_lib_error_string'? [-Wimplicit-function-declaration] SSL_load_error_strings (); ^~~~~~~~~~~~~~~~~~~~~~ ERR_lib_error_string osdep.c:981:11: warning: implicit declaration of function 'SSL_CTX_need_tmp_RSA'; did you mean 'SSL_CTX_set_tmp_dh'? [-Wimplicit-function-declaration] if (SSL_CTX_need_tmp_RSA (stream->context)) ^~~~~~~~~~~~~~~~~~~~ SSL_CTX_set_tmp_dh osdep.c:982:2: warning: implicit declaration of function 'SSL_CTX_set_tmp_rsa_callback'; did you mean 'SSL_CTX_set_tmp_dh_callback'? [-Wimplicit-function-declaration] SSL_CTX_set_tmp_rsa_callback (stream->context,ssl_genkey); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ SSL_CTX_set_tmp_dh_callback osdep.c: In function 'ssl_genkey': osdep.c:1034:9: warning: implicit declaration of function 'RSA_new'; did you mean 'SSL_new'? [-Wimplicit-function-declaration] key = RSA_new (); ^~~~~~~ SSL_new osdep.c:1034:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] key = RSA_new (); ^ osdep.c:1038:9: warning: implicit declaration of function 'BN_new'; did you mean 'BIO_new'? [-Wimplicit-function-declaration] ebn = BN_new (); ^~~~~~ BIO_new osdep.c:1038:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion] ebn = BN_new (); ^ osdep.c:1041:3: warning: implicit declaration of function 'BN_set_word'; did you mean 'SSL_set_wfd'? [-Wimplicit-function-declaration] BN_set_word (ebn, RSA_F4); ^~~~~~~~~~~ SSL_set_wfd osdep.c:1041:21: error: 'RSA_F4' undeclared (first use in this function); did you mean 'RSA'? BN_set_word (ebn, RSA_F4); ^~~~~~ RSA osdep.c:1041:21: note: each undeclared identifier is reported only once for each function it appears in osdep.c:1043:8: warning: implicit declaration of function 'RSA_generate_key_ex'; did you mean 'EC_KEY_generate_key'? [-Wimplicit-function-declaration] if (!RSA_generate_key_ex (key, export ? keylength : 1024, ebn, NIL)) ^~~~~~~~~~~~~~~~~~~ EC_KEY_generate_key osdep.c:1045:3: warning: implicit declaration of function 'BN_free'; did you mean 'BIO_free'? [-Wimplicit-function-declaration] BN_free (ebn); ^~~~~~~ BIO_free osdep.c:1050:5: warning: implicit declaration of function 'RSA_free'; did you mean 'SSL_free'? [-Wimplicit-function-declaration] RSA_free (key); ^~~~~~~~ SSL_free *** Error code 1 Stop. make[3]: stopped in /tmp/mail/imap-uw/work/imap-2007f/c-client *** Error code 1 Stop. make[2]: stopped in /tmp/mail/imap-uw/work/imap-2007f/c-client *** Error code 1 Stop. make[1]: stopped in /tmp/mail/imap-uw/work/imap-2007f *** Error code 1 Stop. make: stopped in /tmp/mail/imap-uw/work/imap-2007f *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/mail/imap-uw *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/mail/imap-uw