D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/netperf-2.7.0-4.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.W8mRCy + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf netperf-2.7.0 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/netperf-2.7.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd netperf-2.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.WKIWiz + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd netperf-2.7.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi -Im4/m4 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 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + 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-unixdomain --enable-sdp --enable-exs --enable-sctp 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 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 for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-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 x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-mageia-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-mageia-linux-gnu-gcc... none checking for x86_64-mageia-linux-gnu-ranlib... x86_64-mageia-linux-gnu-ranlib checking for an ANSI C-conforming const... yes checking for main in -lm... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes 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 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... no checking for sched.h... yes checking for signal.h... yes checking for stdlib.h... yes checking for string.h... 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 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 for socklen_t equivalent... unsigned checking for h_errno declaration in netdb.h... yes checking for struct sockaddr_storage... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... 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 takes no argument... 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 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... no checking whether to include dirty support... no 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... no 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) no checking for main in -lsctp... no checking for struct sctp_event_subscribe.sctp_adaptation_layer_event... no checking whether to include SCTP tests... no 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 -j8 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/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nettest_dlpi.o nettest_dlpi.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nettest_xti.o nettest_xti.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nettest_sctp.o nettest_sctp.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o net_uuid.o net_uuid.c net_uuid.c: In function 'get_random_info': net_uuid.c:158:5: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 158 | read(fd, seed, 16); | ^~~~ | fread net_uuid.c:159:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 159 | close(fd); | ^~~~~ | pclose make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o netperf.o netperf.c netperf.c: In function 'main': netperf.c:273:5: warning: implicit declaration of function 'send_sdp_maerts'; did you mean 'send_tcp_maerts'? [-Wimplicit-function-declaration] 273 | send_sdp_maerts(host_name); | ^~~~~~~~~~~~~~~ | send_tcp_maerts make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o dscp.o dscp.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o netcpu_procstat.o netcpu_procstat.c netcpu_procstat.c: In function 'get_cpu': netcpu_procstat.c:169:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 169 | read (proc_stat_fd, p, proc_stat_buflen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o netsh.o netsh.c netsh.c: In function 'scan_cmd_line': netsh.c:1245:2: warning: implicit declaration of function 'scan_sdp_args'; did you mean 'scan_unix_args'? [-Wimplicit-function-declaration] 1245 | scan_sdp_args(argc, argv); | ^~~~~~~~~~~~~ | scan_unix_args make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nettest_unix.o nettest_unix.c make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nettest_sdp.o nettest_sdp.c In file included from /usr/include/string.h:495, from nettest_sdp.c:38: In function 'strncpy', inlined from 'scan_sdp_args' at nettest_sdp.c:3449:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nettest_sdp.c: In function 'scan_sdp_args': nettest_sdp.c:3449:2: note: length computed here 3449 | strncpy(local_data_address,arg1,strlen(arg1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from nettest_sdp.c:38: In function 'strncpy', inlined from 'scan_sdp_args' at nettest_sdp.c:3438:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nettest_sdp.c: In function 'scan_sdp_args': nettest_sdp.c:3438:2: note: length computed here 3438 | strncpy(remote_data_address,arg1,strlen(arg1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o netserver.o netserver.c netserver.c: In function 'process_requests': netserver.c:953:7: warning: implicit declaration of function 'recv_sdp_stream'; did you mean 'recv_udp_stream'? [-Wimplicit-function-declaration] 953 | recv_sdp_stream(); | ^~~~~~~~~~~~~~~ | recv_udp_stream netserver.c:957:7: warning: implicit declaration of function 'recv_sdp_maerts'; did you mean 'recv_tcp_maerts'? [-Wimplicit-function-declaration] 957 | recv_sdp_maerts(); | ^~~~~~~~~~~~~~~ | recv_tcp_maerts netserver.c:961:7: warning: implicit declaration of function 'recv_sdp_rr'; did you mean 'recv_udp_rr'? [-Wimplicit-function-declaration] 961 | recv_sdp_rr(); | ^~~~~~~~~~~ | recv_udp_rr netserver.c: In function 'daemonize': netserver.c:1408:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1408 | chdir(DEBUG_LOG_FILE_DIR); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o netlib.o netlib.c netlib.c: In function 'netperf_sendfile': netlib.c:806:11: warning: implicit declaration of function 'sendfile' [-Wimplicit-function-declaration] 806 | len=sendfile(send_socket, | ^~~~~~~~ netlib.c: In function 'bind_to_specific_processor': netlib.c:2344:9: warning: implicit declaration of function 'sched_setaffinity'; did you mean 'SYS_sched_setaffinity'? [-Wimplicit-function-declaration] 2344 | if (sched_setaffinity(getpid(), len, &netperf_cpu_set)) { | ^~~~~~~~~~~~~~~~~ | SYS_sched_setaffinity netlib.c: In function 'get_id': netlib.c:3457:10: warning: '%-15s' directive output may be truncated writing between 15 and 64 bytes into a region of size between 16 and 65 [-Wformat-truncation=] 3457 | "%-15s%-15s%-15s%-15s%-15s", | ^~~~~ 3458 | system_name.sysname, 3459 | system_name.nodename, | ~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from netlib.c:75: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 76 and 321 bytes into a destination of size 80 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nettest_bsd.o nettest_bsd.c In file included from /usr/include/string.h:495, from nettest_bsd.c:62: In function 'strncpy', inlined from 'scan_sockets_args' at nettest_bsd.c:13036:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nettest_bsd.c: In function 'scan_sockets_args': nettest_bsd.c:13036:2: note: length computed here 13036 | strncpy(local_data_address,arg1,strlen(arg1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from nettest_bsd.c:62: In function 'strncpy', inlined from 'scan_sockets_args' at nettest_bsd.c:13025:2: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nettest_bsd.c: In function 'scan_sockets_args': nettest_bsd.c:13025:2: note: length computed here 13025 | strncpy(remote_data_address,arg1,strlen(arg1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -c -o nettest_omni.o nettest_omni.c nettest_omni.c: In function 'recv_data_no_copy': nettest_omni.c:3030:19: warning: implicit declaration of function 'splice' [-Wimplicit-function-declaration] 3030 | bytes_recvd = splice(data_socket, | ^~~~~~ make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o netperf netperf.o netlib.o netsh.o nettest_bsd.o nettest_dlpi.o nettest_unix.o nettest_xti.o nettest_sctp.o nettest_sdp.o nettest_omni.o net_uuid.o dscp.o netcpu_procstat.o -lm /usr/bin/ld: nettest_omni.o:(.bss+0x4238): multiple definition of `loc_nodelay'; nettest_bsd.o:(.bss+0x28): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x4234): multiple definition of `rem_nodelay'; nettest_bsd.o:(.bss+0x24): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x422c): multiple definition of `loc_rcvavoid'; nettest_bsd.o:(.bss+0x14): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x4224): multiple definition of `rem_rcvavoid'; nettest_bsd.o:(.bss+0xc): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x4228): multiple definition of `rem_sndavoid'; nettest_bsd.o:(.bss+0x10): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x4230): multiple definition of `loc_sndavoid'; nettest_bsd.o:(.bss+0x18): first defined here /usr/bin/ld: nettest_unix.o: in function `recv_stream_stream': /home/iurt/rpmbuild/BUILD/netperf-2.7.0/src/nettest_unix.c:813: warning: the use of `tempnam' is dangerous, better use `mkstemp' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:417: netperf] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' x86_64-mageia-linux-gnu-gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o netserver netserver.o netlib.o netsh.o nettest_bsd.o nettest_dlpi.o nettest_unix.o nettest_xti.o nettest_sctp.o nettest_sdp.o nettest_omni.o net_uuid.o dscp.o netcpu_procstat.o -lm /usr/bin/ld: nettest_omni.o:(.bss+0x4238): multiple definition of `loc_nodelay'; nettest_bsd.o:(.bss+0x28): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x4234): multiple definition of `rem_nodelay'; nettest_bsd.o:(.bss+0x24): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x422c): multiple definition of `loc_rcvavoid'; nettest_bsd.o:(.bss+0x14): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x4224): multiple definition of `rem_rcvavoid'; nettest_bsd.o:(.bss+0xc): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x4228): multiple definition of `rem_sndavoid'; nettest_bsd.o:(.bss+0x10): first defined here /usr/bin/ld: nettest_omni.o:(.bss+0x4230): multiple definition of `loc_sndavoid'; nettest_bsd.o:(.bss+0x18): first defined here /usr/bin/ld: nettest_unix.o: in function `recv_stream_stream': /home/iurt/rpmbuild/BUILD/netperf-2.7.0/src/nettest_unix.c:813: warning: the use of `tempnam' is dangerous, better use `mkstemp' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:421: netserver] Error 1 make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/netperf-2.7.0/src' make[2]: *** [Makefile:471: all-recursive] Error 1 make[1]: *** [Makefile:372: all-recursive] Error 1 make: *** [Makefile:311: all] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.WKIWiz (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.WKIWiz (%build) I: [iurt_root_command] ERROR: chroot