=>> Building net-mgmt/rate build started at Fri Feb 20 18:21:32 EST 2026 port directory: /usr/ports/net-mgmt/rate package name: rate-0.9_4 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: portmaster@bsdforge.com Makefile datestamp: -rw-r--r-- 1 root wheel 685 Nov 22 2024 /usr/ports/net-mgmt/rate/Makefile Ports top last git commit: eac71dbf758c Ports top unclean checkout: no Port dir last git commit: 76b0011589e1 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 02 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 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.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 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--- ---End OPTIONS List--- --MAINTAINER-- portmaster@bsdforge.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/rate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/rate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/rate/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/rate/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/rate/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/rate/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/rate/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 -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -lcompat -lutil " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing " 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-- OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rate" EXAMPLESDIR="share/examples/rate" DATADIR="share/rate" WWWDIR="www/rate" ETCDIR="etc/rate" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/rate DOCSDIR=/usr/local/share/doc/rate EXAMPLESDIR=/usr/local/share/examples/rate WWWDIR=/usr/local/www/rate ETCDIR=/usr/local/etc/rate --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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 pipebuf (-y) 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 ===> rate-0.9_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> rate-0.9_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of rate-0.9_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 rate-0.9_4 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by rate-0.9_4 for building => SHA256 Checksum OK for rate-0.9.tar.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 rate-0.9_4 for building ===> Extracting for rate-0.9_4 => SHA256 Checksum OK for rate-0.9.tar.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 rate-0.9_4 ===> Applying FreeBSD patches for rate-0.9_4 from /usr/ports/net-mgmt/rate/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> rate-0.9_4 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> rate-0.9_4 depends on file: /usr/local/bin/ccache - found ===> Returning to build of rate-0.9_4 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for rate-0.9_4 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for rate-0.9_4 --- rate.o --- --- rate_estimator.o --- --- rate_abusers.o --- --- rate_extractor.o --- --- rate_sta.o --- --- lib.o --- --- iphash.o --- --- regex.o --- --- save.o --- --- streams.o --- --- streamstat.o --- --- process.o --- --- util.o --- --- dns.o --- --- rate.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c rate.c -o rate.o --- rate_estimator.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c rate_estimator.c -o rate_estimator.o --- rate_abusers.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c rate_abusers.c -o rate_abusers.o --- rate_extractor.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c rate_extractor.c -o rate_extractor.o --- rate_sta.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c rate_sta.c -o rate_sta.o --- lib.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c lib.c -o lib.o --- iphash.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c iphash.c -o iphash.o --- regex.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c regex.c -o regex.o --- save.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c save.c -o save.o --- streams.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c streams.c -o streams.o --- streamstat.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c streamstat.c -o streamstat.o --- process.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c process.c -o process.o --- util.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c util.c -o util.o --- dns.o --- cc -O2 -pipe -DOPEN_BSD=1 -DHAVE_REGEX -DSTREAM_ANALYZER -DIOCTL_GETWINSIZE -DAUTOSENSE_DLH -fstack-protector-strong -fno-strict-aliasing -c dns.c -o dns.o --- util.o --- In file included from util.c:22: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ util.c:38:16: 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] 38 | n = vsnprintf(out, max, format, ap); | ^~~ /usr/include/stdio.h:315:35: note: passing argument to parameter here 315 | int (vsnprintf)(char * __restrict, size_t, const char * __restrict, | ^ util.c:38:26: 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] 38 | n = vsnprintf(out, max, format, ap); | ^~~~~~ /usr/include/stdio.h:315:68: note: passing argument to parameter here 315 | int (vsnprintf)(char * __restrict, size_t, const char * __restrict, | ^ 3 warnings generated. --- save.o --- save.c:138:32: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | struct passwd * pw = getpwuid(getuid()); | ^ save.c:157:73: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 157 | fprintf(stderr, "Unable to save operation mode, unable to open file '%s' for writing.\n"); | ~^ save.c:203:32: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | struct passwd * pw = getpwuid(getuid()); | ^ 3 warnings generated. --- lib.o --- lib.c:92:16: 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] 92 | if((z = index(s, '/'))) | ^ /usr/include/strings.h:64:25: note: passing argument to parameter here 64 | char *index(const char *, int) __pure; /* LEGACY */ | ^ lib.c:92:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 92 | if((z = index(s, '/'))) | ^ ~~~~~~~~~~~~~ lib.c:96:18: 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] 96 | if(inet_my_aton(s, &in) == 0) return(-1); | ^ lib.c:47:37: note: passing argument to parameter 'cp' here 47 | inline int inet_my_aton(const char *cp, void * addr) | ^ lib.c:104:21: 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] 104 | masksize = strtol(z, (char**) &e, 0); | ^ /usr/include/stdlib.h:114:37: note: passing argument to parameter here 114 | long strtol(const char * __restrict, char ** __restrict, int); | ^ lib.c:121:21: 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] 121 | if(!inet_my_aton(z, &in)) return(-1); | ^ lib.c:47:37: note: passing argument to parameter 'cp' here 47 | inline int inet_my_aton(const char *cp, void * addr) | ^ lib.c:177:41: 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] 177 | word = (unsigned char*) malloc(strlen(start) + 1); | ^~~~~ /usr/include/string.h:105:28: note: passing argument to parameter here 105 | size_t strlen(const char *) __pure; | ^ lib.c:258:13: 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] 258 | c = strtod(val, (char**) &endptr); | ^~~ /usr/include/stdlib.h:112:39: note: passing argument to parameter here 112 | double strtod(const char * __restrict, char ** __restrict); | ^ lib.c:265:12: 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] 265 | if(strcmp(endptr, "pps") == 0 || strcmp(endptr, "bps") == 0) mult = 1; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:265:42: 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] 265 | if(strcmp(endptr, "pps") == 0 || strcmp(endptr, "bps") == 0) mult = 1; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:266:13: 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] 266 | if(!strcmp(endptr, "kpps")) mult = 1000; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:267:13: 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] 267 | if(!strcmp(endptr, "Mpps")) mult = 1000000; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:268:13: 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] 268 | if(!strcmp(endptr, "Gpps")) mult = 1000000000; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:270:13: 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] 270 | if(!strcmp(endptr, "kbps")) mult = 1024 / 8; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:271:13: 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] 271 | if(!strcmp(endptr, "Kbps")) mult = 1024 / 8; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:272:13: 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] 272 | if(!strcmp(endptr, "Mbps")) mult = 1024 * 1024 / 8; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:273:13: 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] 273 | if(!strcmp(endptr, "Gbps")) { mult = 1024 * 1024 * 1024; mult /= 8; } | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:275:13: 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] 275 | if(!strcmp(endptr, "kBps")) mult = 1024; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:276:13: 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] 276 | if(!strcmp(endptr, "KBps")) mult = 1024; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:277:13: 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] 277 | if(!strcmp(endptr, "MBps")) mult = 1024 * 1024; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:278:13: 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] 278 | if(!strcmp(endptr, "GBps")) mult = 1024 * 1024 * 1024; | ^~~~~~ /usr/include/string.h:90:25: note: passing argument to parameter here 90 | int strcmp(const char *, const char *) __pure; | ^ lib.c:310:26: 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] 310 | if ((he = gethostbyname(host)) != NULL) | ^~~~ /usr/include/netdb.h:234:43: note: passing argument to parameter here 234 | struct hostent *gethostbyname(const char *); | ^ lib.c:317:19: 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] 317 | if(inet_my_aton(host, &sin)) h = 1; | ^~~~ lib.c:47:37: note: passing argument to parameter 'cp' here 47 | inline int inet_my_aton(const char *cp, void * addr) | ^ 22 warnings generated. --- save.o --- --- rate_extractor.o --- In file included from rate_extractor.c:32: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ rate_extractor.c:60:2: warning: call to undeclared function 'extractor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | extractor(data, caplen, opt_nul_char, opt_ips); | ^ rate_extractor.c:86:10: 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] 86 | help(argv[0]); | ^~~~~~~ ./protos.h:36:27: note: passing argument to parameter 'name' here 36 | void help(unsigned char * name); | ^ --- streamstat.o --- In file included from streamstat.c:21: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ streamstat.c:79:4: warning: call to undeclared library function 'memmove' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | memmove(list + j + 1, list + j, sizeof(void*) * (*n - j - (*n == maxitems ? 1 : 0))); | ^ streamstat.c:79:4: note: include the header or explicitly provide a declaration for 'memmove' streamstat.c:96:34: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | sta_host ** list = (sta_host**) sta_malloc(sizeof(sta_host*) * maxitems); --- streams.o --- In file included from streams.c:23: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ streams.c:62:38: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | sta_class * c = (sta_class*) sta_malloc(sizeof(sta_class)); | ^ streams.c:62:25: warning: cast to 'sta_class *' (aka 'struct class *') from smaller integer type 'int' [-Wint-to-pointer-cast] 62 | sta_class * c = (sta_class*) sta_malloc(sizeof(sta_class)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:125:2: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | memset(streamhash, 0, sizeof(streamhash)); | ^ streams.c:125:2: note: include the header or explicitly provide a declaration for 'memset' streams.c:137:21: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | host = (sta_host*) sta_malloc(sizeof(sta_host)); | ^ streams.c:137:9: warning: cast to 'sta_host *' (aka 'struct host *') from smaller integer type 'int' [-Wint-to-pointer-cast] 137 | host = (sta_host*) sta_malloc(sizeof(sta_host)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:255:8: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 255 | memcpy(&s->endpoints[1].firstdata, now, sizeof(struct timeval)); | ^ streams.c:255:8: note: include the header or explicitly provide a declaration for 'memcpy' streams.c:267:21: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 267 | s = (sta_stream*) sta_malloc(sizeof(sta_stream)); | ^ streams.c:267:7: warning: cast to 'sta_stream *' (aka 'struct stream *') from smaller integer type 'int' [-Wint-to-pointer-cast] 267 | s = (sta_stream*) sta_malloc(sizeof(sta_stream)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:403:15: warning: call to undeclared function 'sta_process'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 403 | if((proto = sta_process(s, content, len, endpoint))) | ^ streams.c:498:4: warning: call to undeclared function 'sta_destroyprotodata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 498 | sta_destroyprotodata(s); | ^ streams.c:499:4: warning: call to undeclared function 'sta_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 499 | sta_free(s); | ^ streams.c:565:28: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 565 | int *leasttimes = (void*) sta_malloc(sizeof(int) * count); | ^ streams.c:565:20: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 565 | int *leasttimes = (void*) sta_malloc(sizeof(int) * count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:566:29: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 566 | sta_stream ** leasttable = (void*) sta_malloc(sizeof(sta_stream*) * count); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streams.c:591:6: warning: call to undeclared library function 'memmove' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 591 | memmove(leasttimes + i + 1, leasttimes + i, sizeof(int) * (count - i - 1)); | ^ streams.c:591:6: note: include the header or explicitly provide a declaration for 'memmove' streams.c:638:3: warning: call to undeclared function 'sta_destroyprotodata'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 638 | sta_destroyprotodata(s); | ^ streams.c:639:3: warning: call to undeclared function 'sta_free'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 639 | sta_free(s); | ^ streams.c:653:6: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 653 | free(next); | ^ streams.c:653:6: note: include the header or explicitly provide a declaration for 'free' 19 warnings generated. --- rate_sta.o --- In file included from rate_sta.c:32: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ rate_sta.c:359:10: 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] 359 | help(argv[0]); | ^~~~~~~ ./protos.h:36:27: note: passing argument to parameter 'name' here 36 | void help(unsigned char * name); | ^ 2 warnings generated. --- rate_extractor.o --- rate_extractor.c:120:2: warning: call to undeclared function 'prepare_extractor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | prepare_extractor(opt_extractor, opt_order, opt_caplen); | ^ 4 warnings generated. --- rate_estimator.o --- In file included from rate_estimator.c:31: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ rate_estimator.c:106:10: 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] 106 | help(argv[0]); | ^~~~~~~ ./protos.h:36:27: note: passing argument to parameter 'name' here 36 | void help(unsigned char * name); | ^ rate_estimator.c:120:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 120 | opt_bpfexpression = argv[optind++]; | ^ ~~~~~~~~~~~~~~ 3 warnings generated. --- regex.o --- In file included from regex.c:32: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ regex.c:334:14: warning: passing 'unsigned char[512]' 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] 334 | snprintf(strout, l, "%s", stringtab[o]); | ^~~~~~ /usr/include/stdio.h:313:34: note: passing argument to parameter here 313 | int (snprintf)(char * __restrict, size_t, const char * __restrict, | ^ regex.c:345:14: warning: passing 'unsigned char[512]' 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] --- process.o --- In file included from process.c:23: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ process.c:169:25: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | str = (unsigned char*) malloc(m + 1); | ^ process.c:169:25: note: include the header or explicitly provide a declaration for 'malloc' process.c:174:25: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | str = (unsigned char*) realloc(str, i + 1); | ^ --- streamstat.o --- | ^ streamstat.c:96:21: warning: cast to 'sta_host **' (aka 'struct host **') from smaller integer type 'int' [-Wint-to-pointer-cast] 96 | sta_host ** list = (sta_host**) sta_malloc(sizeof(sta_host*) * maxitems); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streamstat.c:108:9: warning: call to undeclared function 'stastream_isours'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | if(!stastream_isours(current->ip)) continue; | ^ streamstat.c:160:38: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | sta_stream ** list = (sta_stream**) sta_malloc(sizeof(sta_stream*) * maxitems); | ^ --- regex.o --- 345 | snprintf(strout, l, "%s", stringtab[i]); | ^~~~~~ /usr/include/stdio.h:313:34: note: passing argument to parameter here 313 | int (snprintf)(char * __restrict, size_t, const char * __restrict, | ^ regex.c:351:1: warning: non-void function does not return a value [-Wreturn-type] 351 | } | ^ 4 warnings generated. --- process.o --- process.c:174:25: note: include the header or explicitly provide a declaration for 'realloc' process.c:181:19: warning: passing 'const 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] 181 | pos = rabin_karp(d, maxd, str, l = strlen(str)); | ^ process.c:136:42: note: passing argument to parameter 'y' here 136 | static inline int rabin_karp(const char *y, int n, const char *x, int m) | ^ process.c:220:4: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | free(portinfos); | ^ process.c:220:4: note: include the header or explicitly provide a declaration for 'free' --- streamstat.o --- streamstat.c:160:23: warning: cast to 'sta_stream **' (aka 'struct stream **') from smaller integer type 'int' [-Wint-to-pointer-cast] 160 | sta_stream ** list = (sta_stream**) sta_malloc(sizeof(sta_stream*) * maxitems); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ streamstat.c:170:9: warning: call to undeclared function 'stastream_isours'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 170 | if(!(stastream_isours(current->endpoints[0].host->ip) || | ^ streamstat.c:183:2: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | memset(pi, 0, sizeof(struct protoinfo)); | ^ --- process.o --- process.c:282:7: warning: call to undeclared library function 'sscanf' with type 'int (const char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 282 | if(sscanf(pasv, "(%d,%d,%d,%d,%d,%d)", &i1, &i2, &i3, &i4, &p1, &p2) == 6) | ^ process.c:282:7: note: include the header or explicitly provide a declaration for 'sscanf' process.c:282:14: 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] 282 | if(sscanf(pasv, "(%d,%d,%d,%d,%d,%d)", &i1, &i2, &i3, &i4, &p1, &p2) == 6) | ^~~~ process.c:284:20: warning: call to undeclared function 'htonl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- streamstat.o --- streamstat.c:183:2: note: include the header or explicitly provide a declaration for 'memset' streamstat.c:208:50: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | struct protoinfo ** list = (struct protoinfo**) sta_malloc(sizeof(struct protoinfo*) * maxitems); | ^ streamstat.c:208:29: warning: cast to 'struct protoinfo **' from smaller integer type 'int' [-Wint-to-pointer-cast] 208 | struct protoinfo ** list = (struct protoinfo**) sta_malloc(sizeof(struct protoinfo*) * maxitems); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- process.o --- 284 | u_int32_t ip = htonl((i1 << 24) | (i2 << 16) | (i3 << 8) | i4); | ^ process.c:285:22: warning: call to undeclared function 'htons'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | u_int16_t port = htons((p1 << 8) | p2); | ^ process.c:301:14: 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] 301 | if(sscanf(port, "%d,%d,%d,%d,%d,%d", &i1, &i2, &i3, &i4, &p1, &p2) == 6) | ^~~~ process.c:303:20: warning: call to undeclared function 'htonl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- streamstat.o --- streamstat.c:286:2: warning: call to undeclared library function 'snprintf' with type 'int (char *restrict, unsigned long, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 286 | snprintf(fmtstring, 256, fmt, n, n, n, n); | ^ streamstat.c:286:2: note: include the header or explicitly provide a declaration for 'snprintf' streamstat.c:298:50: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 298 | snprintf(header, 500, customize_format(cols - strlen(indent), 31, "%%s%%s%%%d.%ds%%%d.%ds Traffic| Speed%%s"), | ^ streamstat.c:298:50: note: include the header or explicitly provide a declaration for 'strlen' --- process.o --- 303 | u_int32_t ip = htonl((i1 << 24) | (i2 << 16) | (i3 << 8) | i4); | ^ process.c:304:22: warning: call to undeclared function 'htons'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304 | u_int16_t port = htons((p1 << 8) | p2); | ^ process.c:348:41: warning: passing 'char[7]' 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] 348 | s->protocol_data = auto_snprintf(256, "%s => ", from); | ^~~~~~~~ ./util.h:20:56: note: passing argument to parameter 'format' here 20 | unsigned char * auto_snprintf(int max, unsigned char * format, ...); --- streamstat.o --- streamstat.c:402:30: warning: passing 'char[20]' 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] 402 | return(auto_snprintf(300, "%s%s%7s%s%c%s%7s%s ", | ^~~~~~~~~~~~~~~~~~~~~ ./util.h:20:56: note: passing argument to parameter 'format' here 20 | unsigned char * auto_snprintf(int max, unsigned char * format, ...); | ^ streamstat.c:402:10: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 402 | return(auto_snprintf(300, "%s%s%7s%s%c%s%7s%s ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- process.o --- | ^ process.c:355:25: warning: passing 'char[5]' 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] 355 | r = auto_snprintf(256, "%s%s", s->protocol_data, to); | ^~~~~~ ./util.h:20:56: note: passing argument to parameter 'format' here 20 | unsigned char * auto_snprintf(int max, unsigned char * format, ...); | ^ process.c:375:41: warning: passing 'char[6]' 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] 375 | s->protocol_data = auto_snprintf(250, "%s:%s", host, req); | ^~~~~~~ --- streamstat.o --- 403 | endpoints, | ~~~~~~~~~~ 404 | CM_DATA(stale, color), | ~~~~~~~~~~~~~~~~~~~~~~ 405 | overall_bytes, | ~~~~~~~~~~~~~~ 406 | CM_PLAIN(stale, color), | ~~~~~~~~~~~~~~~~~~~~~~~ --- process.o --- ./util.h:20:56: note: passing argument to parameter 'format' here 20 | unsigned char * auto_snprintf(int max, unsigned char * format, ...); | ^ process.c:396:3: warning: call to undeclared library function 'snprintf' with type 'int (char *restrict, unsigned long, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 396 | snprintf(buffer, n, "%s", s->protocol_data); | ^ process.c:396:3: note: include the header or explicitly provide a declaration for 'snprintf' process.c:396:29: warning: format specifies type 'char *' but the argument has type 'void *' [-Wformat] 396 | snprintf(buffer, n, "%s", s->protocol_data); | ~~ ^~~~~~~~~~~~~~~~ process.c:402:35: warning: format specifies type 'char *' but the argument has type 'void *' [-Wformat] --- streamstat.o --- 407 | cseparator, | ~~~~~~~~~~~ 408 | CM_RATE(stale, color), | ~~~~~~~~~~~~~~~~~~~~~~ 409 | overall_bps, | ~~~~~~~~~~~~ 410 | CM_PLAIN(stale, color))); | ~~~~~~~~~~~~~~~~~~~~~~~~ --- process.o --- 402 | snprintf(buffer, n, "User: %s", s->protocol_data); | ~~ ^~~~~~~~~~~~~~~~ process.c:455:17: warning: passing 'const 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] 455 | if(strncmp(content, "220 ", 4) == 0 && | ^~~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ process.c:456:22: warning: passing 'const 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] 456 | ((rabin_karp(content, len, "SMTP", 4) != -1) || --- streamstat.o --- streamstat.c:423:13: warning: call to undeclared function 'sta_protoinfo'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 423 | sta_protoinfo(s), | ^ streamstat.c:412:30: warning: passing 'char[36]' 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] 412 | return(auto_snprintf(300, "%s%s%7s%s%c%s%7s%s \n%s%s%-70.70s%s ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./util.h:20:56: note: passing argument to parameter 'format' here 20 | unsigned char * auto_snprintf(int max, unsigned char * format, ...); | ^ --- process.o --- | ^~~~~~~ process.c:136:42: note: passing argument to parameter 'y' here 136 | static inline int rabin_karp(const char *y, int n, const char *x, int m) | ^ process.c:457:22: warning: passing 'const 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] 457 | (rabin_karp(content, len, "smtp", 4) != -1))) | ^~~~~~~ process.c:136:42: note: passing argument to parameter 'y' here 136 | static inline int rabin_karp(const char *y, int n, const char *x, int m) | ^ --- streamstat.o --- streamstat.c:412:10: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 412 | return(auto_snprintf(300, "%s%s%7s%s%c%s%7s%s \n%s%s%-70.70s%s ", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | endpoints, | ~~~~~~~~~~ 414 | CM_DATA(stale, color), | ~~~~~~~~~~~~~~~~~~~~~~ --- process.o --- process.c:459:22: warning: passing 'const 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] 459 | else if(strncmp(content, "+OK", 3) == 0) | ^~~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ process.c:465:20: warning: passing 'const 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] 465 | if(rabin_karp(content, len, "220", 3) != -1 && | ^~~~~~~ process.c:136:42: note: passing argument to parameter 'y' here --- streamstat.o --- 415 | overall_bytes, | ~~~~~~~~~~~~~~ 416 | CM_PLAIN(stale, color), | ~~~~~~~~~~~~~~~~~~~~~~~ 417 | cseparator, | ~~~~~~~~~~~ 418 | CM_RATE(stale, color), | ~~~~~~~~~~~~~~~~~~~~~~ --- process.o --- 136 | static inline int rabin_karp(const char *y, int n, const char *x, int m) | ^ process.c:466:23: warning: passing 'const 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] 466 | ((rabin_karp(content, len, "FTP", 3) != -1) || | ^~~~~~~ process.c:136:42: note: passing argument to parameter 'y' here 136 | static inline int rabin_karp(const char *y, int n, const char *x, int m) | ^ process.c:467:23: warning: passing 'const 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] --- streamstat.o --- 419 | overall_bps, | ~~~~~~~~~~~~ 420 | CM_PLAIN(stale, color), | ~~~~~~~~~~~~~~~~~~~~~~~ 421 | indent, | ~~~~~~~ 422 | CM_PROTOCOL(stale, color), | ~~~~~~~~~~~~~~~~~~~~~~~~~~ --- process.o --- 467 | (rabin_karp(content, len, "ftp", 3) != -1))) | ^~~~~~~ process.c:136:42: note: passing argument to parameter 'y' here 136 | static inline int rabin_karp(const char *y, int n, const char *x, int m) | ^ process.c:479:17: warning: passing 'const 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] 479 | if(strncmp(content, "GET ", 4) == 0 || | ^~~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ --- streamstat.o --- 423 | sta_protoinfo(s), | ~~~~~~~~~~~~~~~~~ 424 | CM_PLAIN(stale, color))); | ~~~~~~~~~~~~~~~~~~~~~~~~ streamstat.c:426:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 426 | } | ^ streamstat.c:434:24: warning: call to undeclared function 'sta_malloc'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 434 | list = (sta_stream**) sta_malloc(sizeof(sta_stream*) * h->streamcount); | ^ --- process.o --- process.c:480:18: warning: passing 'const 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] 480 | strncmp(content, "PUT ", 4) == 0 || | ^~~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ process.c:481:18: warning: passing 'const 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] 481 | strncmp(content, "HEAD ", 5) == 0 || | ^~~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here --- streamstat.o --- streamstat.c:434:9: warning: cast to 'sta_stream **' (aka 'struct stream **') from smaller integer type 'int' [-Wint-to-pointer-cast] 434 | list = (sta_stream**) sta_malloc(sizeof(sta_stream*) * h->streamcount); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 warnings generated. --- process.o --- 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ process.c:482:18: warning: passing 'const 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] 482 | strncmp(content, "POST ", 5) == 0) | ^~~~~~~ /usr/include/string.h:116:26: note: passing argument to parameter here 116 | int strncmp(const char *, const char *, size_t) __pure; | ^ process.c:500:29: warning: call to undeclared function 'ntohs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 500 | if(!(g = tcp_port_guess(ntohs(s->endpoints[1].port)))) | ^ process.c:533:28: warning: call to undeclared function 'ntohs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 533 | if(!(g = udp_port_guess(ntohs(s->endpoints[1].port)))) | ^ process.c:574:11: warning: call to undeclared function 'ntohs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 574 | int p1 = ntohs(s->endpoints[0].port); | ^ process.c:596:26: warning: call to undeclared function 'htons'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 596 | if(!(se = getservbyport(htons(p1), proto))) | ^ 33 warnings generated. --- streamstat.o --- --- regex.o --- --- rate.o --- In file included from rate.c:32: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ rate.c:172:7: warning: call to undeclared function 'check_regex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | if(!check_regex(data + opt_prefix, hd->caplen - opt_prefix, opt_nul_char)) return; | ^ rate.c:183:72: warning: data argument not used by format string [-Wformat-extra-args] 183 | printf("rate 0.9 - Mateusz 'mteg' Golicz , 2003\n", name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ rate.c:240:18: warning: initializing 'unsigned char *' with an expression of type 'char[5]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 240 | unsigned char * interface = "eth0"; | ^ ~~~~~~ rate.c:299:10: 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] 299 | help(argv[0]); | ^~~~~~~ rate.c:181:27: note: passing argument to parameter 'name' here 181 | void help(unsigned char * name) | ^ rate.c:302:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 302 | interface = strdup(optarg); | ^ ~~~~~~~~~~~~~~ rate.c:305:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 305 | opt_bpfexpression = strdup(optarg); | ^ ~~~~~~~~~~~~~~ rate.c:317:30: 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] 317 | if((handle = pcap_open_live(interface, 2048, opt_promisc, 50, ebuff))==NULL) | ^~~~~~~~~ /usr/include/pcap/pcap.h:564:45: note: passing argument to parameter here 564 | PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); | ^ rate.c:381:3: warning: call to undeclared function 'prepare_regex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 381 | prepare_regex(opt_regex, opt_caplen); | ^ rate.c:387:33: 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] 387 | if(pcap_compile(handle, &bpf, opt_bpfexpression, 1, 0xffffffff) == -1) | ^~~~~~~~~~~~~~~~~ /usr/include/pcap/pcap.h:662:71: note: passing argument to parameter here 662 | PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, | ^ 10 warnings generated. --- process.o --- --- iphash.o --- iphash.c:56:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 56 | if(mask = index(tmpname, '/')) | ~~~~~^~~~~~~~~~~~~~~~~~~~~ iphash.c:56:10: note: place parentheses around the assignment to silence this warning 56 | if(mask = index(tmpname, '/')) | ^ | ( ) iphash.c:56:10: note: use '==' to turn this assignment into an equality comparison 56 | if(mask = index(tmpname, '/')) | ^ | == iphash.c:64:17: 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] 64 | ip = inet_addr(tmpname); | ^~~~~~~ iphash.c:38:35: note: passing argument to parameter here 38 | u_int32_t inet_addr(unsigned char*); | ^ iphash.c:68:12: warning: call to undeclared function 'htonl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | netmask = htonl(netmask); | ^ 3 warnings generated. --- rate_abusers.o --- In file included from rate_abusers.c:31: /usr/include/sys/timeb.h:41:2: warning: "this file includes which is deprecated" [-W#warnings] 41 | #warning "this file includes which is deprecated" | ^ rate_abusers.c:235:10: 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] 235 | help(argv[0]); | ^~~~~~~ ./protos.h:36:27: note: passing argument to parameter 'name' here 36 | void help(unsigned char * name); | ^ rate_abusers.c:273:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 273 | opt_bpfexpression = argv[optind++]; | ^ ~~~~~~~~~~~~~~ 3 warnings generated. --- dns.o --- dns.c:336:10: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 336 | *(int*)0=0; | ^~~~~~~~ dns.c:336:10: note: consider using __builtin_trap() or qualifying pointer with 'volatile' dns.c:341:13: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] 341 | *(int*)0=0; | ^~~~~~~~ dns.c:341:13: note: consider using __builtin_trap() or qualifying pointer with 'volatile' dns.c:1073:83: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 1073 | r = recvfrom(resfd,(byte *)resrecvbuf,MaxPacketsize,0,(struct sockaddr *)&from,&fromlen); | ^~~~~~~~ /usr/include/sys/socket.h:714:96: note: passing argument to parameter here 714 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ 3 warnings generated. --- rate --- cc rate.o rate_estimator.o rate_abusers.o rate_extractor.o rate_sta.o lib.o iphash.o regex.o save.o streams.o streamstat.o process.o util.o dns.o -o rate -lcompat -lutil -lpcap =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for rate-0.9_4 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/net-mgmt/rate/work/rate-0.9/rate /wrkdirs/usr/ports/net-mgmt/rate/work/stage/usr/local/bin/rate install -m 444 /wrkdirs/usr/ports/net-mgmt/rate/work/rate-0.9/doc/rate.1 /wrkdirs/usr/ports/net-mgmt/rate/work/stage/usr/local/share/man/man1 ====> 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=2026-02-20T23:21:32+0000' 'PKG_NOTE_ports_top_git_hash=eac71dbf758c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=76b0011589e1' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for rate-0.9_4 ===> Building rate-0.9_4 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for rate-0.9_4 build of net-mgmt/rate | rate-0.9_4 ended at Fri Feb 20 18:21:39 EST 2026 build time: 00:00:08