D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/tcp_wrappers-7.6-56.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.audcbi Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MxGSGO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build + rm -rf tcp_wrappers_7.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/tcp_wrappers_7.6.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd tcp_wrappers_7.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tcpw7.2-config.patch):' Patch #0 (tcpw7.2-config.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .config --fuzz=0 patching file Makefile + echo 'Patch #1 (tcpw7.2-setenv.patch):' Patch #1 (tcpw7.2-setenv.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .setenv --fuzz=0 patching file Makefile + echo 'Patch #2 (tcpw7.6-netgroup.patch):' Patch #2 (tcpw7.6-netgroup.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .netgroup --fuzz=0 patching file Makefile + echo 'Patch #3 (tcp_wrappers-7.6-bug11881.patch):' Patch #3 (tcp_wrappers-7.6-bug11881.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bug11881 --fuzz=0 patching file eval.c patching file tcpd.c + echo 'Patch #4 (tcp_wrappers-7.6-bug17795.patch):' Patch #4 (tcp_wrappers-7.6-bug17795.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bug17795 --fuzz=0 patching file hosts_access.5 patching file hosts_access.c + echo 'Patch #5 (tcp_wrappers-7.6-bug17847.patch):' Patch #5 (tcp_wrappers-7.6-bug17847.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .bug17847 --fuzz=0 patching file hosts_access.5 patching file hosts_access.c + echo 'Patch #6 (tcp_wrappers-7.6-fixgethostbyname.patch):' Patch #6 (tcp_wrappers-7.6-fixgethostbyname.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fixgethostbyname --fuzz=0 patching file socket.c + echo 'Patch #7 (tcp_wrappers-7.6-docu.patch):' Patch #7 (tcp_wrappers-7.6-docu.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .docu --fuzz=0 patching file hosts_access.5 + echo 'Patch #9 (tcp_wrappers.usagi-ipv6.patch):' Patch #9 (tcp_wrappers.usagi-ipv6.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .usagi-ipv6 --fuzz=0 patching file fix_options.c patching file hosts_access.5 patching file hosts_access.c patching file inetcf.c patching file Makefile patching file misc.c patching file refuse.c patching file rfc931.c patching file scaffold.c patching file scaffold.h patching file socket.c patching file tcpdchk.c patching file tcpd.c patching file tcpd.h patching file tcpdmatch.c patching file tli.c patching file update.c patching file workarounds.c + echo 'Patch #10 (tcp_wrappers.ume-ipv6.patch):' Patch #10 (tcp_wrappers.ume-ipv6.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ume-ipv6 --fuzz=0 patching file hosts_access.c patching file socket.c + echo 'Patch #11 (tcp_wrappers-7.6-shared.patch):' Patch #11 (tcp_wrappers-7.6-shared.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .shared --fuzz=0 patching file Makefile patching file scaffold.c patching file tcpd.h patching file weak_symbols.c + echo 'Patch #12 (tcp_wrappers-7.6-sig.patch):' Patch #12 (tcp_wrappers-7.6-sig.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sig --fuzz=0 patching file hosts_access.c + echo 'Patch #13 (tcp_wrappers-7.6-strerror.patch):' Patch #13 (tcp_wrappers-7.6-strerror.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .strerror --fuzz=0 patching file percent_m.c + echo 'Patch #14 (tcp_wrappers-7.6-ldflags.patch):' Patch #14 (tcp_wrappers-7.6-ldflags.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cflags --fuzz=0 patching file Makefile + echo 'Patch #15 (tcp_wrappers-7.6-fix_sig-bug141110.patch):' Patch #15 (tcp_wrappers-7.6-fix_sig-bug141110.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix_sig --fuzz=0 patching file hosts_access.c + echo 'Patch #16 (tcp_wrappers-7.6-162412.patch):' Patch #16 (tcp_wrappers-7.6-162412.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .162412 --fuzz=0 patching file inetcf.c + echo 'Patch #17 (tcp_wrappers-7.6-220015.patch):' Patch #17 (tcp_wrappers-7.6-220015.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .220015 --fuzz=0 patching file hosts_ctl.c patching file socket.c patching file tcpd.h + echo 'Patch #18 (tcp_wrappers-7.6-restore_sigalarm.patch):' Patch #18 (tcp_wrappers-7.6-restore_sigalarm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .restore_sigalarm --fuzz=0 patching file rfc931.c + echo 'Patch #19 (tcp_wrappers-7.6-siglongjmp.patch):' Patch #19 (tcp_wrappers-7.6-siglongjmp.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .siglongjmp --fuzz=0 patching file rfc931.c + echo 'Patch #20 (tcp_wrappers-7.6-sigchld.patch):' Patch #20 (tcp_wrappers-7.6-sigchld.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .sigchld --fuzz=0 patching file shell_cmd.c + echo 'Patch #21 (tcp_wrappers-7.6-196326.patch):' Patch #21 (tcp_wrappers-7.6-196326.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .196326 --fuzz=0 patching file hosts_access.c + echo 'Patch #22 (tcp_wrappers_7.6-249430.patch):' Patch #22 (tcp_wrappers_7.6-249430.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .249430 --fuzz=0 patching file hosts_access.c + echo 'Patch #100 (tcp_wrappers-bug41864.diff):' Patch #100 (tcp_wrappers-bug41864.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .bug41864 --fuzz=0 patching file misc.c + echo 'Patch #101 (tcp_wrappers-7.6-make-4.4.patch):' Patch #101 (tcp_wrappers-7.6-make-4.4.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .make-4.4 --fuzz=0 patching file Makefile + echo 'Patch #200 (tcp_wrappers-7.6-gcc14.patch):' Patch #200 (tcp_wrappers-7.6-gcc14.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc14 --fuzz=0 patching file clean_exit.c patching file fakelog.c patching file inetcf.c patching file misc.c patching file options.c patching file percent_x.c patching file rfc931.c patching file safe_finger.c patching file tcpd.c patching file tcpdchk.c patching file tcpdmatch.c patching file try-from.c patching file update.c patching file fix_options.c + echo 'Patch #201 (tcp_wrappers-7.6-gcc14-part2.patch):' Patch #201 (tcp_wrappers-7.6-gcc14-part2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc14-2 --fuzz=0 patching file options.c patching file hosts_access.c patching file hosts_access.c patching file scaffold.c + echo 'Patch #202 (tcp_wrappers-7.6-gcc14-part3.patch):' Patch #202 (tcp_wrappers-7.6-gcc14-part3.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc14-3 --fuzz=0 patching file hosts_access.c + echo 'Patch #203 (tcp_wrappers-7.6-shared-tools.patch):' Patch #203 (tcp_wrappers-7.6-shared-tools.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .shared-tools --fuzz=0 patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ApDyOp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build + 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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd tcp_wrappers_7.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export '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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'CXXFLAGS=-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + CXXFLAGS='-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export 'RPM_OPT_FLAGS=-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + RPM_OPT_FLAGS='-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + /usr/bin/make -O -j16 V=1 VERBOSE=1 'RPM_OPT_FLAGS=-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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR' 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie' REAL_DAEMON_DIR=/usr/sbin MAJOR=0 MINOR=7 REL=6 linux make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c weak_symbols.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c fromhost.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c tli.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c clean_exit.c clean_exit.c:18:13: warning: conflicting types for built-in function 'exit'; expected 'void(int)' [-Wbuiltin-declaration-mismatch] 18 | extern void exit(); | ^~~~ clean_exit.c:17:1: note: 'exit' is declared in header '' 16 | #include +++ |+#include 17 | clean_exit.c: In function 'clean_exit': clean_exit.c:24:9: warning: old-style function definition [-Wold-style-definition] 24 | void clean_exit(request) | ^~~~~~~~~~ clean_exit.c:42:5: error: too many arguments to function 'exit'; expected 0, have 1 42 | exit(0); | ^~~~ ~ clean_exit.c:18:13: note: declared here 18 | extern void exit(); | ^~~~ make[1]: *** [Makefile:681: clean_exit.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c hosts_ctl.c hosts_ctl.c: In function 'hosts_ctl': hosts_ctl.c:24:9: warning: old-style function definition [-Wold-style-definition] 24 | int hosts_ctl(daemon, name, addr, user) | ^~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c percent_x.c percent_x.c:24:13: warning: conflicting types for built-in function 'exit'; expected 'void(int)' [-Wbuiltin-declaration-mismatch] 24 | extern void exit(); | ^~~~ percent_x.c:23:1: note: 'exit' is declared in header '' 22 | #include +++ |+#include 23 | percent_x.c: In function 'percent_x': percent_x.c:32:9: warning: old-style function definition [-Wold-style-definition] 32 | char *percent_x(result, result_len, string, request) | ^~~~~~~~~ percent_x.c:80:13: error: too many arguments to function 'exit'; expected 0, have 1 80 | exit(0); | ^~~~ ~ percent_x.c:24:13: note: declared here 24 | extern void exit(); | ^~~~ make[1]: *** [Makefile:681: percent_x.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c refuse.c refuse.c: In function 'refuse': refuse.c:25:9: warning: old-style function definition [-Wold-style-definition] 25 | void refuse(request) | ^~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c workarounds.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c socket.c socket.c: In function 'gethostbyname_dot': socket.c:60:24: warning: old-style function definition [-Wold-style-definition] 60 | static struct hostent *gethostbyname_dot(name) | ^~~~~~~~~~~~~~~~~ socket.c: In function 'sock_host': socket.c:88:9: warning: old-style function definition [-Wold-style-definition] 88 | void sock_host(request) | ^~~~~~~~~ socket.c:115:23: error: assignment to 'void (*)(int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 115 | request->sink = sock_sink; | ^ socket.c:50:13: note: 'sock_sink' declared here 50 | static void sock_sink(); | ^~~~~~~~~ socket.c: In function 'sock_hostnofd': socket.c:152:9: warning: old-style function definition [-Wold-style-definition] 152 | void sock_hostnofd(request) | ^~~~~~~~~~~~~ socket.c: In function 'sock_hostaddr': socket.c:197:9: warning: old-style function definition [-Wold-style-definition] 197 | void sock_hostaddr(host) | ^~~~~~~~~~~~~ socket.c: In function 'sock_hostname': socket.c:224:9: warning: old-style function definition [-Wold-style-definition] 224 | void sock_hostname(host) | ^~~~~~~~~~~~~ socket.c: In function 'sock_sink': socket.c:465:13: warning: old-style function definition [-Wold-style-definition] 465 | static void sock_sink(fd) | ^~~~~~~~~ make[1]: *** [Makefile:681: socket.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c shell_cmd.c shell_cmd.c:29:13: warning: conflicting types for built-in function 'exit'; expected 'void(int)' [-Wbuiltin-declaration-mismatch] 29 | extern void exit(); | ^~~~ shell_cmd.c:28:1: note: 'exit' is declared in header '' 27 | #include +++ |+#include 28 | shell_cmd.c: In function 'shell_cmd': shell_cmd.c:53:9: warning: old-style function definition [-Wold-style-definition] 53 | void shell_cmd(command) | ^~~~~~~~~ shell_cmd.c:88:9: error: too many arguments to function 'do_child'; expected 0, have 1 88 | do_child(command); | ^~~~~~~~ ~~~~~~~ shell_cmd.c:37:13: note: declared here 37 | static void do_child(); | ^~~~~~~~ shell_cmd.c: In function 'do_child': shell_cmd.c:110:13: warning: old-style function definition [-Wold-style-definition] 110 | static void do_child(command) | ^~~~~~~~ make[1]: *** [Makefile:681: shell_cmd.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c hosts_access.c hosts_access.c:48:14: error: conflicting types for 'fgets'; have 'char *(void)' 48 | extern char *fgets(); | ^~~~~ In file included from /usr/include/stdio.h:970, from hosts_access.c:36: /usr/include/bits/stdio2.h:305:1: note: previous definition of 'fgets' with type 'char *(char * restrict, int, FILE * restrict)' 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~ hosts_access.c: In function 'hosts_access': hosts_access.c:108:9: warning: old-style function definition [-Wold-style-definition] 108 | int hosts_access(request) | ^~~~~~~~~~~~ hosts_access.c:132:9: error: too many arguments to function 'table_match'; expected 0, have 2 132 | if (table_match(hosts_allow_table, request) == YES) | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ hosts_access.c:90:12: note: declared here 90 | static int table_match(); | ^~~~~~~~~~~ hosts_access.c:134:9: error: too many arguments to function 'table_match'; expected 0, have 2 134 | if (table_match(hosts_deny_table, request) == NO) | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~ hosts_access.c:90:12: note: declared here 90 | static int table_match(); | ^~~~~~~~~~~ hosts_access.c: In function 'table_match': hosts_access.c:141:12: warning: old-style function definition [-Wold-style-definition] 141 | static int table_match(table, request) | ^~~~~~~~~~~ hosts_access.c:174:21: error: too many arguments to function 'list_match'; expected 0, have 3 174 | match = list_match(sv_list, request, server_match) | ^~~~~~~~~~ ~~~~~~~ hosts_access.c:91:12: note: declared here 91 | static int list_match(); | ^~~~~~~~~~ hosts_access.c:175:20: error: too many arguments to function 'list_match'; expected 0, have 3 175 | && list_match(cl_list, request, client_match); | ^~~~~~~~~~ ~~~~~~~ hosts_access.c:91:12: note: declared here 91 | static int list_match(); | ^~~~~~~~~~ hosts_access.c: In function 'list_match': hosts_access.c:201:12: warning: old-style function definition [-Wold-style-definition] 201 | static int list_match(list, request, match_fn) | ^~~~~~~~~~ hosts_access.c:218:13: error: too many arguments to function 'match_fn'; expected 0, have 2 218 | if (match_fn(tok, request)) { /* YES: look for exceptions */ | ^~~~~~~~ ~~~ hosts_access.c:221:33: error: too many arguments to function 'list_match'; expected 0, have 3 221 | return (tok == 0 || list_match((char *) 0, request, match_fn) == 0); | ^~~~~~~~~~ ~~~~~~~~~~ hosts_access.c:201:12: note: declared here 201 | static int list_match(list, request, match_fn) | ^~~~~~~~~~ hosts_access.c: In function 'server_match': hosts_access.c:229:12: warning: old-style function definition [-Wold-style-definition] 229 | static int server_match(tok, request) | ^~~~~~~~~~~~ hosts_access.c:236:17: error: too many arguments to function 'string_match'; expected 0, have 2 236 | return (string_match(tok, eval_daemon(request))); | ^~~~~~~~~~~~ ~~~ hosts_access.c:95:12: note: declared here 95 | static int string_match(); | ^~~~~~~~~~~~ hosts_access.c:238:17: error: too many arguments to function 'string_match'; expected 0, have 2 238 | return (string_match(tok, eval_daemon(request)) | ^~~~~~~~~~~~ ~~~ hosts_access.c:95:12: note: declared here 95 | static int string_match(); | ^~~~~~~~~~~~ hosts_access.c:239:20: error: too many arguments to function 'host_match'; expected 0, have 2 239 | && host_match(host, request->server)); | ^~~~~~~~~~ ~~~~ hosts_access.c:94:12: note: declared here 94 | static int host_match(); | ^~~~~~~~~~ hosts_access.c: In function 'client_match': hosts_access.c:245:12: warning: old-style function definition [-Wold-style-definition] 245 | static int client_match(tok, request) | ^~~~~~~~~~~~ hosts_access.c:252:17: error: too many arguments to function 'host_match'; expected 0, have 2 252 | return (host_match(tok, request->client)); | ^~~~~~~~~~ ~~~ hosts_access.c:94:12: note: declared here 94 | static int host_match(); | ^~~~~~~~~~ hosts_access.c:254:17: error: too many arguments to function 'host_match'; expected 0, have 2 254 | return (host_match(host, request->client) | ^~~~~~~~~~ ~~~~ hosts_access.c:94:12: note: declared here 94 | static int host_match(); | ^~~~~~~~~~ hosts_access.c:255:20: error: too many arguments to function 'string_match'; expected 0, have 2 255 | && string_match(tok, eval_user(request))); | ^~~~~~~~~~~~ ~~~ hosts_access.c:95:12: note: declared here 95 | static int string_match(); | ^~~~~~~~~~~~ hosts_access.c: In function 'hostfile_match': hosts_access.c:261:12: warning: old-style function definition [-Wold-style-definition] 261 | static int hostfile_match(path, host) | ^~~~~~~~~~~~~~ hosts_access.c:270:56: error: too many arguments to function 'host_match'; expected 0, have 2 270 | while (fscanf(fp, "%s", tok) == 1 && !(match = host_match(tok, host))) | ^~~~~~~~~~ ~~~ hosts_access.c:94:12: note: declared here 94 | static int host_match(); | ^~~~~~~~~~ hosts_access.c: In function 'host_match': hosts_access.c:281:12: warning: old-style function definition [-Wold-style-definition] 281 | static int host_match(tok, host) | ^~~~~~~~~~ hosts_access.c:315:17: error: too many arguments to function 'masked_match'; expected 0, have 3 315 | return (masked_match(tok, mask, eval_hostaddr(host))); | ^~~~~~~~~~~~ ~~~ hosts_access.c:96:12: note: declared here 96 | static int masked_match(); | ^~~~~~~~~~~~ hosts_access.c:317:17: error: too many arguments to function 'string_match'; expected 0, have 2 317 | return (string_match(tok, eval_hostaddr(host)) | ^~~~~~~~~~~~ ~~~ hosts_access.c:95:12: note: declared here 95 | static int string_match(); | ^~~~~~~~~~~~ hosts_access.c:318:36: error: too many arguments to function 'string_match'; expected 0, have 2 318 | || (NOT_INADDR(tok) && string_match(tok, eval_hostname(host)))); | ^~~~~~~~~~~~ ~~~ hosts_access.c:95:12: note: declared here 95 | static int string_match(); | ^~~~~~~~~~~~ hosts_access.c: In function 'string_match': hosts_access.c:392:12: warning: old-style function definition [-Wold-style-definition] 392 | static int string_match(tok, string) | ^~~~~~~~~~~~ hosts_access.c: In function 'masked_match': hosts_access.c:463:12: warning: old-style function definition [-Wold-style-definition] 463 | static int masked_match(net_tok, mask_tok, string) | ^~~~~~~~~~~~ hosts_access.c:468:13: error: too many arguments to function 'masked_match4'; expected 0, have 3 468 | return (masked_match4(net_tok, mask_tok, string) || | ^~~~~~~~~~~~~ ~~~~~~~ hosts_access.c:98:12: note: declared here 98 | static int masked_match4(); | ^~~~~~~~~~~~~ hosts_access.c:469:13: error: too many arguments to function 'masked_match6'; expected 0, have 3 469 | masked_match6(net_tok, mask_tok, string)); | ^~~~~~~~~~~~~ ~~~~~~~ hosts_access.c:99:12: note: declared here 99 | static int masked_match6(); | ^~~~~~~~~~~~~ hosts_access.c: In function 'masked_match4': hosts_access.c:472:12: warning: old-style function definition [-Wold-style-definition] 472 | static int masked_match4(net_tok, mask_tok, string) | ^~~~~~~~~~~~~ hosts_access.c: In function 'masked_match6': hosts_access.c:511:12: warning: old-style function definition [-Wold-style-definition] 511 | static int masked_match6(net_tok, mask_tok, string) | ^~~~~~~~~~~~~ hosts_access.c:529:17: error: too many arguments to function 'masked_match4'; expected 0, have 3 529 | return (masked_match4(net_tok, mask_tok, string + 7)); | ^~~~~~~~~~~~~ ~~~~~~~ hosts_access.c:472:12: note: declared here 472 | static int masked_match4(net_tok, mask_tok, string) | ^~~~~~~~~~~~~ make[1]: *** [Makefile:681: hosts_access.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c options.c options.c: In function 'process_options': options.c:132:9: warning: old-style function definition [-Wold-style-definition] 132 | void process_options(options, request) | ^~~~~~~~~~~~~~~ options.c:143:21: error: too many arguments to function 'get_field'; expected 0, have 1 143 | for (curr_opt = get_field(options); curr_opt; curr_opt = next_opt) { | ^~~~~~~~~ ~~~~~~~ options.c:71:14: note: declared here 71 | static char *get_field(); /* chew :-delimited field off string */ | ^~~~~~~~~ options.c:144:20: error: too many arguments to function 'get_field'; expected 0, have 1 144 | next_opt = get_field((char *) 0); | ^~~~~~~~~ ~~~~~~~~~~ options.c:71:14: note: declared here 71 | static char *get_field(); /* chew :-delimited field off string */ | ^~~~~~~~~ options.c:150:20: error: too many arguments to function 'chop_string'; expected 0, have 1 150 | curr_opt = chop_string(curr_opt); | ^~~~~~~~~~~ ~~~~~~~~ options.c:72:14: note: declared here 72 | static char *chop_string(); /* strip leading and trailing blanks */ | ^~~~~~~~~~~ options.c:187:21: error: too many arguments to function 'chop_string'; expected 0, have 1 187 | value = chop_string(percent_x(bf, sizeof(bf), value, request)); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ options.c:72:14: note: declared here 72 | static char *chop_string(); /* strip leading and trailing blanks */ | ^~~~~~~~~~~ options.c:190:10: error: too many arguments to function 'op->func'; expected 0, have 2 190 | (*(op->func)) (value, request); | ~^~~~~~~~~~~~ ~~~~~ options.c:95:13: note: declared here 95 | void (*func) (); /* function that does the real work */ | ^~~~ options.c: In function 'allow_option': options.c:198:13: warning: old-style function definition [-Wold-style-definition] 198 | static void allow_option(value, request) | ^~~~~~~~~~~~ options.c: In function 'deny_option': options.c:209:13: warning: old-style function definition [-Wold-style-definition] 209 | static void deny_option(value, request) | ^~~~~~~~~~~ options.c: In function 'banners_option': options.c:218:13: warning: old-style function definition [-Wold-style-definition] 218 | static void banners_option(value, request) | ^~~~~~~~~~~~~~ options.c: In function 'group_option': options.c:250:13: warning: old-style function definition [-Wold-style-definition] 250 | static void group_option(value, request) | ^~~~~~~~~~~~ options.c:255:19: error: conflicting types for 'getgrnam'; have 'struct group *(void)' 255 | struct group *getgrnam(); | ^~~~~~~~ In file included from options.c:47: /usr/include/grp.h:107:22: note: previous declaration of 'getgrnam' with type 'struct group *(const char *)' 107 | extern struct group *getgrnam (const char *__name); | ^~~~~~~~ options.c:257:16: error: too many arguments to function 'getgrnam'; expected 0, have 1 257 | if ((grp = getgrnam(value)) == 0) | ^~~~~~~~ ~~~~~ options.c:255:19: note: declared here 255 | struct group *getgrnam(); | ^~~~~~~~ options.c: In function 'user_option': options.c:269:13: warning: old-style function definition [-Wold-style-definition] 269 | static void user_option(value, request) | ^~~~~~~~~~~ options.c:274:20: error: conflicting types for 'getpwnam'; have 'struct passwd *(void)' 274 | struct passwd *getpwnam(); | ^~~~~~~~ In file included from options.c:46: /usr/include/pwd.h:116:23: note: previous declaration of 'getpwnam' with type 'struct passwd *(const char *)' 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ^~~~~~~~ options.c:278:9: error: too many arguments to function 'group_option'; expected 0, have 2 278 | group_option(group, request); | ^~~~~~~~~~~~ ~~~~~ options.c:250:13: note: declared here 250 | static void group_option(value, request) | ^~~~~~~~~~~~ options.c:279:16: error: too many arguments to function 'getpwnam'; expected 0, have 1 279 | if ((pwd = getpwnam(value)) == 0) | ^~~~~~~~ ~~~~~ options.c:274:20: note: declared here 274 | struct passwd *getpwnam(); | ^~~~~~~~ options.c: In function 'umask_option': options.c:291:13: warning: old-style function definition [-Wold-style-definition] 291 | static void umask_option(value, request) | ^~~~~~~~~~~~ options.c: In function 'spawn_option': options.c:307:13: warning: old-style function definition [-Wold-style-definition] 307 | static void spawn_option(value, request) | ^~~~~~~~~~~~ options.c: In function 'linger_option': options.c:319:13: warning: old-style function definition [-Wold-style-definition] 319 | static void linger_option(value, request) | ^~~~~~~~~~~~~ options.c: In function 'keepalive_option': options.c:341:13: warning: old-style function definition [-Wold-style-definition] 341 | static void keepalive_option(value, request) | ^~~~~~~~~~~~~~~~ options.c: In function 'nice_option': options.c:356:13: warning: old-style function definition [-Wold-style-definition] 356 | static void nice_option(value, request) | ^~~~~~~~~~~ options.c: In function 'twist_option': options.c:371:13: warning: old-style function definition [-Wold-style-definition] 371 | static void twist_option(value, request) | ^~~~~~~~~~~~ options.c: In function 'rfc931_option': options.c:409:13: warning: old-style function definition [-Wold-style-definition] 409 | static void rfc931_option(value, request) | ^~~~~~~~~~~~~ options.c: In function 'setenv_option': options.c:428:13: warning: old-style function definition [-Wold-style-definition] 428 | static void setenv_option(value, request) | ^~~~~~~~~~~~~ options.c:436:16: error: too many arguments to function 'chop_string'; expected 0, have 1 436 | if (setenv(chop_string(value), chop_string(var_value), 1)) | ^~~~~~~~~~~ ~~~~~ options.c:72:14: note: declared here 72 | static char *chop_string(); /* strip leading and trailing blanks */ | ^~~~~~~~~~~ options.c:436:36: error: too many arguments to function 'chop_string'; expected 0, have 1 436 | if (setenv(chop_string(value), chop_string(var_value), 1)) | ^~~~~~~~~~~ ~~~~~~~~~ options.c:72:14: note: declared here 72 | static char *chop_string(); /* strip leading and trailing blanks */ | ^~~~~~~~~~~ options.c: In function 'severity_map': options.c:535:12: warning: old-style function definition [-Wold-style-definition] 535 | static int severity_map(table, name) | ^~~~~~~~~~~~ options.c: In function 'severity_option': options.c:552:13: warning: old-style function definition [-Wold-style-definition] 552 | static void severity_option(value, request) | ^~~~~~~~~~~~~~~ options.c: In function 'get_field': options.c:565:14: warning: old-style function definition [-Wold-style-definition] 565 | static char *get_field(string) | ^~~~~~~~~ options.c: In function 'chop_string': options.c:608:14: warning: old-style function definition [-Wold-style-definition] 608 | static char *chop_string(string) | ^~~~~~~~~~~ options.c: In function 'banners_option': options.c:232:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 232 | write(request->fd, "", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ options.c:238:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 238 | write(request->fd, obuf, strlen(obuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:681: options.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c misc.c misc.c:21:14: error: conflicting types for 'fgets'; have 'char *(void)' 21 | extern char *fgets(); | ^~~~~ In file included from /usr/include/stdio.h:970, from misc.c:15: /usr/include/bits/stdio2.h:305:1: note: previous definition of 'fgets' with type 'char *(char * restrict, int, FILE * restrict)' 305 | fgets (__fortify_clang_overload_arg (char *, __restrict, __s), int __n, | ^~~~~ misc.c: In function 'xgets': misc.c:29:9: warning: old-style function definition [-Wold-style-definition] 29 | char *xgets(ptr, len, fp) | ^~~~~ misc.c:37:21: error: too many arguments to function 'fgets'; expected 0, have 3 37 | while (len>1 && fgets(ptr, len, fp)) { | ^~~~~ ~~~ misc.c:21:14: note: declared here 21 | extern char *fgets(); | ^~~~~ misc.c: In function 'split_at': misc.c:56:9: warning: old-style function definition [-Wold-style-definition] 56 | char *split_at(string, delimiter) | ^~~~~~~~ misc.c: In function 'dot_quad_addr': misc.c:91:15: warning: old-style function definition [-Wold-style-definition] 91 | unsigned long dot_quad_addr(str) | ^~~~~~~~~~~~~ make[1]: *** [Makefile:681: misc.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c tcpd.c tcpd.c: In function 'main': tcpd.c:47:5: warning: old-style function definition [-Wold-style-definition] 47 | int main(argc, argv) | ^~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c fix_options.c fix_options.c: In function 'fix_options': fix_options.c:35:6: warning: old-style function definition [-Wold-style-definition] 35 | void fix_options(request) | ^~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c eval.c eval.c: In function 'eval_user': eval.c:45:9: warning: old-style function definition [-Wold-style-definition] 45 | char *eval_user(request) | ^~~~~~~~~ eval.c: In function 'eval_hostaddr': eval.c:58:9: warning: old-style function definition [-Wold-style-definition] 58 | char *eval_hostaddr(host) | ^~~~~~~~~~~~~ eval.c: In function 'eval_hostname': eval.c:71:9: warning: old-style function definition [-Wold-style-definition] 71 | char *eval_hostname(host) | ^~~~~~~~~~~~~ eval.c: In function 'eval_hostinfo': eval.c:84:9: warning: old-style function definition [-Wold-style-definition] 84 | char *eval_hostinfo(host) | ^~~~~~~~~~~~~ eval.c: In function 'eval_client': eval.c:103:9: warning: old-style function definition [-Wold-style-definition] 103 | char *eval_client(request) | ^~~~~~~~~~~ eval.c: In function 'eval_server': eval.c:123:9: warning: old-style function definition [-Wold-style-definition] 123 | char *eval_server(request) | ^~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c diag.c diag.c: In function 'tcpd_diag': diag.c:32:13: warning: old-style function definition [-Wold-style-definition] 32 | static void tcpd_diag(severity, tag, format, ap) | ^~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c update.c update.c: In function 'request_fill': update.c:34:29: warning: old-style function definition [-Wold-style-definition] 34 | static struct request_info *request_fill(request, ap) | ^~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' gcc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR=\"/usr/sbin\" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" -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-all -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DHAVE_STRERROR -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DAPPEND_DOT -c rfc931.c rfc931.c: In function 'fsocket': rfc931.c:41:14: warning: old-style function definition [-Wold-style-definition] 41 | static FILE *fsocket(domain, type, protocol) | ^~~~~~~ rfc931.c: In function 'timeout': rfc931.c:63:13: warning: old-style function definition [-Wold-style-definition] 63 | static void timeout(sig) | ^~~~~~~ rfc931.c: In function 'rfc931': rfc931.c:71:9: warning: old-style function definition [-Wold-style-definition] 71 | void rfc931(rmt_sin, our_sin, dest) | ^~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/tcp_wrappers-7.6-build/tcp_wrappers_7.6' make: *** [Makefile:152: linux] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ApDyOp (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ApDyOp (%build) I: [iurt_root_command] ERROR: chroot