* Package: net-analyzer/netperf-2.7.0-r2 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking netperf-2.7.0.tar.bz2 to /var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work >>> Source unpacked in /var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work >>> Preparing source in /var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0 ... * Applying netperf-fix-scripts.patch ... [ ok ] * Applying netperf-2.6.0-log-dir.patch ... [ ok ] * Applying netperf-2.7.0-includes.patch ... [ ok ] * Applying netperf-2.7.0-space.patch ... [ ok ] * Applying netperf-2.7.0-inline.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0 ... * econf: updating netperf-2.7.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating netperf-2.7.0/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/netperf-2.7.0-r2 --htmldir=/usr/share/doc/netperf-2.7.0-r2/html --libdir=/usr/lib --disable-demo --disable-sctp checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking target system type... x86_64-gentoo-linux-musl checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-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 we are using the GNU C compiler... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking for an ANSI C-conforming const... yes checking for main in -lm... yes checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/tcp.h usability... yes checking linux/tcp.h presence... yes checking for linux/tcp.h... yes checking linux/socket.h usability... yes checking linux/socket.h presence... yes checking for linux/socket.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/sctp.h usability... no checking netinet/sctp.h presence... no checking for netinet/sctp.h... no checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking signal.h usability... yes checking signal.h presence... 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 syscall.h usability... yes checking syscall.h presence... yes checking for syscall.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/wait.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking sys/sysinfo.h usability... yes checking sys/sysinfo.h presence... yes 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 netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/ip.h usability... yes checking netinet/ip.h presence... 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 whether time.h and sys/time.h may both be included... 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 vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) 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... no 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... no checking whether to include ICSC-EXS tests... 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" 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 >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0' Making all in src make[2]: Entering directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0/src' Making all in missing make[3]: Entering directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0/src/missing' Making all in m4 make[4]: Entering directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0/src/missing/m4' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0/src/missing/m4' make[4]: Entering directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0/src/missing' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0/src/missing' make[3]: Leaving directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0/src/missing' make[3]: Entering directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0/src' x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fcommon -c netperf.c x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fcommon -c netlib.c In file included from netlib.c:2315: /usr/include/sched.h: In function ‘bind_to_specific_processor’: /usr/include/sched.h:109:1: error: invalid storage class for function ‘__CPU_AND_S’ 109 | __CPU_op_func_S(AND, &) | ^~~~~~~~~~~~~~~ /usr/include/sched.h:110:1: error: invalid storage class for function ‘__CPU_OR_S’ 110 | __CPU_op_func_S(OR, |) | ^~~~~~~~~~~~~~~ /usr/include/sched.h:111:1: error: invalid storage class for function ‘__CPU_XOR_S’ 111 | __CPU_op_func_S(XOR, ^) | ^~~~~~~~~~~~~~~ netlib.c:2347:42: warning: passing argument 3 of ‘sched_setaffinity’ from incompatible pointer type [-Wincompatible-pointer-types] 2347 | if (sched_setaffinity(getpid(), len, &netperf_cpu_set)) { | ^~~~~~~~~~~~~~~~ | | | netperf_cpu_set_t * {aka long unsigned int *} In file included from netlib.c:2315: /usr/include/sched.h:90:38: note: expected ‘const cpu_set_t *’ {aka ‘const struct cpu_set_t *’} but argument is of type ‘netperf_cpu_set_t *’ {aka ‘long unsigned int *’} 90 | int sched_setaffinity(pid_t, size_t, const cpu_set_t *); | ^~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:336: netlib.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0/src' make[2]: *** [Makefile:352: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0/src' make[1]: *** [Makefile:277: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0' make: *** [Makefile:215: all] Error 2 * ERROR: net-analyzer/netperf-2.7.0-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/netperf-2.7.0-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/netperf-2.7.0-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:netperf-2.7.0-r2:20200317-223934.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0' * S: '/var/tmp/portage/net-analyzer/netperf-2.7.0-r2/work/netperf-2.7.0'