* Package: net-mail/uw-mailutils-2007f * Repository: gentoo * Maintainer: net-mail@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pam ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking imap-2007f.tar.Z to /var/tmp/portage/net-mail/uw-mailutils-2007f/work >>> Source unpacked in /var/tmp/portage/net-mail/uw-mailutils-2007f/work >>> Preparing source in /var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f ... * Applying uw-mailutils-2004g.patch ... [ ok ] * Applying uw-mailutils-ssl.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f ... make -j1 -j1 lnp 'EXTRACFLAGS=-O2 -pipe -march=native -fPIC' 'EXTRALDFLAGS=-Wl,-O1 -Wl,--as-needed' SSLTYPE=nopwd make[1]: Entering directory '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[1]: Leaving directory '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f' 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/mailutil mailutil ln -s tools/an . make build EXTRACFLAGS='-O2 -pipe -march=native -fPIC' EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=lnp make[1]: Entering directory '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f' make[2]: Entering directory '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building with IPv4 support +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f' Building c-client for lnp... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-O2 -pipe -march=native -fPIC'\ EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=nopwd IP=4\ make[2]: Entering directory '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f/c-client' make build EXTRACFLAGS='-O2 -pipe -march=native -fPIC' EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="-lpam -ldl" make[3]: Entering directory '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f/c-client' 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 '-O2 -pipe -march=native -fPIC' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS echo -lpam -ldl -Wl,-O1 -Wl,--as-needed > 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 slx > 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_slx.h osdep.h ln -s os_slx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip4_unix.c ip_unix.c sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' Standard password authentication 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/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/certs\" >> 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 slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:43, from osdep.c:31: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from osdep.c:31: env_unix.c: In function ‘lock_work’: osdep.h:60:15: warning: implicit declaration of function ‘safe_flock’; did you mean ‘mail_lock’? [-Wimplicit-function-declaration] #define flock safe_flock ^~~~~~~~~~ env_unix.c:1374:27: note: in expansion of macro ‘flock’ if (op & LOCK_NB) i = flock (fd,op); ^~~~~ In file included from osdep.c:56: flocklnx.c: In function ‘safe_flock’: flocklnx.c:60:38: warning: format not a string literal and no format arguments [-Wformat-security] if (!logged++) syslog (LOG_ERR,tmp); ^~~ 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/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:266: /usr/include/openssl/ssl.h:1629:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~~ 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/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:266: /usr/include/openssl/ssl.h:1628:45: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~~ 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/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/bio.h:13, from /usr/include/openssl/x509v3.h:13, from osdep.c:266: /usr/include/openssl/rsa.h:193:1: note: declared here DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void ^~~~~~~~~~~~~~~~~~ In file included from auths.c:2, from env_unix.c:260, from osdep.c:50: auth_md5.c: In function ‘auth_md5_pwd’: auth_md5.c:195:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:50: env_unix.c: In function ‘pw_login’: env_unix.c:785:37: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] (ret = env_init (user,home))) chdir (myhomedir ()); ^~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:926: osdep.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f/c-client' make[2]: *** [Makefile:495: lnp] Error 2 make[2]: Leaving directory '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f/c-client' make[1]: *** [Makefile:683: OSTYPE] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f' make: *** [Makefile:311: lnp] Error 2 * ERROR: net-mail/uw-mailutils-2007f::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-mail/uw-mailutils-2007f::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-mail/uw-mailutils-2007f::gentoo'`. * The complete build log is located at '/var/log/portage/net-mail:uw-mailutils-2007f:20181231-131046.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-mail/uw-mailutils-2007f/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/uw-mailutils-2007f/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f' * S: '/var/tmp/portage/net-mail/uw-mailutils-2007f/work/imap-2007f'