=>> Building net/netcat build started at Wed Apr 3 04:00:41 BST 2024 port directory: /usr/ports/net/netcat package name: netcat-1.10_4 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: cy@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1363 Jan 25 05:29 /usr/ports/net/netcat/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: eb4715524f Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 06 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for netcat-1.10_4: DOCS=on: Build and/or install documentation GAPING=on: Enable GAPING_SECURITY_HOLE support IPV6=on: IPv6 protocol support TELNET=on: Enable TELNET support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- cy@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/netcat/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/netcat/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/netcat/work/.cache HOME=/wrkdirs/usr/ports/net/netcat/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/netcat/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/netcat/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net/netcat/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/netcat/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/netcat/work/.cache HOME=/wrkdirs/usr/ports/net/netcat/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/netcat/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/netcat/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -DFREEBSD -Wno-int-conversion -DGAPING_SECURITY_HOLE -DINET6 -DTELNET -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -static -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DFREEBSD -Wno-int-conversion -DGAPING_SECURITY_HOLE -DINET6 -DTELNET -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/netcat" EXAMPLESDIR="share/examples/netcat" DATADIR="share/netcat" WWWDIR="www/netcat" ETCDIR="etc/netcat" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/netcat DOCSDIR=/usr/local/share/doc/netcat EXAMPLESDIR=/usr/local/share/examples/netcat WWWDIR=/usr/local/www/netcat ETCDIR=/usr/local/etc/netcat --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> netcat-1.10_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> netcat-1.10_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of netcat-1.10_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by netcat-1.10_4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by netcat-1.10_4 for building => SHA256 Checksum OK for nc110.tgz. => SHA256 Checksum OK for nc-v6-20000918.patch.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by netcat-1.10_4 for building ===> Extracting for netcat-1.10_4 => SHA256 Checksum OK for nc110.tgz. => SHA256 Checksum OK for nc-v6-20000918.patch.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for netcat-1.10_4 ===> Applying distribution patches for netcat-1.10_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for netcat-1.10_4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for netcat-1.10_4 cd /wrkdirs/usr/ports/net/netcat/work/netcat-1.10_4 && cc -O2 -pipe -DFREEBSD -Wno-int-conversion -DGAPING_SECURITY_HOLE -DINET6 -DTELNET -fstack-protector-strong -fno-strict-aliasing netcat.c -o netcat -static -fstack-protector-strong netcat.c:33:26: warning: '/*' within block comment [-Wcomment] /* #undef _POSIX_SOURCE /* might need this for something? */ ^ netcat.c:36:19: warning: '/*' within block comment [-Wcomment] /* #define ANAL /* if you want case-sensitive DNS matching */ ^ netcat.c:212:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, h_errs[h_errno]); /* handle it here */ ^~~~~~~~~~~~~~~ netcat.c:212:19: note: treat the string as an argument to avoid this fprintf (stderr, h_errs[h_errno]); /* handle it here */ ^ "%s", netcat.c:232:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (netfd); ^ netcat.c:233:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (1); ^ netcat.c:243:42: warning: too few arguments in call to 'bail' bail (wrote_txt, wrote_net, wrote_out); ~~~~ ^ netcat.c:244:17: warning: too few arguments in call to 'bail' bail (" punt!"); ~~~~ ^ netcat.c:251:3: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm (0); ^ netcat.c:253:38: warning: too few arguments in call to 'bail' bail ("spurious timer interrupt!"); ~~~~ ^ netcat.c:265:5: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm (0); ^ netcat.c:269:5: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm (secs); ^ netcat.c:285:33: warning: too few arguments in call to 'bail' bail ("Hmalloc %d failed", s); ~~~~ ^ netcat.c:335:69: warning: too few arguments in call to 'holler' holler ("DNS fwd/rev mismatch: %s != %s", poop->name, hp->h_name); ~~~~~~ ^ netcat.c:368:69: warning: too few arguments in call to 'holler' holler ("DNS fwd/rev mismatch: %s != %s", poop->name, hp->h_name); ~~~~~~ ^ netcat.c:414:32: warning: too few arguments in call to 'bail' bail ("gethostpoop fuxored"); ~~~~ ^ netcat.c:421:52: warning: too few arguments in call to 'bail' bail ("Can't parse %s as an IP address", name); ~~~~ ^ netcat.c:425:53: warning: too few arguments in call to 'bail' bail ("%s: forward host lookup failed: ", name); ~~~~ ^ netcat.c:441:18: warning: too few arguments in call to 'holler' poop->addrs[x]); ^ netcat.c:456:50: warning: too few arguments in call to 'holler' holler ("%s: inverse host lookup failed: ", name); ~~~~~~ ^ netcat.c:462:13: warning: too few arguments in call to 'holler' poop->name); ^ netcat.c:495:30: warning: too few arguments in call to 'bail' bail("gethost6poop fuxored"); ~~~~ ^ netcat.c:500:48: warning: too few arguments in call to 'bail' bail("Can't parse %s as an IP address", name); ~~~~ ^ netcat.c:504:49: warning: too few arguments in call to 'bail' bail("%s: forward host lookup failed: ", name); ~~~~ ^ netcat.c:522:24: warning: too few arguments in call to 'holler' poop->addrs[x]); ^ netcat.c:538:51: warning: too few arguments in call to 'holler' holler("%s: inverse host lookup failed: ", name); ~~~~~~ ^ netcat.c:546:20: warning: too few arguments in call to 'holler' poop->name); ^ netcat.c:592:56: warning: too few arguments in call to 'holler' holler ("Warning: port-bynum mismatch, %d != %d", x, y); ~~~~~~ ^ netcat.c:690:34: warning: too few arguments in call to 'bail' bail ("loadports: no block?!"); ~~~~ ^ netcat.c:692:51: warning: too few arguments in call to 'bail' bail ("loadports: bogus values %d, %d", lo, hi); ~~~~ ^ netcat.c:709:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] doexec (fd) ^ netcat.c:714:3: warning: implicit declaration of function 'dup2' is invalid in C99 [-Wimplicit-function-declaration] dup2 (fd, 0); /* the precise order of fiddlage */ ^ netcat.c:715:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); /* is apparently crucial; this is */ ^ netcat.c:724:3: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] execl (pr00gie, p, NULL); ^ netcat.c:725:34: warning: too few arguments in call to 'bail' bail ("exec %s failed", pr00gie); /* this gets sent out. Hmm... */ ~~~~ ^ netcat.c:726:1: warning: non-void function does not return a value [-Wreturn-type] } /* doexec */ ^ netcat.c:754:29: warning: too few arguments in call to 'bail' bail ("Can't get socket"); ~~~~ ^ netcat.c:760:38: warning: too few arguments in call to 'holler' holler ("nnetfd reuseaddr failed"); /* ??? */ ~~~~~~ ^ netcat.c:764:38: warning: too few arguments in call to 'holler' holler ("nnetfd reuseport failed"); /* ??? */ ~~~~~~ ^ netcat.c:798:66: warning: too few arguments in call to 'holler' holler ("retrying local %s:%d", inet_ntoa (lclend->sin_addr), lp); ~~~~~~ ^ netcat.c:799:2: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (2); ^ netcat.c:806:33: warning: too few arguments in call to 'bail' inet_ntoa(lclend->sin_addr), lp); ^ netcat.c:877:39: warning: too few arguments in call to 'bail' bail ("srcrt setsockopt fuxored"); ~~~~ ^ netcat.c:894:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (nnetfd); /* clean up junked socket FD!! */ ^ netcat.c:858: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:155:21: note: expanded from macro 'IPOPT_LSRR' #define IPOPT_LSRR 131 /* loose source route */ ^~~ netcat.c:923:38: warning: too few arguments in call to 'bail' bail ("UDP listen needs -p arg"); ~~~~ ^ netcat.c:927:35: warning: too few arguments in call to 'bail' bail ("local listen fuxored"); ~~~~ ^ netcat.c:941:46: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rr = getsockname (nnetfd, (SA *) lclend, &x); ^~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ netcat.c:943:41: warning: too few arguments in call to 'holler' holler ("local getsockname failed"); ~~~~~~ ^ netcat.c:951:26: warning: too few arguments in call to 'holler' holler (bigbuf_net, z); ~~~~~~ ^ netcat.c:964:56: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (nnetfd, bigbuf_net, BIGSIZ, MSG_PEEK, (SA *) remend, &x); ^~ /usr/include/sys/socket.h:695:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ netcat.c:988:40: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rr = accept (nnetfd, (SA *)remend, &x); ^~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ netcat.c:992:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (nnetfd); /* dump the old socket */ ^ netcat.c:1009:60: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rr = getsockopt (nnetfd, IPPROTO_IP, IP_OPTIONS, optbuf, &x); ^~ /usr/include/sys/socket.h:692:72: note: passing argument to parameter here int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict); ^ netcat.c:1011:32: warning: too few arguments in call to 'holler' holler ("getsockopt failed"); ~~~~~~ ^ netcat.c:1024:41: warning: too few arguments in call to 'holler' holler ("IP options: %s", bigbuf_net); ~~~~~~ ^ netcat.c:1036:44: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rr = getsockname (nnetfd, (SA *) lclend, &x); ^~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ netcat.c:1038:42: warning: too few arguments in call to 'holler' holler ("post-rcv getsockname failed"); ~~~~~~ ^ netcat.c:1063:39: warning: too few arguments in call to 'bail' cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:1065:39: warning: too few arguments in call to 'holler' cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:1085:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] udptest (fd, where) ^ netcat.c:1091:8: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] rr = write (fd, bigbuf_in, 1); ^ netcat.c:1093:59: warning: too few arguments in call to 'holler' holler ("udptest first write failed?! errno %d", errno); ~~~~~~ ^ netcat.c:1095:5: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (o_wait); ^ netcat.c:1106:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (rr); /* in case it *did* open */ ^ netcat.c:1114:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); /* use it or lose it! */ ^ netcat.c:1144:26: warning: too few arguments in call to 'bail' bail("Can't get socket"); ~~~~ ^ netcat.c:1150:35: warning: too few arguments in call to 'holler' holler("nnetfd reuseaddr failed"); /* ??? */ ~~~~~~ ^ netcat.c:1154:35: warning: too few arguments in call to 'holler' holler("nnetfd reuseport failed"); /* ??? */ ~~~~~~ ^ netcat.c:1192:47: warning: too few arguments in call to 'holler' inet_ntoa6(&lclend6->sin6_addr), lp); ^ netcat.c:1193:5: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(2); ^ netcat.c:1200:43: warning: too few arguments in call to 'bail' inet_ntoa6(&lclend6->sin6_addr), lp); ^ netcat.c:1210:71: warning: too few arguments in call to 'holler' ("Warning: source routing unavailable on this machine, ignoring"); ^ netcat.c:1225:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(nnetfd); /* clean up junked socket FD!! */ ^ netcat.c:1254:34: warning: too few arguments in call to 'bail' bail("UDP listen needs -p arg"); ~~~~ ^ netcat.c:1258:31: warning: too few arguments in call to 'bail' bail("local listen fuxored"); ~~~~ ^ netcat.c:1272:44: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rr = getsockname(nnetfd, (SA *) lclend6, &x); ^~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ netcat.c:1274:37: warning: too few arguments in call to 'holler' holler("local getsockname failed"); ~~~~~~ ^ netcat.c:1282:23: warning: too few arguments in call to 'holler' holler(bigbuf_net, z); ~~~~~~ ^ netcat.c:1298:25: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (SA *) remend6, &x); ^~ /usr/include/sys/socket.h:695:96: note: passing argument to parameter here ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); ^ netcat.c:1325:39: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rr = accept(nnetfd, (SA *) remend6, &x); ^~ /usr/include/sys/socket.h:682:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ netcat.c:1329:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(nnetfd); /* dump the old socket */ ^ netcat.c:1343:43: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rr = getsockname(nnetfd, (SA *) lclend6, &x); ^~ /usr/include/sys/socket.h:691:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ netcat.c:1345:39: warning: too few arguments in call to 'holler' holler("post-rcv getsockname failed"); ~~~~~~ ^ netcat.c:1370:45: warning: too few arguments in call to 'bail' cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:1372:46: warning: too few arguments in call to 'holler' cp, whozis->name, whozis->addrs[0], z); ^ netcat.c:1392:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] udptest6(fd, where) ^ netcat.c:1398:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] rr = write(fd, bigbuf_in, 1); ^ netcat.c:1400:56: warning: too few arguments in call to 'holler' holler("udptest first write failed?! errno %d", errno); ~~~~~~ ^ netcat.c:1402:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep(o_wait); ^ netcat.c:1413:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(rr); /* in case it *did* open */ ^ netcat.c:1421:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(fd); /* use it or lose it! */ ^ netcat.c:1451:44: warning: too few arguments in call to 'bail' bail ("oprint called with no open fd?!"); ~~~~ ^ netcat.c:1488:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (&stage[2], "%8.8x ", obc); /* xxx: still slow? */ ^~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ netcat.c:1511:9: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] x = write (ofd, stage, soc); ^ netcat.c:1513:28: warning: too few arguments in call to 'bail' bail ("ofd write err"); ~~~~ ^ netcat.c:1550:14: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] (void) write (netfd, obuf, 3); ^ netcat.c:1578:43: warning: too few arguments in call to 'holler' holler ("Preposterous fd value %d", fd); ~~~~~~ ^ netcat.c:1593:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (0); /* so we won't need any more stdin */ ^ netcat.c:1597:5: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (o_interval); /* pause *before* sending stuff, too */ ^ netcat.c:1615:28: warning: too few arguments in call to 'holler' holler ("select fuxored"); ~~~~~~ ^ netcat.c:1616:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); ^ netcat.c:1627:27: warning: too few arguments in call to 'holler' holler ("net timeout"); ~~~~~~ ^ netcat.c:1628:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); ^ netcat.c:1637:7: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] rr = read (fd, bigbuf_net, BIGSIZ); ^ netcat.c:1646:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] atelnet (np, rr); /* fake out telnet stuff */ ^~ netcat.c:1659:7: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] rr = read (0, bigbuf_in, BIGSIZ); ^ netcat.c:1664:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (0); ^ netcat.c:1673:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (0); /* really, I mean it */ ^ netcat.c:1685:49: warning: too few arguments in call to 'holler' holler ("Bogus buffers: %d, %d", rzleft, rnleft); ~~~~~~ ^ netcat.c:1690:35: warning: too few arguments in call to 'holler' holler ("too many output retries"); ~~~~~~ ^ netcat.c:1694:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] rr = write (1, np, rnleft); ^ netcat.c:1709:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] rr = write (fd, zp, rr); /* one line, or the whole buffer */ ^ netcat.c:1735:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); ^ netcat.c:1741:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ netcat.c:1773:3: warning: implicit declaration of function 'res_init' is invalid in C99 [-Wimplicit-function-declaration] res_init(); ^ netcat.c:1815:15: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] insaved = read (0, cp, BIGSIZ); /* we're gonna fake fgets() here */ ^ netcat.c:1817:20: warning: too few arguments in call to 'bail' bail ("wrong"); ~~~~ ^ netcat.c:1850:15: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration] while ((x = getopt (argc, argv, "46ae:g:G:hi:lno:p:rs:tuvw:z")) != EOF) { ^ netcat.c:1862:27: warning: too few arguments in call to 'bail' bail ("all-A-records NIY"); ~~~~ ^ netcat.c:1874:66: warning: too few arguments in call to 'bail' bail ("invalid hop pointer %d, must be multiple of 4 <= 28", x); ~~~~ ^ netcat.c:1878:28: warning: too few arguments in call to 'bail' bail ("too many -g hops"); ~~~~ ^ netcat.c:1889:2: warning: implicit declaration of function 'helpme' is invalid in C99 [-Wimplicit-function-declaration] helpme(); /* exits by itself */ ^ netcat.c:1896:44: warning: too few arguments in call to 'bail' bail ("invalid interval time %s", optarg); ~~~~ ^ netcat.c:1908:41: warning: too few arguments in call to 'bail' bail ("invalid local port %s", optarg); ~~~~ ^ netcat.c:1938:40: warning: too few arguments in call to 'bail' bail ("invalid wait-time %s", optarg); ~~~~ ^ netcat.c:1948:24: warning: too few arguments in call to 'bail' bail ("nc -h for help"); ~~~~ ^ netcat.c:1961:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (0); /* won't need stdin */ ^ netcat.c:1967:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ofd = open (stage, O_WRONLY | O_CREAT | O_TRUNC, 0664); ^~~~~ /usr/include/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ netcat.c:1969:35: warning: too few arguments in call to 'bail' bail ("can't open %s", stage); ~~~~ ^ netcat.c:1969:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bail ("can't open %s", stage); ^~~~~ netcat.c:1983:33: warning: address of array 'whereto6->iaddrs' will always evaluate to 'true' [-Wpointer-bool-conversion] if (whereto6 && whereto6->iaddrs) ~~ ~~~~~~~~~~^~~~~~ netcat.c:1991:31: warning: address of array 'whereto->iaddrs' will always evaluate to 'true' [-Wpointer-bool-conversion] if (whereto && whereto->iaddrs) ~~ ~~~~~~~~~^~~~~~ netcat.c:1987:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else ^ netcat.c:2008:39: warning: too few arguments in call to 'bail' bail ("invalid port %s", argv[optind]); ~~~~ ^ netcat.c:2024:41: warning: too few arguments in call to 'holler' holler (wrote_txt, wrote_net, wrote_out); ~~~~~~ ^ netcat.c:2027:28: warning: too few arguments in call to 'bail' bail ("no connection"); ~~~~ ^ netcat.c:2034:29: warning: too few arguments in call to 'bail' bail ("no destination"); ~~~~ ^ netcat.c:2038:29: warning: too few arguments in call to 'bail' bail ("no destination"); ~~~~ ^ netcat.c:2040:37: warning: too few arguments in call to 'bail' bail ("no port[s] to connect to"); ~~~~ ^ netcat.c:2057:29: warning: too few arguments in call to 'bail' bail ("invalid port %s", cp); ~~~~ ^ netcat.c:2061:44: warning: too few arguments in call to 'bail' bail ("invalid port %s", argv[optind]); ~~~~ ^ netcat.c:2093:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ netcat.c:2101:65: warning: too few arguments in call to 'holler' whereto6->name, whereto6->addrs[0], curport, portpoop->name); ^ netcat.c:2105:63: warning: too few arguments in call to 'holler' whereto->name, whereto->addrs[0], curport, portpoop->name); ^ netcat.c:2120:67: warning: too few arguments in call to 'holler' whereto6->name, whereto6->addrs[0], curport, portpoop->name); ^ netcat.c:2124:65: warning: too few arguments in call to 'holler' whereto->name, whereto->addrs[0], curport, portpoop->name); ^ netcat.c:2127:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (netfd); /* just in case we didn't already */ ^ netcat.c:2129:2: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (o_interval); /* if -i, delay between ports too */ ^ netcat.c:2140:44: warning: too few arguments in call to 'holler' holler (wrote_txt, wrote_net, wrote_out); ~~~~~~ ^ netcat.c:2149:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] helpme() ^ netcat.c:2155:10: warning: too few arguments in call to 'holler' options:"); ^ netcat.c:2162:16: warning: too few arguments in call to 'holler' -6 Use IPv6"); ^ netcat.c:2166:56: warning: too few arguments in call to 'holler' -e prog program to exec after connect [dangerous!!]"); ^ netcat.c:2178:33: warning: too few arguments in call to 'holler' -s addr local source address"); ^ netcat.c:2181:33: warning: too few arguments in call to 'holler' -t answer TELNET negotiation"); ^ netcat.c:2187:41: warning: too few arguments in call to 'holler' -z zero-I/O mode [used for scanning]"); ^ netcat.c:2188:70: warning: too few arguments in call to 'bail' bail ("port numbers can be individual or ranges: lo-hi [inclusive]"); ~~~~ ^ netcat.c:2189:1: warning: non-void function does not return a value [-Wreturn-type] } /* helpme */ ^ 158 warnings generated. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for netcat-1.10_4 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/net/netcat/work/netcat-1.10_4/netcat /wrkdirs/usr/ports/net/netcat/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/net/netcat/work/netcat.1 /wrkdirs/usr/ports/net/netcat/work/stage/usr/local/share/man/man1 install -m 0644 /wrkdirs/usr/ports/net/netcat/work/netcat-1.10_4/README /wrkdirs/usr/ports/net/netcat/work/stage/usr/local/share/doc/netcat ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-03T03:00:41+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=eb4715524f' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for netcat-1.10_4 ===> Building netcat-1.10_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for netcat-1.10_4 build of net/netcat | netcat-1.10_4 ended at Wed Apr 3 04:00:47 BST 2024 build time: 00:00:08