* Package: net-analyzer/netcat-110.20180111-r1:0 * Repository: gentoo * Maintainer: sam@gentoo.org netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking nc110.20180111.tar.xz to /var/tmp/portage/net-analyzer/netcat-110.20180111-r1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/netcat-110.20180111-r1/work >>> Preparing source in /var/tmp/portage/net-analyzer/netcat-110.20180111-r1/work/nc110 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/netcat-110.20180111-r1/work/nc110 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/netcat-110.20180111-r1/work/nc110 ... make -j4 'LD=clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' 'DFLAGS= -DTELNET -DGAPING_SECURITY_HOLE' 'XFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int' STATIC= XLIBS= nc clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -DTELNET -DGAPING_SECURITY_HOLE -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -o nc netcat.c netcat.c:222: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 holler (str, p1, p2, p3, p4, p5, p6) ^ netcat.c:248: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 bail (str, p1, p2, p3, p4, p5, p6) ^ netcat.c:264:42: warning: too few arguments in call to 'bail' bail (wrote_txt, wrote_net, wrote_out); ~~~~ ^ netcat.c:264:22: error: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] bail (wrote_txt, wrote_net, wrote_out); ^~~~~~~~~ netcat.c:264:33: error: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] bail (wrote_txt, wrote_net, wrote_out); ^~~~~~~~~ netcat.c:265:11: warning: too few arguments in call to 'bail' bail (""); ~~~~ ^ netcat.c:282:38: warning: too few arguments in call to 'bail' bail ("spurious timer interrupt!"); ~~~~ ^ netcat.c:288: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 arm_timer (num, secs) ^ netcat.c:314:33: warning: too few arguments in call to 'bail' bail ("Hmalloc %d failed", s); ~~~~ ^ netcat.c:314:32: error: incompatible integer to pointer conversion passing 'unsigned int' to parameter of type 'char *' [-Wint-conversion] bail ("Hmalloc %d failed", s); ^ netcat.c:306:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char * Hmalloc (size) ^ netcat.c:322:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] unsigned int findline (buf, siz) ^ netcat.c:364:69: warning: too few arguments in call to 'holler' holler ("DNS fwd/rev mismatch: %s != %s", poop->name, hp->h_name); ~~~~~~ ^ netcat.c:351: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 comparehosts (poop, hp) ^ netcat.c:397:69: warning: too few arguments in call to 'holler' holler ("DNS fwd/rev mismatch: %s != %s", poop->name, hp->h_name); ~~~~~~ ^ netcat.c:384: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 comparehosts6 (poop, hp) ^ netcat.c:444:32: warning: too few arguments in call to 'bail' bail ("gethostpoop fuxored"); ~~~~ ^ netcat.c:450:52: warning: too few arguments in call to 'bail' bail ("Can't parse %s as an IP address", name); ~~~~ ^ netcat.c:454:53: warning: too few arguments in call to 'bail' bail ("%s: forward host lookup failed: ", name); ~~~~ ^ netcat.c:470:18: warning: too few arguments in call to 'holler' poop->addrs[x]); ^ netcat.c:485:50: warning: too few arguments in call to 'holler' holler ("%s: inverse host lookup failed: ", name); ~~~~~~ ^ netcat.c:491:13: warning: too few arguments in call to 'holler' poop->name); ^ netcat.c:410:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINF * gethostpoop (name, numeric) ^ netcat.c:524:33: warning: too few arguments in call to 'bail' bail ("gethost6poop fuxored"); ~~~~ ^ netcat.c:529:52: warning: too few arguments in call to 'bail' bail ("Can't parse %s as an IP address", name); ~~~~ ^ netcat.c:533:53: warning: too few arguments in call to 'bail' bail ("%s: forward host lookup failed: ", name); ~~~~ ^ netcat.c:546:72: warning: too few arguments in call to 'holler' holler ("Warning: inverse host lookup failed for %s: ", poop->addrs[x]); ~~~~~~ ^ netcat.c:561:55: warning: too few arguments in call to 'holler' holler ("%s: inverse host lookup failed: ", name); ~~~~~~ ^ netcat.c:566:68: warning: too few arguments in call to 'holler' holler ("Warning: forward host lookup failed for %s: ", poop->name); ~~~~~~ ^ netcat.c:504:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] HINF6 * gethost6poop (name, numeric) ^ netcat.c:616:56: warning: too few arguments in call to 'holler' holler ("Warning: port-bynum mismatch, %d != %d", x, y); ~~~~~~ ^ netcat.c:616:52: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] holler ("Warning: port-bynum mismatch, %d != %d", x, y); ^ netcat.c:616:55: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] holler ("Warning: port-bynum mismatch, %d != %d", x, y); ^ netcat.c:586:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] USHORT getportpoop (pstring, pnum) ^ netcat.c:669:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] USHORT nextport (block) ^ netcat.c:713:34: warning: too few arguments in call to 'bail' bail ("loadports: no block?!"); ~~~~ ^ netcat.c:715:51: warning: too few arguments in call to 'bail' bail ("loadports: bogus values %d, %d", lo, hi); ~~~~ ^ netcat.c:715:45: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] bail ("loadports: bogus values %d, %d", lo, hi); ^~ netcat.c:715:49: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] bail ("loadports: bogus values %d, %d", lo, hi); ^~ netcat.c:705: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 loadports (block, lo, hi) ^ netcat.c:744:34: warning: too few arguments in call to 'bail' bail ("exec %s failed", pr00gie); /* this gets sent out. Hmm... */ ~~~~ ^ netcat.c:733: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 doexec_new (fd) ^ netcat.c:769:34: warning: too few arguments in call to 'bail' bail ("exec %s failed", pr00gie); /* this gets sent out. Hmm... */ ~~~~ ^ netcat.c:753: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 doexec (fd) ^ netcat.c:798:29: warning: too few arguments in call to 'bail' bail ("Can't get socket"); ~~~~ ^ netcat.c:804:38: warning: too few arguments in call to 'holler' holler ("nnetfd reuseaddr failed"); /* ??? */ ~~~~~~ ^ netcat.c:809:41: warning: too few arguments in call to 'holler' holler ("nnetfd reuseaddr failed"); /* ??? */ ~~~~~~ ^ netcat.c:815:38: warning: too few arguments in call to 'holler' holler ("nnetfd reuseport failed"); /* ??? */ ~~~~~~ ^ netcat.c:849:66: warning: too few arguments in call to 'holler' holler ("retrying local %s:%d", inet_ntoa (lclend->sin_addr), lp); ~~~~~~ ^ netcat.c:849:64: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] holler ("retrying local %s:%d", inet_ntoa (lclend->sin_addr), lp); ^~ netcat.c:857:33: warning: too few arguments in call to 'bail' inet_ntoa(lclend->sin_addr), lp); ^ netcat.c:857:31: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] inet_ntoa(lclend->sin_addr), lp); ^~ netcat.c:928:39: warning: too few arguments in call to 'bail' bail ("srcrt setsockopt fuxored"); ~~~~ ^ netcat.c:780: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 doconnect (rad, rp, lad, lp) ^ netcat.c:909:16: warning: implicit conversion from 'int' to 'char' changes value from 131 to -125 [-Wconstant-conversion] *opp++ = IPOPT_LSRR; /* option */ ~ ^~~~~~~~~~ /usr/include/netinet/ip.h:260:21: note: expanded from macro 'IPOPT_LSRR' #define IPOPT_LSRR 131 /* loose source route */ ^~~ netcat.c:974:38: warning: too few arguments in call to 'bail' bail ("UDP listen needs -p arg"); ~~~~ ^ netcat.c:978:35: warning: too few arguments in call to 'bail' bail ("local listen fuxored"); ~~~~ ^ netcat.c:994:41: warning: too few arguments in call to 'holler' holler ("local getsockname failed"); ~~~~~~ ^ netcat.c:1002:26: warning: too few arguments in call to 'holler' holler (bigbuf_net, z); ~~~~~~ ^ netcat.c:1002:25: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] holler (bigbuf_net, z); ^ netcat.c:1062:32: warning: too few arguments in call to 'holler' holler ("getsockopt failed"); ~~~~~~ ^ netcat.c:1075:41: warning: too few arguments in call to 'holler' holler ("IP options: %s", bigbuf_net); ~~~~~~ ^ netcat.c:1089:42: warning: too few arguments in call to 'holler' holler ("post-rcv getsockname failed"); ~~~~~~ ^ netcat.c:1114:44: warning: too few arguments in call to 'bail' cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:1114:43: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:1116:42: warning: too few arguments in call to 'holler' cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:1116:41: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:954: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 dolisten (rad, rp, lad, lp) ^ netcat.c:1145:59: warning: too few arguments in call to 'holler' holler ("udptest first write failed?! errno %d", errno); ~~~~~~ ^ netcat.c:1145:54: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] holler ("udptest first write failed?! errno %d", errno); ^~~~~ /usr/include/errno.h:38:16: note: expanded from macro 'errno' # define errno (*__errno_location ()) ^~~~~~~~~~~~~~~~~~~~~~ netcat.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] udptest (fd, where) ^ netcat.c:1196:29: warning: too few arguments in call to 'bail' bail ("Can't get socket"); ~~~~ ^ netcat.c:1202:38: warning: too few arguments in call to 'holler' holler ("nnetfd reuseaddr failed"); /* ??? */ ~~~~~~ ^ netcat.c:1206:38: warning: too few arguments in call to 'holler' holler ("nnetfd reuseport failed"); /* ??? */ ~~~~~~ ^ netcat.c:1239:70: warning: too few arguments in call to 'holler' holler ("retrying local %s:%d", inet_ntoa6 (&lclend6->sin6_addr), lp); ~~~~~~ ^ netcat.c:1239:68: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] holler ("retrying local %s:%d", inet_ntoa6 (&lclend6->sin6_addr), lp); ^~ netcat.c:1246:77: warning: too few arguments in call to 'bail' bail ("Can't grab %s:%d with bind", inet_ntoa6 (&lclend6->sin6_addr), lp); ~~~~ ^ netcat.c:1246:75: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] bail ("Can't grab %s:%d with bind", inet_ntoa6 (&lclend6->sin6_addr), lp); ^~ netcat.c:1255:76: warning: too few arguments in call to 'holler' holler ("Warning: source routing unavailable on this machine, ignoring"); ~~~~~~ ^ netcat.c:1178: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 doconnect6 (rad, rp, lad, lp) ^ netcat.c:1299:38: warning: too few arguments in call to 'bail' bail ("UDP listen needs -p arg"); ~~~~ ^ netcat.c:1303:35: warning: too few arguments in call to 'bail' bail ("local listen fuxored"); ~~~~ ^ netcat.c:1319:41: warning: too few arguments in call to 'holler' holler ("local getsockname failed"); ~~~~~~ ^ netcat.c:1327:26: warning: too few arguments in call to 'holler' holler (bigbuf_net, z); ~~~~~~ ^ netcat.c:1327:25: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] holler (bigbuf_net, z); ^ netcat.c:1387:42: warning: too few arguments in call to 'holler' holler ("post-rcv getsockname failed"); ~~~~~~ ^ netcat.c:1412:44: warning: too few arguments in call to 'bail' cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:1412:43: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:1414:42: warning: too few arguments in call to 'holler' cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:1414:41: error: incompatible integer to pointer conversion passing 'unsigned short' to parameter of type 'char *' [-Wint-conversion] cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:1279: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 dolisten6 (rad, rp, lad, lp) ^ netcat.c:1443:59: warning: too few arguments in call to 'holler' holler ("udptest first write failed?! errno %d", errno); ~~~~~~ ^ netcat.c:1443:54: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] holler ("udptest first write failed?! errno %d", errno); ^~~~~ /usr/include/errno.h:38:16: note: expanded from macro 'errno' # define errno (*__errno_location ()) ^~~~~~~~~~~~~~~~~~~~~~ netcat.c:1435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] udptest6 (fd, where) ^ netcat.c:1494:44: warning: too few arguments in call to 'bail' bail ("oprint called with no open fd?!"); ~~~~ ^ netcat.c:1556:28: warning: too few arguments in call to 'bail' bail ("ofd write err"); ~~~~ ^ netcat.c:1479: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 oprint (which, buf, n) ^ netcat.c:1568: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 atelnet (buf, size) ^ netcat.c:1621:43: warning: too few arguments in call to 'holler' holler ("Preposterous fd value %d", fd); ~~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 80 warnings and 20 errors generated. make: *** [Makefile:31: nc] Error 1 * ERROR: net-analyzer/netcat-110.20180111-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/netcat-110.20180111-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/netcat-110.20180111-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:netcat-110.20180111-r1:20220917-181354.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/netcat-110.20180111-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/netcat-110.20180111-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/netcat-110.20180111-r1/work/nc110' * S: '/var/tmp/portage/net-analyzer/netcat-110.20180111-r1/work/nc110'