* Package: net-libs/c-client-2007f-r4 * Repository: gentoo * Maintainer: net-mail@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux pam ssl userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying c-client-2006k_GENTOO_Makefile.patch ... [ ok ] * Applying c-client-2006k_GENTOO_amd64-so-fix.patch ... [ ok ] * Applying c-client-2007f-ldflags.patch ... [ ok ] make[1]: Entering directory `/var/tmp/portage/net-libs/c-client-2007f-r4/work/imap-2007f' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 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 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Do you want to continue this build anyway? Type y or n please: make[1]: Leaving directory `/var/tmp/portage/net-libs/c-client-2007f-r4/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 ln -s tools/an . make build EXTRACFLAGS='-march=native -Werror=format-security -g0 -O2 -fPIC' EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=unix IP=6 EXTRASPECIALS='' BUILDTYPE=lnp make[1]: Entering directory `/var/tmp/portage/net-libs/c-client-2007f-r4/work/imap-2007f' make[2]: Entering directory `/var/tmp/portage/net-libs/c-client-2007f-r4/work/imap-2007f' make[2]: `ip6' is up to date. make[2]: Leaving directory `/var/tmp/portage/net-libs/c-client-2007f-r4/work/imap-2007f' Building c-client for lnp... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-march=native -Werror=format-security -g0 -O2 -fPIC'\ EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=pam SSLTYPE=unix IP=6\ make[2]: Entering directory `/var/tmp/portage/net-libs/c-client-2007f-r4/work/imap-2007f/c-client' make build EXTRACFLAGS='-march=native -Werror=format-security -g0 -O2 -fPIC' EXTRALDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=unix IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS= \ BASELDFLAGS="-lpam -ldl" make[3]: Entering directory `/var/tmp/portage/net-libs/c-client-2007f-r4/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' 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/lib64 -lssl -lcrypto >> LDFLAGS Once-only environment setup... echo x86_64-pc-linux-gnu-gcc > CCTYPE echo `cat CFLAGS` '-march=native -Werror=format-security -g0 -O2 -fPIC' -DCHUNKSIZE=65536 > CFLAGS cat: CFLAGS: No such file or directory echo `cat OSCFLAGS` -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 `cat LDFLAGS` > LIBS echo -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu `cat LDFLAGS` -lcrypt -lpam -ldl > LDFLAGS echo "x86_64-pc-linux-gnu-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;x86_64-pc-linux-gnu-ranlib c-client.a" > ARCHIVE echo "`cat CCTYPE` `cat CFLAGS` -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu `cat OSFLAGS` -shared \ -Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 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" `cat LIBS` -lpam -ldl \ >> ARCHIVE cat: OSFLAGS: No such file or directory 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 ip6_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' PAM password authentication echo -lpam -ldl >> LDFLAGS ln -s ckp_pam.c osdepckp.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 osdep.c:56:0: flocklnx.c: In function ‘safe_flock’: flocklnx.c:60:7: error: format not a string literal and no format arguments [-Werror=format-security] In file included from osdep.c:50:0: osdep.c: In function ‘pw_login’: env_unix.c:785:43: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] In file included from auths.c:2:0, from env_unix.c:260, from osdep.c:50: osdep.c: In function ‘auth_md5_pwd’: auth_md5.c:195:10: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] cc1: some warnings being treated as errors make[3]: *** [osdep.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-libs/c-client-2007f-r4/work/imap-2007f/c-client' make[2]: *** [lnp] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-libs/c-client-2007f-r4/work/imap-2007f/c-client' make[1]: *** [OSTYPE] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-libs/c-client-2007f-r4/work/imap-2007f' make: *** [lnp] Error 2 * ERROR: net-libs/c-client-2007f-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/c-client-2007f-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/c-client-2007f-r4::gentoo'`. * The complete build log is located at '/var/log/log/build/net-libs/c-client-2007f-r4:20140525-200923.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/c-client-2007f-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/c-client-2007f-r4/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/c-client-2007f-r4/work/imap-2007f' * S: '/var/tmp/portage/net-libs/c-client-2007f-r4/work/imap-2007f'