D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/nail-12.4-15.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ZE1PDK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf mailx-12.4 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/mailx-12.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mailx-12.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (nail-11.25-pager.patch):' Patch #1 (nail-11.25-pager.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pager --fuzz=0 patching file nail.rc Hunk #1 succeeded at 61 (offset 1 line). + echo 'Patch #2 (mailx-12.4-nostrip.diff):' Patch #2 (mailx-12.4-nostrip.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .nostrip --fuzz=0 patching file Makefile + echo 'Patch #3 (mailx-12.4-optflags.diff):' Patch #3 (mailx-12.4-optflags.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .optflags --fuzz=0 patching file Makefile + echo 'Patch #4 (nail_optopt.patch):' Patch #4 (nail_optopt.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .optopt --fuzz=0 patching file getopt.c + echo 'Patch #5 (mailx-12.4-openssl.patch):' Patch #5 (mailx-12.4-openssl.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .openssl --fuzz=0 patching file makeconfig patching file openssl.c + echo 'Patch #6 (0001-outof-Introduce-expandaddr-flag.patch):' Patch #6 (0001-outof-Introduce-expandaddr-flag.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .0001 --fuzz=0 patching file mailx.1 Hunk #1 succeeded at 641 (offset -15 lines). Hunk #2 succeeded at 2384 (offset -15 lines). patching file names.c + echo 'Patch #7 (0002-unpack-Disable-option-processing-for-email-addresses.patch):' Patch #7 (0002-unpack-Disable-option-processing-for-email-addresses.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .0002 --fuzz=0 patching file extern.h patching file names.c patching file sendout.c + echo 'Patch #8 (0003-fio.c-Unconditionally-require-wordexp-support.patch):' Patch #8 (0003-fio.c-Unconditionally-require-wordexp-support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .0003 --fuzz=0 patching file fio.c Hunk #2 succeeded at 483 (offset -1 lines). Hunk #3 succeeded at 528 (offset -1 lines). + echo 'Patch #9 (0004-globname-Invoke-wordexp-with-WRDE_NOCMD.patch):' Patch #9 (0004-globname-Invoke-wordexp-with-WRDE_NOCMD.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .0004 --fuzz=0 patching file fio.c Hunk #1 succeeded at 496 (offset -1 lines). + echo 'Patch #10 (nail-12.4-no-sslv2.patch):' Patch #10 (nail-12.4-no-sslv2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .no-sslv2 --fuzz=0 patching file openssl.c Hunk #1 succeeded at 216 (offset 5 lines). + echo 'Patch #11 (nail-2.4-openssl11.patch):' Patch #11 (nail-2.4-openssl11.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .openssl11 --fuzz=0 patching file openssl.c + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PKRcvu + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd mailx-12.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all' + make SENDMAIL=/usr/lib/sendmail 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' /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 STACK_OF() ... 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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c aux.c aux.c: In function 'colalign': aux.c:348:14: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] if ((n = wcwidth(wc)) < 0) ^~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c base64.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c cache.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); ^~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c cmd1.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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c cmd2.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c cmd3.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c cmdtab.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c collect.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/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); ^~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c edit.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c fio.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c getname.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c getopt.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c head.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c hmac.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c imap.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); ^~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function 'imap_make_date_time': imap.c:3531:24: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(s, sizeof s, "\"%02d-%s-%04d %02d:%02d:%02d %+03d%02d\"", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:936:0, from rcv.h:51, from imap.c:53: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 26 or more bytes (assuming 31) into a destination of size 30 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c imap_search.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c junk.c 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:0, 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 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c lex.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c list.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c lzw.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c macro.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c maildir.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 cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c main.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c md5.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c mime.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c names.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c nss.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c openssl.c openssl.c: In function 'ssl_select_method': openssl.c:212:4: warning: 'SSLv3_client_method' is deprecated [-Wdeprecated-declarations] method = SSLv3_client_method(); ^~~~~~ In file included from /usr/include/multiarch-dispatch.h:72:0, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/ct.h:13, from /usr/include/openssl/ssl.h:61, from openssl.c:60: /usr/include/openssl/ssl.h:1604:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_client_method(void)) /* SSLv3 */ ^ openssl.c:214:4: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] method = TLSv1_client_method(); ^~~~~~ In file included from /usr/include/multiarch-dispatch.h:72:0, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/ct.h:13, from /usr/include/openssl/ssl.h:61, from openssl.c:60: /usr/include/openssl/ssl.h:1619:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c pop3.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/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); ^~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c quit.c In file included from rcv.h:65:0, 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); ^~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c send.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c smtp.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c ssl.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c strings.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c temp.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c thread.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c tty.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c v7.local.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c vars.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c version.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags 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 + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JMQ8EU + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64 + cd mailx-12.4 + '[' 1 -eq 1 ']' + echo 'warning: %makeinstall_std is deprecated, try %make_install instead' warning: %makeinstall_std is deprecated, try %make_install instead + make DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64 install PREFIX=/usr UCBINSTALL=/usr/bin/install test -d /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/bin || mkdir -p /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/bin /usr/bin/install -c mailx /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/bin/mailx test -d /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/man/man1 || mkdir -p /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/man/man1 /usr/bin/install -c -m 644 mailx.1 /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/man/man1/mailx.1 test -d /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/etc || mkdir -p /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/etc test -f /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/etc/nail.rc || \ /usr/bin/install -c -m 644 nail.rc /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/etc/nail.rc + install -d /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/bin + mv /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/bin/mailx /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/bin/mail + ln -sf ../../bin/mail /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/bin/nail + ln -sf ../../bin/mail /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/bin/mailx + ln -sf ../../bin/mail /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/bin/Mail + ln -sf mailx.1 /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/man/man1/mail.1 + ln -sf mailx.1 /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/man/man1/Mail.1 + ln -sf mailx.1 /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/man/man1/nail.1 + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 12.4-15.mga7 --unique-debug-suffix -12.4-15.mga7.x86_64 --unique-debug-src-base nail-12.4-15.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/mailx-12.4 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/bin/mail /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1585 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: nail-12.4-15.mga7.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1MUYHn + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd mailx-12.4 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/doc/nail + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/doc/nail + cp -pr COPYING /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/doc/nail + cp -pr AUTHORS /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/doc/nail + cp -pr INSTALL /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/doc/nail + cp -pr README /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/doc/nail + cp -pr TODO /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/doc/nail + cp -pr ChangeLog /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64/usr/share/doc/nail + exit 0 Provides: config(nail) = 12.4-15.mga7 mailx = 12.4-15.mga7 nail = 12.4-15.mga7 nail(x86-64) = 12.4-15.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) Obsoletes: mailx Processing files: nail-debugsource-12.4-15.mga7.x86_64 Provides: nail-debugsource = 12.4-15.mga7 nail-debugsource(x86-64) = 12.4-15.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nail-debuginfo-12.4-15.mga7.x86_64 Provides: debuginfo(build-id) = b884cad5450390820af9b5ab6bdea2269e0f6077 nail-debuginfo = 12.4-15.mga7 nail-debuginfo(x86-64) = 12.4-15.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nail-debugsource(x86-64) = 12.4-15.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/nail-12.4-15.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/nail-debugsource-12.4-15.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/nail-debuginfo-12.4-15.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Dx3KDV + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd mailx-12.4 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/nail-12.4-15.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JaOoDt + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf mailx-12.4 + exit 0 D: [iurt_root_command] Success!