* Package: net-analyzer/bing-1.1.3-r2:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking bing_1.1.3.orig.tar.gz to /var/tmp/portage/net-analyzer/bing-1.1.3-r2/work >>> Source unpacked in /var/tmp/portage/net-analyzer/bing-1.1.3-r2/work >>> Preparing source in /var/tmp/portage/net-analyzer/bing-1.1.3-r2/work/bing-1.1.3 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/bing-1.1.3-r2/work/bing-1.1.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/bing-1.1.3-r2/work/bing-1.1.3 ... make -j4 CC=clang clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iinclude -DNO_SNPRINTF=1 -o bing.o -c bing.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iinclude -DNO_SNPRINTF=1 -o icmp_ux.o -c unix/icmp_ux.c nroff -man unix/bing.8 > bing.0 groff -man unix/bing.8 > bing.ps unix/icmp_ux.c:48:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void tvsub(out, in) ^ unix/icmp_ux.c:62:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int in_cksum(addr, len) ^ unix/icmp_ux.c:118:2: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] close(s); ^ unix/icmp_ux.c:123:15: error: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] new->id = getpid() & 0xFFFF; ^ unix/icmp_ux.c:131:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int icmp_set_option(handle,level,optname,optval,optlen) ^ unix/icmp_ux.c:142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void icmp_set_timeout(handle,timeout) ^ unix/icmp_ux.c:152:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned short icmp_get_id(handle) ^ unix/icmp_ux.c:160:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int icmp_send(handle,msg,msg_size,to_addr,to_addr_size) ^ unix/icmp_ux.c:189:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int icmp_recv(handle,buf,buflen,from_addr,from_addr_size,elapsed) ^ unix/icmp_ux.c:226:49: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] cc = recvfrom(h->s, buf, buflen, 0, from_addr, from_addr_size); ^~~~~~~~~~~~~~ /usr/include/sys/socket.h:165:27: note: passing argument to parameter '__addr_len' here socklen_t *__restrict __addr_len); ^ unix/icmp_ux.c:239:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int icmp_close(handle) ^ unix/icmp_ux.c:243:5: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] close(h->s); ^ 9 warnings and 3 errors generated. make: *** [Makefile:97: icmp_ux.o] Error 1 make: *** Waiting for unfinished jobs.... bing.c:342:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double dst_var(dst) ^ bing.c:354:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] double dst_stddev(dst) ^ bing.c:364:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void set_ip(hs, target) ^ bing.c:392:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void randomfill(bp, len, seed) ^ bing.c:414:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void randominit(seed) ^ bing.c:462:14: warning: incompatible pointer types passing 'long *' to parameter of type 'char *' [-Wincompatible-pointer-types] randomfill((long *)(outpack + 8), datalen, ^~~~~~~~~~~~~~~~~~~~~ bing.c:439:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void pinger(hs, datalen) ^ bing.c:483:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void pr_iph(ip) ^ bing.c:516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void pr_retip(ip) ^ bing.c:554:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void pr_icmph(icp) ^ bing.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pr_addr(l) ^ bing.c:701:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int pr_pack(buf, cc, from, elapsed) ^ bing.c:916:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ping_and_wait(hs, datalen, buf, buflen) ^ bing.c:955:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void warn_rtt(h1, h2, min1s, min1b, min2s, min2b) ^ bing.c:993:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void adapt_rtt(min1s, min1b, min2s, min2b) ^ bing.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] finishpa(ntransmitted, received, nrepeats, vmin, vavg, vmax, vsd) ^ bing.c:1064:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void finish(hs) ^ bing.c:1154:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void fill(bp, patp) ^ bing.c:1253:2: error: call to undeclared function 'setgid'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] setgid(getgid()); ^ bing.c:1253:2: note: did you mean 'set_ip'? bing.c:364:6: note: 'set_ip' declared here void set_ip(hs, target) ^ bing.c:1253:9: error: call to undeclared function 'getgid'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] setgid(getgid()); ^ bing.c:1254:2: error: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] setuid(getuid()); ^ bing.c:1254:9: error: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] setuid(getuid()); ^ bing.c:1258:15: error: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] while ((ch = getopt(argc, argv, "c:dDe:f:I:i:LnPp:RrS:s:t:u:vVwz... ^ bing.c:1512:6: error: call to undeclared function 'gethostname'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] gethostname(myname, sizeof myname); ^ bing.c:1512:6: note: did you mean 'gethostbyname'? /usr/include/netdb.h:142:24: note: 'gethostbyname' declared here extern struct hostent *gethostbyname (const char *__name); ^ bing.c:1203:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc, argv) ^ 19 warnings and 6 errors generated. make: *** [Makefile:94: bing.o] Error 1 * ERROR: net-analyzer/bing-1.1.3-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/bing-1.1.3-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/bing-1.1.3-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:bing-1.1.3-r2:20221002-131614.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/bing-1.1.3-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/bing-1.1.3-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/bing-1.1.3-r2/work/bing-1.1.3' * S: '/var/tmp/portage/net-analyzer/bing-1.1.3-r2/work/bing-1.1.3'