[package - main-amd64-default][net-mgmt/tcptrack] Failed for tcptrack-1.4.2_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 09 Sep 2024 17:38:38 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     portmaster@BSDforge.com
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p13f486017d78_s3df987c99d1/logs/tcptrack-1.4.2_4.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p13f486017d78_s3df987c99d1
Log:

=>> Building net-mgmt/tcptrack
build started at Mon Sep  9 17:38:27 UTC 2024
port directory: /usr/ports/net-mgmt/tcptrack
package name: tcptrack-1.4.2_4
building for: FreeBSD main-amd64-default-job-11 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 amd64
maintained by: portmaster@BSDforge.com
Makefile datestamp: -rw-r--r--  1 root wheel 831 Feb 29  2024 /usr/ports/net-mgmt/tcptrack/Makefile
Ports top last git commit: 13f486017d7
Ports top unclean checkout: no
Port dir last git commit: f755375b37c
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 11

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500023
UNAME_v=FreeBSD 15.0-CURRENT 1500023
UNAME_r=15.0-CURRENT
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/main-amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-amd64-default/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/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--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/tcptrack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/tcptrack/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/tcptrack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/tcptrack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/tcptrack/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  -Wno-error=unused-but-set-variable -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe  -Wno-error=unused-but-set-variable -fstack-protector-strong -fno-strict-aliasing   -std=c++14 " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="in
stall  -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/tcptrack"  EXAMPLESDIR="share/examples/tcptrack"  DATADIR="share/tcptrack"  WWWDIR="www/tcptrack"  ETCDIR="etc/tcptrack"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/tcptrack DOCSDIR=/usr/local/share/doc/tcptrack EXAMPLESDIR=/usr/local/share/examples/tcptrack  WWWDIR=/usr/local/www/tcptrack ETCDIR=/usr/local/etc/tcptrack
--End SUB_LIST--

---Begin make.conf---
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### 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
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   tcptrack-1.4.2_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-11] Installing pkg-1.21.3...
[main-amd64-default-job-11] Extracting pkg-1.21.3: .......... done
===>   tcptrack-1.4.2_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of tcptrack-1.4.2_4
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by tcptrack-1.4.2_4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by tcptrack-1.4.2_4 for building
=> SHA256 Checksum OK for tcptrack-1.4.2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by tcptrack-1.4.2_4 for building
===>  Extracting for tcptrack-1.4.2_4
=> SHA256 Checksum OK for tcptrack-1.4.2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for tcptrack-1.4.2_4
===>  Applying FreeBSD patches for tcptrack-1.4.2_4 from /usr/ports/net-mgmt/tcptrack/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for tcptrack-1.4.2_4
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for socket in -lsocket... no
checking for gethostbyname in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for inet_addr in -lnsl... no
checking for initscr in -lncurses... yes
checking for pcap_open_live in -lpcap... yes
checking for pthread_create in -lpthread... yes
checking for nanosleep in -lrt... yes
checking pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking pcap/pcap.h usability... yes
checking pcap/pcap.h presence... yes
checking for pcap/pcap.h... yes
checking for pthread.h... (cached) yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking hash_map usability... no
checking hash_map presence... no
checking for hash_map... no
checking ext/hash_map usability... yes
checking ext/hash_map presence... yes
checking for ext/hash_map... yes
checking for an ANSI C-conforming const... yes
checking for ANSI C header files... (cached) yes
checking if the __gnu_cxx namespace exists... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for tcptrack-1.4.2_4
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- Collector.o ---
--- main.o ---
--- TCContainer.o ---
--- Collector.o ---
c++ -DHAVE_CONFIG_H -I. -I..     -Werror -Wno-deprecated -Wall -O2 -pipe  -Wno-error=unused-but-set-variable -fstack-protector-strong -fno-strict-aliasing   -std=c++14 -MT Collector.o -MD -MP -MF .deps/Collector.Tpo -c -o Collector.o Collector.cc
--- main.o ---
c++ -DHAVE_CONFIG_H -I. -I..     -Werror -Wno-deprecated -Wall -O2 -pipe  -Wno-error=unused-but-set-variable -fstack-protector-strong -fno-strict-aliasing   -std=c++14 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc
--- TCContainer.o ---
c++ -DHAVE_CONFIG_H -I. -I..     -Werror -Wno-deprecated -Wall -O2 -pipe  -Wno-error=unused-but-set-variable -fstack-protector-strong -fno-strict-aliasing   -std=c++14 -MT TCContainer.o -MD -MP -MF .deps/TCContainer.Tpo -c -o TCContainer.o TCContainer.cc
TCContainer.cc:172:7: warning: variable 'numitems' set but not used [-Wunused-but-set-variable]
  172 |                 int numitems = 0;
      |                     ^
