D: [iurt_root_command] chroot warning: %patchN is deprecated (12 usages found), use %patch N (or %patch -P N) sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/mgetty-1.2.1-5.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MkWiQh + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf mgetty-1.2.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mgetty-1.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mgetty-1.2.1 + rm -rf /home/pterjan/rpmbuild/BUILD/mgetty-1.2.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/mgetty-1.2.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp policy.h-dist policy.h + echo 'Patch #0 (mgetty-1.1.14-config.patch):' Patch #0 (mgetty-1.1.14-config.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .config --fuzz=0 patching file Makefile Hunk #1 succeeded at 109 (offset 7 lines). Hunk #2 succeeded at 171 (offset 7 lines). Hunk #3 succeeded at 179 (offset 7 lines). Hunk #4 succeeded at 199 (offset 7 lines). + echo 'Patch #1 (mgetty-1.1.5-makekvg.patch):' Patch #1 (mgetty-1.1.5-makekvg.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .makekvg --fuzz=0 patching file Makefile Hunk #1 succeeded at 658 (offset 57 lines). + echo 'Patch #2 (mgetty-1.1.14-policy.patch):' Patch #2 (mgetty-1.1.14-policy.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .policy --fuzz=0 patching file policy.h Hunk #1 succeeded at 94 (offset 9 lines). Hunk #2 succeeded at 123 (offset 9 lines). Hunk #3 succeeded at 157 (offset 10 lines). Hunk #4 succeeded at 182 (offset 10 lines). Hunk #5 succeeded at 204 (offset 10 lines). Hunk #6 succeeded at 573 (offset 9 lines). Hunk #7 succeeded at 588 (offset 2 lines). + echo 'Patch #3 (mgetty-1.1.5-strip.patch):' Patch #3 (mgetty-1.1.5-strip.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .strip --fuzz=0 patching file voice/Makefile Hunk #1 succeeded at 83 (offset 2 lines). + echo 'Patch #5 (mgetty-1.1.14-logrotate.patch):' Patch #5 (mgetty-1.1.14-logrotate.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file logrotate.mgetty patching file logrotate.sendfax + echo 'Patch #8 (mgetty-1.1.35-noroot.patch):' Patch #8 (mgetty-1.1.35-noroot.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .noroot --fuzz=0 patching file callback/Makefile Hunk #1 succeeded at 37 (offset -3 lines). patching file contrib/next-login/Makefile patching file fax/Makefile Hunk #1 succeeded at 58 (offset -3 lines). patching file frontends/www/Makefile Hunk #1 succeeded at 96 (offset 1 line). patching file Makefile Hunk #1 succeeded at 171 (offset 7 lines). Hunk #2 succeeded at 610 (offset 8 lines). Hunk #3 succeeded at 636 (offset 8 lines). + echo 'Patch #9 (mgetty-1.1.21-linkman.patch):' Patch #9 (mgetty-1.1.21-linkman.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file voice/Makefile Hunk #1 succeeded at 95 (offset 2 lines). + echo 'Patch #13 (mgetty-1.1.35-force_detect.patch):' Patch #13 (mgetty-1.1.35-force_detect.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .force_detect --fuzz=0 patching file voice/contrib/Pat_Deegan/README patching file voice/contrib/Pat_Deegan/vgetty-test.pl patching file voice/include/default.h patching file voice/include/version.h patching file voice/libvoice/detect.c Hunk #2 succeeded at 176 (offset 1 line). Hunk #3 succeeded at 294 (offset 1 line). Hunk #4 succeeded at 302 (offset 1 line). patching file voice/voice.conf-dist + echo 'Patch #14 (mgetty-1.1.30-mktemp.patch):' Patch #14 (mgetty-1.1.30-mktemp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mktemp --fuzz=0 patching file fax/faxspool.in Hunk #1 succeeded at 708 (offset 71 lines). + echo 'Patch #15 (mgetty-1.1.37-aarch64.patch):' Patch #15 (mgetty-1.1.37-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .aarch64 --fuzz=0 patching file mgetty.h Hunk #1 succeeded at 220 (offset 22 lines). + echo 'Patch #16 (mgetty-1.2.1-162174_tcflush.patch):' Patch #16 (mgetty-1.2.1-162174_tcflush.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .162174_tcflush --fuzz=0 patching file logfile.c patching file logname.c Hunk #1 succeeded at 360 (offset -21 lines). patching file mgetty.c + echo 'Patch #29 (mgetty-sys_nerr-removed.patch):' Patch #29 (mgetty-sys_nerr-removed.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sys_nerr-removed --fuzz=0 patching file logfile.c + /usr/bin/chmod +x /home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/mkidirs + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GK1Ha8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd mgetty-1.2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -DVARRUNDIR=\"/var/run\" -c mgetty.c mgetty.c: In function 'main': mgetty.c:372:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 372 | siginterrupt( SIGINT, TRUE ); | ^~~~~~~~~~~~ In file included from mgetty.c:59: /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ mgetty.c:373:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 373 | siginterrupt( SIGALRM, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ mgetty.c:374:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 374 | siginterrupt( SIGHUP, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ mgetty.c:375:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 375 | siginterrupt( SIGUSR1, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ mgetty.c:376:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 376 | siginterrupt( SIGUSR2, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ mgetty.c:471:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 471 | chown( devname, uid, gid ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mgetty.c:1117:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1117 | system( c_string(issue_file)+1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o logfile.o logfile.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o do_chat.o do_chat.c do_chat.c: In function 'do_chat_send': do_chat.c:55:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 55 | write( fd, p, 1 ); | ^~~~~~~~~~~~~~~~~ do_chat.c:73:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | write( fd, MODEM_CMD_SUFFIX, sizeof(MODEM_CMD_SUFFIX)-1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o locks.o locks.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o utmp.o utmp.c utmp.c: In function 'make_utmp_wtmp_pid': utmp.c:127:9: warning: unused variable 'fp' [-Wunused-variable] 127 | FILE * fp; | ^~ utmp.c:126:17: warning: unused variable 'st' [-Wunused-variable] 126 | struct stat st; | ^~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o logname.o logname.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -DCONFDIR=\"/etc/mgetty+sendfax\" -c login.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o mg_m_init.o mg_m_init.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o modem.o modem.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o faxrec.o faxrec.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o ring.o ring.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o faxlib.o faxlib.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o faxsend.o faxsend.c faxsend.c: In function 'fax_send_page': faxsend.c:205:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 205 | write( fd, nbuf, sizeof(nbuf) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faxsend.c: In function 'fax_send_panic_exit': faxsend.c:76:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | alarm( 5 ); write( fd, fax_end_of_page, sizeof( fax_end_of_page ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faxsend.c:78:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 78 | alarm( 5 ); write( fd, fax_end_of_page, sizeof( fax_end_of_page ) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faxsend.c:81:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | alarm( 5 ); write( fd, "AT+FK\r\n", 7 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ faxsend.c:82:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 82 | alarm( 5 ); write( fd, "ATH0\r\n", 6 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ faxsend.c:92:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | alarm( 5 ); write( fd, "ATH0Z\r\n", 7 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ faxsend.c: In function 'fax_send_ppm': faxsend.c:422:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 422 | write( fd, fax_end_of_page, sizeof( fax_end_of_page )); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o faxrecp.o faxrecp.c faxrecp.c: In function 'fax_get_pages': faxrecp.c:335:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 335 | write( fd, &start_rcv, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o class1.o class1.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o class1lib.o class1lib.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o faxhng.o faxhng.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o hyla_nsf.o hyla_nsf.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o g3file.o g3file.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o io.o io.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o gettydefs.o gettydefs.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o tio.o tio.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -DCONFDIR=\"/etc/mgetty+sendfax\" -c cnd.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o getdisk.o getdisk.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o goodies.o goodies.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o config.o config.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -DFAX_SPOOL_IN=\"/var/spool/fax/incoming\" \ -DCONFDIR=\"/etc/mgetty+sendfax\" -c conf_mg.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o do_stat.o do_stat.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o sms.o sms.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o clean_line.o clean_line.c cc -o mgetty mgetty.o logfile.o do_chat.o locks.o utmp.o logname.o login.o mg_m_init.o modem.o faxrec.o ring.o faxlib.o faxsend.o faxrecp.o class1.o class1lib.o faxhng.o hyla_nsf.o g3file.o io.o gettydefs.o tio.o cnd.o getdisk.o goodies.o config.o conf_mg.o do_stat.o sms.o clean_line.o -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o sendfax.o sendfax.c sendfax.c: In function 'main': sendfax.c:448:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 448 | siginterrupt( SIGINT, TRUE ); | ^~~~~~~~~~~~ In file included from sendfax.c:81: /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ sendfax.c:449:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 449 | siginterrupt( SIGALRM, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ sendfax.c:450:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 450 | siginterrupt( SIGHUP, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ sendfax.c:506:20: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 506 | (void) write( fd, "AT", 2 ); | ^~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -DCONFDIR=\"/etc/mgetty+sendfax\" -c conf_sf.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c -o socket.o socket.c cc -o sendfax sendfax.o logfile.o locks.o modem.o faxlib.o faxsend.o faxrecp.o class1.o class1lib.o faxhng.o hyla_nsf.o g3file.o io.o tio.o getdisk.o config.o conf_sf.o goodies.o socket.o clean_line.o -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -o newslock compat/newslock.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" \ -DLIBDIR=\"/usr/lib/mgetty+sendfax\" \ -DCONFDIR=\"/etc/mgetty+sendfax\" \ -DFAX_SPOOL=\"/var/spool/fax\" \ -DFAX_SPOOL_IN=\"/var/spool/fax/incoming\" \ -DFAX_SPOOL_OUT=\"/var/spool/fax/outgoing\" \ -DFAX_OUT_USER=\"fax\" \ -DVARRUNDIR=\"/var/run\" \ -DAWK=\"awk\" \ -DPERL=\""/usr/bin/perl -w"\" -DTKPERL=\"/usr/bin/tkperl\" \ -DECHO=\""echo -e"\" \ -DSHELL=\"/bin/sh\" \ -DSHELL_TRAP_POSIX=1 \ -o mksed mksed.c ./mksed >sedscript chmod +x sedscript cd g3 && make "CC=cc" "CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.." "LDFLAGS=" "LIBS=-lutil " all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/g3' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -c -o pbm2g3.o pbm2g3.c pbm2g3.c: In function 'main': pbm2g3.c:399:9: warning: variable 'digifax_header' set but not used [-Wunused-but-set-variable] 399 | int digifax_header = FALSE; | ^~~~~~~~~~~~~~ pbm2g3.c: In function 'putcode': pbm2g3.c:57:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | write( 1, buf, buflen ); buflen = 0; | ^~~~~~~~~~~~~~~~~~~~~~~ pbm2g3.c: In function 'main': pbm2g3.c:511:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 511 | write( 1, buf, buflen ); | ^~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -c -o g3.o g3.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -c -o run_tbl.o run_tbl.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -o pbm2g3 pbm2g3.o g3.o run_tbl.o -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -c -o g3cat.o g3cat.c g3cat.c: In function 'main': g3cat.c:513:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 513 | write( 1, buf, buflen ); | ^~~~~~~~~~~~~~~~~~~~~~~ g3cat.c: In function 'putcode': g3cat.c:81:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 81 | write( 1, buf, buflen ); b_written += buflen; buflen = 0; | ^~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -o g3cat g3cat.o g3.o -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -c -o g32pbm.o g32pbm.c g32pbm.c: In function 'emitpbm': g32pbm.c:520:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 520 | write( 1, rbuf, strlen( rbuf )); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g32pbm.c:523:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 523 | write( 1, bitmap, row * bperrow ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g32pbm.c:529:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 529 | write( 1, &bitmap[ i*bperrow ], (hcol+7)/8 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g32pbm.c:534:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 534 | write( 1, &bitmap[ i*bperrow ], (hcol+7)/8 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g32pbm.c:535:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 535 | write( 1, &bitmap[ i*bperrow ], (hcol+7)/8 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -o g32pbm g32pbm.o g3.o -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -c -o sff2g3.o sff2g3.c sff2g3.c: In function 'main': sff2g3.c:174:9: warning: variable 'digifax_header' set but not used [-Wunused-but-set-variable] 174 | int digifax_header = 0; | ^~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -o sff2g3 sff2g3.o g3.o -lutil make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/g3' cd tools && make "CC=cc" "CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.." "LDFLAGS=" "LIBS=-lutil " all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/tools' ../sedscript kvg ../sedscript cutbl cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -c -o ltest.o ltest.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -o ltest ltest.o ../tio.o ../io.o -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -c -o mid.o mid.c mid.c: In function 'main': mid.c:203:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 203 | siginterrupt( SIGINT, TRUE ); | ^~~~~~~~~~~~ In file included from mid.c:17: /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ mid.c:204:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 204 | siginterrupt( SIGALRM, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ mid.c:205:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 205 | siginterrupt( SIGHUP, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ mid.c: In function 'test_modem': mid.c:106:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | write( fd, *query, strlen(*query) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mid.c:107:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 107 | write( fd, MODEM_CMD_SUFFIX, sizeof(MODEM_CMD_SUFFIX)-1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -o mid mid.o ../tio.o \ ../io.o ../locks.o -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -c -o microcom.o microcom.c microcom.c: In function 'main': microcom.c:122:56: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | len = read( STDIN, buf, 100 ); if ( len>0 ) write( fd, buf, len ); | ^~~~~~~~~~~~~~~~~~~~~ microcom.c:126:16: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | write( STDOUT, "*break*", 7 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ microcom.c:132:26: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | if ( len>0 ) write( STDOUT, buf, len ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -o microcom microcom.o ../tio.o \ ../io.o ../locks.o -lutil make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/tools' cd fax && make "CC=cc" "CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.." "LDFLAGS=" "LIBS=-lutil " "FAX_SPOOL_OUT=/var/spool/fax/outgoing" "FAX_OUT_USER=fax" "CONFDIR=/etc/mgetty+sendfax" all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/fax' ../sedscript faxspool ../sedscript faxrunq ../sedscript faxq ../sedscript faxrm ../sedscript faxrunqd ../sedscript faxheader cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -DFAX_SPOOL_OUT=\"/var/spool/fax/outgoing\" \ -DFAX_OUT_USER=\"fax\" \ -DFAX_ALLOW=\"/etc/mgetty+sendfax/fax.allow\" \ -DFAX_DENY=\"/etc/mgetty+sendfax/fax.deny\" \ -c faxq-helper.c faxq-helper.c: In function 'get_next_seq': faxq-helper.c:271:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 271 | write( fd, "000000\n", 7 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ faxq-helper.c: In function 'do_activate': faxq-helper.c:638:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 638 | write( fd, buf, strlen(buf) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ faxq-helper.c: In function 'do_input': faxq-helper.c:402:27: warning: '%s' directive writing up to 196 bytes into a region of size between 160 and 199 [-Wformat-overflow=] 402 | sprintf( pathbuf, "%s/%s", dir1, outfilename ); | ^~ In file included from /usr/include/stdio.h:980, from faxq-helper.c:62: In function 'sprintf', inlined from 'do_input' at faxq-helper.c:402:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 237 bytes into a destination of size 200 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ faxq-helper.c: In function 'recursive_rm': faxq-helper.c:465:31: warning: '%s' directive writing up to 255 bytes into a region of size between 4 and 2047 [-Wformat-overflow=] 465 | sprintf( pathbuf, "%s/%s", dir, de->d_name ); | ^~ In function 'sprintf', inlined from 'recursive_rm' at faxq-helper.c:465:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 2300 bytes into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ faxq-helper.c: In function 'do_sanitize_page_files': faxq-helper.c:535:27: warning: '%s' directive writing up to 296 bytes into a region of size between 3 and 299 [-Wformat-overflow=] 535 | sprintf( tmp, "%s/%s", dir, p ); | ^~ In function 'sprintf', inlined from 'do_sanitize_page_files' at faxq-helper.c:535:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 594 bytes into a destination of size 300 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -o faxq-helper faxq-helper.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/fax' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1' make[1]: 'mgetty' is up to date. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1' cd callback && make "CC=cc" "CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.." "LDFLAGS=" "CONFDIR=/etc/mgetty+sendfax" "VARRUNDIR=/var/run" "LIBS=-lutil " all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/callback' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -DVARRUNDIR=\"/var/run\" -c callback.c callback.c: In function 'main': callback.c:434:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 434 | siginterrupt( SIGINT, TRUE ); | ^~~~~~~~~~~~ In file included from callback.c:38: /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ callback.c:435:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 435 | siginterrupt( SIGALRM, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ callback.c:436:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 436 | siginterrupt( SIGHUP, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ callback.c:437:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 437 | siginterrupt( SIGUSR1, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ callback.c:438:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 438 | siginterrupt( SIGUSR2, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ callback.c:470:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 470 | fgets( phonebuf, 30, stdin ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -DCONFDIR=\"/etc/mgetty+sendfax\" -c conf_cb.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -o callback callback.o conf_cb.o ../config.o ../logfile.o ../do_chat.o ../modem.o ../locks.o ../tio.o ../io.o ../goodies.o -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -c -o ct.o ct.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.. -o ct ct.o -lutil make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/callback' cd doc ; make "CC=cc" "CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -I.." "LDFLAGS=" "LIBS=-lutil " all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/doc' ../sedscript g32pbm.1 ../sedscript g3cat.1 ../sedscript pbm2g3.1 ../sedscript sff2g3.1 ../sedscript fax.1 ../sedscript faxspool.1 ../sedscript faxrunq.1 ../sedscript faxq.1 ../sedscript faxrm.1 ../sedscript coverpg.1 ../sedscript mgettydefs.4 ../sedscript faxqueue.5 ../sedscript sendfax.8 ../sedscript mgetty.8 ../sedscript callback.8 ../sedscript faxrunqd.8 ../sedscript faxq-helper.8 make `for i in g32pbm.1 g3cat.1 pbm2g3.1 sff2g3.1 fax.1 faxspool.1 faxrunq.1 faxq.1 faxrm.1 coverpg.1 mgettydefs.4 faxqueue.5 sendfax.8 mgetty.8 callback.8 faxrunqd.8 faxq-helper.8 ; do echo \`expr $i : "\([^.]*\)"\`.man ; done ` make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/doc' nroff -man g32pbm.1 >g32pbm.man nroff -man g3cat.1 >g3cat.man nroff -man pbm2g3.1 >pbm2g3.man nroff -man sff2g3.1 >sff2g3.man nroff -man fax.1 >fax.man nroff -man faxspool.1 >faxspool.man nroff -man faxrunq.1 >faxrunq.man nroff -man faxq.1 >faxq.man nroff -man faxrm.1 >faxrm.man nroff -man coverpg.1 >coverpg.man nroff -man mgettydefs.4 >mgettydefs.man nroff -man faxqueue.5 >faxqueue.man nroff -man sendfax.8 >sendfax.man nroff -man mgetty.8 >mgetty.man nroff -man callback.8 >callback.man nroff -man faxrunqd.8 >faxrunqd.man nroff -man faxq-helper.8 >faxq-helper.man make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/doc' ../sedscript mgetty.texi make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/doc' + echo -e '\nSTART-INFO-DIR-ENTRY\n* mgetty: (mgetty). A getty replacement use with data and fax modems.\nEND-INFO-DIR-ENTRY\n' + cd voice + make cd ..; make vgetty make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1' make[2]: 'mgetty' is up to date. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1' cd voice; make CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP" CC="cc" LDFLAGS="" \ LN="ln" MV="mv" RM="rm" \ LIBS="-lutil " \ FAX_SPOOL_IN="/var/spool/fax/incoming" CONFDIR="/etc/mgetty+sendfax" \ VARRUNDIR="/var/run" \ SHELL="/bin/sh" vgetty-all make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice' Building the voice extensions ----------------------------- In libpvf... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/libpvf' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c au.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c fft.c fft.c: In function 'pvffft': fft.c:89:10: warning: variable 'data' set but not used [-Wunused-but-set-variable] 89 | int data; | ^~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c lib.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c linear.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c multitech.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c rockwell.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c usr.c usr.c: In function 'usrgsmtopvf': usr.c:142:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 142 | fread(&inbuf[33], 5, 1, fd_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c voc.c voc.c: In function 'voctopvf': voc.c:85:6: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | fread(hdr, 1, 0x1a, fd_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c wav.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c zyxel.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c zyxel-o56k.c zyxel-o56k.c: In function 'pvftozo56k': zyxel-o56k.c:113:11: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 113 | for (i=1; i<4; i++) xni[i+1] = xni[i]; xni[1] = xn1; | ^~~ zyxel-o56k.c:113:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 113 | for (i=1; i<4; i++) xni[i+1] = xni[i]; xni[1] = xn1; | ^~~ zyxel-o56k.c: In function 'zo56ktopvf': zyxel-o56k.c:183:15: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 183 | for (i=1; i<4; i++) xni[i+1] = xni[i]; xni[1] = xn1; | ^~~ zyxel-o56k.c:183:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 183 | for (i=1; i<4; i++) xni[i+1] = xni[i]; xni[1] = xn1; | ^~~ rm -f libpvf.a ar rc libpvf.a au.o fft.o lib.o linear.o multitech.o rockwell.o usr.o voc.o wav.o zyxel.o zyxel-o56k.o ranlib libpvf.a make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/libpvf' In libutil... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/libutil' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c check_system.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -DCONF_DIR=\"/etc/mgetty+sendfax\" -c config.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c no_modem.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c make_path.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c strsep.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c variables.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c access.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c wildmat.c rm -f libutil.a ar rc libutil.a check_system.o config.o no_modem.o make_path.o strsep.o variables.o access.o wildmat.o ../../config.o ../../logfile.o ranlib libutil.a cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c test_wildmat.c cc -o test_wildmat test_wildmat.o wildmat.o make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/libutil' In libvoice... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/libvoice' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -MM -c *.c > depend cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c analyze.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c close.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c command.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c detect.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c event.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c flush.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c init.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c mode.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c open.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c play.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c read.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c record.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c shell.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c signal.c signal.c: In function 'voice_install_signal_handler': signal.c:127:6: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 127 | siginterrupt(SIGALRM, TRUE); | ^~~~~~~~~~~~ In file included from ../include/voice.h:30, from signal.c:14: /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ signal.c:128:6: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 128 | siginterrupt(SIGCHLD, TRUE); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ signal.c:129:6: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 129 | siginterrupt(SIGHUP, TRUE); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ signal.c:130:6: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 130 | siginterrupt(SIGINT, TRUE); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ signal.c:131:6: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 131 | siginterrupt(SIGPIPE, TRUE); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ signal.c:132:6: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 132 | siginterrupt(SIGQUIT, TRUE); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ signal.c:133:6: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 133 | siginterrupt(SIGTERM, TRUE); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ signal.c:134:6: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 134 | siginterrupt(SIGUSR1, TRUE); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ signal.c:135:6: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 135 | siginterrupt(SIGUSR2, TRUE); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c write.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c voice_fax.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c device_mode_names.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Cirrus_Logic.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Digi_RAS.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Dolphin.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Dr_Neuhaus.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Elsa.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c V253modem.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c IS_101.c IS_101.c: In function 'IS_101_play_dtmf': IS_101.c:946:13: warning: '__builtin___strncat_chk' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 946 | strncat(buffer, buf2, VOICE_BUF_LEN - 1); | ^ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c ISDN4Linux.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Lucent.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Multitech_2834.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Rockwell.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Sierra.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Supra.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c UMC.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c US_Robotics.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c ZyXEL_1496.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c ZyXEL_2864.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c ZyXEL_Omni56K.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Multitech_5634.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Multitech_5634ZPX.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Multitech_5634ZPX_ISA.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Multitech_5600ZDXv.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c Supra56ePRO.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c V253ugly.c rm -f libvoice.a ar rc libvoice.a analyze.o close.o command.o detect.o event.o flush.o init.o mode.o open.o play.o read.o record.o shell.o signal.o write.o voice_fax.o device_mode_names.o Cirrus_Logic.o Digi_RAS.o Dolphin.o Dr_Neuhaus.o Elsa.o V253modem.o IS_101.o ISDN4Linux.o Lucent.o Multitech_2834.o Rockwell.o Sierra.o Supra.o UMC.o US_Robotics.o ZyXEL_1496.o ZyXEL_2864.o ZyXEL_Omni56K.o Multitech_5634.o Multitech_5634ZPX.o Multitech_5634ZPX_ISA.o Multitech_5600ZDXv.o Supra56ePRO.o V253ugly.o ranlib libvoice.a make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/libvoice' In libmgsm... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/libmgsm' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c code.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c decode.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c gsm_create.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c gsm_decode.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c gsm_destroy.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c gsm_encode.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c gsm_option.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c long_term.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c lpc.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c preprocess.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c rpe.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c short_term.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c add.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c table.c rm -f libmgsm.a ar rc libmgsm.a code.o decode.o gsm_create.o gsm_decode.o gsm_destroy.o gsm_encode.o gsm_option.o code.o decode.o long_term.o lpc.o preprocess.o rpe.o short_term.o add.o table.o ranlib libmgsm.a make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/libmgsm' In pvftools... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/pvftools' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvfamp.c cc -o pvfamp pvfamp.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvfcut.c cc -o pvfcut pvfcut.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvfecho.c cc -o pvfecho pvfecho.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvffile.c pvffile.c: In function 'main': pvffile.c:80:15: warning: variable 'data' set but not used [-Wunused-but-set-variable] 80 | int data; | ^~~~ cc -o pvffile pvffile.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvffilter.c cc -o pvffilter pvffilter.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil -lm cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvffft.c cc -o pvffft pvffft.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil -lm cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvfmix.c cc -o pvfmix pvfmix.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvfnoise.c cc -o pvfnoise pvfnoise.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvfreverse.c cc -o pvfreverse pvfreverse.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvfsine.c cc -o pvfsine pvfsine.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil -lm cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvfspeed.c cc -o pvfspeed pvfspeed.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvftormd.c cc -o pvftormd pvftormd.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil \ ../libmgsm/libmgsm.a cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c rmdtopvf.c cc -o rmdtopvf rmdtopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil \ ../libmgsm/libmgsm.a cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c rmdfile.c cc -o rmdfile rmdfile.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvftovoc.c cc -o pvftovoc pvftovoc.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c voctopvf.c cc -o voctopvf voctopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvftolin.c cc -o pvftolin pvftolin.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c lintopvf.c cc -o lintopvf lintopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvftobasic.c cc -o pvftobasic pvftobasic.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c basictopvf.c cc -o basictopvf basictopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvftoau.c cc -o pvftoau pvftoau.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c autopvf.c cc -o autopvf autopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c pvftowav.c cc -o pvftowav pvftowav.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c wavtopvf.c cc -o wavtopvf wavtopvf.o ../libpvf/libpvf.a ../libutil/libutil.a -lutil make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/pvftools' In vgetty... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/vgetty' cd ../.. ;\ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -DVOICE -DFAX_SPOOL_IN=\"/var/spool/fax/incoming\" \ -DVARRUNDIR=\"/var/run\" -c vgetty.c vgetty.c: In function 'main': vgetty.c:372:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 372 | siginterrupt( SIGINT, TRUE ); | ^~~~~~~~~~~~ In file included from vgetty.c:59: /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ vgetty.c:373:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 373 | siginterrupt( SIGALRM, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ vgetty.c:374:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 374 | siginterrupt( SIGHUP, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ vgetty.c:375:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 375 | siginterrupt( SIGUSR1, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ vgetty.c:376:5: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations] 376 | siginterrupt( SIGUSR2, TRUE ); | ^~~~~~~~~~~~ /usr/include/signal.h:324:12: note: declared here 324 | extern int siginterrupt (int __sig, int __interrupt) __THROW | ^~~~~~~~~~~~ vgetty.c:471:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 471 | chown( devname, uid, gid ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vgetty.c:1117:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1117 | system( c_string(issue_file)+1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c answer.c answer.c: In function 'get_answer_mode': answer.c:65:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fscanf(answer_mode_file, "%s", answer_mode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.c:77:26: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | fscanf(answer_mode_file, "%s", answer_mode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.c: In function 'get_greeting_message': answer.c:175:21: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 175 | fgets(message_file_name, VOICE_BUF_LEN, list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c button.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c event.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c message.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c rings.c rings.c: In function 'vgetty_rings': rings.c:40:21: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | fscanf(ring_file, "%d", rings_wanted); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rings.c:53:26: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 53 | fscanf(ring_file, "%d", rings_wanted); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o vgetty vgetty.o answer.o button.o event.o message.o rings.o ../../cnd.o ../../conf_mg.o ../../do_chat.o ../../do_stat.o ../../faxhng.o ../../faxlib.o ../../faxrec.o ../../faxrecp.o ../../faxsend.o ../../gettydefs.o ../../login.o ../../logname.o ../../mg_m_init.o ../../utmp.o ../../ring.o ../../getdisk.o ../../goodies.o ../../io.o ../../g3file.o ../../locks.o ../../tio.o ../../modem.o ../../clean_line.o ../../class1.o ../../class1lib.o ../../hyla_nsf.o ../libvoice/libvoice.a ../libutil/libutil.a \ -lutil make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/vgetty' In vm... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/vm' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c main.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c event.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -pipe -DAUTO_PPP -c usage.c cc -o vm main.o event.o usage.o ../../cnd.o ../../faxhng.o ../../faxlib.o ../../faxrec.o ../../faxrecp.o ../../faxsend.o ../../gettydefs.o ../../login.o ../../logname.o ../../utmp.o ../../getdisk.o ../../goodies.o ../../io.o ../../g3file.o ../../locks.o ../../tio.o ../../modem.o ../../clean_line.o ../../class1.o ../../class1lib.o ../../hyla_nsf.o ../libvoice/libvoice.a ../libutil/libutil.a -lutil make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice/vm' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1/voice' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mgetty-1.2.1' + cd ../frontends/X11/viewfax + xmkmf mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/share/X11/config + make depend gccmakedep -- -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/lib64/X11/viewfax.tif\" -- viewfax.c faxinput.c faxinit.c faxexpand.c + make 'CDEBUGFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DHELPFILE=\"/usr/lib64/X11/viewfax.tif\" -c -o viewfax.o viewfax.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from viewfax.c:20: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ viewfax.c: In function 'ShowLoop': viewfax.c:792:17: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 792 | switch(XKeycodeToKeysym(Disp, Event.xkey.keycode, 0)) { | ^~~~~~ In file included from viewfax.c:26: /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ viewfax.c:913:36: error: implicit declaration of function 'usleep' [-Wimplicit-function-declaration] 913 | (void) usleep(200000); | ^~~~~~ viewfax.c: In function 'DoExtCmd': viewfax.c:439:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 439 | system(syscmd); | ^~~~~~~~~~~~~~ make: *** [: viewfax.o] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.GK1Ha8 (%build) RPM build warnings: %patchN is deprecated (12 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.GK1Ha8 (%build) I: [iurt_root_command] ERROR: chroot