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/netperf-2.7.0-8.20210803git3bc455b.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ft6AWv sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E15iCE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build + rm -rf netperf-master + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/master.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd netperf-master + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/compile.mga.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/63.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netperf-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/netperf-fix-build-with-gcc14.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm doc/netperf.html doc/netperf.pdf + 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.6CNSEw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/netperf-2.7.0-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-strong -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-strong -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-strong -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-strong -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 netperf-master + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi -Im4/m4 autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4/m4 --force m4/m4/salen.m4:19: warning: underquoted definition of AC_CHECK_SA_LEN m4/m4/salen.m4:19: run info Automake 'Extending aclocal' m4/m4/salen.m4:19: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --include=m4/m4 --force configure.ac:19: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:19: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:707: AM_CONFIG_HEADER is expanded from... configure.ac:19: the top level configure.ac:34: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:34: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:34: the top level configure.ac:37: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:37: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:37: the top level configure.ac:44: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:44: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:44: the top level configure.ac:46: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:46: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:46: the top level configure.ac:47: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:47: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:47: the top level configure.ac:52: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:52: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:52: the top level configure.ac:58: warning: The macro 'AC_GNU_SOURCE' is obsolete. configure.ac:58: You should run autoupdate. ./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from... configure.ac:58: the top level configure.ac:58: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from... configure.ac:58: the top level configure.ac:58: warning: AC_LINK_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS ./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from... configure.ac:58: the top level configure.ac:58: warning: AC_CHECK_INCLUDES_DEFAULT was called before AC_USE_SYSTEM_EXTENSIONS ./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from... configure.ac:58: the top level configure.ac:61: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:61: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:45: OLD_TYPE_SOCKLEN_T is expanded from... configure.ac:61: the top level configure.ac:66: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:66: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:66: the top level configure.ac:68: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:68: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... m4/m4/salen.m4:19: AC_CHECK_SA_LEN is expanded from... configure.ac:68: the top level configure.ac:77: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.ac:77: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.ac:77: the top level configure.ac:480: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:480: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:480: the top level configure.ac:639: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:639: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:639: the top level configure.ac:653: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:653: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:653: the top level configure.ac:658: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:658: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:658: the top level configure.ac:690: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:690: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:690: the top level configure.ac:697: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:697: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:697: the top level configure.ac:704: warning: The macro 'AC_HAVE_LIBRARY' is obsolete. configure.ac:704: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:704: the top level autoreconf: running: /usr/bin/autoheader --include=m4/m4 --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:28: installing './compile' autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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-strong -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-strong -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-strong -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 + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-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 --enable-burst --enable-dccp --enable-dirty --enable-histogram --enable-omni --enable-sdp --enable-exs --enable-sctp --enable-unixdomain checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu 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 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for an ANSI C-conforming const... yes checking for main in -lm... yes 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 wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking for vfork.h... no checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for arpa/inet.h... yes checking for endian.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for ifaddrs.h... yes checking for limits.h... yes checking for linux/tcp.h... yes checking for linux/socket.h... yes checking for malloc.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for netinet/sctp.h... yes checking for sched.h... yes checking for signal.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for syscall.h... yes checking for sys/ioctl.h... yes checking for sys/mman.h... yes checking for sys/param.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/wait.h... (cached) yes checking for sys/ipc.h... yes checking for sys/sockio.h... no checking for sys/sysinfo.h... yes checking for sys/wait.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for netinet/in_systm.h... yes checking for netinet/ip.h... yes checking for sys/sendfile.h... yes checking for main in -lsocket... no checking for main in -lmach... no checking for an ANSI C-conforming const... (cached) yes checking for off_t... yes checking for size_t... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for socklen_t equivalent... unsigned checking for h_errno declaration in netdb.h... yes checking for struct sockaddr_storage... yes checking for _Bool... yes checking for stdbool.h that conforms to C99 or later... yes checking if sockaddr struct has sa_len member... no checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for getpagesize... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working mmap... yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether setpgrp requires zero arguments... yes checking return type of signal handlers... void checking for alarm... yes checking for bzero... yes checking for daemon... yes checking for gethostbyname... yes checking for gethrtime... no checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for memcpy... yes checking for munmap... yes checking for select... yes checking for setsid... yes checking for socket... yes checking for sqrt... yes checking for strcasecmp... yes checking for strchr... yes checking for strstr... yes checking for strtoul... yes checking for uname... yes checking for toupper... yes checking for getnameinfo... yes checking for getaddrinfo... yes checking for inet_ntop... yes checking for getifaddrs... yes checking for library containing aio_read... none required checking for sendfile... yes checking for uname... (cached) yes checking for mpctl... no checking for processor_bind... no checking for sched_setaffinity... yes checking for bind_to_cpu_id... no checking for bindprocessor... no checking whether to include histogram support... yes checking whether to include dirty support... yes checking whether to include demo support... no checking whether to include Unix-domain socket tests... yes checking whether to include DLPI tests... no checking whether to include DCCP tests... yes checking whether to include OMNI tests... yes checking whether to include XTI tests... no checking whether to include SDP tests... checking for t_open in -lsdp... no yes checking whether to include ICSC-EXS tests... checking for sys/exs.h... no checking for exs_init in -lexs... no no checking for netinet/sctp.h... (cached) yes checking for main in -lsctp... yes checking for struct sctp_event_subscribe.sctp_adaptation_layer_event... yes checking whether to include SCTP tests... yes checking whether to include paced send (intervals) support... no checking whether paced sends should spin... no checking whether to include initial burst support in _RR tests... yes checking which CPU utilization measurement type to use... "procstat - auto" checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/netperf_version.h config.status: creating src/Makefile config.status: creating src/missing/Makefile config.status: creating src/missing/m4/Makefile config.status: creating doc/Makefile config.status: creating doc/examples/Makefile config.status: creating netperf.spec config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src Making all in missing Making all in m4 make[4]: Nothing to be done for 'all'. make[4]: Nothing to be done for 'all-am'. make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o nettest_dlpi.o nettest_dlpi.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o nettest_xti.o nettest_xti.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o netperf.o netperf.c netperf.c: In function 'main': netperf.c:255:5: error: too many arguments to function 'send_sdp_stream'; expected 0, have 1 255 | send_sdp_stream(host_name); | ^~~~~~~~~~~~~~~ ~~~~~~~~~ In file included from netperf.c:74: nettest_sdp.h:184:13: note: declared here 184 | extern void send_sdp_stream(); | ^~~~~~~~~~~~~~~ netperf.c:261:5: error: too many arguments to function 'send_sdp_rr'; expected 0, have 1 261 | send_sdp_rr(host_name); | ^~~~~~~~~~~ ~~~~~~~~~ nettest_sdp.h:185:13: note: declared here 185 | extern void send_sdp_rr(); | ^~~~~~~~~~~ make[3]: *** [Makefile:462: netperf.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o dscp.o dscp.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o nettest_sdp.o nettest_sdp.c In file included from nettest_sdp.c:103: hist.h:135:6: error: conflicting types for 'HIST_purge'; have 'void(struct histogram_struct *)' 135 | void HIST_purge(HIST h); | ^~~~~~~~~~ In file included from nettest_sdp.c:93: netlib.h:651:17: note: previous declaration of 'HIST_purge' with type 'void(void)' 651 | extern void HIST_purge(); | ^~~~~~~~~~ nettest_sdp.c:192:1: error: conflicting types for 'send_sdp_stream'; have 'void(char *)' 192 | send_sdp_stream(char remote_host[]) | ^~~~~~~~~~~~~~~ In file included from nettest_sdp.c:97: nettest_sdp.h:184:13: note: previous declaration of 'send_sdp_stream' with type 'void(void)' 184 | extern void send_sdp_stream(); | ^~~~~~~~~~~~~~~ nettest_sdp.c: In function 'send_sdp_stream': nettest_sdp.c:368:19: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 368 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sdp.c: In function 'send_sdp_maerts': nettest_sdp.c:1065:19: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 1065 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sdp.c: In function 'recv_sdp_stream': nettest_sdp.c:1737:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 1737 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sdp.c: In function 'recv_sdp_maerts': nettest_sdp.c:2073:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 2073 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sdp.c: At top level: nettest_sdp.c:2283:1: error: conflicting types for 'send_sdp_rr'; have 'void(char *)' 2283 | send_sdp_rr(char remote_host[]) | ^~~~~~~~~~~ nettest_sdp.h:185:13: note: previous declaration of 'send_sdp_rr' with type 'void(void)' 185 | extern void send_sdp_rr(); | ^~~~~~~~~~~ nettest_sdp.c: In function 'send_sdp_rr': nettest_sdp.c:2448:19: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 2448 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sdp.c:2455:19: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 2455 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sdp.c: In function 'recv_sdp_rr': nettest_sdp.c:3093:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 3093 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sdp.c:3098:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 3098 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sdp.c: In function 'scan_sdp_args': nettest_sdp.c:3393:1: warning: old-style function definition [-Wold-style-definition] 3393 | scan_sdp_args(argc, argv) | ^~~~~~~~~~~~~ make[3]: *** [Makefile:462: nettest_sdp.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o nettest_unix.o nettest_unix.c nettest_unix.c: In function 'send_stream_stream': nettest_unix.c:372:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 372 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ In file included from nettest_unix.c:93: netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_unix.c: In function 'recv_stream_stream': nettest_unix.c:881:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 881 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_unix.c: In function 'send_stream_rr': nettest_unix.c:1159:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 1159 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_unix.c:1164:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 1164 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_unix.c: In function 'send_dg_stream': nettest_unix.c:1659:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 1659 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_unix.c: In function 'recv_dg_stream': nettest_unix.c:2020:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 2020 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_unix.c: In function 'recv_dg_rr': nettest_unix.c:2835:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 2835 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_unix.c:2840:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 2840 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_unix.c: In function 'recv_stream_rr': nettest_unix.c:3128:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 3128 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_unix.c:3133:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 3133 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:462: nettest_unix.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o nettest_sctp.o nettest_sctp.c In file included from nettest_sctp.c:108: hist.h:135:6: error: conflicting types for 'HIST_purge'; have 'void(struct histogram_struct *)' 135 | void HIST_purge(HIST h); | ^~~~~~~~~~ In file included from nettest_sctp.c:98: netlib.h:651:17: note: previous declaration of 'HIST_purge' with type 'void(void)' 651 | extern void HIST_purge(); | ^~~~~~~~~~ nettest_sctp.c: In function 'send_sctp_stream': nettest_sctp.c:526:19: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 526 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sctp.c: In function 'recv_sctp_stream': nettest_sctp.c:1218:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 1218 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sctp.c: In function 'send_sctp_stream_1toMany': nettest_sctp.c:1649:19: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 1649 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sctp.c: In function 'recv_sctp_stream_1toMany': nettest_sctp.c:2374:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 2374 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sctp.c: In function 'send_sctp_rr': nettest_sctp.c:2721:19: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 2721 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sctp.c:2728:19: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 2728 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sctp.c: In function 'recv_sctp_rr': nettest_sctp.c:3341:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 3341 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sctp.c:3346:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 3346 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sctp.c: In function 'send_sctp_rr_1toMany': nettest_sctp.c:3779:19: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 3779 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sctp.c:3786:19: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 3786 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sctp.c: In function 'recv_sctp_rr_1toMany': nettest_sctp.c:4392:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 4392 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_sctp.c:4397:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 4397 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:462: nettest_sctp.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o nettest_bsd.o nettest_bsd.c In file included from nettest_bsd.c:180: hist.h:135:6: error: conflicting types for 'HIST_purge'; have 'void(struct histogram_struct *)' 135 | void HIST_purge(HIST h); | ^~~~~~~~~~ In file included from nettest_bsd.c:175: netlib.h:651:17: note: previous declaration of 'HIST_purge' with type 'void(void)' 651 | extern void HIST_purge(); | ^~~~~~~~~~ nettest_bsd.c: In function 'sendfile_tcp_stream': nettest_bsd.c:4273:1: warning: old-style function definition [-Wold-style-definition] 4273 | sendfile_tcp_stream(remote_host) | ^~~~~~~~~~~~~~~~~~~ nettest_bsd.c:4497:19: error: too many arguments to function 'alloc_sendfile_buf_ring'; expected 0, have 4 4497 | send_ring = alloc_sendfile_buf_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:690:26: note: declared here 690 | extern struct ring_elt *alloc_sendfile_buf_ring(); | ^~~~~~~~~~~~~~~~~~~~~~~ nettest_bsd.c: In function 'recv_tcp_stream': nettest_bsd.c:5197:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 5197 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_bsd.c: In function 'recv_tcp_maerts': nettest_bsd.c:5617:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 5617 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_bsd.c: In function 'recv_udp_stream': nettest_bsd.c:7345:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 7345 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_bsd.c: In function 'recv_udp_rr': nettest_bsd.c:8360:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 8360 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_bsd.c:8365:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 8365 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_bsd.c: In function 'recv_tcp_rr': nettest_bsd.c:8677:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 8677 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_bsd.c:8682:15: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 8682 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:462: nettest_bsd.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o net_uuid.o net_uuid.c net_uuid.c: In function 'get_random_info': net_uuid.c:185:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 185 | read(fd, seed, 16); | ^~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o nettest_omni.o nettest_omni.c In file included from nettest_omni.c:184: hist.h:135:6: error: conflicting types for 'HIST_purge'; have 'void(struct histogram_struct *)' 135 | void HIST_purge(HIST h); | ^~~~~~~~~~ In file included from nettest_omni.c:166: netlib.h:651:17: note: previous declaration of 'HIST_purge' with type 'void(void)' 651 | extern void HIST_purge(); | ^~~~~~~~~~ nettest_omni.c: In function 'send_omni_inner': nettest_omni.c:4052:21: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 4052 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_omni.c:4094:21: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 4094 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_omni.c:5058:5: error: too many arguments to function 'HIST_get_stats'; expected 0, have 5 5058 | HIST_get_stats(time_hist, | ^~~~~~~~~~~~~~ ~~~~~~~~~ netlib.h:650:17: note: declared here 650 | extern void HIST_get_stats(); | ^~~~~~~~~~~~~~ nettest_omni.c:5063:19: error: too many arguments to function 'HIST_get_percentile'; expected 0, have 2 5063 | p50_latency = HIST_get_percentile(time_hist, 0.50); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ netlib.h:649:17: note: declared here 649 | extern int HIST_get_percentile(); | ^~~~~~~~~~~~~~~~~~~ nettest_omni.c:5064:19: error: too many arguments to function 'HIST_get_percentile'; expected 0, have 2 5064 | p90_latency = HIST_get_percentile(time_hist, 0.90); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ netlib.h:649:17: note: declared here 649 | extern int HIST_get_percentile(); | ^~~~~~~~~~~~~~~~~~~ nettest_omni.c:5065:19: error: too many arguments to function 'HIST_get_percentile'; expected 0, have 2 5065 | p99_latency = HIST_get_percentile(time_hist, 0.99); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ netlib.h:649:17: note: declared here 649 | extern int HIST_get_percentile(); | ^~~~~~~~~~~~~~~~~~~ nettest_omni.c: In function 'recv_omni': nettest_omni.c:5362:17: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 5362 | send_ring = allocate_buffer_ring(send_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ nettest_omni.c:5404:17: error: too many arguments to function 'allocate_buffer_ring'; expected 0, have 4 5404 | recv_ring = allocate_buffer_ring(recv_width, | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ netlib.h:679:26: note: declared here 679 | extern struct ring_elt *allocate_buffer_ring(); | ^~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:462: nettest_omni.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o netcpu_procstat.o netcpu_procstat.c netcpu_procstat.c: In function 'get_cpu': netcpu_procstat.c:192:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | read (proc_stat_fd, p, proc_stat_buflen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o netsh.o netsh.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o netserver.o netserver.c netserver.c: In function 'daemonize': netserver.c:1403:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1403 | chdir(DEBUG_LOG_FILE_DIR); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o netlib.o netlib.c netlib.c: In function 'get_id': netlib.c:3495:17: warning: '%-15s' directive output may be truncated writing between 15 and 64 bytes into a region of size between 16 and 65 [-Wformat-truncation=] 3495 | "%-15s%-15s%-15s%-15s%-15s", | ^~~~~ 3496 | system_name.sysname, 3497 | system_name.nodename, | ~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from netlib.c:98: In function 'snprintf', inlined from 'get_id' at netlib.c:3485:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 76 and 321 bytes into a destination of size 80 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/netperf-2.7.0-build/netperf-master/src' make[2]: *** [Makefile:478: all-recursive] Error 1 make[1]: *** [Makefile:403: all-recursive] Error 1 make: *** [Makefile:342: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6CNSEw (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6CNSEw (%build) I: [iurt_root_command] ERROR: chroot