[package - main-amd64-default][sysutils/heirloom] Failed for heirloom-070715_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 02 Aug 2024 23:36:02 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:     cy@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p38b61988cd6e_s4c5188bbeb8/logs/heirloom-070715_4.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p38b61988cd6e_s4c5188bbeb8
Log:

=>> Building sysutils/heirloom
build started at Fri Aug  2 23:35:18 UTC 2024
port directory: /usr/ports/sysutils/heirloom
package name: heirloom-070715_4
building for: FreeBSD main-amd64-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 amd64
maintained by: cy@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1675 Nov  7  2023 /usr/ports/sysutils/heirloom/Makefile
Ports top last git commit: 38b61988cd6
Ports top unclean checkout: no
Port dir last git commit: 06df180a9e3
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1500023
Job Id: 02




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



---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.1-30-g79e3edcd
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/02/.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.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 heirloom-070715_4:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
cy@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/heirloom/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/heirloom/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/heirloom/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/heirloom/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/heirloom/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/heirloom/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/heirloom/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/heirloom/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/heirloom/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/heirloom/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/heirloom/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/heirloom/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=" -Wl,--allow-multiple-definition -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 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/heirloom"  EXAMPLESDIR="share/examples/heirloom"  DATADIR="heirloom"  WWWDIR="www/heirloom"  ETCDIR="etc/heirloom"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/heirloom DOCSDIR=/usr/local/share/doc/heirloom EXAMPLESDIR=/usr/local/share/examples/heirloom  WWWDIR=/usr/local/www/heirloom ETCDIR=/usr/local/etc/heirloom
--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
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   heirloom-070715_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-amd64-default-job-02] Installing pkg-1.21.3...
[main-amd64-default-job-02] Extracting pkg-1.21.3: .......... done
===>   heirloom-070715_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of heirloom-070715_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
===> Fetching all distfiles required by heirloom-070715_4 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by heirloom-070715_4 for building
=> SHA256 Checksum OK for heirloom-070715.tar.bz2.
===========================================================================
=======================<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
===> Fetching all distfiles required by heirloom-070715_4 for building
===>  Extracting for heirloom-070715_4
=> SHA256 Checksum OK for heirloom-070715.tar.bz2.
===========================================================================
=======================<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 heirloom-070715_4
===>  Applying FreeBSD patches for heirloom-070715_4 from /usr/ports/sysutils/heirloom/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   heirloom-070715_4 depends on executable: ksh - not found
===>   Installing existing package /packages/All/pdksh-5.2.14p2_7.pkg
[main-amd64-default-job-02] Installing pdksh-5.2.14p2_7...
[main-amd64-default-job-02] Extracting pdksh-5.2.14p2_7: ..... done
===>   heirloom-070715_4 depends on executable: ksh - found
===>   Returning to build of heirloom-070715_4
===>   heirloom-070715_4 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[main-amd64-default-job-02] Installing gmake-4.4.1...
[main-amd64-default-job-02] `-- Installing gettext-runtime-0.22.5...
<snip>
cc -Os -fomit-frame-pointer  -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L -I../libuxre -DUXRE -I../libcommon  -c proctab.c
2 warnings generated.
cc -Wl,--allow-multiple-definition -fstack-protector-strong  awk.g.o awk.lx.o b.o main.o token.o tran.o lib.o run.o parse.o proctab.o version.o -L../libuxre -luxre -lm -L../libcommon -lcommon   -o awk
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/oawk'
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/od'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L  -I../libcommon -c od.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L  -I../libcommon -DSUS -c od.c -o od_sus.o
cc -Wl,--allow-multiple-definition -fstack-protector-strong  od.o -L../libcommon -lcommon   -o od
cc -Wl,--allow-multiple-definition -fstack-protector-strong  od_sus.o -L../libcommon -lcommon   -o od_sus
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/od'
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/paste'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE  -I../libcommon  -D_FILE_OFFSET_BITS=64L -c paste.c
cc -Wl,--allow-multiple-definition -fstack-protector-strong  paste.o -L../libcommon -lcommon   -o paste
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/paste'
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/pathchk'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L  -I../libcommon -c pathchk.c
pathchk.c:79:13: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
   79 |                                                         "\"%.*s\" of name "
      |                                                            ~~^~
   80 |                                                         "\"%s\" is not "
   81 |                                                         "searchable\n",
   82 |                                                 progname, 
   83 |                                                 np - name, name,
      |                                                 ~~~~~~~~~
pathchk.c:92:40: warning: field precision should have type 'int', but argument has type 'long' [-Wformat]
   92 |                                 fprintf(stderr, "%s: component \"%.*s\" of "
      |                                                                  ~~^~
   93 |                                                 "name \"%s\" is longer than "
   94 |                                                 "%ld bytes\n",
   95 |                                         progname, np - nq, nq, name, name_max);
      |                                                   ~~~~~~~
2 warnings generated.
cc -Wl,--allow-multiple-definition -fstack-protector-strong  pathchk.o -L../libcommon -lcommon   -o pathchk
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/pathchk'
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/pg'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L  -I../libcommon -c pg.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L  -I../libcommon -I../libuxre -DUXRE -DSUS -c pg.c -o pg_sus.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L  -I../libcommon -I../libuxre -DUXRE -DSU3 -c pg.c -o pg_su3.o
cc -Wl,--allow-multiple-definition -fstack-protector-strong  pg.o -L/usr/local/lib -lncurses -L../libcommon -lcommon   -o pg
cc -Wl,--allow-multiple-definition -fstack-protector-strong  pg_su3.o -L/usr/local/lib -lncurses -L../libcommon -lcommon -L../libuxre -luxre   -o pg_su3
cc -Wl,--allow-multiple-definition -fstack-protector-strong  pg_sus.o -L/usr/local/lib -lncurses -L../libcommon -lcommon -L../libuxre -luxre   -o pg_sus
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/pg'
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/pgrep'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE  -I../libuxre -DUXRE  -I../libcommon -c pgrep.c
pgrep.c:1382:25: warning: 6 enumeration values not handled in switch: 'ATT_PPID', 'ATT_EUID', 'ATT_UID'... [-Wswitch]
 1382 |                 if (val == 0) switch (at) {
      |                                       ^~
pgrep.c:1371:15: warning: enumeration value 'ATT_ALL' not handled in switch [-Wswitch]
 1371 |         else switch (at) {
      |                      ^~
2 warnings generated.
cc -Wl,--allow-multiple-definition -fstack-protector-strong  pgrep.o -L../libuxre -luxre -L../libcommon -lcommon  -lkvm  -o pgrep
rm -f pkill
ln -s pgrep pkill
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/pgrep'
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/pr'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L   -I../libcommon -c pr.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L   -I../libcommon -DSUS -c pr.c -o pr_sus.o
cc -Wl,--allow-multiple-definition -fstack-protector-strong  pr_sus.o -L../libcommon -lcommon   -o pr_sus
cc -Wl,--allow-multiple-definition -fstack-protector-strong  pr.o -L../libcommon -lcommon   -o pr
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/pr'
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/printenv'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L  -I../libcommon -c printenv.c
cc -Wl,--allow-multiple-definition -fstack-protector-strong  printenv.o -L../libcommon -lcommon   -o printenv
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/printenv'
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/printf'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE  -D_FILE_OFFSET_BITS=64L  -I../libcommon -c printf.c
printf.c:229:24: warning: implicit conversion from 'long' to 'int' changes value from 9223372036854775807 to -1 [-Wconstant-conversion]
  229 |         int     width = 0, prec = LONG_MAX;
      |                            ~~~~   ^~~~~~~~
/usr/include/sys/limits.h:62:18: note: expanded from macro 'LONG_MAX'
   62 | #define LONG_MAX        __LONG_MAX      /* max for a long */
      |                         ^~~~~~~~~~
/usr/include/x86/_limits.h:61:20: note: expanded from macro '__LONG_MAX'
   61 | #define __LONG_MAX      0x7fffffffffffffff      /* max for a long */
      |                         ^~~~~~~~~~~~~~~~~~
1 warning generated.
cc -Wl,--allow-multiple-definition -fstack-protector-strong  printf.o -L../libcommon -lcommon   -o printf
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/printf'
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/priocntl'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE   -I../libcommon -c priocntl.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE   -I../libcommon -DS42 -c priocntl.c -o priocntl_s42.o
priocntl.c:555:12: warning: enumeration value 'ID_ALL' not handled in switch [-Wswitch]
  555 |                         switch (idtype) {
      |                                 ^~~~~~
priocntl.c:555:12: warning: enumeration value 'ID_ALL' not handled in switch [-Wswitch]
  555 |                         switch (idtype) {
      |                                 ^~~~~~
1 warning generated.
cc -Wl,--allow-multiple-definition -fstack-protector-strong  priocntl.o -L../libcommon -lcommon   -o priocntl
1 warning generated.
cc -Wl,--allow-multiple-definition -fstack-protector-strong  priocntl_s42.o -L../libcommon -lcommon   -o priocntl_s42
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/priocntl'
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/ps'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE   -I../libcommon -DUSE_PS_CACHE -DDEFAULT='"/usr/local/heirloom/etc/default/ps"' -c ps.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE   -I../libcommon -DUSE_PS_CACHE -DDEFAULT='"/usr/local/heirloom/etc/default/ps"' -DSUS -c ps.c -o ps_sus.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -D_GNU_SOURCE   -I../libcommon -DUSE_PS_CACHE -DDEFAULT='"/usr/local/heirloom/etc/default/ps"' -DS42 -c ps.c -o ps_s42.o
ps.c:1940:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
 1940 |                                         (cp[2] - '0' << 3) +
      |                                          ~~~~~~^~~~~ ~~
ps.c:1940:13: note: place parentheses around the '-' expression to silence this warning
 1940 |                                         (cp[2] - '0' << 3) +
      |                                                ^
      |                                          (          )
ps.c:1941:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
 1941 |                                         (cp[1] - '0' << 6);
      |                                          ~~~~~~^~~~~ ~~
ps.c:1941:13: note: place parentheses around the '-' expression to silence this warning
 1941 |                                         (cp[1] - '0' << 6);
      |                                                ^
      |                                          (          )
ps.c:2067:3: warning: array index 3 is past the end of the array (that has type 'int[3][2]') [-Warray-bounds]
 2067 |                 ranges[3][1] = sched_get_priority_max(SCHED_RR);
      |                 ^      ~
ps.c:2058:2: note: array 'ranges' declared here
 2058 |         static int      ranges[3][2];
      |         ^
ps.c:2211:21: error: use of undeclared identifier 'PS_SWAPPINGOUT'
 2211 |         if (kp->ki_sflag & PS_SWAPPINGOUT)
      |                            ^
ps.c:2616:11: warning: 5 enumeration values not handled in switch: 'CR_INVALID_EFF_UID', 'CR_INVALID_REAL_UID', 'CR_INVALID_REAL_GID'... [-Wswitch]
 2616 |                 switch (ct->c_typ) {
      |                         ^~~~~~~~~
ps.c:4129:10: warning: 5 enumeration values not handled in switch: 'CR_INVALID_EFF_UID', 'CR_INVALID_REAL_UID', 'CR_INVALID_REAL_GID'... [-Wswitch]
 4129 |         switch (ct) {
      |                 ^~
5 warnings and 1 error generated.
ps.c:1940:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
 1940 |                                         (cp[2] - '0' << 3) +
      |                                          ~~~~~~^~~~~ ~~
ps.c:1940:13: note: place parentheses around the '-' expression to silence this warning
 1940 |                                         (cp[2] - '0' << 3) +
      |                                                ^
      |                                          (          )
ps.c:1941:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
 1941 |                                         (cp[1] - '0' << 6);
      |                                          ~~~~~~^~~~~ ~~
ps.c:1941:13: note: place parentheses around the '-' expression to silence this warning
 1941 |                                         (cp[1] - '0' << 6);
      |                                                ^
      |                                          (          )
ps.c:2067:3: warning: array index 3 is past the end of the array (that has type 'int[3][2]') [-Warray-bounds]
 2067 |                 ranges[3][1] = sched_get_priority_max(SCHED_RR);
      |                 ^      ~
ps.c:2058:2: note: array 'ranges' declared here
 2058 |         static int      ranges[3][2];
      |         ^
gmake[1]: *** [Makefile:300: ps.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
ps.c:2211:21: error: use of undeclared identifier 'PS_SWAPPINGOUT'
 2211 |         if (kp->ki_sflag & PS_SWAPPINGOUT)
      |                            ^
ps.c:2616:11: warning: 5 enumeration values not handled in switch: 'CR_INVALID_EFF_UID', 'CR_INVALID_REAL_UID', 'CR_INVALID_REAL_GID'... [-Wswitch]
 2616 |                 switch (ct->c_typ) {
      |                         ^~~~~~~~~
ps.c:4129:10: warning: 5 enumeration values not handled in switch: 'CR_INVALID_EFF_UID', 'CR_INVALID_REAL_UID', 'CR_INVALID_REAL_GID'... [-Wswitch]
 4129 |         switch (ct) {
      |                 ^~
ps.c:1940:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
 1940 |                                         (cp[2] - '0' << 3) +
      |                                          ~~~~~~^~~~~ ~~
ps.c:1940:13: note: place parentheses around the '-' expression to silence this warning
 1940 |                                         (cp[2] - '0' << 3) +
      |                                                ^
      |                                          (          )
ps.c:1941:13: warning: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Wshift-op-parentheses]
 1941 |                                         (cp[1] - '0' << 6);
      |                                          ~~~~~~^~~~~ ~~
ps.c:1941:13: note: place parentheses around the '-' expression to silence this warning
 1941 |                                         (cp[1] - '0' << 6);
      |                                                ^
      |                                          (          )
5 warnings and 1 error generated.
ps.c:2067:3: warning: array index 3 is past the end of the array (that has type 'int[3][2]') [-Warray-bounds]
 2067 |                 ranges[3][1] = sched_get_priority_max(SCHED_RR);
      |                 ^      ~
ps.c:2058:2: note: array 'ranges' declared here
 2058 |         static int      ranges[3][2];
      |         ^
ps.c:2211:21: error: use of undeclared identifier 'PS_SWAPPINGOUT'
 2211 |         if (kp->ki_sflag & PS_SWAPPINGOUT)
      |                            ^
gmake[1]: *** [Makefile:306: ps_sus.o] Error 1
ps.c:2616:11: warning: 5 enumeration values not handled in switch: 'CR_INVALID_EFF_UID', 'CR_INVALID_REAL_UID', 'CR_INVALID_REAL_GID'... [-Wswitch]
 2616 |                 switch (ct->c_typ) {
      |                         ^~~~~~~~~
ps.c:4129:10: warning: 5 enumeration values not handled in switch: 'CR_INVALID_EFF_UID', 'CR_INVALID_REAL_UID', 'CR_INVALID_REAL_GID'... [-Wswitch]
 4129 |         switch (ct) {
      |                 ^~
5 warnings and 1 error generated.
gmake[1]: *** [Makefile:312: ps_s42.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/heirloom/work/heirloom-070715/ps'
gmake: *** [makefile:23: all] Error 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/sysutils/heirloom