[package - 134i386-quarterly][net-mgmt/andwatch] Failed for andwatch-2.1.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 10 Apr 2025 11:12:33 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:     dennypage@me.com
Log URL:        https://pkg-status.freebsd.org/beefy13/data/134i386-quarterly/4df04e22179b/logs/andwatch-2.1.0.log
Build URL:      https://pkg-status.freebsd.org/beefy13/build.html?mastername=134i386-quarterly&build=4df04e22179b
Log:

=>> Building net-mgmt/andwatch
build started at Thu Apr 10 11:09:09 UTC 2025
port directory: /usr/ports/net-mgmt/andwatch
package name: andwatch-2.1.0
building for: FreeBSD 134i386-quarterly-job-09 13.4-RELEASE-p4 FreeBSD 13.4-RELEASE-p4 i386
maintained by: dennypage@me.com
Makefile datestamp: -rw-r--r--  1 root  wheel  1101 Apr  3 01:01 /usr/ports/net-mgmt/andwatch/Makefile
Ports top last git commit: 4df04e221
Ports top unclean checkout: no
Port dir last git commit: 359bbf7fc
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-9-g05a460dc
Host OSVERSION: 1500035
Jail OSVERSION: 1304000
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1304000
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=13.4-RELEASE-p4
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.4-RELEASE-p4
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2-9-g05a460dc
MASTERMNT=/usr/local/poudriere/data/.m/134i386-quarterly/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/134i386-quarterly/09/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=134i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/134i386-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2-9-g05a460dc
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--
dennypage@me.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/andwatch/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/andwatch/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/andwatch/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/andwatch/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/andwatch/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/andwatch/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/andwatch/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/andwatch/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/andwatch/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/andwatch/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/andwatch/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/andwatch/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  -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -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=13.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/andwatch"  EXAMPLESDIR="share/examples/andwatch"  DATADIR="share/andwatch"  WWWDIR="www/andwatch"  ETCDIR="etc/andwatch"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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)  524288
stack size              (kbytes, -s)  65536
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 BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   andwatch-2.1.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.1.0.pkg
[134i386-quarterly-job-09] Installing pkg-2.1.0...
[134i386-quarterly-job-09] Extracting pkg-2.1.0: .......... done
===>   andwatch-2.1.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of andwatch-2.1.0
===========================================================================
=======================<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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by andwatch-2.1.0 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by andwatch-2.1.0 for building
=> SHA256 Checksum OK for dennypage-andwatch-v2.1.0_GH0.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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by andwatch-2.1.0 for building
===>  Extracting for andwatch-2.1.0
=> SHA256 Checksum OK for dennypage-andwatch-v2.1.0_GH0.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 andwatch-2.1.0
/usr/bin/sed -i.bak -e "/LIB_DIR/s,/var/lib,/var/db,"  /wrkdirs/usr/ports/net-mgmt/andwatch/work/andwatch-2.1.0/andwatch.h
/usr/bin/sed -i.bak -e 's/$(CC)/$(CC) $(CFLAGS) $(LDFLAGS)/'  /wrkdirs/usr/ports/net-mgmt/andwatch/work/andwatch-2.1.0/Makefile
===========================================================================
=======================<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
===>   andwatch-2.1.0 depends on shared library: libpcap.so - found (/usr/lib/libpcap.so)
===>   andwatch-2.1.0 depends on shared library: libsqlite3.so - not found
===>   Installing existing package /packages/All/sqlite3-3.46.1_1,1.pkg
[134i386-quarterly-job-09] Installing sqlite3-3.46.1_1,1...
[134i386-quarterly-job-09] `-- Installing libedit-3.1.20250104,1...
[134i386-quarterly-job-09] `-- Extracting libedit-3.1.20250104,1: .......... done
[134i386-quarterly-job-09] Extracting sqlite3-3.46.1_1,1: .......... done
===>   andwatch-2.1.0 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so)
===>   Returning to build of andwatch-2.1.0
===>   andwatch-2.1.0 depends on shared library: libcurl.so - not found
===>   Installing existing package /packages/All/curl-8.12.1.pkg
[134i386-quarterly-job-09] Installing curl-8.12.1...
[134i386-quarterly-job-09] `-- Installing brotli-1.1.0,1...
[134i386-quarterly-job-09] `-- Extracting brotli-1.1.0,1: .......... done
[134i386-quarterly-job-09] `-- Installing libidn2-2.3.8...
[134i386-quarterly-job-09] |   `-- Installing indexinfo-0.3.1_1...
[134i386-quarterly-job-09] |   `-- Extracting indexinfo-0.3.1_1: .... done
[134i386-quarterly-job-09] |   `-- Installing libunistring-1.3...
[134i386-quarterly-job-09] |   `-- Extracting libunistring-1.3: .......... done
[134i386-quarterly-job-09] `-- Extracting libidn2-2.3.8: .......... done
[134i386-quarterly-job-09] `-- Installing libnghttp2-1.65.0...
[134i386-quarterly-job-09] `-- Extracting libnghttp2-1.65.0: .......... done
[134i386-quarterly-job-09] `-- Installing libpsl-0.21.5_2...
[134i386-quarterly-job-09] `-- Extracting libpsl-0.21.5_2: .......... done
[134i386-quarterly-job-09] `-- Installing libssh2-1.11.1,3...
[134i386-quarterly-job-09] `-- Extracting libssh2-1.11.1,3: .......... done
[134i386-quarterly-job-09] `-- Installing zstd-1.5.7...
[134i386-quarterly-job-09] |   `-- Installing liblz4-1.10.0,1...
[134i386-quarterly-job-09] |   `-- Extracting liblz4-1.10.0,1: .......... done
[134i386-quarterly-job-09] `-- Extracting zstd-1.5.7: .......... done
[134i386-quarterly-job-09] Extracting curl-8.12.1: .......... done
===>   andwatch-2.1.0 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so)
===>   Returning to build of andwatch-2.1.0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for andwatch-2.1.0
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for andwatch-2.1.0
--- andwatchd.o ---
--- util.o ---
--- db.o ---
--- andwatchd.o ---
cc  -O2 -pipe  -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -c andwatchd.c -o andwatchd.o
--- util.o ---
cc  -O2 -pipe  -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -c util.c -o util.o
--- db.o ---
cc  -O2 -pipe  -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing  -c db.c -o db.o
--- util.o ---
In file included from util.c:37:
In file included from ./andwatch.h:36:
/usr/include/net/ethernet.h:59:2: error: unknown type name 'u_char'; did you mean 'char'?
   59 |         u_char  ether_dhost[ETHER_ADDR_LEN];
      |         ^
