Cook: nail 12.4 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): openssl-dev-1.1.1d-i486 Extracting source archive "mailx-12.4.tar.bz2" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed /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 ... no checking for GSSAPI in libgssapi_krb5, old-style ... no checking for GSSAPI in libgssapi ... no 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) + S/MIME and SSL/TLS using OpenSSL The following optional features are disabled: - IMAP GSSAPI authentication Remarks: cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c aux.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c base64.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c cache.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c cmd1.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c cmd2.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c cmd3.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c cmdtab.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c collect.c cmd1.c: In function 'hprf': cmd1.c:455:15: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] if ((n = wcwidth(wc)) < 0) ^~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c dotlock.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c edit.c aux.c: In function 'colalign': aux.c:348:14: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] if ((n = wcwidth(wc)) < 0) ^~~~~~~ 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); ^~~~~~~~~~~~~~~~~~~~~~~~ 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); ^~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c fio.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c getname.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c getopt.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c head.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c hmac.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c imap.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c imap_search.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c junk.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c lex.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c list.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c lzw.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); ^~~~~~~~~~~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c macro.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c maildir.c 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); ^~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c main.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c md5.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c mime.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c names.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c nss.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c openssl.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c pop3.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c popen.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c quit.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); ^~~~~~~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/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); ^~~~~ openssl.c: In function 'ssl_rand_init': openssl.c:136:7: warning: implicit declaration of function 'RAND_egd'; did you mean 'RAND_add'? [-Wimplicit-function-declaration] if (RAND_egd(cp) == -1) { ^~~~~~~~ RAND_add cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c sendout.c openssl.c: In function 'ssl_select_method': openssl.c:216: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:216: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:218: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:218: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:220:4: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] method = TLSv1_client_method(); ^~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/crypto.h:17, from openssl.c:59: /usr/include/openssl/ssl.h:1879:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) ^~~~~~~~~~~~~~~~~~ openssl.c:220:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] method = TLSv1_client_method(); ^ openssl.c:224:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] method = SSLv23_client_method(); ^ openssl.c:227: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:323: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:23, from openssl.c:59: /usr/include/openssl/x509v3.h:166:1: note: expected 'const struct stack_st_GENERAL_NAME *' but argument is of type 'struct stack_st_X509_NAME *' DEFINE_STACK_OF(GENERAL_NAME) ^~~~~~~~~~~~~~~ openssl.c:324: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:23, from openssl.c:59: /usr/include/openssl/x509v3.h:166:1: note: expected 'const struct stack_st_GENERAL_NAME *' but argument is of type 'struct stack_st_X509_NAME *' DEFINE_STACK_OF(GENERAL_NAME) ^~~~~~~~~~~~~~~ openssl.c: In function 'smime_verify': openssl.c:556:26: warning: passing argument 2 of 'PKCS7_verify' from incompatible pointer type [-Wincompatible-pointer-types] if (PKCS7_verify(pkcs7, chain, store, pb, NULL, 0) != 1) { ^~~~~ In file included from /usr/include/openssl/x509.h:321, from /usr/include/openssl/ssl.h:20, from openssl.c:60: /usr/include/openssl/pkcs7.h:292:45: note: expected 'struct stack_st_X509 *' but argument is of type 'struct stack_st_X509_NAME *' int PKCS7_verify(PKCS7 *p7, STACK_OF(X509) *certs, X509_STORE *store, ^ openssl.c:569:36: warning: passing argument 2 of 'PKCS7_get0_signers' from incompatible pointer type [-Wincompatible-pointer-types] certs = PKCS7_get0_signers(pkcs7, chain, 0); ^~~~~ In file included from /usr/include/openssl/x509.h:321, from /usr/include/openssl/ssl.h:20, from openssl.c:60: /usr/include/openssl/pkcs7.h:294:17: note: expected 'struct stack_st_X509 *' but argument is of type 'struct stack_st_X509_NAME *' STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, ^~~~~~~~~~~~~~~~~~ openssl.c:569:8: warning: assignment to 'struct stack_st_X509_NAME *' from incompatible pointer type 'struct stack_st_X509 *' [-Wincompatible-pointer-types] certs = PKCS7_get0_signers(pkcs7, chain, 0); ^ openssl.c:574:30: warning: passing argument 1 of 'sk_X509_num' from incompatible pointer type [-Wincompatible-pointer-types] for (i = 0; i < sk_X509_num(certs); i++) { ^~~~~ In file included from /usr/include/openssl/crypto.h:23, from openssl.c:59: /usr/include/openssl/x509.h:99:1: note: expected 'const struct stack_st_X509 *' but argument is of type 'struct stack_st_X509_NAME *' DEFINE_STACK_OF(X509) ^~~~~~~~~~~~~~~ openssl.c:575:24: warning: passing argument 1 of 'sk_X509_value' from incompatible pointer type [-Wincompatible-pointer-types] cert = sk_X509_value(certs, i); ^~~~~ In file included from /usr/include/openssl/crypto.h:23, from openssl.c:59: /usr/include/openssl/x509.h:99:1: note: expected 'const struct stack_st_X509 *' but argument is of type 'struct stack_st_X509_NAME *' DEFINE_STACK_OF(X509) ^~~~~~~~~~~~~~~ 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:23, from openssl.c:59: /usr/include/openssl/x509v3.h:166:1: note: expected 'const struct stack_st_GENERAL_NAME *' but argument is of type 'struct stack_st_X509_NAME *' 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:23, from openssl.c:59: /usr/include/openssl/x509v3.h:166:1: note: expected 'const struct stack_st_GENERAL_NAME *' but argument is of type 'struct stack_st_X509_NAME *' DEFINE_STACK_OF(GENERAL_NAME) ^~~~~~~~~~~~~~~ openssl.c: In function 'smime_encrypt': openssl.c:709:8: warning: assignment to 'struct stack_st_X509_NAME *' from incompatible pointer type 'struct stack_st_X509 *' [-Wincompatible-pointer-types] certs = sk_X509_new_null(); ^ openssl.c:710:15: warning: passing argument 1 of 'sk_X509_push' from incompatible pointer type [-Wincompatible-pointer-types] sk_X509_push(certs, cert); ^~~~~ In file included from /usr/include/openssl/crypto.h:23, from openssl.c:59: /usr/include/openssl/x509.h:99:1: note: expected 'struct stack_st_X509 *' but argument is of type 'struct stack_st_X509_NAME *' DEFINE_STACK_OF(X509) ^ openssl.c:728:29: warning: passing argument 1 of 'PKCS7_encrypt' from incompatible pointer type [-Wincompatible-pointer-types] if ((pkcs7 = PKCS7_encrypt(certs, bb, cipher, 0)) == NULL) { ^~~~~ In file included from /usr/include/openssl/x509.h:321, from /usr/include/openssl/ssl.h:20, from openssl.c:60: /usr/include/openssl/pkcs7.h:296:8: note: expected 'struct stack_st_X509 *' but argument is of type 'struct stack_st_X509_NAME *' PKCS7 *PKCS7_encrypt(STACK_OF(X509) *certs, BIO *in, const EVP_CIPHER *cipher, ^~~~~~~~~~~~~ openssl.c: In function 'smime_certsave': openssl.c:999:36: warning: passing argument 2 of 'PKCS7_get0_signers' from incompatible pointer type [-Wincompatible-pointer-types] certs = PKCS7_get0_signers(pkcs7, chain, 0); ^~~~~ In file included from /usr/include/openssl/x509.h:321, from /usr/include/openssl/ssl.h:20, from openssl.c:60: /usr/include/openssl/pkcs7.h:294:17: note: expected 'struct stack_st_X509 *' but argument is of type 'struct stack_st_X509_NAME *' STACK_OF(X509) *PKCS7_get0_signers(PKCS7 *p7, STACK_OF(X509) *certs, ^~~~~~~~~~~~~~~~~~ openssl.c:999:8: warning: assignment to 'struct stack_st_X509_NAME *' from incompatible pointer type 'struct stack_st_X509 *' [-Wincompatible-pointer-types] certs = PKCS7_get0_signers(pkcs7, chain, 0); ^ openssl.c:1004:30: warning: passing argument 1 of 'sk_X509_num' from incompatible pointer type [-Wincompatible-pointer-types] for (i = 0; i < sk_X509_num(certs); i++) { ^~~~~ In file included from /usr/include/openssl/crypto.h:23, from openssl.c:59: /usr/include/openssl/x509.h:99:1: note: expected 'const struct stack_st_X509 *' but argument is of type 'struct stack_st_X509_NAME *' DEFINE_STACK_OF(X509) ^~~~~~~~~~~~~~~ openssl.c:1005:24: warning: passing argument 1 of 'sk_X509_value' from incompatible pointer type [-Wincompatible-pointer-types] cert = sk_X509_value(certs, i); ^~~~~ In file included from /usr/include/openssl/crypto.h:23, from openssl.c:59: /usr/include/openssl/x509.h:99:1: note: expected 'const struct stack_st_X509 *' but argument is of type 'struct stack_st_X509_NAME *' DEFINE_STACK_OF(X509) ^~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c smtp.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c ssl.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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c strings.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c temp.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c thread.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c tty.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c v7.local.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c vars.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c version.c cc -Wl,-Os,--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/bin/ld: openssl.o: in function `ssl_init': openssl.c:(.text+0x354): undefined reference to `RAND_egd' /usr/bin/ld: openssl.o: in function `ssl_open': openssl.c:(.text+0x8d8): undefined reference to `SSLv2_client_method' /usr/bin/ld: openssl.c:(.text+0x8f3): undefined reference to `SSLv3_client_method' collect2: error: ld returned 1 exit status make: *** [Makefile:92: mailx] Error 1 Build dependencies to remove: 1 Removing: openssl-dev Debug information ret1. ================================================================================ Cook date: 2022-07-22 14:58 Wasted time : 4s 349:openssl.c:(.text+0x354): undefined reference to `RAND_egd' 351:openssl.c:(.text+0x8d8): undefined reference to `SSLv2_client_method' 352:/usr/bin/ld: openssl.c:(.text+0x8f3): undefined reference to `SSLv3_client_method' 353:collect2: error: ld returned 1 exit status ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================