D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/tcp_wrappers-7.6-56.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YO69lv sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PZGkIL + 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 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.k0IFlg + 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 -j48 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 inetcf.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[1]: *** [Makefile:681: inetcf.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 fakelog.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[1]: *** [Makefile:681: fakelog.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 try-from.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[1]: *** [Makefile:681: try-from.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 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 myvsyslog.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 percent_m.c percent_m.c: In function 'percent_m': percent_m.c:23:9: warning: old-style function definition [-Wold-style-definition] 23 | char *percent_m(obuf, ibuf) | ^~~~~~~~~ percent_m.c:26:1: error: number of arguments doesn't match prototype 26 | { | ^ In file included from percent_m.c:21: mystdarg.h:19:14: error: prototype declaration 19 | extern char *percent_m(); | ^~~~~~~~~ make[1]: *** [Makefile:681: percent_m.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 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]: 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 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 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 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 scaffold.c scaffold.c: In function 'find_inet_addr': scaffold.c:85:18: warning: old-style function definition [-Wold-style-definition] 85 | struct addrinfo *find_inet_addr(host) | ^~~~~~~~~~~~~~ scaffold.c:87:1: error: number of arguments doesn't match prototype 87 | { | ^ In file included from scaffold.c:36: scaffold.h:8:25: error: prototype declaration 8 | extern struct addrinfo *find_inet_addr(); | ^~~~~~~~~~~~~~ scaffold.c: In function 'check_dns': scaffold.c:166:9: warning: old-style function definition [-Wold-style-definition] 166 | int check_dns(host) | ^~~~~~~~~ scaffold.c:168:1: error: number of arguments doesn't match prototype 168 | { | ^ scaffold.h:12:12: error: prototype declaration 12 | extern int check_dns(); | ^~~~~~~~~ scaffold.c:180:15: error: too many arguments to function 'find_inet_addr'; expected 0, have 1 180 | if ((hp = find_inet_addr(host)) == 0) | ^~~~~~~~~~~~~~ ~~~~ scaffold.c:85:18: note: declared here 85 | struct addrinfo *find_inet_addr(host) | ^~~~~~~~~~~~~~ scaffold.c: In function 'shell_cmd': scaffold.c:220:9: warning: old-style function definition [-Wold-style-definition] 220 | void shell_cmd(command) | ^~~~~~~~~ scaffold.c: In function 'clean_exit': scaffold.c:231:9: warning: old-style function definition [-Wold-style-definition] 231 | void clean_exit(request) | ^~~~~~~~~~ scaffold.c: In function 'rfc931': scaffold.c:241:9: warning: old-style function definition [-Wold-style-definition] 241 | void rfc931(rmt_sin, our_sin, dest) | ^~~~~~ scaffold.c: In function 'check_path': scaffold.c:256:9: warning: old-style function definition [-Wold-style-definition] 256 | int check_path(path, st) | ^~~~~~~~~~ scaffold.c:259:1: error: number of arguments doesn't match prototype 259 | { | ^ scaffold.h:13:12: error: prototype declaration 13 | extern int check_path(); | ^~~~~~~~~~ scaffold.c:275:16: error: too many arguments to function 'check_path'; expected 0, have 2 275 | (void) check_path(buf[0] ? buf : "/", &stbuf); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ scaffold.c:256:9: note: declared here 256 | int check_path(path, st) | ^~~~~~~~~~ make[1]: *** [Makefile:681: scaffold.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 tcpdmatch.c tcpdmatch.c:34:13: warning: conflicting types for built-in function 'exit'; expected 'void(int)' [-Wbuiltin-declaration-mismatch] 34 | extern void exit(); | ^~~~ tcpdmatch.c:33:1: note: 'exit' is declared in header '' 32 | #include +++ |+#include 33 | tcpdmatch.c: In function 'main': tcpdmatch.c:57:9: warning: old-style function definition [-Wold-style-definition] 57 | int main(argc, argv) | ^~~~ tcpdmatch.c:103:13: error: too many arguments to function 'usage'; expected 0, have 1 103 | usage(myname); | ^~~~~ ~~~~~~ tcpdmatch.c:52:13: note: declared here 52 | static void usage(); | ^~~~~ tcpdmatch.c:108:9: error: too many arguments to function 'usage'; expected 0, have 1 108 | usage(myname); | ^~~~~ ~~~~~~ tcpdmatch.c:52:13: note: declared here 52 | static void usage(); | ^~~~~ tcpdmatch.c:113:9: error: too many arguments to function 'check_path'; expected 0, have 2 113 | if (check_path(REAL_DAEMON_DIR, &st) < 0) { | ^~~~~~~~~~ In file included from tcpdmatch.c:50: scaffold.h:13:12: note: declared here 13 | extern int check_path(); | ^~~~~~~~~~ tcpdmatch.c:150:14: error: too many arguments to function 'inet_cfg'; expected 0, have 1 150 | inetcf = inet_cfg(inetcf); | ^~~~~~~~ ~~~~~~ In file included from tcpdmatch.c:49: inetcf.h:7:14: note: declared here 7 | extern char *inet_cfg(); /* read inetd.conf file */ | ^~~~~~~~ tcpdmatch.c:151:5: error: too many arguments to function 'inet_set'; expected 0, have 2 151 | inet_set("portmap", WR_NOT); | ^~~~~~~~ ~~~~~~~~~ inetcf.h:8:13: note: declared here 8 | extern void inet_set(); /* remember internet service */ | ^~~~~~~~ tcpdmatch.c:152:5: error: too many arguments to function 'inet_set'; expected 0, have 2 152 | inet_set("rpcbind", WR_NOT); | ^~~~~~~~ ~~~~~~~~~ inetcf.h:8:13: note: declared here 8 | extern void inet_set(); /* remember internet service */ | ^~~~~~~~ tcpdmatch.c:153:13: error: too many arguments to function 'inet_get'; expected 0, have 1 153 | switch (inet_get(daemon)) { | ^~~~~~~~ ~~~~~~ inetcf.h:9:12: note: declared here 9 | extern int inet_get(); /* look up internet service */ | ^~~~~~~~ tcpdmatch.c:165:12: error: too many arguments to function 'check_path'; expected 0, have 2 165 | (void) check_path(hosts_allow_table, &st); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ scaffold.h:13:12: note: declared here 13 | extern int check_path(); | ^~~~~~~~~~ tcpdmatch.c:166:12: error: too many arguments to function 'check_path'; expected 0, have 2 166 | (void) check_path(hosts_deny_table, &st); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ scaffold.h:13:12: note: declared here 13 | extern int check_path(); | ^~~~~~~~~~ tcpdmatch.c:183:19: error: too many arguments to function 'find_inet_addr'; expected 0, have 1 183 | if ((hp = find_inet_addr(server)) == 0) | ^~~~~~~~~~~~~~ ~~~~~~ scaffold.h:8:25: note: declared here 8 | extern struct addrinfo *find_inet_addr(); | ^~~~~~~~~~~~~~ tcpdmatch.c:184:13: error: too many arguments to function 'exit'; expected 0, have 1 184 | exit(1); | ^~~~ ~ tcpdmatch.c:34:13: note: declared here 34 | extern void exit(); | ^~~~ tcpdmatch.c:212:13: error: too many arguments to function 'exit'; expected 0, have 1 212 | exit(1); | ^~~~ ~ tcpdmatch.c:34:13: note: declared here 34 | extern void exit(); | ^~~~ tcpdmatch.c:229:9: error: too many arguments to function 'tcpdmatch'; expected 0, have 1 229 | tcpdmatch(&request); | ^~~~~~~~~ ~~~~~~~~ tcpdmatch.c:53:13: note: declared here 53 | static void tcpdmatch(); | ^~~~~~~~~ tcpdmatch.c:230:9: error: too many arguments to function 'exit'; expected 0, have 1 230 | exit(0); | ^~~~ ~ tcpdmatch.c:34:13: note: declared here 34 | extern void exit(); | ^~~~ tcpdmatch.c:240:9: error: too many arguments to function 'tcpdmatch'; expected 0, have 1 240 | tcpdmatch(&request); | ^~~~~~~~~ ~~~~~~~~ tcpdmatch.c:53:13: note: declared here 53 | static void tcpdmatch(); | ^~~~~~~~~ tcpdmatch.c:241:9: error: too many arguments to function 'exit'; expected 0, have 1 241 | exit(0); | ^~~~ ~ tcpdmatch.c:34:13: note: declared here 34 | extern void exit(); | ^~~~ tcpdmatch.c:251:9: error: too many arguments to function 'tcpdmatch'; expected 0, have 1 251 | tcpdmatch(&request); | ^~~~~~~~~ ~~~~~~~~ tcpdmatch.c:53:13: note: declared here 53 | static void tcpdmatch(); | ^~~~~~~~~ tcpdmatch.c:252:9: error: too many arguments to function 'exit'; expected 0, have 1 252 | exit(0); | ^~~~ ~ tcpdmatch.c:34:13: note: declared here 34 | extern void exit(); | ^~~~ tcpdmatch.c:263:15: error: too many arguments to function 'find_inet_addr'; expected 0, have 1 263 | if ((hp = find_inet_addr(client)) == 0) | ^~~~~~~~~~~~~~ ~~~~~~ scaffold.h:8:25: note: declared here 8 | extern struct addrinfo *find_inet_addr(); | ^~~~~~~~~~~~~~ tcpdmatch.c:264:9: error: too many arguments to function 'exit'; expected 0, have 1 264 | exit(1); | ^~~~ ~ tcpdmatch.c:34:13: note: declared here 34 | extern void exit(); | ^~~~ tcpdmatch.c:287:9: error: too many arguments to function 'tcpdmatch'; expected 0, have 1 287 | tcpdmatch(&request); | ^~~~~~~~~ ~~~~~~~~ tcpdmatch.c:53:13: note: declared here 53 | static void tcpdmatch(); | ^~~~~~~~~ tcpdmatch.c:315:5: error: too many arguments to function 'exit'; expected 0, have 1 315 | exit(0); | ^~~~ ~ tcpdmatch.c:34:13: note: declared here 34 | extern void exit(); | ^~~~ tcpdmatch.c: In function 'usage': tcpdmatch.c:320:13: warning: old-style function definition [-Wold-style-definition] 320 | static void usage(myname) | ^~~~~ tcpdmatch.c:327:5: error: too many arguments to function 'exit'; expected 0, have 1 327 | exit(1); | ^~~~ ~ tcpdmatch.c:34:13: note: declared here 34 | extern void exit(); | ^~~~ tcpdmatch.c: In function 'expand': tcpdmatch.c:332:13: warning: old-style function definition [-Wold-style-definition] 332 | static void expand(text, pattern, request) | ^~~~~~ tcpdmatch.c: In function 'tcpdmatch': tcpdmatch.c:345:13: warning: old-style function definition [-Wold-style-definition] 345 | static void tcpdmatch(request) | ^~~~~~~~~ make[1]: *** [Makefile:681: tcpdmatch.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 tcpdchk.c tcpdchk.c:40:13: error: conflicting types for 'exit'; have 'void(void)' 40 | extern void exit(); | ^~~~ In file included from tcpdchk.c:31: /usr/include/stdlib.h:756:13: note: previous declaration of 'exit' with type 'void(int)' 756 | extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); | ^~~~ tcpdchk.c: In function 'main': tcpdchk.c:97:9: warning: old-style function definition [-Wold-style-definition] 97 | int main(argc, argv) | ^~~~ tcpdchk.c:136:9: error: too many arguments to function 'check_path'; expected 0, have 2 136 | if (check_path(REAL_DAEMON_DIR, &st) < 0) { | ^~~~~~~~~~ In file included from tcpdchk.c:56: scaffold.h:13:12: note: declared here 13 | extern int check_path(); | ^~~~~~~~~~ tcpdchk.c:147:14: error: too many arguments to function 'inet_cfg'; expected 0, have 1 147 | inetcf = inet_cfg(inetcf); | ^~~~~~~~ ~~~~~~ In file included from tcpdchk.c:55: inetcf.h:7:14: note: declared here 7 | extern char *inet_cfg(); /* read inetd.conf file */ | ^~~~~~~~ tcpdchk.c:154:5: error: too many arguments to function 'inet_set'; expected 0, have 2 154 | inet_set("portmap", WR_NOT); | ^~~~~~~~ ~~~~~~~~~ inetcf.h:8:13: note: declared here 8 | extern void inet_set(); /* remember internet service */ | ^~~~~~~~ tcpdchk.c:155:5: error: too many arguments to function 'inet_set'; expected 0, have 2 155 | inet_set("rpcbind", WR_NOT); | ^~~~~~~~ ~~~~~~~~~ inetcf.h:8:13: note: declared here 8 | extern void inet_set(); /* remember internet service */ | ^~~~~~~~ tcpdchk.c:160:12: error: too many arguments to function 'check_path'; expected 0, have 2 160 | (void) check_path(hosts_allow_table, &st); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~ scaffold.h:13:12: note: declared here 13 | extern int check_path(); | ^~~~~~~~~~ tcpdchk.c:161:12: error: too many arguments to function 'check_path'; expected 0, have 2 161 | (void) check_path(hosts_deny_table, &st); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ scaffold.h:13:12: note: declared here 13 | extern int check_path(); | ^~~~~~~~~~ tcpdchk.c:180:5: error: too many arguments to function 'parse_table'; expected 0, have 2 180 | parse_table(hosts_allow_table, &request); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ tcpdchk.c:77:13: note: declared here 77 | static void parse_table(); | ^~~~~~~~~~~ tcpdchk.c:182:5: error: too many arguments to function 'parse_table'; expected 0, have 2 182 | parse_table(hosts_deny_table, &request); | ^~~~~~~~~~~ ~~~~~~~~~~~~~~~~ tcpdchk.c:77:13: note: declared here 77 | static void parse_table(); | ^~~~~~~~~~~ tcpdchk.c: In function 'usage': tcpdchk.c:195:5: error: too many arguments to function 'exit'; expected 0, have 1 195 | exit(1); | ^~~~ ~ tcpdchk.c:40:13: note: declared here 40 | extern void exit(); | ^~~~ tcpdchk.c: In function 'parse_table': tcpdchk.c:200:13: warning: old-style function definition [-Wold-style-definition] 200 | static void parse_table(table, request) | ^~~~~~~~~~~ tcpdchk.c:236:17: error: too many arguments to function 'print_list'; expected 0, have 2 236 | print_list("daemons: ", sv_list); | ^~~~~~~~~~ ~~~~~~~~~~~~ tcpdchk.c:78:13: note: declared here 78 | static void print_list(); | ^~~~~~~~~~ tcpdchk.c:237:13: error: too many arguments to function 'check_daemon_list'; expected 0, have 1 237 | check_daemon_list(sv_list); | ^~~~~~~~~~~~~~~~~ ~~~~~~~ tcpdchk.c:79:13: note: declared here 79 | static void check_daemon_list(); | ^~~~~~~~~~~~~~~~~ tcpdchk.c:240:17: error: too many arguments to function 'print_list'; expected 0, have 2 240 | print_list("clients: ", cl_list); | ^~~~~~~~~~ ~~~~~~~~~~~~ tcpdchk.c:78:13: note: declared here 78 | static void print_list(); | ^~~~~~~~~~ tcpdchk.c:241:13: error: too many arguments to function 'check_client_list'; expected 0, have 1 241 | check_client_list(cl_list); | ^~~~~~~~~~~~~~~~~ ~~~~~~~ tcpdchk.c:80:13: note: declared here 80 | static void check_client_list(); | ^~~~~~~~~~~~~~~~~ tcpdchk.c: In function 'print_list': tcpdchk.c:276:13: warning: old-style function definition [-Wold-style-definition] 276 | static void print_list(title, list) | ^~~~~~~~~~ tcpdchk.c: In function 'check_daemon_list': tcpdchk.c:298:13: warning: old-style function definition [-Wold-style-definition] 298 | static void check_daemon_list(list) | ^~~~~~~~~~~~~~~~~ tcpdchk.c:313:56: error: too many arguments to function 'check_host'; expected 0, have 1 313 | if ((host = split_at(cp + 1, '@')) != 0 && check_host(host) > 1) { | ^~~~~~~~~~ ~~~~ tcpdchk.c:83:12: note: declared here 83 | static int check_host(); | ^~~~~~~~~~ tcpdchk.c:317:13: error: too many arguments to function 'check_daemon'; expected 0, have 1 317 | check_daemon(cp); | ^~~~~~~~~~~~ ~~ tcpdchk.c:81:13: note: declared here 81 | static void check_daemon(); | ^~~~~~~~~~~~ tcpdchk.c: In function 'check_client_list': tcpdchk.c:326:13: warning: old-style function definition [-Wold-style-definition] 326 | static void check_client_list(list) | ^~~~~~~~~~~~~~~~~ tcpdchk.c:342:17: error: too many arguments to function 'check_user'; expected 0, have 1 342 | check_user(cp); | ^~~~~~~~~~ ~~ tcpdchk.c:82:13: note: declared here 82 | static void check_user(); | ^~~~~~~~~~ tcpdchk.c:343:17: error: too many arguments to function 'check_host'; expected 0, have 1 343 | check_host(host); | ^~~~~~~~~~ ~~~~ tcpdchk.c:83:12: note: declared here 83 | static int check_host(); | ^~~~~~~~~~ tcpdchk.c:345:17: error: too many arguments to function 'check_host'; expected 0, have 1 345 | check_host(cp); | ^~~~~~~~~~ ~~ tcpdchk.c:83:12: note: declared here 83 | static int check_host(); | ^~~~~~~~~~ tcpdchk.c: In function 'check_daemon': tcpdchk.c:355:13: warning: old-style function definition [-Wold-style-definition] 355 | static void check_daemon(pat) | ^~~~~~~~~~~~ tcpdchk.c:369:16: error: too many arguments to function 'reserved_name'; expected 0, have 1 369 | } else if (reserved_name(pat)) { | ^~~~~~~~~~~~~ ~~~ tcpdchk.c:84:12: note: declared here 84 | static int reserved_name(); | ^~~~~~~~~~~~~ tcpdchk.c:372:17: error: too many arguments to function 'inet_get'; expected 0, have 1 372 | switch (inet_get(pat)) { | ^~~~~~~~ ~~~ inetcf.h:9:12: note: declared here 9 | extern int inet_get(); /* look up internet service */ | ^~~~~~~~ tcpdchk.c:375:13: error: too many arguments to function 'inet_set'; expected 0, have 2 375 | inet_set(pat, WR_YES); /* shut up next time */ | ^~~~~~~~ ~~~ inetcf.h:8:13: note: declared here 8 | extern void inet_set(); /* remember internet service */ | ^~~~~~~~ tcpdchk.c:379:13: error: too many arguments to function 'inet_set'; expected 0, have 2 379 | inet_set(pat, WR_YES); | ^~~~~~~~ ~~~ inetcf.h:8:13: note: declared here 8 | extern void inet_set(); /* remember internet service */ | ^~~~~~~~ tcpdchk.c: In function 'check_user': tcpdchk.c:387:13: warning: old-style function definition [-Wold-style-definition] 387 | static void check_user(pat) | ^~~~~~~~~~ tcpdchk.c:402:16: error: too many arguments to function 'reserved_name'; expected 0, have 1 402 | } else if (reserved_name(pat)) { | ^~~~~~~~~~~~~ ~~~ tcpdchk.c:84:12: note: declared here 84 | static int reserved_name(); | ^~~~~~~~~~~~~ tcpdchk.c: In function 'is_inet6_addr': tcpdchk.c:408:12: warning: old-style function definition [-Wold-style-definition] 408 | static int is_inet6_addr(pat) | ^~~~~~~~~~~~~ tcpdchk.c: In function 'check_host': tcpdchk.c:434:12: warning: old-style function definition [-Wold-style-definition] 434 | static int check_host(pat) | ^~~~~~~~~~ tcpdchk.c:473:16: error: too many arguments to function 'reserved_name'; expected 0, have 1 473 | } else if (reserved_name(pat)) { /* other reserved */ | ^~~~~~~~~~~~~ ~~~ tcpdchk.c:84:12: note: declared here 84 | static int reserved_name(); | ^~~~~~~~~~~~~ tcpdchk.c:483:26: error: too many arguments to function 'check_dns'; expected 0, have 1 483 | addr_count = check_dns(pat); | ^~~~~~~~~ ~~~ scaffold.h:12:12: note: declared here 12 | extern int check_dns(); | ^~~~~~~~~ tcpdchk.c:491:13: error: too many arguments to function 'check_dns'; expected 0, have 1 491 | check_dns(pat); | ^~~~~~~~~ ~~~ scaffold.h:12:12: note: declared here 12 | extern int check_dns(); | ^~~~~~~~~ tcpdchk.c: In function 'reserved_name': tcpdchk.c:499:12: warning: old-style function definition [-Wold-style-definition] 499 | static int reserved_name(pat) | ^~~~~~~~~~~~~ make[1]: *** [Makefile:681: tcpdchk.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 safe_finger.c safe_finger.c:35:13: error: conflicting types for 'exit'; have 'void(void)' 35 | extern void exit(); | ^~~~ In file included from safe_finger.c:29: /usr/include/stdlib.h:756:13: note: previous declaration of 'exit' with type 'void(int)' 756 | extern void exit (int __status) __THROW __attribute__ ((__noreturn__)); | ^~~~ safe_finger.c: In function 'cleanup': safe_finger.c:51:9: warning: old-style function definition [-Wold-style-definition] 51 | void cleanup(sig) | ^~~~~~~ safe_finger.c:55:5: error: too many arguments to function 'exit'; expected 0, have 1 55 | exit(0); | ^~~~ ~ safe_finger.c:35:13: note: declared here 35 | extern void exit(); | ^~~~ safe_finger.c: In function 'main': safe_finger.c:58:5: warning: old-style function definition [-Wold-style-definition] 58 | int main(argc, argv) | ^~~~ safe_finger.c:87:9: error: too many arguments to function 'exit'; expected 0, have 1 87 | exit(1); | ^~~~ ~ safe_finger.c:35:13: note: declared here 35 | extern void exit(); | ^~~~ safe_finger.c: In function 'perror_exit': safe_finger.c:144:9: warning: old-style function definition [-Wold-style-definition] 144 | void perror_exit(text) | ^~~~~~~~~~~ safe_finger.c:148:5: error: too many arguments to function 'exit'; expected 0, have 1 148 | exit(1); | ^~~~ ~ safe_finger.c:35:13: note: declared here 35 | extern void exit(); | ^~~~ safe_finger.c: In function 'pipe_stdin': safe_finger.c:153:9: warning: old-style function definition [-Wold-style-definition] 153 | int pipe_stdin(argv) | ^~~~~~~~~~ safe_finger.c: In function 'main': safe_finger.c:74:13: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 74 | setgid(pwd->pw_gid); | ^~~~~~~~~~~~~~~~~~~ safe_finger.c:75:13: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | setuid(pwd->pw_uid); | ^~~~~~~~~~~~~~~~~~~ safe_finger.c:77:13: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 77 | setgid(UNPRIV_UGID); | ^~~~~~~~~~~~~~~~~~~ safe_finger.c:78:13: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 78 | setuid(UNPRIV_UGID); | ^~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:681: safe_finger.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 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 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 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 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 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 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.k0IFlg (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.k0IFlg (%build) I: [iurt_root_command] ERROR: chroot