/usr/include/net/ethernet.h:60:2: error: unknown type name 'u_char'; did you mean 'char'?
   60 |         u_char  ether_shost[ETHER_ADDR_LEN];
      |         ^
/usr/include/net/ethernet.h:61:2: error: unknown type name 'u_short'; did you mean 'short'?
   61 |         u_short ether_type;
      |         ^
/usr/include/net/ethernet.h:68:2: error: unknown type name 'u_char'; did you mean 'char'?
   68 |         u_char octet[ETHER_ADDR_LEN];
      |         ^
/usr/include/net/ethernet.h:85:2: error: unknown type name 'uint8_t'
   85 |         uint8_t evl_dhost[ETHER_ADDR_LEN];
      |         ^
/usr/include/net/ethernet.h:86:2: error: unknown type name 'uint8_t'
   86 |         uint8_t evl_shost[ETHER_ADDR_LEN];
      |         ^
/usr/include/net/ethernet.h:87:2: error: unknown type name 'uint16_t'
   87 |         uint16_t evl_encap_proto;
      |         ^
/usr/include/net/ethernet.h:88:2: error: unknown type name 'uint16_t'
   88 |         uint16_t evl_tag;
      |         ^
/usr/include/net/ethernet.h:89:2: error: unknown type name 'uint16_t'
   89 |         uint16_t evl_proto;
      |         ^
--- db.o ---
In file included from db.c:37:
In file included from ./andwatch.h:36:
/usr/include/net/ethernet.h:59:2: error: unknown type name 'u_char'; did you mean 'char'?
   59 |         u_char  ether_dhost[ETHER_ADDR_LEN];
      |         ^
/usr/include/net/ethernet.h:60:2: error: unknown type name 'u_char'; did you mean 'char'?
   60 |         u_char  ether_shost[ETHER_ADDR_LEN];
      |         ^
/usr/include/net/ethernet.h:61:2: error: unknown type name 'u_short'; did you mean 'short'?
   61 |         u_short ether_type;
      |         ^
/usr/include/net/ethernet.h:68:2: error: unknown type name 'u_char'; did you mean 'char'?
   68 |         u_char octet[ETHER_ADDR_LEN];
      |         ^
/usr/include/net/ethernet.h:85:2: error: unknown type name 'uint8_t'
   85 |         uint8_t evl_dhost[ETHER_ADDR_LEN];
      |         ^
/usr/include/net/ethernet.h:86:2: error: unknown type name 'uint8_t'
   86 |         uint8_t evl_shost[ETHER_ADDR_LEN];
      |         ^
/usr/include/net/ethernet.h:87:2: error: unknown type name 'uint16_t'
   87 |         uint16_t evl_encap_proto;
      |         ^
/usr/include/net/ethernet.h:88:2: error: unknown type name 'uint16_t'
   88 |         uint16_t evl_tag;
      |         ^
/usr/include/net/ethernet.h:89:2: error: unknown type name 'uint16_t'
   89 |         uint16_t evl_proto;
      |         ^
--- util.o ---
9 errors generated.
--- db.o ---
db.c:430:74: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat]
  430 |     snprintf(sql, sizeof(sql), SQL_IPMAP_INSERT, iptype, ipaddr, hwaddr, timeval->tv_sec, (long) timeval->tv_usec, timeval->tv_sec);
      |                                ~~~~~~~~~~~~~~~~                          ^~~~~~~~~~~~~~~
db.c:430:116: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat]
  430 |     snprintf(sql, sizeof(sql), SQL_IPMAP_INSERT, iptype, ipaddr, hwaddr, timeval->tv_sec, (long) timeval->tv_usec, timeval->tv_sec);
      |                                ~~~~~~~~~~~~~~~~                                                                    ^~~~~~~~~~~~~~~
db.c:466:54: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat]
  466 |     snprintf(sql, sizeof(sql), SQL_IPMAP_SET_UPTIME, time, rowid);
      |                                ~~~~~~~~~~~~~~~~~~~~  ^~~~
db.c:500:54: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat]
  500 |     snprintf(sql, sizeof(sql), SQL_IPMAP_DELETE_OLD, time);
      |                                ~~~~~~~~~~~~~~~~~~~~  ^~~~
4 warnings and 9 errors generated.
--- util.o ---
*** [util.o] Error code 1

make: stopped in /wrkdirs/usr/ports/net-mgmt/andwatch/work/andwatch-2.1.0
--- db.o ---
*** [db.o] Error code 1

make: stopped in /wrkdirs/usr/ports/net-mgmt/andwatch/work/andwatch-2.1.0
2 errors

make: stopped in /wrkdirs/usr/ports/net-mgmt/andwatch/work/andwatch-2.1.0
===> 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 in /usr/ports/net-mgmt/andwatch