* Package: mail-client/nail-12.4-r3  * Repository: gentoo  * Maintainer: net-mail@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux net ssl userland_GNU  * FEATURES: network-sandbox preserve-libs userpriv usersandbox >>> Unpacking source... >>> Unpacking mailx-12.4.tar.bz2 to /u1/tmp/portage/mail-client/nail-12.4-r3/work >>> Source unpacked in /u1/tmp/portage/mail-client/nail-12.4-r3/work >>> Preparing source in /u1/tmp/portage/mail-client/nail-12.4-r3/work/mailx-12.4 ... * Applying nail-12.4-debian.patch ...  [ ok ] * Applying nail-12.4-openssl-1.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /u1/tmp/portage/mail-client/nail-12.4-r3/work/mailx-12.4 ... make -j4 -j1 config.h LIBS /bin/sh ./makeconfig checking if a hello world program can be built ... okay checking for ... okay checking for alloca() ... okay checking for ssize_t ... okay checking for snprintf() ... okay checking for fchdir() ... okay checking for mmap() ... okay checking for mremap() ... no checking for iconv functionality ... okay checking for wctype functionality ... okay checking for wcwidth() ... okay checking for mbtowc() ... okay checking for setlocale() ... okay checking for nl_langinfo() ... okay checking for mkstemp() ... okay checking for fpathconf() ... okay checking for wordexp() ... okay checking for ... okay checking for socket functionality in libc ... okay checking for Network Security Services (NSS) ... no checking for sufficiently recent OpenSSL ... okay checking for GSSAPI in libgss ... no checking for GSSAPI in libgssapi_krb5 ... okay The following optional features are enabled: + Locale support: Printable characters depend on the environment + Multibyte character support + Character set conversion using iconv() + Automatic detection of terminal character set + Networking support (IMAP, POP3, and SMTP) + IMAP GSSAPI authentication + S/MIME and SSL/TLS using OpenSSL The following optional features are disabled: Remarks: make: 'LIBS' is up to date. >>> Source configured. >>> Compiling source in /u1/tmp/portage/mail-client/nail-12.4-r3/work/mailx-12.4 ... make -j4 'CPPFLAGS= -D_GNU_SOURCE' PREFIX=/usr SYSCONFDIR=/etc SENDMAIL=/usr/sbin/sendmail MAILSPOOL=/var/spool/mail x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c aux.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c base64.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c cache.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c cmd1.c cache.c: In function ‘putcache’: cache.c:313:3: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(obuf), 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~ cache.c: In function ‘dequeue1’: cache.c:797:4: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(fp), 0); ^~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c cmd2.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c cmd3.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c cmdtab.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c collect.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c dotlock.c dotlock.c: In function ‘create_exclusive’: dotlock.c:143:3: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] setgid(realgid); ^~~~~~~~~~~~~~~ dotlock.c:146:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(fd, apid, strlen(apid)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dotlock.c:160:2: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] setgid(realgid); ^~~~~~~~~~~~~~~ dotlock.c:174:2: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] setgid(realgid); ^~~~~~~~~~~~~~~ dotlock.c: In function ‘dot_unlock’: dotlock.c:277:2: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] setgid(realgid); ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c edit.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c fio.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c getname.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c getopt.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c head.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c hmac.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c imap.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c imap_search.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c junk.c imap.c: In function ‘imap_dequeue’: imap.c:3160:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(fp), 0); ^~~~~~~~~~~~~~~~~~~~~~~~ junk.c: In function ‘clsf’: junk.c:1036:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(stderr, "Examining message %d\n", m - &message[0] + 1); ~^ ~~~~~~~~~~~~~~~~~~~ %ld junk.c:1063:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(stderr, "Junk probability of message %d: %g\n", ~^ %ld m - &message[0] + 1, r); ~~~~~~~~~~~~~~~~~~~ In file included from rcv.h:65, from junk.c:46: junk.c: In function ‘putdb’: def.h:590:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(stream), (off_t)ftell(stream)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ junk.c:366:3: note: in expansion of macro ‘trunc’ trunc(sfp); ^~~~~ def.h:590:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(stream), (off_t)ftell(stream)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ junk.c:375:3: note: in expansion of macro ‘trunc’ trunc(nfp); ^~~~~ x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c lex.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c list.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c lzw.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c macro.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c maildir.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c main.c maildir.c: In function ‘readin’: maildir.c:338:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=] fprintf(stderr, "Cannot read \"%s/%s\" for message %d\n", ~^ %ld name, m->m_maildir_file, m - &message[0] + 1); ~~~~~~~~~~~~~~~~~~~ maildir.c: In function ‘maildir_update’: maildir.c:443:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=] fprintf(stderr, "Cannot delete file \"%s/%s\" " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:446:7: m - &message[0] + 1); ~~~~~~~~~~~~~~~~~~~ maildir.c:444:21: note: format string is defined here "for message %d.\n", ~^ %ld maildir.c: In function ‘move’: maildir.c:491:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘long int’ [-Wformat=] fprintf(stderr, "Cannot link \"%s/%s\" to \"%s/%s\": " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maildir.c:495:5: m - &message[0] + 1); ~~~~~~~~~~~~~~~~~~~ maildir.c:492:15: note: format string is defined here "message %d not touched.\n", ~^ %ld x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c md5.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c mime.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c names.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c nss.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c openssl.c openssl.c: In function ‘ssl_rand_init’: openssl.c:135:7: warning: implicit declaration of function ‘RAND_egd’; did you mean ‘RAND_add’? [-Wimplicit-function-declaration] if (RAND_egd(cp) == -1) { ^~~~~~~~ RAND_add openssl.c: In function ‘ssl_select_method’: openssl.c:215:13: warning: implicit declaration of function ‘SSLv2_client_method’; did you mean ‘SSLv23_client_method’? [-Wimplicit-function-declaration] method = SSLv2_client_method(); ^~~~~~~~~~~~~~~~~~~ SSLv23_client_method openssl.c:215:11: warning: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] method = SSLv2_client_method(); ^ openssl.c:217:13: warning: implicit declaration of function ‘SSLv3_client_method’; did you mean ‘SSLv23_client_method’? [-Wimplicit-function-declaration] method = SSLv3_client_method(); ^~~~~~~~~~~~~~~~~~~ SSLv23_client_method openssl.c:217:11: warning: assignment to ‘SSL_METHOD *’ {aka ‘struct ssl_method_st *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] method = SSLv3_client_method(); ^ openssl.c:219:4: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations] method = 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/crypto.h:22, from openssl.c:59: /usr/include/openssl/ssl.h:1629:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^~~~~~~~~~~~~~~~~~ openssl.c:219:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] method = TLSv1_client_method(); ^ openssl.c:223:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] method = SSLv23_client_method(); ^ openssl.c:226:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] method = SSLv23_client_method(); ^ openssl.c: In function ‘ssl_check_host’: openssl.c:322:39: warning: passing argument 1 of ‘sk_GENERAL_NAME_num’ from incompatible pointer type [-Wincompatible-pointer-types] for (i = 0; i < sk_GENERAL_NAME_num(gens); i++) { ^~~~ In file included from /usr/include/openssl/crypto.h:29, from openssl.c:59: /usr/include/openssl/x509v3.h:165:1: note: expected ‘const struct stack_st_GENERAL_NAME *’ but argument is of type ‘struct stack_st_GENERAL_NAMES *’ DEFINE_STACK_OF(GENERAL_NAME) ^~~~~~~~~~~~~~~ openssl.c:323:32: warning: passing argument 1 of ‘sk_GENERAL_NAME_value’ from incompatible pointer type [-Wincompatible-pointer-types] gen = sk_GENERAL_NAME_value(gens, i); ^~~~ In file included from /usr/include/openssl/crypto.h:29, from openssl.c:59: /usr/include/openssl/x509v3.h:165:1: note: expected ‘const struct stack_st_GENERAL_NAME *’ but argument is of type ‘struct stack_st_GENERAL_NAMES *’ DEFINE_STACK_OF(GENERAL_NAME) ^~~~~~~~~~~~~~~ openssl.c: In function ‘smime_verify’: openssl.c:578:40: warning: passing argument 1 of ‘sk_GENERAL_NAME_num’ from incompatible pointer type [-Wincompatible-pointer-types] for (j = 0; j < sk_GENERAL_NAME_num(gens); j++) { ^~~~ In file included from /usr/include/openssl/crypto.h:29, from openssl.c:59: /usr/include/openssl/x509v3.h:165:1: note: expected ‘const struct stack_st_GENERAL_NAME *’ but argument is of type ‘struct stack_st_GENERAL_NAMES *’ DEFINE_STACK_OF(GENERAL_NAME) ^~~~~~~~~~~~~~~ openssl.c:579:33: warning: passing argument 1 of ‘sk_GENERAL_NAME_value’ from incompatible pointer type [-Wincompatible-pointer-types] gen = sk_GENERAL_NAME_value(gens, j); ^~~~ In file included from /usr/include/openssl/crypto.h:29, from openssl.c:59: /usr/include/openssl/x509v3.h:165:1: note: expected ‘const struct stack_st_GENERAL_NAME *’ but argument is of type ‘struct stack_st_GENERAL_NAMES *’ DEFINE_STACK_OF(GENERAL_NAME) ^~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c pop3.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c popen.c popen.c: In function ‘compress’: popen.c:403:3: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate(output, 0); ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c quit.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c send.c In file included from rcv.h:65, from quit.c:45: quit.c: In function ‘quit’: def.h:590:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(stream), (off_t)ftell(stream)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quit.c:303:3: note: in expansion of macro ‘trunc’ trunc(abuf); ^~~~~ quit.c: In function ‘edstop’: def.h:590:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(stream), (off_t)ftell(stream)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quit.c:549:2: note: in expansion of macro ‘trunc’ trunc(obuf); ^~~~~ quit.c: In function ‘writeback’: def.h:590:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(stream), (off_t)ftell(stream)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quit.c:113:2: note: in expansion of macro ‘trunc’ trunc(obuf); ^~~~~ quit.c: In function ‘makembox’: def.h:590:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] ftruncate(fileno(stream), (off_t)ftell(stream)); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quit.c:452:2: note: in expansion of macro ‘trunc’ trunc(obuf); ^~~~~ x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c sendout.c sendout.c: In function ‘start_mta’: sendout.c:876:3: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "r", stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c smtp.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c ssl.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c strings.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c temp.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c thread.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c tty.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c v7.local.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c vars.c x86_64-pc-linux-gnu-gcc -march=haswell -O2 -pipe -D_GNU_SOURCE -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/spool/mail"' -DSENDMAIL='"/usr/sbin/sendmail"' -c version.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed aux.o base64.o cache.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o dotlock.o edit.o fio.o getname.o getopt.o head.o hmac.o imap.o imap_search.o junk.o lex.o list.o lzw.o macro.o maildir.o main.o md5.o mime.o names.o nss.o openssl.o pop3.o popen.o quit.o send.o sendout.o smtp.o ssl.o strings.o temp.o thread.o tty.o v7.local.o vars.o version.o `grep '^[^#]' LIBS` -o mailx /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: openssl.o: in function `ssl_init': openssl.c:(.text+0x4af): undefined reference to `RAND_egd' /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: openssl.o: in function `ssl_open': openssl.c:(.text+0xd1b): undefined reference to `SSLv2_client_method' /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: openssl.c:(.text+0xf13): undefined reference to `SSLv3_client_method' collect2: error: ld returned 1 exit status make: *** [Makefile:91: mailx] Error 1 * ERROR: mail-client/nail-12.4-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=mail-client/nail-12.4-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=mail-client/nail-12.4-r3::gentoo'`. * The complete build log is located at '/var/log/mail-client:nail-12.4-r3:20190121-221855.log'. * For convenience, a symlink to the build log is located at '/u1/tmp/portage/mail-client/nail-12.4-r3/temp/build.log'. * The ebuild environment file is located at '/u1/tmp/portage/mail-client/nail-12.4-r3/temp/environment'. * Working directory: '/u1/tmp/portage/mail-client/nail-12.4-r3/work/mailx-12.4' * S: '/u1/tmp/portage/mail-client/nail-12.4-r3/work/mailx-12.4'