D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: line 32: It's not recommended to have unversioned Obsoletes: Obsoletes: xinetd-ipv6 warning: line 33: It's not recommended to have unversioned Obsoletes: Obsoletes: xinetd-devel warning: line 34: It's not recommended to have unversioned Obsoletes: Obsoletes: netkit-base Installing /home/pterjan/rpmbuild/SRPMS/xinetd-2.3.15.4-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XorDfP Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.luIgLP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build + rm -rf xinetd-2.3.15.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xinetd-2.3.15.4.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd xinetd-2.3.15.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xinetd-service-sysconfig.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xinetd-2.3.15.4-disable-bin.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + install -m 0644 /home/pterjan/rpmbuild/SOURCES/faq.html FAQ.html + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.P54GOz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-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 xinetd-2.3.15.4 + '[' 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' + autoreconf -fi libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:28: warning: The macro 'AC_PROG_CC_STDC' is obsolete. configure.ac:28: You should run autoupdate. ./lib/autoconf/c.m4:1669: AC_PROG_CC_STDC is expanded from... configure.ac:28: the top level configure.ac:32: warning: The macro 'AC_PROG_LIBTOOL' is obsolete. configure.ac:32: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:32: the top level configure.ac:26: installing './compile' configure.ac:19: installing './missing' Makefile.am: installing './depcomp' + 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 + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-silent-rules checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/param.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.20... yes checking for log10 in -lm... yes checking for getpagesize... yes checking for working mmap... yes checking for sys/filio.h... no checking for poll... yes checking for request_init in -lwrap... yes checking for yp_get_default_domain in -lnsl... yes checking for libselinux... no configure: WARNING: selinux support will not be built in checking for libtirpc... yes checking whether C compiler accepts -fno-strict-overflow... yes checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes checking whether C compiler accepts -fstack-protector-all... yes checking whether the linker accepts -fstack-protector-all... yes checking whether C compiler accepts -Wstack-protector... yes checking whether C compiler accepts --param ssp-buffer-size=1... yes checking whether C compiler accepts -fPIE... yes checking whether the linker accepts -fPIE -pie... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: ============================================================================== Build configuration: debug: no werror: no labeled-networking: no libwrap: auto loadavg: yes rpc: auto HARDEN_CFLAGS: -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE HARDEN_LDFLAGS: -pie -Wl,-z,relro -Wl,-z,now ============================================================================== + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-addr.o `test -f 'src/addr.c' || echo './'`src/addr.c src/addr.c: In function 'addrlist_free': src/addr.c:265:27: error: passing argument 2 of 'pset_apply' from incompatible pointer type [-Wincompatible-pointer-types] 265 | pset_apply( addr_list, free, NULL ) ; | ^~~~ | | | void (*)(void *) In file included from src/addr.h:16, from src/addr.c:29: ./src/pset/pset.h:41:38: note: expected 'void (*)(void)' but argument is of type 'void (*)(void *)' 41 | void pset_apply( pset_h pset, void (*func)(), void *arg ); | ~~~~~~~^~~~~~~ In file included from src/addr.c:18: /usr/include/stdlib.h:687:13: note: 'free' declared here 687 | extern void free (void *__ptr) __THROW; | ^~~~ src/addr.c: In function 'explicit_mask': src/addr.c:425:15: error: too many arguments to function 'op'; expected 0, have 2 425 | return( ( (*op)( addr_list, &ca ) == OK ) ? PARSED : ERROR ) ; | ~^~~~ ~~~~~~~~~ src/addr.c: In function 'net_addr': src/addr.c:480:21: error: too many arguments to function 'op'; expected 0, have 2 480 | return( ( (*op)( addr_list, &ca ) == OK ) ? PARSED : ERROR ) ; | ~^~~~ ~~~~~~~~~ src/addr.c: In function 'numeric_addr': src/addr.c:559:15: error: too many arguments to function 'op'; expected 0, have 2 559 | return( ( (*op)( addr_list, &ca ) == OK ) ? PARSED : ERROR ) ; | ~^~~~ ~~~~~~~~~ src/addr.c: In function 'host_addr': src/addr.c:587:16: error: too many arguments to function 'op'; expected 0, have 2 587 | if ( (*op)( addr_list, &ca ) == FAILED ) | ~^~~~ ~~~~~~~~~ src/addr.c:613:10: error: too many arguments to function 'op'; expected 0, have 2 613 | if ( (*op)( addr_list, &ca ) == FAILED ) | ~^~~~ ~~~~~~~~~ src/addr.c: In function 'factorized_addr': src/addr.c:703:25: error: too many arguments to function 'op'; expected 0, have 2 703 | if ( (*op)( addr_list, &ca ) == FAILED ) | ~^~~~ ~~~~~~~~~ src/addr.c: In function 'addrlist_op': src/addr.c:749:10: error: initialization of 'result_e (*)(void)' from incompatible pointer type 'result_e (*)(const char *, status_e (*)(void), struct __pset *)' [-Wincompatible-pointer-types] 749 | numeric_addr, | ^~~~~~~~~~~~ src/addr.c:749:10: note: (near initialization for 'addr_parser[0]') src/addr.c:489:17: note: 'numeric_addr' declared here 489 | static result_e numeric_addr( const char *str_addr, | ^~~~~~~~~~~~ src/addr.c:750:10: error: initialization of 'result_e (*)(void)' from incompatible pointer type 'result_e (*)(const char *, status_e (*)(void), struct __pset *)' [-Wincompatible-pointer-types] 750 | host_addr, | ^~~~~~~~~ src/addr.c:750:10: note: (near initialization for 'addr_parser[1]') src/addr.c:567:17: note: 'host_addr' declared here 567 | static result_e host_addr( const char *str_addr, status_e (*op)(), pset_h addr_list ) | ^~~~~~~~~ src/addr.c:751:10: error: initialization of 'result_e (*)(void)' from incompatible pointer type 'result_e (*)(const char *, status_e (*)(void), struct __pset *)' [-Wincompatible-pointer-types] 751 | explicit_mask, | ^~~~~~~~~~~~~ src/addr.c:751:10: note: (near initialization for 'addr_parser[2]') src/addr.c:361:17: note: 'explicit_mask' declared here 361 | static result_e explicit_mask( const char *str_addr, statfunc op, | ^~~~~~~~~~~~~ src/addr.c:752:10: error: initialization of 'result_e (*)(void)' from incompatible pointer type 'result_e (*)(const char *, status_e (*)(void), struct __pset *)' [-Wincompatible-pointer-types] 752 | factorized_addr, | ^~~~~~~~~~~~~~~ src/addr.c:752:10: note: (near initialization for 'addr_parser[3]') src/addr.c:629:17: note: 'factorized_addr' declared here 629 | static result_e factorized_addr( const char *str_addr, | ^~~~~~~~~~~~~~~ src/addr.c:753:10: error: initialization of 'result_e (*)(void)' from incompatible pointer type 'result_e (*)(const char *, status_e (*)(void), struct __pset *)' [-Wincompatible-pointer-types] 753 | net_addr, | ^~~~~~~~ src/addr.c:753:10: note: (near initialization for 'addr_parser[4]') src/addr.c:433:17: note: 'net_addr' declared here 433 | static result_e net_addr( const char *str_addr, statfunc op, pset_h addr_list ) | ^~~~~~~~ src/addr.c:765:17: error: too many arguments to function 'addr_parser[i]'; expected 0, have 3 765 | switch ( (*addr_parser[ i ])( str_addr, op, addr_list ) ) | ~^~~~~~~~~~~~~~~~~~ ~~~~~~~~ src/addr.c: In function 'addrlist_add': src/addr.c:782:36: error: passing argument 2 of 'addrlist_op' from incompatible pointer type [-Wincompatible-pointer-types] 782 | return( addrlist_op( addr_list, add, str_addr ) ) ; | ^~~ | | | status_e (*)(struct __pset *, const struct comp_addr *) src/addr.c:743:42: note: expected 'status_e (*)(void)' but argument is of type 'status_e (*)(struct __pset *, const struct comp_addr *)' 743 | status_e (*op)(), | ~~~~~~~~~~~^~~~~ src/addr.c:289:17: note: 'add' declared here 289 | static status_e add( pset_h addr_list, const struct comp_addr *cap ) | ^~~ src/addr.c: In function 'addrlist_remove': src/addr.c:788:36: error: passing argument 2 of 'addrlist_op' from incompatible pointer type [-Wincompatible-pointer-types] 788 | return( addrlist_op( addr_list, xremove, str_addr ) ) ; | ^~~~~~~ | | | status_e (*)(struct __pset *, const struct comp_addr *) src/addr.c:743:42: note: expected 'status_e (*)(void)' but argument is of type 'status_e (*)(struct __pset *, const struct comp_addr *)' 743 | status_e (*op)(), | ~~~~~~~~~~~^~~~~ src/addr.c:320:17: note: 'xremove' declared here 320 | static status_e xremove( pset_h addr_list, const struct comp_addr *cap ) | ^~~~~~~ make[1]: *** [Makefile:1058: src/xinetd-addr.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-includedir.o `test -f 'src/includedir.c' || echo './'`src/includedir.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-int.o `test -f 'src/int.c' || echo './'`src/int.c src/int.c:48:9: error: initialization of 'struct intercept_s * (*)(void)' from incompatible pointer type 'struct intercept_s * (*)(struct server *)' [-Wincompatible-pointer-types] 48 | { di_init, SOCK_DGRAM }, | ^~~~~~~ src/int.c:48:9: note: (near initialization for 'intercept_lookup_table[0].initializer') In file included from src/int.c:24: src/udpint.h:11:21: note: 'di_init' declared here 11 | struct intercept_s *di_init(struct server *serp); | ^~~~~~~ src/int.c:49:9: error: initialization of 'struct intercept_s * (*)(void)' from incompatible pointer type 'struct intercept_s * (*)(struct server *)' [-Wincompatible-pointer-types] 49 | { si_init, SOCK_STREAM }, | ^~~~~~~ src/int.c:49:9: note: (near initialization for 'intercept_lookup_table[1].initializer') In file included from src/int.c:23: src/tcpint.h:11:21: note: 'si_init' declared here 11 | struct intercept_s *si_init(struct server *serp); | ^~~~~~~ src/int.c: In function 'intercept': src/int.c:93:12: error: too many arguments to function 'initializer'; expected 0, have 1 93 | intp = (*initializer)( serp ) ; | ~^~~~~~~~~~~~~ ~~~~ src/int.c: In function 'start_server': src/int.c:175:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 175 | int_fail( ip, "fork" ) ; | ^~~~~~~~~~~~~~~~~~~~~~ src/int.c:178:7: note: here 178 | case 0: | ^~~~ make[1]: *** [Makefile:1212: src/xinetd-int.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-env.o `test -f 'src/env.c' || echo './'`src/env.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-child.o `test -f 'src/child.c' || echo './'`src/child.c In file included from src/sconf.h:31, from src/child.c:35: src/child.c: In function 'child_process': src/builtins.h:33:41: error: too many arguments to function '(void (*)(void))sp->svc_conf->sc_builtin->b_handler'; expected 0, have 1 33 | #define BUILTIN_INVOKE( bp, serp ) (*(bp)->b_handler)( serp ) | ~^~~~~~~~~~~~~~~~~ src/sconf.h:292:35: note: in expansion of macro 'BUILTIN_INVOKE' 292 | #define SC_INTERNAL( scp, serp ) BUILTIN_INVOKE( (scp)->sc_builtin, serp ) | ^~~~~~~~~~~~~~ src/service.h:145:38: note: in expansion of macro 'SC_INTERNAL' 145 | #define SVC_INTERNAL( sp, serp ) SC_INTERNAL( SVC_CONF( sp ), serp ) | ^~~~~~~~~~~ src/child.c:414:7: note: in expansion of macro 'SVC_INTERNAL' 414 | SVC_INTERNAL( sp, serp ) ; | ^~~~~~~~~~~~ src/child.c:326:17: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 326 | (void) nice( SC_NICE( scp ) ) ; | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:1142: src/xinetd-child.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-builtins.o `test -f 'src/builtins.c' || echo './'`src/builtins.c src/builtins.c:69:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 69 | { "echo", SOCK_STREAM, { stream_echo, FORK } }, | ^~~~~~~~~~~ src/builtins.c:69:39: note: (near initialization for 'builtin_services[0].bs_handle.b_handler') src/builtins.c:42:13: note: 'stream_echo' declared here 42 | static void stream_echo(const struct server *) ; | ^~~~~~~~~~~ src/builtins.c:70:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 70 | { "echo", SOCK_DGRAM, { dgram_echo, NO_FORK } }, | ^~~~~~~~~~ src/builtins.c:70:39: note: (near initialization for 'builtin_services[1].bs_handle.b_handler') src/builtins.c:43:13: note: 'dgram_echo' declared here 43 | static void dgram_echo(const struct server *) ; | ^~~~~~~~~~ src/builtins.c:71:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 71 | { "discard", SOCK_STREAM, { stream_discard, FORK } }, | ^~~~~~~~~~~~~~ src/builtins.c:71:39: note: (near initialization for 'builtin_services[2].bs_handle.b_handler') src/builtins.c:44:13: note: 'stream_discard' declared here 44 | static void stream_discard(const struct server *) ; | ^~~~~~~~~~~~~~ src/builtins.c:72:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 72 | { "discard", SOCK_DGRAM, { dgram_discard, NO_FORK } }, | ^~~~~~~~~~~~~ src/builtins.c:72:39: note: (near initialization for 'builtin_services[3].bs_handle.b_handler') src/builtins.c:45:13: note: 'dgram_discard' declared here 45 | static void dgram_discard(const struct server *) ; | ^~~~~~~~~~~~~ src/builtins.c:73:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 73 | { "time", SOCK_STREAM, { stream_time, NO_FORK } }, | ^~~~~~~~~~~ src/builtins.c:73:39: note: (near initialization for 'builtin_services[4].bs_handle.b_handler') src/builtins.c:46:13: note: 'stream_time' declared here 46 | static void stream_time(const struct server *) ; | ^~~~~~~~~~~ src/builtins.c:74:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 74 | { "time", SOCK_DGRAM, { dgram_time, NO_FORK } }, | ^~~~~~~~~~ src/builtins.c:74:39: note: (near initialization for 'builtin_services[5].bs_handle.b_handler') src/builtins.c:47:13: note: 'dgram_time' declared here 47 | static void dgram_time(const struct server *) ; | ^~~~~~~~~~ src/builtins.c:75:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 75 | { "daytime", SOCK_STREAM, { stream_daytime, NO_FORK } }, | ^~~~~~~~~~~~~~ src/builtins.c:75:39: note: (near initialization for 'builtin_services[6].bs_handle.b_handler') src/builtins.c:48:13: note: 'stream_daytime' declared here 48 | static void stream_daytime(const struct server *) ; | ^~~~~~~~~~~~~~ src/builtins.c:76:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 76 | { "daytime", SOCK_DGRAM, { dgram_daytime, NO_FORK } }, | ^~~~~~~~~~~~~ src/builtins.c:76:39: note: (near initialization for 'builtin_services[7].bs_handle.b_handler') src/builtins.c:49:13: note: 'dgram_daytime' declared here 49 | static void dgram_daytime(const struct server *) ; | ^~~~~~~~~~~~~ src/builtins.c:77:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 77 | { "chargen", SOCK_STREAM, { stream_chargen, FORK } }, | ^~~~~~~~~~~~~~ src/builtins.c:77:39: note: (near initialization for 'builtin_services[8].bs_handle.b_handler') src/builtins.c:50:13: note: 'stream_chargen' declared here 50 | static void stream_chargen(const struct server *) ; | ^~~~~~~~~~~~~~ src/builtins.c:78:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 78 | { "chargen", SOCK_DGRAM, { dgram_chargen, NO_FORK } }, | ^~~~~~~~~~~~~ src/builtins.c:78:39: note: (near initialization for 'builtin_services[9].bs_handle.b_handler') src/builtins.c:51:13: note: 'dgram_chargen' declared here 51 | static void dgram_chargen(const struct server *) ; | ^~~~~~~~~~~~~ src/builtins.c:79:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 79 | { "sensor", SOCK_STREAM, { stream_discard, NO_FORK } }, | ^~~~~~~~~~~~~~ src/builtins.c:79:39: note: (near initialization for 'builtin_services[10].bs_handle.b_handler') src/builtins.c:44:13: note: 'stream_discard' declared here 44 | static void stream_discard(const struct server *) ; | ^~~~~~~~~~~~~~ src/builtins.c:80:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 80 | { "sensor", SOCK_DGRAM, { dgram_discard, NO_FORK } }, | ^~~~~~~~~~~~~ src/builtins.c:80:39: note: (near initialization for 'builtin_services[11].bs_handle.b_handler') src/builtins.c:45:13: note: 'dgram_discard' declared here 45 | static void dgram_discard(const struct server *) ; | ^~~~~~~~~~~~~ src/builtins.c:81:39: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(const struct server *)' [-Wincompatible-pointer-types] 81 | { "tcpmux", SOCK_STREAM, { tcpmux_handler, FORK } }, | ^~~~~~~~~~~~~~ src/builtins.c:81:39: note: (near initialization for 'builtin_services[12].bs_handle.b_handler') src/builtins.c:52:13: note: 'tcpmux_handler' declared here 52 | static void tcpmux_handler(const struct server *) ; | ^~~~~~~~~~~~~~ In file included from src/builtins.c:24: src/builtins.c: In function 'tcpmux_handler': src/builtins.h:33:41: error: too many arguments to function '(void (*)(void))scp->sc_builtin->b_handler'; expected 0, have 1 33 | #define BUILTIN_INVOKE( bp, serp ) (*(bp)->b_handler)( serp ) | ~^~~~~~~~~~~~~~~~~ src/sconf.h:292:35: note: in expansion of macro 'BUILTIN_INVOKE' 292 | #define SC_INTERNAL( scp, serp ) BUILTIN_INVOKE( (scp)->sc_builtin, serp ) | ^~~~~~~~~~~~~~ src/builtins.c:607:7: note: in expansion of macro 'SC_INTERNAL' 607 | SC_INTERNAL(scp, nserp); | ^~~~~~~~~~~ make[1]: *** [Makefile:1072: src/xinetd-builtins.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-conf.o `test -f 'src/conf.c' || echo './'`src/conf.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-connection.o `test -f 'src/connection.c' || echo './'`src/connection.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-intcommon.o `test -f 'src/intcommon.c' || echo './'`src/intcommon.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-init.o `test -f 'src/init.c' || echo './'`src/init.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-ident.o `test -f 'src/ident.c' || echo './'`src/ident.c src/ident.c: In function 'sigalrm_handler': src/ident.c:52:33: warning: unused parameter 'signum' [-Wunused-parameter] 52 | static void sigalrm_handler(int signum) | ~~~~^~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -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 -Wall -Wextra -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -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 -Wall -Wextra -c -o src/xgetloadavg.lo src/xgetloadavg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -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 -Wall -Wextra -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -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 -Wall -Wextra -c src/xgetloadavg.c -fPIC -DPIC -o src/.libs/xgetloadavg.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -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 -Wall -Wextra -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -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 -Wall -Wextra -c src/xgetloadavg.c -fPIE -o src/xgetloadavg.o >/dev/null 2>&1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-access.o `test -f 'src/access.c' || echo './'`src/access.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-inet.o `test -f 'src/inet.c' || echo './'`src/inet.c src/inet.c: In function 'get_next_inet_entry': src/inet.c:162:14: warning: pointer 'rpcvers' may be used after 'free' [-Wuse-after-free] 162 | if( parse_base10(rpcvers, &rpcmin) ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/inet.c:112:4: note: call to 'free' here 112 | free( name ); | ^~~~~~~~~~~~ src/inet.c:155:16: warning: pointer 'rpcvers' may be used after 'free' [-Wuse-after-free] 155 | if( p && parse_int(rpcvers, 10, '-', &rpcmin) == 0 ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/inet.c:112:4: note: call to 'free' here 112 | free( name ); | ^~~~~~~~~~~~ src/inet.c:154:11: warning: pointer 'rpcvers' may be used after 'free' [-Wuse-after-free] 154 | p = strchr(rpcvers, '-'); | ^~~~~~~~~~~~~~~~~~~~ src/inet.c:112:4: note: call to 'free' here 112 | free( name ); | ^~~~~~~~~~~~ src/inet.c: In function 'parse_inet_conf_file': src/inet.c:132:63: warning: '%s' directive argument is null [-Wformat-overflow=] 132 | parsemsg( LOG_ERR, func, "inetd.conf - Bad socket type: %s", p); | ^~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-internals.o `test -f 'src/internals.c' || echo './'`src/internals.c src/internals.c: In function 'dump_internal_state': src/internals.c:114:38: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 114 | listed_fds = (int *)calloc(sizeof(int),ps.ros.max_descriptors); | ^~~ src/internals.c:114:38: note: earlier argument should specify number of elements, later size of each element src/internals.c: In function 'consistency_check': src/internals.c:215:49: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 215 | struct pollfd *pfd_array_copy = calloc(sizeof(struct pollfd), ps.rws.pfds_last); | ^~~~~~ src/internals.c:215:49: note: earlier argument should specify number of elements, later size of each element make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' gcc -DHAVE_CONFIG_H -I. -I./src -I./src/misc -I./src/portable -I./src/pset -I./src/sio -I./src/str -I./src/xlog -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -I/usr/include/tirpc -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 -Wall -Wextra -c -o src/xinetd-confparse.o `test -f 'src/confparse.c' || echo './'`src/confparse.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xinetd-2.3.15.4-build/xinetd-2.3.15.4' make: *** [Makefile:660: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.P54GOz (%build) RPM build warnings: line 32: It's not recommended to have unversioned Obsoletes: Obsoletes: xinetd-ipv6 line 33: It's not recommended to have unversioned Obsoletes: Obsoletes: xinetd-devel line 34: It's not recommended to have unversioned Obsoletes: Obsoletes: netkit-base RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.P54GOz (%build) I: [iurt_root_command] ERROR: chroot