[package - main-i386-default][net-mgmt/portmon] Failed for portmon-2.0_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 08 Jul 2024 02:05:32 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p291cba0140ec_sfb32ba6aa44/logs/portmon-2.0_1.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p291cba0140ec_sfb32ba6aa44
Log:

=>> Building net-mgmt/portmon
build started at Mon Jul  8 02:05:26 UTC 2024
port directory: /usr/ports/net-mgmt/portmon
package name: portmon-2.0_1
building for: FreeBSD main-i386-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500019 i386
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1014 Jan 11 01:01 /usr/ports/net-mgmt/portmon/Makefile
Ports top last git commit: 291cba0140e
Ports top unclean checkout: no
Port dir last git commit: cb347ec6664
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500019
Job Id: 10

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500019
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=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500019
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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-i386-default/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
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 portmon-2.0_1:
     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--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/portmon/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/portmon/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/portmon/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/portmon/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/portmon/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/portmon/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/portmon/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/portmon/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/portmon/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/portmon/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/portmon/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-mgmt/portmon/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " 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 0
644"  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/portmon"  EXAMPLESDIR="share/examples/portmon"  DATADIR="share/portmon"  WWWDIR="www/portmon"  ETCDIR="etc/portmon"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/portmon DOCSDIR=/usr/local/share/doc/portmon EXAMPLESDIR=/usr/local/share/examples/portmon  WWWDIR=/usr/local/www/portmon ETCDIR=/usr/local/etc/portmon
--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
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
===>   NOTICE:

The portmon 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

===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   portmon-2.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-i386-default-job-10] Installing pkg-1.21.3...
[main-i386-default-job-10] Extracting pkg-1.21.3: .......... done
===>   portmon-2.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of portmon-2.0_1
===========================================================================
=======================<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
===>   NOTICE:

The portmon 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

===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by portmon-2.0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The portmon 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
<snip>
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The portmon 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

===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by portmon-2.0_1 for building
===>  Extracting for portmon-2.0_1
=> SHA256 Checksum OK for portmon-2.0.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 portmon-2.0_1
===>  Applying FreeBSD patches for portmon-2.0_1 from /usr/ports/net-mgmt/portmon/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 portmon-2.0_1
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
/wrkdirs/usr/ports/net-mgmt/portmon/work/portmon-2.0/missing: Unknown `--run' option
Try `/wrkdirs/usr/ports/net-mgmt/portmon/work/portmon-2.0/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... (cached) /usr/bin/awk
checking whether byte ordering is bigendian... no
checking whether to install extra goodies... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for ftime in -lcompat... no
checking how to run the C preprocessor... cpp
checking for egrep... grep -E
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 for arpa/inet.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for netdb.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getopt.h... (cached) yes
checking for strings.h... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for unistd.h... (cached) yes
checking for vfork.h... (cached) no
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking return type of signal handlers... void
checking for alarm... (cached) yes
checking for bzero... (cached) yes
checking for gethostbyname... (cached) yes
checking for gettimeofday... (cached) yes
checking for inet_ntoa... (cached) yes
checking for memset... (cached) yes
checking for select... (cached) yes
checking for socket... yes
checking for strchr... (cached) yes
checking for getopt_long... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extras/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 portmon-2.0_1
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- portmon.o ---
--- tcp_ping.o ---
--- icmp_ping.o ---
--- portmon.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT portmon.o -MD -MP -MF ".deps/portmon.Tpo"  -c -o portmon.o `test -f 'portmon.c' || echo './'`portmon.c;  then mv ".deps/portmon.Tpo" ".deps/portmon.Po";  else rm -f ".deps/portmon.Tpo"; exit 1;  fi
--- tcp_ping.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT tcp_ping.o -MD -MP -MF ".deps/tcp_ping.Tpo"  -c -o tcp_ping.o `test -f 'tcp_ping.c' || echo './'`tcp_ping.c;  then mv ".deps/tcp_ping.Tpo" ".deps/tcp_ping.Po";  else rm -f ".deps/tcp_ping.Tpo"; exit 1;  fi
--- icmp_ping.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT icmp_ping.o -MD -MP -MF ".deps/icmp_ping.Tpo"  -c -o icmp_ping.o `test -f 'icmp_ping.c' || echo './'`icmp_ping.c;  then mv ".deps/icmp_ping.Tpo" ".deps/icmp_ping.Po";  else rm -f ".deps/icmp_ping.Tpo"; exit 1;  fi
In file included from icmp_ping.c:45:
/usr/include/sys/timeb.h:41:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings]
   41 | #warning "this file includes <sys/timeb.h> which is deprecated"
      |  ^
