=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for re-alpine-2.03 if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /tmp/pkgbuild/mail/re-alpine/work.earmv6hf/.tools/bin/make neb EXTRACFLAGS=" -I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include" EXTRALDFLAGS=" -L/usr/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -lgssapi -lldap -ltinfo -llber" EXTRASPECIALS="SSLDIR=/usr SSLCERTS=/etc/openssl/certs SSLINCLUDE=/usr/include SSLLIB=/usr/lib" +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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='-I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include' EXTRALDFLAGS='-L/usr/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -lgssapi -lldap -ltinfo -llber' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLDIR=/usr SSLCERTS=/etc/openssl/certs SSLINCLUDE=/usr/include SSLLIB=/usr/lib' 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` SSLDIR=/usr SSLCERTS=/etc/openssl/certs SSLINCLUDE=/usr/include SSLLIB=/usr/lib > c-client/SPECIALS cd c-client;make neb EXTRACFLAGS='-I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include' EXTRALDFLAGS='-L/usr/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -lgssapi -lldap -ltinfo -llber' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=nopwd 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 SSLDIR=/usr SSLCERTS=/etc/openssl/certs SSLINCLUDE=/usr/include SSLLIB=/usr/lib make build EXTRACFLAGS='-I/usr/include -O2 -D_FORTIFY_SOURCE=2 -I/usr/include' EXTRALDFLAGS='-L/usr/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -lgssapi -lldap -ltinfo -llber' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=bsi CRXTYPE=nfs SPOOLDIR=/var ACTIVEFILE=/var/db/news/active RSHPATH=/usr/bin/rsh BASECFLAGS="-g -O2 -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 c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -g -O2 -pipe -fno-omit-frame-pointer '-I/usr/include -O2 -D_FORTIFY_SOURCE=2 -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/db/news/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 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -lgssapi -lldap -ltinfo -llber > LDFLAGS echo "ar rc c-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;ranlib c-client.a" > 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 Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c 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 `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c osdep.c: In function 'ssl_start_work': osdep.c:459:12: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] TLSv1_client_method () : ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:265: /usr/include/openssl/ssl.h:1879:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^ osdep.c:509:49: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}' if (scq) return (*scq) (err,host,cert ? cert->name : "???") ? NIL : ""; ^~ osdep.c: In function 'ssl_server_init': osdep.c:942:12: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] TLSv1_server_method () : ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:265: /usr/include/openssl/ssl.h:1878:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) ^ osdep.c: In function 'ssl_genkey': osdep.c:1013:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { ^~ In file included from /usr/include/openssl/e_os2.h:13:0, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:265: /usr/include/openssl/rsa.h:234:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^ *** Error code 1 Stop. make[4]: stopped in /tmp/pkgbuild/mail/re-alpine/work.earmv6hf/re-alpine-2.03/imap/c-client *** Error code 1 Stop. make[3]: stopped in /tmp/pkgbuild/mail/re-alpine/work.earmv6hf/re-alpine-2.03/imap/c-client *** Error code 1 Stop. make[2]: stopped in /tmp/pkgbuild/mail/re-alpine/work.earmv6hf/re-alpine-2.03/imap *** Error code 1 Stop. make[1]: stopped in /tmp/pkgbuild/mail/re-alpine/work.earmv6hf/re-alpine-2.03/imap *** Error code 1 Stop. make: stopped in /tmp/pkgbuild/mail/re-alpine/work.earmv6hf/re-alpine-2.03 *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/mail/re-alpine *** Error code 1 Stop. make: stopped in /usr/pkgsrc/mail/re-alpine