[package - main-amd64-default][games/stratagus] Failed for stratagus-3.3.2 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 16 Apr 2023 08:45: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:     amdmi3@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p3034bd2d70e6_s214909d669/logs/stratagus-3.3.2.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p3034bd2d70e6_s214909d669
Log:

=>> Building games/stratagus
build started at Sun Apr 16 08:45:30 UTC 2023
port directory: /usr/ports/games/stratagus
package name: stratagus-3.3.2
building for: FreeBSD main-amd64-default-job-08 14.0-CURRENT FreeBSD 14.0-CURRENT 1400086 amd64
maintained by: amdmi3@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400086
Job Id: 08




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400086
UNAME_v=FreeBSD 14.0-CURRENT 1400086
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 stratagus-3.3.2:
     DOCS=on: Build and/or install documentation
     EAGER_LOAD=off: Load all game data at startup (more memory, less stutter)
     MNG=on: MNG image library support
     OPENMP=on: Parallel processing support via OpenMP
     THEORA=on: Ogg Theora video codec support
     VORBIS=on: Ogg Vorbis audio codec support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
amdmi3@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/stratagus/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/stratagus/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/stratagus/work/.cache  HOME=/wrkdirs/usr/ports/games/stratagus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/stratagus/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/stratagus/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--
NINJA_STATUS="[%p %s/%t] " LUA_MODLIBDIR=/usr/local/lib/lua/5.1  LUA_MODSHAREDIR=/usr/local/share/lua/5.1  LUA_MODDOCSDIR=/usr/local/share/doc/lua51  LUA_INCDIR=/usr/local/include/lua51  LUA_LIBDIR=/usr/local/lib  LUA_VER=5.1  LUA_VER_STR=51 SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/stratagus/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/stratagus/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/stratagus/work/.cache  HOME=/wrkdirs/usr/ports/games/stratagus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/stratagus/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/stratagus/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 DESTDIR=/wrkdirs/usr/ports/games/stratagus/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -f
 no-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_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" CMAKE_BUILD_TYPE="release" LUA_MODLIBDIR=lib/lua/5.1  LUA_MODSHAREDIR=share/lua/5.1  LUA_MODDOCSDIR=share/doc/lua51  LUA_INCDIR=include/lua51  LUA_VER=5.1  LUA_VER_STR=51 OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/stratagus"  EXAMPLESDIR="share/examples/stratagus"  DATADIR="share/stratagus"  WWWDIR="www/stratagus"  ETCDIR="etc/stratagus"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/stratagus DOCSDIR=/usr/local/share/doc/stratagus EXAMPLESDIR=/usr/local/share/examples/stratagus  WWWDIR=/usr/local/www/stratagus ETCDIR=/usr/local/etc/stratagus
