=>> Building net/cryptcat build started at Wed Apr 3 12:50:35 BST 2024 port directory: /usr/ports/net/cryptcat package name: cryptcat-1.2.1,1 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 673 May 26 2023 /usr/ports/net/cryptcat/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 18bba8441a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 14 ---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/14/.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 cryptcat-1.2.1,1: DOCS=on: Build and/or install documentation ===> 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/cryptcat/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/cryptcat/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/cryptcat/work/.cache HOME=/wrkdirs/usr/ports/net/cryptcat/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/cryptcat/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/cryptcat/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/cryptcat/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/cryptcat/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net/cryptcat/work/.cache HOME=/wrkdirs/usr/ports/net/cryptcat/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/net/cryptcat/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/cryptcat/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -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/cryptcat" EXAMPLESDIR="share/examples/cryptcat" DATADIR="share/cryptcat" WWWDIR="www/cryptcat" ETCDIR="etc/cryptcat" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/cryptcat DOCSDIR=/usr/local/share/doc/cryptcat EXAMPLESDIR=/usr/local/share/examples/cryptcat WWWDIR=/usr/local/www/cryptcat ETCDIR=/usr/local/etc/cryptcat --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 ===> cryptcat-1.2.1,1 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 ===> cryptcat-1.2.1,1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of cryptcat-1.2.1,1 =========================================================================== =================================================== ===== 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 cryptcat-1.2.1,1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by cryptcat-1.2.1,1 for building => SHA256 Checksum OK for cryptcat-unix-1.2.1.tar. =========================================================================== =================================================== ===== 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 cryptcat-1.2.1,1 for building ===> Extracting for cryptcat-1.2.1,1 => SHA256 Checksum OK for cryptcat-unix-1.2.1.tar. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for cryptcat-1.2.1,1 ===> Applying FreeBSD patches for cryptcat-1.2.1,1 from /usr/ports/net/cryptcat/files =========================================================================== =================================================== ===== 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 cryptcat-1.2.1,1 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for cryptcat-1.2.1,1 make -e cryptcat XFLAGS='-DFREEBSD' STATIC=-static XLIBS='-lstdc++' cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c netcat.c netcat.c:41:26: warning: '/*' within block comment [-Wcomment] /* #undef _POSIX_SOURCE /* might need this for something? */ ^ netcat.c:44:19: warning: '/*' within block comment [-Wcomment] /* #define ANAL /* if you want case-sensitive DNS matching */ ^ netcat.c:210:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf (stderr, h_errs[h_errno]); /* handle it here */ ^~~~~~~~~~~~~~~ netcat.c:210:19: note: treat the string as an argument to avoid this fprintf (stderr, h_errs[h_errno]); /* handle it here */ ^ "%s", netcat.c:230:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (netfd); ^ netcat.c:231:3: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (1); ^ netcat.c:241:22: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] bail (wrote_txt, (char*) wrote_net, (char *) wrote_out); ^~~~~~~~~~~~~~~~~ netcat.c:241:41: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] bail (wrote_txt, (char*) wrote_net, (char *) wrote_out); ^~~~~~~~~~~~~~~~~~ netcat.c:241:59: warning: too few arguments in call to 'bail' bail (wrote_txt, (char*) wrote_net, (char *) wrote_out); ~~~~ ^ netcat.c:242:17: warning: too few arguments in call to 'bail' bail (" punt!"); ~~~~ ^ netcat.c:249:3: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm (0); ^ netcat.c:251:38: warning: too few arguments in call to 'bail' bail ("spurious timer interrupt!"); ~~~~ ^ netcat.c:263:5: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm (0); ^ netcat.c:267:5: warning: implicit declaration of function 'alarm' is invalid in C99 [-Wimplicit-function-declaration] alarm (secs); ^ netcat.c:283:32: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] bail ("Hmalloc %d failed", (char *) s); ^~~~~~~~~~ netcat.c:283:42: warning: too few arguments in call to 'bail' bail ("Hmalloc %d failed", (char *) s); ~~~~ ^ netcat.c:333:69: warning: too few arguments in call to 'holler' holler ("DNS fwd/rev mismatch: %s != %s", poop->name, hp->h_name); ~~~~~~ ^ netcat.c:378:32: warning: too few arguments in call to 'bail' bail ("gethostpoop fuxored"); ~~~~ ^ netcat.c:385:52: warning: too few arguments in call to 'bail' bail ("Can't parse %s as an IP address", name); ~~~~ ^ netcat.c:389:53: warning: too few arguments in call to 'bail' bail ("%s: forward host lookup failed: ", name); ~~~~ ^ netcat.c:405:18: warning: too few arguments in call to 'holler' poop->addrs[x]); ^ netcat.c:420:50: warning: too few arguments in call to 'holler' holler ("%s: inverse host lookup failed: ", name); ~~~~~~ ^ netcat.c:426:13: warning: too few arguments in call to 'holler' poop->name); ^ netcat.c:471:52: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] holler ("Warning: port-bynum mismatch, %d != %d", (char *) x, (char *) y); ^~~~~~~~~~ netcat.c:471:64: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] holler ("Warning: port-bynum mismatch, %d != %d", (char *) x, (char *) y); ^~~~~~~~~~ netcat.c:471:74: warning: too few arguments in call to 'holler' holler ("Warning: port-bynum mismatch, %d != %d", (char *) x, (char *) y); ~~~~~~ ^ netcat.c:569:34: warning: too few arguments in call to 'bail' bail ("loadports: no block?!"); ~~~~ ^ netcat.c:571:45: warning: cast to 'char *' from smaller integer type 'unsigned short' [-Wint-to-pointer-cast] bail ("loadports: bogus values %d, %d", (char *) lo, (char *) hi); ^~~~~~~~~~~ netcat.c:571:58: warning: cast to 'char *' from smaller integer type 'unsigned short' [-Wint-to-pointer-cast] bail ("loadports: bogus values %d, %d", (char *) lo, (char *) hi); ^~~~~~~~~~~ netcat.c:571:69: warning: too few arguments in call to 'bail' bail ("loadports: bogus values %d, %d", (char *) lo, (char *) hi); ~~~~ ^ netcat.c:633:29: warning: too few arguments in call to 'bail' bail ("Can't get socket"); ~~~~ ^ netcat.c:639:38: warning: too few arguments in call to 'holler' holler ("nnetfd reuseaddr failed"); /* ??? */ ~~~~~~ ^ netcat.c:643:38: warning: too few arguments in call to 'holler' holler ("nnetfd reuseport failed"); /* ??? */ ~~~~~~ ^ netcat.c:677:64: warning: cast to 'char *' from smaller integer type 'unsigned short' [-Wint-to-pointer-cast] holler ("retrying local %s:%d", inet_ntoa (lclend->sin_addr), (char *) lp); ^~~~~~~~~~~ netcat.c:677:75: warning: too few arguments in call to 'holler' holler ("retrying local %s:%d", inet_ntoa (lclend->sin_addr), (char *) lp); ~~~~~~ ^ netcat.c:678:2: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (2); ^ netcat.c:685:31: warning: cast to 'char *' from smaller integer type 'unsigned short' [-Wint-to-pointer-cast] inet_ntoa(lclend->sin_addr), (char *) lp); ^~~~~~~~~~~ netcat.c:685:42: warning: too few arguments in call to 'bail' inet_ntoa(lclend->sin_addr), (char *) lp); ^ netcat.c:756:39: warning: too few arguments in call to 'bail' bail ("srcrt setsockopt fuxored"); ~~~~ ^ netcat.c:773:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (nnetfd); /* clean up junked socket FD!! */ ^ netcat.c:737: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:802:38: warning: too few arguments in call to 'bail' bail ("UDP listen needs -p arg"); ~~~~ ^ netcat.c:806:35: warning: too few arguments in call to 'bail' bail ("local listen fuxored"); ~~~~ ^ netcat.c:820: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:822:41: warning: too few arguments in call to 'holler' holler ("local getsockname failed"); ~~~~~~ ^ netcat.c:830:25: warning: cast to 'char *' from smaller integer type 'unsigned short' [-Wint-to-pointer-cast] holler (bigbuf_net, (char *) z); ^~~~~~~~~~ netcat.c:830:35: warning: too few arguments in call to 'holler' holler (bigbuf_net, (char *) z); ~~~~~~ ^ netcat.c:843: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:867: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:871:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (nnetfd); /* dump the old socket */ ^ netcat.c:888: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:890:32: warning: too few arguments in call to 'holler' holler ("getsockopt failed"); ~~~~~~ ^ netcat.c:903:41: warning: too few arguments in call to 'holler' holler ("IP options: %s", bigbuf_net); ~~~~~~ ^ netcat.c:915: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:917:42: warning: too few arguments in call to 'holler' holler ("post-rcv getsockname failed"); ~~~~~~ ^ netcat.c:942:38: warning: cast to 'char *' from smaller integer type 'unsigned short' [-Wint-to-pointer-cast] cp, whozis->name, whozis->addrs[0], (char *) z); ^~~~~~~~~~ netcat.c:942:48: warning: too few arguments in call to 'bail' cp, whozis->name, whozis->addrs[0], (char *) z); ^ netcat.c:944:38: warning: cast to 'char *' from smaller integer type 'unsigned short' [-Wint-to-pointer-cast] cp, whozis->name, whozis->addrs[0], (char *) z); ^~~~~~~~~~ netcat.c:944:48: warning: too few arguments in call to 'holler' cp, whozis->name, whozis->addrs[0], (char *) z); ^ netcat.c:964:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] udptest (fd, where) ^ netcat.c:970:8: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] rr = write (fd, bigbuf_in, 1); ^ netcat.c:972:54: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] holler ("udptest first write failed?! errno %d", (char *) errno); ^~~~~~~~~~~~~~ netcat.c:972:68: warning: too few arguments in call to 'holler' holler ("udptest first write failed?! errno %d", (char *) errno); ~~~~~~ ^ netcat.c:974:5: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (o_wait); ^ netcat.c:985:7: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (rr); /* in case it *did* open */ ^ netcat.c:993:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); /* use it or lose it! */ ^ netcat.c:1022:44: warning: too few arguments in call to 'bail' bail ("oprint called with no open fd?!"); ~~~~ ^ netcat.c:1059: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:1082:9: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] x = write (ofd, stage, soc); ^ netcat.c:1084:28: warning: too few arguments in call to 'bail' bail ("ofd write err"); ~~~~ ^ netcat.c:1149:41: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] holler ("Preposterous fd value %d", (char *) fd); ^~~~~~~~~~~ netcat.c:1149:52: warning: too few arguments in call to 'holler' holler ("Preposterous fd value %d", (char *) fd); ~~~~~~ ^ netcat.c:1164: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:1168:5: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] sleep (o_interval); /* pause *before* sending stuff, too */ ^ netcat.c:1186:28: warning: too few arguments in call to 'holler' holler ("select fuxored"); ~~~~~~ ^ netcat.c:1187:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); ^ netcat.c:1198:27: warning: too few arguments in call to 'holler' holler ("net timeout"); ~~~~~~ ^ netcat.c:1199:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); ^ netcat.c:1209:7: warning: implicit declaration of function 'farm9crypt_read' is invalid in C99 [-Wimplicit-function-declaration] rr = farm9crypt_read (fd, bigbuf_net, BIGSIZ); ^ netcat.c:1231:7: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] rr = read (0, bigbuf_in, BIGSIZ); ^ netcat.c:1236:4: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (0); ^ netcat.c:1245:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (0); /* really, I mean it */ ^ netcat.c:1257:35: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] holler ("Bogus buffers: %d, %d", (char *) rzleft, (char *) rnleft); ^~~~~~~~~~~~~~~ netcat.c:1257:52: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] holler ("Bogus buffers: %d, %d", (char *) rzleft, (char *) rnleft); ^~~~~~~~~~~~~~~ netcat.c:1257:67: warning: too few arguments in call to 'holler' holler ("Bogus buffers: %d, %d", (char *) rzleft, (char *) rnleft); ~~~~~~ ^ netcat.c:1262:35: warning: too few arguments in call to 'holler' holler ("too many output retries"); ~~~~~~ ^ netcat.c:1266:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] rr = write (1, np, rnleft); ^ netcat.c:1282:7: warning: implicit declaration of function 'farm9crypt_write' is invalid in C99 [-Wimplicit-function-declaration] rr = farm9crypt_write (fd, zp, rr); /* one line, or the whole buffer */ ^ netcat.c:1309:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close (fd); ^ netcat.c:1315:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ netcat.c:1346:3: warning: implicit declaration of function 'res_init' is invalid in C99 [-Wimplicit-function-declaration] res_init(); ^ netcat.c:1382:9: warning: implicit declaration of function 'farm9crypt_initialized' is invalid in C99 [-Wimplicit-function-declaration] if (farm9crypt_initialized() == 0) { ^ netcat.c:1383:7: warning: implicit declaration of function 'farm9crypt_init' is invalid in C99 [-Wimplicit-function-declaration] farm9crypt_init(crypt_key_f9); ^ netcat.c:1387: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:1389:20: warning: too few arguments in call to 'bail' bail ("wrong"); ~~~~ ^ netcat.c:1422:15: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration] while ((x = getopt (argc, argv, "ae:g:G:hi:k:lno:p:rs:tuvw:z")) != EOF) { ^ netcat.c:1426:27: warning: too few arguments in call to 'bail' bail ("all-A-records NIY"); ~~~~ ^ netcat.c:1434:2: warning: implicit declaration of function 'farm9crypt_init' is invalid in C99 [-Wimplicit-function-declaration] farm9crypt_init(memcpy(keystr, optarg, MAXKEYSIZE)); ^ netcat.c:1441:65: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] bail ("invalid hop pointer %d, must be multiple of 4 <= 28", (char *) x); ^~~~~~~~~~ netcat.c:1441:75: warning: too few arguments in call to 'bail' bail ("invalid hop pointer %d, must be multiple of 4 <= 28", (char *) x); ~~~~ ^ netcat.c:1445:28: warning: too few arguments in call to 'bail' bail ("too many -g hops"); ~~~~ ^ netcat.c:1456:2: warning: implicit declaration of function 'helpme' is invalid in C99 [-Wimplicit-function-declaration] helpme(); /* exits by itself */ ^ netcat.c:1463:44: warning: too few arguments in call to 'bail' bail ("invalid interval time %s", optarg); ~~~~ ^ netcat.c:1475:41: warning: too few arguments in call to 'bail' bail ("invalid local port %s", optarg); ~~~~ ^ netcat.c:1497:40: warning: too few arguments in call to 'bail' bail ("invalid wait-time %s", optarg); ~~~~ ^ netcat.c:1507:24: warning: too few arguments in call to 'bail' bail ("nc -h for help"); ~~~~ ^ netcat.c:1512:5: warning: implicit declaration of function 'farm9crypt_initialized' is invalid in C99 [-Wimplicit-function-declaration] if (farm9crypt_initialized() == 0) { ^ netcat.c:1513:2: warning: implicit declaration of function 'farm9crypt_init' is invalid in C99 [-Wimplicit-function-declaration] farm9crypt_init(crypt_key_f9); ^ netcat.c:1530: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:1532:35: warning: too few arguments in call to 'bail' bail ("can't open %s", stage); ~~~~ ^ netcat.c:1532: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:1544:27: warning: address of array 'whereto->iaddrs' will always evaluate to 'true' [-Wpointer-bool-conversion] if (whereto && whereto->iaddrs) ~~ ~~~~~~~~~^~~~~~ netcat.c:1560:39: warning: too few arguments in call to 'bail' bail ("invalid port %s", argv[optind]); ~~~~ ^ netcat.c:1571:21: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] holler (wrote_txt, (char *) wrote_net, (char *) wrote_out); ^~~~~~~~~~~~~~~~~~ netcat.c:1571:41: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] holler (wrote_txt, (char *) wrote_net, (char *) wrote_out); ^~~~~~~~~~~~~~~~~~ netcat.c:1571:59: warning: too few arguments in call to 'holler' holler (wrote_txt, (char *) wrote_net, (char *) wrote_out); ~~~~~~ ^ netcat.c:1574:28: warning: too few arguments in call to 'bail' bail ("no connection"); ~~~~ ^ netcat.c:1579:27: warning: too few arguments in call to 'bail' bail ("no destination"); ~~~~ ^ netcat.c:1581:37: warning: too few arguments in call to 'bail' bail ("no port[s] to connect to"); ~~~~ ^ netcat.c:1598:29: warning: too few arguments in call to 'bail' bail ("invalid port %s", cp); ~~~~ ^ netcat.c:1602:44: warning: too few arguments in call to 'bail' bail ("invalid port %s", argv[optind]); ~~~~ ^ netcat.c:1630:38: warning: cast to 'char *' from smaller integer type 'unsigned short' [-Wint-to-pointer-cast] whereto->name, whereto->addrs[0], (char *) curport, portpoop->name); ^~~~~~~~~~~~~~~~ netcat.c:1630:70: warning: too few arguments in call to 'holler' whereto->name, whereto->addrs[0], (char *) curport, portpoop->name); ^ netcat.c:1643:40: warning: cast to 'char *' from smaller integer type 'unsigned short' [-Wint-to-pointer-cast] whereto->name, whereto->addrs[0], (char *) curport, portpoop->name); ^~~~~~~~~~~~~~~~ netcat.c:1643:72: warning: too few arguments in call to 'holler' whereto->name, whereto->addrs[0], (char *) curport, portpoop->name); ^ netcat.c:1645: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:1647: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:1658:24: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] holler (wrote_txt, (char *) wrote_net, (char *) wrote_out); ^~~~~~~~~~~~~~~~~~ netcat.c:1658:44: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] holler (wrote_txt, (char *) wrote_net, (char *) wrote_out); ^~~~~~~~~~~~~~~~~~ netcat.c:1658:62: warning: too few arguments in call to 'holler' holler (wrote_txt, (char *) wrote_net, (char *) wrote_out); ~~~~~~ ^ netcat.c:1667:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] helpme() ^ netcat.c:1673:10: warning: too few arguments in call to 'holler' options:"); ^ netcat.c:1692:33: warning: too few arguments in call to 'holler' -s addr local source address"); ^ netcat.c:1701:41: warning: too few arguments in call to 'holler' -z zero-I/O mode [used for scanning]"); ^ netcat.c:1702:70: warning: too few arguments in call to 'bail' bail ("port numbers can be individual or ranges: lo-hi [inclusive]"); ~~~~ ^ netcat.c:1703:1: warning: non-void function does not return a value [-Wreturn-type] } /* helpme */ ^ 135 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c farm9crypt.cc cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c twofish2.cc c++ -s -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DGAPING_SECURITY_HOLE -DFREEBSD -static -o cryptcat netcat.o farm9crypt.o twofish2.o -lstdc++ =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for cryptcat-1.2.1,1 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/net/cryptcat/work/unix/cryptcat /wrkdirs/usr/ports/net/cryptcat/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/net/cryptcat/work/unix/README.cryptcat /wrkdirs/usr/ports/net/cryptcat/work/stage/usr/local/share/doc/cryptcat ====> 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-03T11:50:35+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=18bba8441a' '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 cryptcat-1.2.1,1 ===> Building cryptcat-1.2.1,1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for cryptcat-1.2.1,1 build of net/cryptcat | cryptcat-1.2.1,1 ended at Wed Apr 3 12:51:17 BST 2024 build time: 00:00:46