--- tcp_ping.o ---
In file included from tcp_ping.c:32:
/usr/include/sys/timeb.h:41:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings]
   41 | #warning "this file includes <sys/timeb.h> which is deprecated"
      |  ^
1 warning generated.
--- action.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT action.o -MD -MP -MF ".deps/action.Tpo"  -c -o action.o `test -f 'action.c' || echo './'`action.c;  then mv ".deps/action.Tpo" ".deps/action.Po";  else rm -f ".deps/action.Tpo"; exit 1;  fi
--- icmp_ping.o ---
1 warning generated.
--- report.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT report.o -MD -MP -MF ".deps/report.Tpo"  -c -o report.o `test -f 'report.c' || echo './'`report.c;  then mv ".deps/report.Tpo" ".deps/report.Po";  else rm -f ".deps/report.Tpo"; exit 1;  fi
--- config.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT config.o -MD -MP -MF ".deps/config.Tpo"  -c -o config.o `test -f 'config.c' || echo './'`config.c;  then mv ".deps/config.Tpo" ".deps/config.Po";  else rm -f ".deps/config.Tpo"; exit 1;  fi
--- exec_proc.o ---
if cc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT exec_proc.o -MD -MP -MF ".deps/exec_proc.Tpo"  -c -o exec_proc.o `test -f 'exec_proc.c' || echo './'`exec_proc.c;  then mv ".deps/exec_proc.Tpo" ".deps/exec_proc.Po";  else rm -f ".deps/exec_proc.Tpo"; exit 1;  fi
--- config.o ---
config.c:96:19: warning: 'memcpy' call operates on objects of type 'char' while the size is based on a different type 'char *' [-Wsizeof-pointer-memaccess]
   95 |     memcpy(&hosts[host_num].ports[j].addr.sin_addr, host->h_addr,
      |                                                     ~~~~~~~~~~~~
   96 |            sizeof(host->h_addr));
      |                   ^~~~~~~~~~~~
config.c:96:19: note: did you mean to provide an explicit length?
   96 |            sizeof(host->h_addr));
      |                   ^~~~~~~~~~~~
1 warning generated.
--- portmon ---
cc -Wall -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong -o portmon  portmon.o tcp_ping.o  icmp_ping.o action.o report.o  config.o exec_proc.o  
ld: error: undefined symbol: ftime
>>> referenced by tcp_ping.c
>>>               tcp_ping.o:(tcp_ping)
>>> referenced by tcp_ping.c
>>>               tcp_ping.o:(tcp_ping)
>>> referenced by icmp_ping.c
>>>               icmp_ping.o:(icmp_ping)
>>> referenced 1 more times
>>> did you mean: ctime
>>> defined in: /lib/libc.so.7
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [portmon] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/portmon/work/portmon-2.0/src
make[2]: 1 error

make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/portmon/work/portmon-2.0/src
*** [all-recursive] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/portmon/work/portmon-2.0
make[1]: 1 error

make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/portmon/work/portmon-2.0
*** [all] Error code 2

make: stopped in /wrkdirs/usr/ports/net-mgmt/portmon/work/portmon-2.0
make: 1 error

make: stopped in /wrkdirs/usr/ports/net-mgmt/portmon/work/portmon-2.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/portmon