* Package: net-analyzer/bwmon-1.3-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 bwmon-1.3.tar.gz to /var/tmp/portage/net-analyzer/bwmon-1.3-r2/work >>> Source unpacked in /var/tmp/portage/net-analyzer/bwmon-1.3-r2/work >>> Preparing source in /var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3 ... * Applying bwmon-1.3-build.patch ... [ ok ] * Applying bwmon-1.3-typo-fix.patch ... [ ok ] * Applying bwmon-1.3-overflow.patch ... [ ok ] * Applying bwmon-1.3-tinfo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3 ... make -j1 -C src CC=x86_64-gentoo-linux-musl-gcc PKG_CONFIG=x86_64-gentoo-linux-musl-pkg-config make: Entering directory '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3/src' x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I../include -Wall -D__THREADS -c -o bwmon.o bwmon.c In file included from bwmon.c:2: ../include/bwmon.h:53:5: error: unknown type name ‘ulong’ 53 | ulong tx_rate_whole, rx_rate_whole, tot_rate_whole; | ^~~~~ ../include/bwmon.h:54:5: error: unknown type name ‘ulong’ 54 | ulong tx_bytes_old, rx_bytes_old, tx_bytes_new; | ^~~~~ ../include/bwmon.h:55:5: error: unknown type name ‘ulong’ 55 | ulong rx_bytes_new, tx_kbytes_dif, rx_kbytes_dif; | ^~~~~ ../include/bwmon.h:56:5: error: unknown type name ‘ulong’ 56 | ulong time_diff_ms; | ^~~~~ ../include/bwmon.h:60:5: error: unknown type name ‘ulong’ 60 | ulong rx_max_whole, rx_max_part, tx_max_whole, tx_max_part; | ^~~~~ ../include/bwmon.h:64:5: error: unknown type name ‘ulong’ 64 | ulong rx_bw_total_whole, tx_bw_total_whole, tot_bw_total_whole; | ^~~~~ ../include/bwmon.h:74:1: error: unknown type name ‘ulong’; did you mean ‘long’? 74 | ulong bwm_calc_remainder(ulong, ulong); | ^~~~~ | long ../include/bwmon.h:74:1: warning: parameter names (without types) in function declaration bwmon.c: In function ‘main’: bwmon.c:108:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 108 | if (pthread_create(&exit_thread, NULL, wait_for_exit, (void *) getpid())) | ^ bwmon.c: In function ‘do_interface’: bwmon.c:211:32: error: ‘ulong’ undeclared (first use in this function) 211 | (*interface)->time_diff_ms = (ulong) | ^~~~~ bwmon.c:211:32: note: each undeclared identifier is reported only once for each function it appears in bwmon.c: In function ‘print_max’: bwmon.c:300:2: error: unknown type name ‘ulong’; did you mean ‘long’? 300 | ulong max_whole = (*interface)->rx_max_whole + (*interface)->tx_max_whole; | ^~~~~ | long bwmon.c:301:2: error: unknown type name ‘ulong’; did you mean ‘long’? 301 | ulong max_part = (*interface)->rx_max_part + (*interface)->tx_max_part; | ^~~~~ | long bwmon.c: At top level: bwmon.c:356:1: error: conflicting types for ‘bwm_calc_remainder’ 356 | bwm_calc_remainder(unsigned long num, unsigned long den) | ^~~~~~~~~~~~~~~~~~ In file included from bwmon.c:2: ../include/bwmon.h:74:7: note: previous declaration of ‘bwm_calc_remainder’ was here 74 | ulong bwm_calc_remainder(ulong, ulong); | ^~~~~~~~~~~~~~~~~~ bwmon.c: In function ‘print_uptime’: bwmon.c:413:9: error: ‘uint’ undeclared (first use in this function); did you mean ‘int’? 413 | tmp = (uint)(*uptime); | ^~~~ | int bwmon.c: In function ‘wait_for_exit’: bwmon.c:471:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 471 | kill((int)pid, SIGALRM); | ^ bwmon.c:475:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 475 | kill((int)pid, SIGINT); | ^ make: *** [: bwmon.o] Error 1 make: Leaving directory '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3/src' * ERROR: net-analyzer/bwmon-1.3-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/bwmon-1.3-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/bwmon-1.3-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:bwmon-1.3-r2:20200330-135612.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3' * S: '/var/tmp/portage/net-analyzer/bwmon-1.3-r2/work/bwmon-1.3'