--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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) 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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) 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=1400086
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   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   stratagus-3.3.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-amd64-default-job-08] Installing pkg-1.19.1_1...
[main-amd64-default-job-08] Extracting pkg-1.19.1_1: .......... done
===>   stratagus-3.3.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of stratagus-3.3.2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by stratagus-3.3.2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by stratagus-3.3.2 for building
=> SHA256 Checksum OK for Wargus-stratagus-v3.3.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by stratagus-3.3.2 for building
===>  Extracting for stratagus-3.3.2
=> SHA256 Checksum OK for Wargus-stratagus-v3.3.2_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
<snip>
[main-amd64-default-job-08] |   `-- Installing libedit-3.1.20221030,1...
[main-amd64-default-job-08] |   `-- Extracting libedit-3.1.20221030,1: .......... done
[main-amd64-default-job-08] `-- Extracting lua51-5.1.5_9: ......... done
[main-amd64-default-job-08] Extracting tolua++-1.0.93_3: ...... done
===>   stratagus-3.3.2 depends on shared library: libtolua++-5.1.so - found (/usr/local/lib/libtolua++-5.1.so)
===>   Returning to build of stratagus-3.3.2
===>   stratagus-3.3.2 depends on shared library: libmng.so - not found
===>   Installing existing package /packages/All/libmng-1.0.10_3.pkg
[main-amd64-default-job-08] Installing libmng-1.0.10_3...
[main-amd64-default-job-08] `-- Installing jpeg-turbo-2.1.5.1...
[main-amd64-default-job-08] `-- Extracting jpeg-turbo-2.1.5.1: .......... done
[main-amd64-default-job-08] `-- Installing lcms-1.19_6,1...
[main-amd64-default-job-08] |   `-- Installing tiff-4.4.0_1...
[main-amd64-default-job-08] |   | `-- Installing jbigkit-2.1_1...
[main-amd64-default-job-08] |   | `-- Extracting jbigkit-2.1_1: .......... done
[main-amd64-default-job-08] |   | `-- Installing libdeflate-1.18...
[main-amd64-default-job-08] |   | `-- Extracting libdeflate-1.18: .......... done
[main-amd64-default-job-08] |   `-- Extracting tiff-4.4.0_1: .......... done
[main-amd64-default-job-08] `-- Extracting lcms-1.19_6,1: .......... done
[main-amd64-default-job-08] Extracting libmng-1.0.10_3: ......... done
===>   stratagus-3.3.2 depends on shared library: libmng.so - found (/usr/local/lib/libmng.so)
===>   Returning to build of stratagus-3.3.2
===>   stratagus-3.3.2 depends on shared library: libtheora.so - not found
===>   Installing existing package /packages/All/libtheora-1.1.1_7.pkg
[main-amd64-default-job-08] Installing libtheora-1.1.1_7...
[main-amd64-default-job-08] `-- Installing libogg-1.3.5,4...
[main-amd64-default-job-08] `-- Extracting libogg-1.3.5,4: .......... done
[main-amd64-default-job-08] `-- Installing libvorbis-1.3.7_2,3...
[main-amd64-default-job-08] `-- Extracting libvorbis-1.3.7_2,3: .......... done
[main-amd64-default-job-08] Extracting libtheora-1.1.1_7: .......... done
===>   stratagus-3.3.2 depends on shared library: libtheora.so - found (/usr/local/lib/libtheora.so)
===>   Returning to build of stratagus-3.3.2
===>   stratagus-3.3.2 depends on shared library: libvorbis.so - found (/usr/local/lib/libvorbis.so)
===>   stratagus-3.3.2 depends on shared library: libogg.so - found (/usr/local/lib/libogg.so)
===>   stratagus-3.3.2 depends on shared library: liblua-5.1.so - found (/usr/local/lib/liblua-5.1.so)
===>   stratagus-3.3.2 depends on shared library: libSDL2_image.so - not found
===>   Installing existing package /packages/All/sdl2_image-2.6.3.pkg
[main-amd64-default-job-08] Installing sdl2_image-2.6.3...
[main-amd64-default-job-08] `-- Installing libavif-0.11.1...
[main-amd64-default-job-08] |   `-- Installing aom-3.6.0...
[main-amd64-default-job-08] |   | `-- Installing libjxl-0.8.1...
[main-amd64-default-job-08] |   |   `-- Installing brotli-1.0.9,1...
[main-amd64-default-job-08] |   |   `-- Extracting brotli-1.0.9,1: .......... done
[main-amd64-default-job-08] |   |   `-- Installing gdk-pixbuf2-2.42.10...
[main-amd64-default-job-08] |   |   | `-- Installing glib-2.76.1,2...
[main-amd64-default-job-08] |   |   |   `-- Installing libiconv-1.17...
[main-amd64-default-job-08] |   |   |   `-- Extracting libiconv-1.17: .......... done
[main-amd64-default-job-08] |   |   |   `-- Installing pcre2-10.42...
[main-amd64-default-job-08] |   |   |   `-- Extracting pcre2-10.42: .......... done
[main-amd64-default-job-08] |   |   | `-- Extracting glib-2.76.1,2: .......... done
[main-amd64-default-job-08] |   |   | `-- Installing shared-mime-info-2.2_1...
[main-amd64-default-job-08] |   |   | `-- Extracting shared-mime-info-2.2_1: ......... done
[main-amd64-default-job-08] |   |   `-- Extracting gdk-pixbuf2-2.42.10: .......... done
[main-amd64-default-job-08] |   |   `-- Installing giflib-5.2.1...
[main-amd64-default-job-08] |   |   `-- Extracting giflib-5.2.1: .......... done
[main-amd64-default-job-08] |   |   `-- Installing highway-1.0.4_1...
[main-amd64-default-job-08] |   |   `-- Extracting highway-1.0.4_1: .......... done
[main-amd64-default-job-08] |   |   `-- Installing openexr-3.1.7...
[main-amd64-default-job-08] |   |   | `-- Installing Imath-3.1.7...
[main-amd64-default-job-08] |   |   | `-- Extracting Imath-3.1.7: .......... done
[main-amd64-default-job-08] |   |   `-- Extracting openexr-3.1.7: .......... done
[main-amd64-default-job-08] |   | `-- Extracting libjxl-0.8.1: .......... done
[main-amd64-default-job-08] |   | `-- Installing vmaf-2.3.1...
[main-amd64-default-job-08] |   | `-- Extracting vmaf-2.3.1: .......... done
[main-amd64-default-job-08] |   `-- Extracting aom-3.6.0: .......... done
[main-amd64-default-job-08] |   `-- Installing dav1d-1.1.0_1...
[main-amd64-default-job-08] |   `-- Extracting dav1d-1.1.0_1: .......... done
[main-amd64-default-job-08] `-- Extracting libavif-0.11.1: .......... done
[main-amd64-default-job-08] Extracting sdl2_image-2.6.3: .......... done
Generating gdk-pixbuf modules cache
Generating GIO modules cache
Compiling glib schemas
No schema files found: doing nothing.
Building the Shared MIME-Info database cache
=====
Message from libjxl-0.8.1:

--
Additional packages recommended for new users:
- imlib2-jxl (e.g., feh, scrot)
- kf5-kimageformats (e.g., nomacs, flameshot, skanlite)
- gimp-jxl-plugin
===>   stratagus-3.3.2 depends on shared library: libSDL2_image.so - found (/usr/local/lib/libSDL2_image.so)
===>   Returning to build of stratagus-3.3.2
===>   stratagus-3.3.2 depends on shared library: libSDL2_mixer.so - not found
===>   Installing existing package /packages/All/sdl2_mixer-2.6.3.pkg
[main-amd64-default-job-08] Installing sdl2_mixer-2.6.3...
[main-amd64-default-job-08] `-- Installing flac-1.4.2...
[main-amd64-default-job-08] `-- Extracting flac-1.4.2: .......... done
[main-amd64-default-job-08] `-- Installing fluidsynth-2.3.1...
[main-amd64-default-job-08] |   `-- Installing jackit-1.9.22...
[main-amd64-default-job-08] |   | `-- Installing dbus-1.14.6,1...
[main-amd64-default-job-08] |   |   `-- Installing libICE-1.1.0_1,1...
[main-amd64-default-job-08] |   |   `-- Extracting libICE-1.1.0_1,1: .......... done
[main-amd64-default-job-08] |   |   `-- Installing libSM-1.2.3,1...
[main-amd64-default-job-08] |   |   `-- Extracting libSM-1.2.3,1: .......... done
===> Creating groups.
Creating group 'messagebus' with gid '556'.
===> Creating users
Creating user 'messagebus' with uid '556'.
[main-amd64-default-job-08] |   | `-- Extracting dbus-1.14.6,1: ......... done
[main-amd64-default-job-08] |   | `-- Installing libsamplerate-0.2.2...
[main-amd64-default-job-08] |   |   `-- Installing libsndfile-1.2.0...
[main-amd64-default-job-08] |   |   | `-- Installing lame-3.100_4...
[main-amd64-default-job-08] |   |   | `-- Extracting lame-3.100_4: .......... done
[main-amd64-default-job-08] |   |   | `-- Installing mpg123-1.31.3...
[main-amd64-default-job-08] |   |   | `-- Extracting mpg123-1.31.3: .......... done
[main-amd64-default-job-08] |   |   | `-- Installing opus-1.3.1...
[main-amd64-default-job-08] |   |   | `-- Extracting opus-1.3.1: .......... done
[main-amd64-default-job-08] |   |   `-- Extracting libsndfile-1.2.0: .......... done
[main-amd64-default-job-08] |   | `-- Extracting libsamplerate-0.2.2: .......... done
[main-amd64-default-job-08] |   | `-- Installing libsysinfo-0.0.3_2...
[main-amd64-default-job-08] |   | `-- Extracting libsysinfo-0.0.3_2: ......... done
[main-amd64-default-job-08] |   | `-- Installing py39-dbus-1.3.2...
[main-amd64-default-job-08] |   |   `-- Installing dbus-glib-0.112...
[main-amd64-default-job-08] |   |   `-- Extracting dbus-glib-0.112: .......... done
[main-amd64-default-job-08] |   |   `-- Installing pydbus-common-1.3.2...
[main-amd64-default-job-08] |   |   `-- Extracting pydbus-common-1.3.2: .......... done
[main-amd64-default-job-08] |   | `-- Extracting py39-dbus-1.3.2: .......... done
[main-amd64-default-job-08] |   `-- Extracting jackit-1.9.22: .......... done
[main-amd64-default-job-08] `-- Extracting fluidsynth-2.3.1: .......... done
[main-amd64-default-job-08] `-- Installing libmodplug-0.8.9.1.r461...
[main-amd64-default-job-08] `-- Extracting libmodplug-0.8.9.1.r461: .......... done
[main-amd64-default-job-08] `-- Installing opusfile-0.12...
[main-amd64-default-job-08] `-- Extracting opusfile-0.12: .......... done
[main-amd64-default-job-08] Extracting sdl2_mixer-2.6.3: .......... done
=====
Message from jackit-1.9.22:

--
The new JACK server comes with a DBUS control interface:

$ jack_control help
$ jack_control ds oss
$ jack_control dp
$ jack_control eps realtime False
$ jack_control start

Only root can grant real-time priority to processes for now, using rtprio(1).
Upcoming FreeBSD releases will have a MAC policy with a realtime user group.

Memory locking has to be allowed in /etc/login.conf or ~/.login_conf. Set the
resource limit ":memorylocked=unlimited:" and don't forget to run

# cap_mkdb /etc/login.conf

It's still possible to start JACK server as an RC service for a dedicated user.
Note that only one JACK server can be run at a time. An /etc/rc.conf example:

jackd_enable="YES"
jackd_user="joe"
jackd_rtprio="YES"
jackd_args="-R -doss -r48000 -p1024 -n1 -w16 \
            --capture /dev/dsp0 --playback /dev/dsp0"

Official JACK example clients and tools are available as jack-example-tools.

JACK 1.9.22 introduces a latency correction fix.
Latency correction parameters have to be measured again after an update.
===>   stratagus-3.3.2 depends on shared library: libSDL2_mixer.so - found (/usr/local/lib/libSDL2_mixer.so)
===>   Returning to build of stratagus-3.3.2
===>   stratagus-3.3.2 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for stratagus-3.3.2
===>  Performing out-of-source build
/bin/mkdir -p /wrkdirs/usr/ports/games/stratagus/work/.build
CMake Warning (dev) at CMakeLists.txt:49 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is Clang 15.0.7
-- The CXX compiler identification is Clang 15.0.7
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test HAS_17_FS
-- Performing Test HAS_17_FS - Failed
-- Performing Test HAS_EXP_17_FS_WITH_STDC
-- Performing Test HAS_EXP_17_FS_WITH_STDC - Failed
-- Performing Test HAS_EXP_17_FS_WITH_CLIB
-- Performing Test HAS_EXP_17_FS_WITH_CLIB - Failed
CMake Error at CMakeLists.txt:685 (message):
  I don't know how to compile with C++17 filesystem support on your system


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make: stopped in /usr/ports/games/stratagus