D: [iurt_root_command] chroot warning: line 26: It's not recommended to have unversioned Obsoletes: Obsoletes: mailx Installing /home/iurt/rpmbuild/SRPMS/nail-12.4-17.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gOgMAI + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf mailx-12.4 + /usr/bin/bzip2 -dc /home/iurt/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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.RGzGiM + umask 022 + cd /home/iurt/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 -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + 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 -fasynchronous-unwind-tables' + 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 -fasynchronous-unwind-tables' + /usr/bin/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 -fasynchronous-unwind-tables -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] 348 | 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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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] 313 | 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] 797 | 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 -fasynchronous-unwind-tables -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] 455 | 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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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] 143 | setgid(realgid); | ^~~~~~~~~~~~~~~ dotlock.c:146:4: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | write(fd, apid, strlen(apid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dotlock.c:160:2: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 160 | setgid(realgid); | ^~~~~~~~~~~~~~~ dotlock.c:174:2: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 174 | 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] 277 | 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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c fio.c fio.c: In function 'expand': fio.c:465:40: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 465 | snprintf(xname, sizeof xname, "%s/%s", foldbuf, name+1); | ^ In file included from /usr/include/stdio.h:866, from rcv.h:51, from fio.c:45: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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] 3160 | ftruncate(fileno(fp), 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ imap.c: In function 'imap_make_date_time': imap.c:3531:55: warning: '%+03d' directive output may be truncated writing between 3 and 7 bytes into a region of size between 4 and 11 [-Wformat-truncation=] 3531 | snprintf(s, sizeof s, "\"%02d-%s-%04d %02d:%02d:%02d %+03d%02d\"", | ^~~~~ imap.c:3531:24: note: directive argument in the range [-596523, 596524] 3531 | snprintf(s, sizeof s, "\"%02d-%s-%04d %02d:%02d:%02d %+03d%02d\"", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap.c:3531:24: note: directive argument in the range [-59, 59] In file included from /usr/include/stdio.h:866, from rcv.h:51, from imap.c:53: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output 26 or more bytes (assuming 38) into a destination of size 30 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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=] 1036 | fprintf(stderr, "Examining message %d\n", m - &message[0] + 1); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld junk.c:1063:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1063 | fprintf(stderr, "Junk probability of message %d: %g\n", | ~^ | | | int | %ld 1064 | m - &message[0] + 1, r); | ~~~~~~~~~~~~~~~~~~~ | | | long int 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] 590 | ftruncate(fileno(stream), (off_t)ftell(stream)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ junk.c:366:3: note: in expansion of macro 'trunc' 366 | trunc(sfp); | ^~~~~ def.h:590:2: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 590 | ftruncate(fileno(stream), (off_t)ftell(stream)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ junk.c:375:3: note: in expansion of macro 'trunc' 375 | 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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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=] 338 | fprintf(stderr, "Cannot read \"%s/%s\" for message %d\n", | ~^ | | | int | %ld 339 | name, m->m_maildir_file, m - &message[0] + 1); | ~~~~~~~~~~~~~~~~~~~ | | | long int 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=] 443 | fprintf(stderr, "Cannot delete file \"%s/%s\" " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 446 | m - &message[0] + 1); | ~~~~~~~~~~~~~~~~~~~ | | | long int maildir.c:444:21: note: format string is defined here 444 | "for message %d.\n", | ~^ | | | int | %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=] 491 | fprintf(stderr, "Cannot link \"%s/%s\" to \"%s/%s\": " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 495 | m - &message[0] + 1); | ~~~~~~~~~~~~~~~~~~~ | | | long int maildir.c:492:15: note: format string is defined here 492 | "message %d not touched.\n", | ~^ | | | int | %ld cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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] 212 | method = SSLv3_client_method(); | ^~~~~~ In file included from /usr/include/multiarch-dispatch.h:112, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/crypto.h:17, from openssl.c:59: /usr/include/openssl/ssl.h:1869:1: note: declared here 1869 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_client_method(void)) | ^~~~~~~~~~~~~~~~~~ openssl.c:214:4: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] 214 | method = TLSv1_client_method(); | ^~~~~~ In file included from /usr/include/multiarch-dispatch.h:112, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/crypto.h:17, from openssl.c:59: /usr/include/openssl/ssl.h:1884:1: note: declared here 1884 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) | ^~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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] 403 | 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 -fasynchronous-unwind-tables -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/lib/sendmail"' -c quit.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] 590 | ftruncate(fileno(stream), (off_t)ftell(stream)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quit.c:303:3: note: in expansion of macro 'trunc' 303 | 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] 590 | ftruncate(fileno(stream), (off_t)ftell(stream)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quit.c:549:2: note: in expansion of macro 'trunc' 549 | 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] 590 | ftruncate(fileno(stream), (off_t)ftell(stream)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quit.c:113:2: note: in expansion of macro 'trunc' 113 | 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] 590 | ftruncate(fileno(stream), (off_t)ftell(stream)); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quit.c:452:2: note: in expansion of macro 'trunc' 452 | 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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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] 876 | freopen("/dev/null", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from rcv.h:51, from sendout.c:45: In function 'fprintf', inlined from 'make_multipart' at sendout.c:386:3, inlined from 'infix' at sendout.c:527:7, inlined from 'mail1' at sendout.c:1037:18: /usr/include/bits/stdio2.h:103:10: warning: '%s' directive argument is null [-Wformat-overflow=] 103 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 104 | __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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 -fasynchronous-unwind-tables -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.T6A63K + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64 + cd mailx-12.4 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64 'INSTALL=/usr/bin/install -p' PREFIX=/usr UCBINSTALL=/usr/bin/install test -d /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/bin || mkdir -p /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/bin /usr/bin/install -c mailx /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/bin/mailx test -d /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/man/man1 || mkdir -p /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/man/man1 /usr/bin/install -c -m 644 mailx.1 /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/man/man1/mailx.1 test -d /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/etc || mkdir -p /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/etc test -f /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/etc/nail.rc || \ /usr/bin/install -c -m 644 nail.rc /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/etc/nail.rc + install -d /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/bin + mv /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/bin/mailx /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/bin/mail + ln -sf ../../bin/mail /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/bin/nail + ln -sf ../../bin/mail /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/bin/mailx + ln -sf ../../bin/mail /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/bin/Mail + ln -sf mailx.1 /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/man/man1/mail.1 + ln -sf mailx.1 /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/man/man1/Mail.1 + ln -sf mailx.1 /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/man/man1/nail.1 + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 12.4-17.mga8 --unique-debug-suffix -12.4-17.mga8.aarch64 --unique-debug-src-base nail-12.4-17.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/mailx-12.4 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/bin/mail extracting debug info from /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/bin/mail original debug info size: 1556kB, size after compression: 1424kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1585 blocks + /usr/lib/rpm/check-buildroot + '[' -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/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: nail-12.4-17.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.FPwClM + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mailx-12.4 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/doc/nail + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/doc/nail + cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/doc/nail + cp -pr AUTHORS /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/doc/nail + cp -pr INSTALL /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/doc/nail + cp -pr README /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/doc/nail + cp -pr TODO /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/doc/nail + cp -pr ChangeLog /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64/usr/share/doc/nail + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(nail) = 12.4-17.mga8 mailx = 12.4-17.mga8 nail = 12.4-17.mga8 nail(aarch-64) = 12.4-17.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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-17.mga8.aarch64 Provides: nail-debugsource = 12.4-17.mga8 nail-debugsource(aarch-64) = 12.4-17.mga8 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-17.mga8.aarch64 Provides: debuginfo(build-id) = c8325d9cba111c24e699e6e682032d123bd4910d nail-debuginfo = 12.4-17.mga8 nail-debuginfo(aarch-64) = 12.4-17.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nail-debugsource(aarch-64) = 12.4-17.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/nail-12.4-17.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/nail-debugsource-12.4-17.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/nail-debuginfo-12.4-17.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.VbJKqK + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd mailx-12.4 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/nail-12.4-17.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.fAZgJJ + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf mailx-12.4 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!