[package - main-amd64-default][sysutils/socklog] Failed for socklog-2.1.0_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 04:17:41 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/beefy18/data/main-amd64-default/p4785b313b958_se8efee297c/logs/socklog-2.1.0_1.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p4785b313b958_se8efee297c
Log:

=>> Building sysutils/socklog
build started at Mon Jun 26 04:17:36 UTC 2023
port directory: /usr/ports/sysutils/socklog
package name: socklog-2.1.0_1
building for: FreeBSD main-amd64-default-job-01 14.0-CURRENT FreeBSD 14.0-CURRENT 1400091 amd64
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400091
Job Id: 01




!!! Jail is newer than host. (Jail: 1400091, Host: 1400089) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400091
UNAME_v=FreeBSD 14.0-CURRENT 1400091
UNAME_r=14.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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for socklog-2.1.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--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/socklog/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/socklog/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/socklog/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/socklog/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/socklog/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/socklog/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/sysutils/socklog/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/socklog/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/socklog/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/socklog/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/socklog/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/socklog/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  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INS
TALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/socklog"  EXAMPLESDIR="share/examples/socklog"  DATADIR="share/socklog"  WWWDIR="www/socklog"  ETCDIR="etc/socklog"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/socklog DOCSDIR=/usr/local/share/doc/socklog EXAMPLESDIR=/usr/local/share/examples/socklog  WWWDIR=/usr/local/www/socklog ETCDIR=/usr/local/etc/socklog
--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
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400091
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1024
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   >============================
===>   NOTICE:

The socklog 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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   socklog-2.1.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-amd64-default-job-01] Installing pkg-1.19.1_1...
[main-amd64-default-job-01] Extracting pkg-1.19.1_1: .......... done
===>   socklog-2.1.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of socklog-2.1.0_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The socklog 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>
./compile buffer_read.c
./compile buffer_write.c
./compile coe.c
./compile env.c
./compile error.c
./compile error_str.c
./compile fd_copy.c
./compile fd_move.c
./compile fifo.c
./compile lock_ex.c
./compile lock_exnb.c
rm -f makelib
sh print-ar.sh > makelib
chmod 555 makelib
./compile ndelay_off.c
./compile ndelay_on.c
./compile open_append.c
./compile open_read.c
./compile open_trunc.c
./compile open_write.c
./compile openreadclose.c
./compile pathexec_env.c
pathexec_env.c:43:28: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  e = (const char **) alloc((elen + 1) * sizeof(char *));
                           ^
pathexec_env.c:55:6: warning: passing arguments to 'byte_diff' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (byte_equal(plus.s + j,split,e[t]))
            ^
./byte.h:13:38: note: expanded from macro 'byte_equal'
#define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))
                                     ^
pathexec_env.c:68:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  alloc_free(e);
            ^
3 warnings generated.
./compile pathexec_run.c
pathexec_run.c:18:5: warning: call to undeclared function 'execve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    execve(file,argv,envp);
    ^
pathexec_run.c:35:5: warning: call to undeclared function 'execve'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    execve(tmp.s,argv,envp);
    ^
2 warnings generated.
./compile prot.c
prot.c:13:7: warning: call to undeclared function 'setgroups'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  if (setgroups(1,&gid) == -1) return -1;
      ^
prot.c:15:10: warning: call to undeclared function 'setgid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  return setgid(gid); /* _should_ be redundant, but on some systems it isn't */
         ^
prot.c:20:10: warning: call to undeclared function 'setuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  return setuid(uid);
         ^
3 warnings generated.
./compile readclose.c
./compile seek_set.c
./compile sgetopt.c
./compile sig.c
./compile sig_block.c
./compile sig_catch.c
./compile sig_pause.c
./compile stralloc_cat.c
./compile stralloc_catb.c
stralloc_catb.c:10:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  byte_copy(sa->s + sa->len,n,s);
           ^
1 warning generated.
./compile stralloc_cats.c
./compile stralloc_eady.c
stralloc_eady.c:7:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
GEN_ALLOC_ready(stralloc,char,s,len,a,i,n,x,30,stralloc_ready)
^
./gen_allocdefs.h:13:19: note: expanded from macro 'GEN_ALLOC_ready'
      if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \
                  ^
stralloc_eady.c:7:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./gen_allocdefs.h:17:38: note: expanded from macro 'GEN_ALLOC_ready'
  return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); }
                                     ^
stralloc_eady.c:8:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
GEN_ALLOC_readyplus(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus)
^
./gen_allocdefs.h:26:19: note: expanded from macro 'GEN_ALLOC_readyplus'
      if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \
                  ^
stralloc_eady.c:8:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
./gen_allocdefs.h:30:38: note: expanded from macro 'GEN_ALLOC_readyplus'
  return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); }
                                     ^
