=>> Building net-mgmt/bpft build started at Fri Feb 20 01:23:52 EST 2026 port directory: /usr/ports/net-mgmt/bpft package name: bpft-4.20040506_2 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1358 Aug 27 2024 /usr/ports/net-mgmt/bpft/Makefile Ports top last git commit: eac71dbf758c Ports top unclean checkout: no Port dir last git commit: e2216da9e793 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--- ===> The following configuration options are available for bpft-4.20040506_2: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/bpft/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/bpft/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/bpft/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/bpft/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/bpft/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/bpft/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/bpft/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/bpft/work XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/bpft/work/.cache HOME=/wrkdirs/usr/ports/net-mgmt/bpft/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/bpft/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/bpft/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=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -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-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/bpft" EXAMPLESDIR="share/examples/bpft" DATADIR="share/bpft" WWWDIR="www/bpft" ETCDIR="etc/bpft" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/bpft DOCSDIR=/usr/local/share/doc/bpft EXAMPLESDIR=/usr/local/share/examples/bpft WWWDIR=/usr/local/www/bpft ETCDIR=/usr/local/etc/bpft --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 ===> NOTICE: The bpft port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bpft-4.20040506_2 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 ===> bpft-4.20040506_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of bpft-4.20040506_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The bpft port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by bpft-4.20040506_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The bpft port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by bpft-4.20040506_2 for building => SHA256 Checksum OK for bpft4-2004-05-06.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The bpft port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by bpft-4.20040506_2 for building ===> Extracting for bpft-4.20040506_2 => SHA256 Checksum OK for bpft4-2004-05-06.tgz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for bpft-4.20040506_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> bpft-4.20040506_2 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. ===> bpft-4.20040506_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of bpft-4.20040506_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for bpft-4.20040506_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for bpft-4.20040506_2 ===> Build in lib <=== cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c addrtoname.c -o addrtoname.o In file included from addrtoname.c:62: ../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wunknown-attributes] 141 | __attribute__((volatile, format (printf, 1, 2))); | ^~~~~~~~ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c interfaces.c -o interfaces.o In file included from interfaces.c:56: ../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wunknown-attributes] 141 | __attribute__((volatile, format (printf, 1, 2))); | ^~~~~~~~ interfaces.c:90:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 90 | } | ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c util.c -o util.o In file included from util.c:52: ../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wunknown-attributes] 141 | __attribute__((volatile, format (printf, 1, 2))); | ^~~~~~~~ util.c:57:6: warning: function cannot return qualified void type 'volatile void' [-Wqualified-void-return-type] 57 | error(const char *fmt, ...) | ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c savestr.c -o savestr.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c setsignal.c -o setsignal.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c version.c -o version.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c globalvar.c -o globalvar.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c crc.c -o crc.o rm -f libbpft.a ar rc libbpft.a addrtoname.o interfaces.o util.o savestr.o setsignal.o version.o globalvar.o crc.o ranlib libbpft.a ===> Build in trafd <=== cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c main.c -o main.o In file included from main.c:31: /usr/include/sys/syslimits.h:36:2: warning: "No user-serviceable parts inside." [-W#warnings] 36 | #warning "No user-serviceable parts inside." | ^ In file included from main.c:38: ./../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wunknown-attributes] 141 | __attribute__((volatile, format (printf, 1, 2))); | ^~~~~~~~ main.c:172:23: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 172 | if ((device_name = pcap_lookupdev(ebuf)) == 0) | ^ /usr/include/pcap/pcap.h:443:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 443 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /usr/include/pcap/funcattrs.h:327:47: note: expanded from macro 'PCAP_DEPRECATED' 327 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ main.c:203:11: warning: passing arguments to 'bpf_dump' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | bpf_dump(&fcode, dflag); | ^ main.c:274:16: warning: passing arguments to 'traf_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | if (!traf_init(rflag)) { | ^ main.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | main(argc, argv) | ^ main.c:298:11: warning: passing arguments to 'traf_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | traf_save(file_dump, "w"); | ^ main.c:344:12: warning: passing arguments to 'traf_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | traf_save(file_dump, "w"); | ^ main.c:348:12: warning: passing arguments to 'traf_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | traf_save(file_save, "a"); | ^ main.c:392:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | int is_symlink(path) | ^ 10 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c traffic.c -o traffic.o In file included from traffic.c:51: ../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wunknown-attributes] 141 | __attribute__((volatile, format (printf, 1, 2))); | ^~~~~~~~ traffic.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | traf_init(restore) | ^ In file included from traffic.c:53: ./trafd.h:32:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 32 | extern int traf_init(); | ^ traffic.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | hash( e ) | ^ traffic.c:169:40: warning: comparison between pointer and integer ('in_addr_t' (aka 'unsigned int') and 'void *') [-Wpointer-integer-compare] 169 | return entries[index].in_ip.s_addr == NULL; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~ traffic.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | traf_tcp(tp, ip) | ^ traffic.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | traf_udp(up, ip) | ^ traffic.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | traf_ip(ip) | ^ traffic.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | traf_ip_noproto(ip) | ^ traffic.c:367:11: warning: passing arguments to 'traf_save' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | traf_save(file_name, save_mode); | ^ traffic.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | traf_save(fname, mode) | ^ In file included from traffic.c:53: ./trafd.h:34:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | extern void traf_save(); | ^ traffic.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | processing_ip(bp, length) | ^ traffic.c:674:35: warning: passing 'const struct ip *' to parameter of type 'struct ip *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 674 | traf_tcp((struct tcphdr *)cp, ip); | ^~ traffic.c:677:35: warning: passing 'const struct ip *' to parameter of type 'struct ip *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 677 | traf_udp((struct udphdr *)cp, ip); | ^~ traffic.c:680:13: warning: passing 'const struct ip *' to parameter of type 'struct ip *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 680 | traf_ip(ip); | ^~ traffic.c:683:18: warning: passing 'const struct ip *' to parameter of type 'struct ip *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 683 | } else traf_ip(ip); | ^~ traffic.c:684:25: warning: passing 'const struct ip *' to parameter of type 'struct ip *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 684 | }else traf_ip_noproto(ip); | ^~ 18 warnings generated. cc main.o traffic.o ../lib/libbpft.a -o trafd -L../lib -lbpft -lpcap -L/usr/local/lib -lncurses -ll ===> Build in trafstat <=== cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c main.c -o main.o In file included from main.c:42: ../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wunknown-attributes] 141 | __attribute__((volatile, format (printf, 1, 2))); | ^~~~~~~~ main.c:123:23: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 123 | if ((device_name = pcap_lookupdev(ebuf)) == 0) | ^ /usr/include/pcap/pcap.h:443:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 443 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /usr/include/pcap/funcattrs.h:327:47: note: expanded from macro 'PCAP_DEPRECATED' 327 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ main.c:157:4: warning: call to undeclared library function 'bcopy' with type 'void (const void *, void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | bcopy(hp->h_addr, (char *)&server.sin_addr, | ^ main.c:157:4: note: include the header or explicitly provide a declaration for 'bcopy' main.c:177:19: 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] 177 | write(ifd, buf, strlen(buf)); | ^ main.c:177:19: note: include the header or explicitly provide a declaration for 'strlen' main.c:212:3: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | strncpy(un.sun_path, file_fifo, sizeof(un.sun_path)); | ^ main.c:212:3: note: include the header or explicitly provide a declaration for 'strncpy' main.c:244:16: warning: passing arguments to 'traf_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | pid = traf_get(ifd); | ^ main.c:259:12: warning: passing arguments to 'traf_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | traf_put(1); | ^ main.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | main(argc, argv) | ^ 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c trafstat.c -o trafstat.o In file included from trafstat.c:30: ./../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wunknown-attributes] 141 | __attribute__((volatile, format (printf, 1, 2))); | ^~~~~~~~ trafstat.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | traf_get(fd) | ^ trafstat.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | sortbysize(left, right) | ^ trafstat.c:130:9: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 129 | printf(" Summary: %qu data bytes, %qu all bytes, %u records\n", | ~~~ | %lu 130 | dbytes, abytes, n_entry); | ^~~~~~ trafstat.c:130:17: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 129 | printf(" Summary: %qu data bytes, %qu all bytes, %u records\n", | ~~~ | %lu 130 | dbytes, abytes, n_entry); | ^~~~~~ trafstat.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | traf_put(fd) | ^ 6 warnings generated. cc main.o trafstat.o -L../lib -lbpft -lpcap -o trafstat ===> Build in trafstatd <=== cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c trafstatd.c -o trafstatd.o trafstatd.c:74:46: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 74 | if (getpeername(0, (struct sockaddr *)&sin, &sval) < 0) | ^~~~~ /usr/include/sys/socket.h:709:74: note: passing argument to parameter here 709 | int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ trafstatd.c:75:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | error("getpeername"); | ^ trafstatd.c:136:8: warning: passing arguments to 'error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | error("fork"); | ^ trafstatd.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | main( argc, argv) | ^ trafstatd.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | error(msg) | ^ 5 warnings generated. cc trafstatd.o -L../lib -lbpft -o trafstatd ===> Build in traflog <=== cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c main.c -o main.o In file included from main.c:37: ./../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wunknown-attributes] 141 | __attribute__((volatile, format (printf, 1, 2))); | ^~~~~~~~ main.c:198:23: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 198 | if ((device_name = pcap_lookupdev(ebuf)) == 0) | ^ /usr/include/pcap/pcap.h:443:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 443 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /usr/include/pcap/funcattrs.h:327:47: note: expanded from macro 'PCAP_DEPRECATED' 327 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ main.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | main(argc, argv) | ^ main.c:216:3: warning: array index 1024 is past the end of the array (that has type 'char[1024]') [-Warray-bounds] 216 | buf[sizeof(buf)]=0; | ^ ~~~~~~~~~~~ main.c:78:2: note: array 'buf' declared here 78 | char buf[PATH_MAX], *cmdbuf, *infile = NULL; | ^ main.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | get_format(f_name) | ^ main.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | isformat(fmt) | ^ main.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | iskey(token) | ^ main.c:392:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | static void setthetime(p, tv) | ^ 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../include -DRETSIGTYPE=void -DRETSIGVAL= -DPATH_TOSAVE=\"/usr/local/var/bpft\" -DPATH_TRAFSTAT=\"/usr/local/bin/trafstat\" -DPATH_TRAFSTAT_LOG=\"/var/log/trafstat.log\" -DPATH_TRAFLOG_FMT=\"/usr/local/etc/traflog.format\" -c traflog.c -o traflog.o In file included from traflog.c:37: ../include/interface.h:141:20: warning: unknown attribute 'volatile' ignored [-Wunknown-attributes] 141 | __attribute__((volatile, format (printf, 1, 2))); | ^~~~~~~~ traflog.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | addrmask(addr) | ^ traflog.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | hostnetstr(in, mask) | ^ traflog.c:91:3: warning: array index 257 is past the end of the array (that has type 'char[257]') [-Warray-bounds] 91 | line[sizeof(line)]=0; | ^ ~~~~~~~~~~~~ traflog.c:79:2: note: array 'line' declared here 79 | static char line[MAXHOSTNAMELEN + 1]; | ^ traflog.c:106:3: warning: array index 257 is past the end of the array (that has type 'char[257]') [-Warray-bounds] 106 | line[sizeof(line)]=0; | ^ ~~~~~~~~~~~~ traflog.c:79:2: note: array 'line' declared here 79 | static char line[MAXHOSTNAMELEN + 1]; | ^ traflog.c:139:6: warning: array index 16 is past the end of the array (that has type 'char[16]') [-Warray-bounds] 139 | port[sizeof(port)]=0; | ^ ~~~~~~~~~~~~ traflog.c:124:2: note: array 'port' declared here 124 | char port[16], proto[16]; | ^ traflog.c:146:7: warning: array index 16 is past the end of the array (that has type 'char[16]') [-Warray-bounds] 146 | port[sizeof(port)]=0; | ^ ~~~~~~~~~~~~ traflog.c:124:2: note: array 'port' declared here 124 | char port[16], proto[16]; | ^ traflog.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | strhostnet(cmdarg, mask) | ^ traflog.c:196:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 196 | } | ^ traflog.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | iscmd(token) | ^ traflog.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | pattern(cmdbuf) | ^ traflog.c:249:7: warning: incompatible pointer types passing 'in_addr_t *' (aka 'unsigned int *') to parameter of type 'u_long *' (aka 'unsigned long *') [-Wincompatible-pointer-types] 249 | &pat[n_pat-1].in_mask.s_addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ traflog.c:253:7: warning: incompatible pointer types passing 'in_addr_t *' (aka 'unsigned int *') to parameter of type 'u_long *' (aka 'unsigned long *') [-Wincompatible-pointer-types] 253 | &pat[n_pat-1].out_mask.s_addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ traflog.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | getheader(fd, header) | ^ traflog.c:347:10: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 346 | printf("%18.15s %10qu %10qu %4d\n", ctime((time_t *)&h->stop)+4, | ~~~~~ | %10lu 347 | bytes, psize, h->t_size); | ^~~~~ traflog.c:347:17: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 346 | printf("%18.15s %10qu %10qu %4d\n", ctime((time_t *)&h->stop)+4, | ~~~~~ | %10lu 347 | bytes, psize, h->t_size); | ^~~~~ traflog.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | contents(fd, h) | ^ traflog.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | patmatch(e) | ^ traflog.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | ioblock(fd, h) | ^ traflog.c:441:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | static int range(h) | ^ traflog.c:463:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | void traf_write(fd) | ^ traflog.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | sortbyfrom(left, right) | ^ traflog.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | sortbyto(left, right) | ^ traflog.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | sortbypport(left, right) | ^ traflog.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | sortbyoport(left, right) | ^ traflog.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | sortbysize(left, right) | ^ traflog.c:551:19: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 551 | printf("%qu\n", abytes); | ~~~ ^~~~~~ | %lu traflog.c:580:10: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 579 | printf(" Summary: %qu data bytes, %qu all bytes, %u records\n", | ~~~ | %lu 580 | dbytes, abytes, s.t_size); | ^~~~~~ traflog.c:580:18: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] 579 | printf(" Summary: %qu data bytes, %qu all bytes, %u records\n", | ~~~ | %lu 580 | dbytes, abytes, s.t_size); | ^~~~~~ traflog.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | log_loop(fd, fdw) | ^ 30 warnings generated. cc main.o traflog.o -L../lib -lbpft -lpcap -L/usr/local/lib -lncurses -ll -o traflog Before install programs read the 'Whatsnew' file please! Done. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for bpft-4.20040506_2 ===> Generating temporary packing list ===> Build in lib <=== `libbpft.a' is up to date. ===> Build in trafd <=== `trafd' is up to date. ===> Build in trafstat <=== `trafstat' is up to date. ===> Build in trafstatd <=== `trafstatd' is up to date. ===> Build in traflog <=== `traflog' is up to date. Before install programs read the 'Whatsnew' file please! Done. /bin/mkdir -p /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/bin /bin/mkdir -p /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/sbin install -s -m 555 trafd/trafd /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/sbin install -m 555 trafd/trafstart /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/bin install -m 555 trafd/trafstop /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/bin install -m 555 trafd/trafsave /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/bin install -m 555 trafd/trafdump /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/bin /bin/mkdir -p /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/etc/rc.d install -m 555 trafd/trafd.sh /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/etc/rc.d install -s -m 555 trafstat/trafstat /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/bin install -s -m 555 trafstatd/trafstatd /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/sbin install -s -m 555 traflog/traflog /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/bin install -m 0644 traflog/traflog.format /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/etc/traflog.format /bin/mkdir -p /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/var/bpft Install man pages: /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/share/man/man1/traflog.1 /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/share/man/man1/trafstat.1 /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/share/man/man8/trafstatd.8 /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/share/man/man8/trafd.8 Done. install -m 0644 /wrkdirs/usr/ports/net-mgmt/bpft/work/bpft/README /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/share/doc/bpft install -m 0644 /wrkdirs/usr/ports/net-mgmt/bpft/work/bpft/WhatsNew /wrkdirs/usr/ports/net-mgmt/bpft/work/stage/usr/local/share/doc/bpft ====> 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-20T06:23:52+0000' 'PKG_NOTE_ports_top_git_hash=eac71dbf758c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=e2216da9e793' '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 bpft-4.20040506_2 ===> Building bpft-4.20040506_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for bpft-4.20040506_2 build of net-mgmt/bpft | bpft-4.20040506_2 ended at Fri Feb 20 01:24:01 EST 2026 build time: 00:00:09