--- Collector.o ---
mv -f .deps/Collector.Tpo .deps/Collector.Po
--- TextUI.o ---
c++ -DHAVE_CONFIG_H -I. -I..     -Werror -Wno-deprecated -Wall -O2 -pipe  -Wno-error=unused-but-set-variable -fstack-protector-strong -fno-strict-aliasing   -std=c++14 -MT TextUI.o -MD -MP -MF .deps/TextUI.Tpo -c -o TextUI.o TextUI.cc
--- TCContainer.o ---
1 warning generated.
mv -f .deps/TCContainer.Tpo .deps/TCContainer.Po
--- PacketBuffer.o ---
c++ -DHAVE_CONFIG_H -I. -I..     -Werror -Wno-deprecated -Wall -O2 -pipe  -Wno-error=unused-but-set-variable -fstack-protector-strong -fno-strict-aliasing   -std=c++14 -MT PacketBuffer.o -MD -MP -MF .deps/PacketBuffer.Tpo -c -o PacketBuffer.o PacketBuffer.cc
--- main.o ---
mv -f .deps/main.Tpo .deps/main.Po
--- Sniffer.o ---
c++ -DHAVE_CONFIG_H -I. -I..     -Werror -Wno-deprecated -Wall -O2 -pipe  -Wno-error=unused-but-set-variable -fstack-protector-strong -fno-strict-aliasing   -std=c++14 -MT Sniffer.o -MD -MP -MF .deps/Sniffer.Tpo -c -o Sniffer.o Sniffer.cc
--- TextUI.o ---
TextUI.cc:306:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Werror,-Wformat]
  306 |                         printw("%ds",ic->getIdleSeconds());
      |                                 ~~   ^~~~~~~~~~~~~~~~~~~~
      |                                 %ld
TextUI.cc:308:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Werror,-Wformat]
  308 |                         printw("%dm",ic->getIdleSeconds()/60);
      |                                 ~~   ^~~~~~~~~~~~~~~~~~~~~~~
      |                                 %ld
TextUI.cc:310:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Werror,-Wformat]
  310 |                         printw("%dh",ic->getIdleSeconds()/3600);
      |                                 ~~   ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 %ld
3 errors generated.
*** [TextUI.o] Error code 1

make[2]: stopped making "all" in /wrkdirs/usr/ports/net-mgmt/tcptrack/work/tcptrack-1.4.2/src
--- PacketBuffer.o ---
PacketBuffer.cc:137:7: warning: variable 'qlen' set but not used [-Wunused-but-set-variable]
  137 |                 int qlen=0;
      |                     ^
1 warning generated.
mv -f .deps/PacketBuffer.Tpo .deps/PacketBuffer.Po
--- Sniffer.o ---
mv -f .deps/Sniffer.Tpo .deps/Sniffer.Po
make[2]: 1 error

make[2]: stopped making "all" in /wrkdirs/usr/ports/net-mgmt/tcptrack/work/tcptrack-1.4.2/src

make[1]: stopped making "all-recursive" in /wrkdirs/usr/ports/net-mgmt/tcptrack/work/tcptrack-1.4.2

make: stopped making "all" in /wrkdirs/usr/ports/net-mgmt/tcptrack/work/tcptrack-1.4.2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/net-mgmt/tcptrack