4 warnings generated.
./compile stralloc_opyb.c
stralloc_opyb.c:9:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  byte_copy(sa->s,n,s);
           ^
1 warning generated.
./compile stralloc_opys.c
./compile stralloc_pend.c
./compile strerr_die.c
./compile strerr_sys.c
./compile subgetopt.c
./compile wait_nohang.c
wait_nohang.c:7:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int wait_nohang(wstat) int *wstat;
    ^
1 warning generated.
./compile wait_pid.c
wait_pid.c:10:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int wait_pid(wstat,pid) int *wstat; int pid;
    ^
1 warning generated.
./makelib unix.a alloc.o alloc_re.o buffer.o buffer_0.o buffer_1.o  buffer_2.o buffer_get.o buffer_put.o buffer_read.o buffer_write.o  coe.o env.o error.o error_str.o fd_copy.o fd_move.o fifo.o lock_ex.o  lock_exnb.o ndelay_off.o ndelay_on.o open_append.o open_read.o  open_trunc.o open_write.o openreadclose.o pathexec_env.o  pathexec_run.o prot.o readclose.o seek_set.o sgetopt.o sig.o  sig_block.o sig_catch.o sig_pause.o stralloc_cat.o stralloc_catb.o  stralloc_cats.o stralloc_eady.o stralloc_opyb.o stralloc_opys.o  stralloc_pend.o strerr_die.o strerr_sys.o subgetopt.o wait_nohang.o  wait_pid.o
./compile byte_chr.c
byte_chr.c:5:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unsigned int byte_chr(s,n,c)
             ^
In file included from byte_chr.c:3:
./byte.h:6:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern unsigned int byte_chr();
                    ^
2 warnings generated.
./compile byte_copy.c
byte_copy.c:5:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void byte_copy(to,n,from)
     ^
In file included from byte_copy.c:3:
./byte.h:8:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void byte_copy();
            ^
2 warnings generated.
./compile byte_cr.c
byte_cr.c:5:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void byte_copyr(to,n,from)
     ^
In file included from byte_cr.c:3:
./byte.h:9:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void byte_copyr();
            ^
2 warnings generated.
./compile byte_diff.c
byte_diff.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int byte_diff(s,n,t)
    ^
In file included from byte_diff.c:3:
./byte.h:10:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int byte_diff();
           ^
2 warnings generated.
./compile byte_rchr.c
byte_rchr.c:5:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unsigned int byte_rchr(s,n,c)
             ^
In file included from byte_rchr.c:3:
./byte.h:7:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern unsigned int byte_rchr();
                    ^
2 warnings generated.
./compile byte_zero.c
byte_zero.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void byte_zero(s,n)
     ^
In file included from byte_zero.c:1:
./byte.h:11:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void byte_zero();
            ^
2 warnings generated.
./compile fmt_uint.c
./compile fmt_uint0.c
./compile fmt_ulong.c
./compile scan_ulong.c
./compile str_chr.c
./compile str_diff.c
./compile str_len.c
./compile str_start.c
./makelib byte.a byte_chr.o byte_copy.o byte_cr.o byte_diff.o  byte_rchr.o byte_zero.o fmt_uint.o fmt_uint0.o fmt_ulong.o  scan_ulong.o str_chr.o str_diff.o str_len.o str_start.o
./compile trysocketlib.c
( ./load trysocketlib >/dev/null 2>&1 ||  ( ./load trysocketlib -lxnet >/dev/null 2>&1 && echo '-lxnet' ) ||  ( ./load trysocketlib -lsocket -lnsl >/dev/null 2>&1 &&  echo '-lsocket -lnsl' )  ) >socket.lib
rm -f trysocketlib.o trysocketlib
./load socklog unix.a byte.a `cat socket.lib`
./compile socklog-check.c
socklog-check.c:46:12: warning: passing arguments to 'byte_zero' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
  byte_zero(&sa, sizeof(sa));
           ^
1 warning generated.
./load socklog-check unix.a byte.a `cat socket.lib`
./compile socklog-conf.c
socklog-conf.c:76:19: error: incompatible function pointer types passing 'ssize_t (int, const void *, size_t)' (aka 'long (int, const void *, unsigned long)') to parameter of type 'int (*)()' [-Wincompatible-function-pointer-types]
  buffer_init(&b, write, fd, buf, sizeof buf);
                  ^~~~~
./buffer.h:18:40: note: passing argument to parameter here
extern void buffer_init(buffer *,int (*)(),int,char *,unsigned int);
                                       ^
1 error generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/sysutils/socklog/work/admin/socklog-2.1.0/compile
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/socklog