[package - main-amd64-default][net/mosh] Failed for mosh-1.4.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 10 Feb 2023 20:22:23 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:     zi@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p58633340e9ed_s5636590214/logs/mosh-1.4.0.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p58633340e9ed_s5636590214
Log:

=>> Building net/mosh
build started at Fri Feb 10 20:21:59 UTC 2023
port directory: /usr/ports/net/mosh
package name: mosh-1.4.0
building for: FreeBSD main-amd64-default-job-12 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 amd64
maintained by: zi@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400079
Job Id: 12




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400079
UNAME_v=FreeBSD 14.0-CURRENT 1400079
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---
---End OPTIONS List---

--MAINTAINER--
zi@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-utempter --without-ncurses --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
OpenSSL_CFLAGS="-I/usr/include" OpenSSL_LIBS="-L/usr/lib -lssl -lcrypto"  TINFO_CFLAGS="-I/usr/include" ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net/mosh/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/mosh/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/mosh/work/.cache  HOME=/wrkdirs/usr/ports/net/mosh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/mosh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/mosh/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net/mosh/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/mosh/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/mosh/work/.cache  HOME=/wrkdirs/usr/ports/net/mosh/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/mosh/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/mosh/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 DEFAULT_AUTOCONF=2.71 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   -std=c++11 "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BS
 D_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=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/mosh"  EXAMPLESDIR="share/examples/mosh"  DATADIR="share/mosh"  WWWDIR="www/mosh"  ETCDIR="etc/mosh"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mosh DOCSDIR=/usr/local/share/doc/mosh EXAMPLESDIR=/usr/local/share/examples/mosh  WWWDIR=/usr/local/www/mosh ETCDIR=/usr/local/etc/mosh
--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=1400079
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 GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   mosh-1.4.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1.pkg
[main-amd64-default-job-12] Installing pkg-1.19.1...
[main-amd64-default-job-12] Extracting pkg-1.19.1: .......... done
===>   mosh-1.4.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mosh-1.4.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by mosh-1.4.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by mosh-1.4.0 for building
=> SHA256 Checksum OK for mobile-shell-mosh-1.4.0-mosh-1.4.0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by mosh-1.4.0 for building
===>  Extracting for mosh-1.4.0
=> SHA256 Checksum OK for mobile-shell-mosh-1.4.0-mosh-1.4.0_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for mosh-1.4.0
===========================================================================
=======================<phase: build-depends  >============================
===>   mosh-1.4.0 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.8.1,1.pkg
[main-amd64-default-job-12] Installing pkgconf-1.8.1,1...
[main-amd64-default-job-12] Extracting pkgconf-1.8.1,1: .......... done
===>   mosh-1.4.0 depends on package: pkgconf>=1.3.0_1 - found
<snip>
config.status: creating src/frontend/Makefile
config.status: creating src/fuzz/Makefile
config.status: creating src/include/Makefile
config.status: creating src/network/Makefile
config.status: creating src/protobufs/Makefile
config.status: creating src/statesync/Makefile
config.status: creating src/terminal/Makefile
config.status: creating src/util/Makefile
config.status: creating scripts/Makefile
config.status: creating src/examples/Makefile
config.status: creating src/tests/Makefile
config.status: creating man/Makefile
config.status: creating conf/Makefile
config.status: creating src/include/config.h
config.status: executing depfiles commands
configure:  === Configuration results ===
configure: Version:             1.4.0
configure: c++ compiler:        c++ -std=gnu++11
configure: Warning CXXFLAGS:    -Wall
configure: Picky CXXFLAGS:      
configure: Harden CFLAGS:        -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE
configure: Cryptography:        internal OCB, OpenSSL AES
configure:  =============================
===========================================================================
=======================<phase: build          >============================
===>  Building for mosh-1.4.0
--- VERSION ---
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in scripts
--- mosh ---
perl -Mdiagnostics -c ./mosh.pl
./mosh.pl syntax OK
Making all in src
--- all-recursive ---
Making all in include
--- version.h ---
--- all ---
/usr/bin/make  all-am
Making all in protobufs
--- userinput.pb.cc ---
--- hostinput.pb.cc ---
--- userinput.pb.cc ---
/usr/local/bin/protoc --cpp_out=. -I. userinput.proto
--- hostinput.pb.cc ---
/usr/local/bin/protoc --cpp_out=. -I. hostinput.proto
--- transportinstruction.pb.cc ---
/usr/local/bin/protoc --cpp_out=. -I. transportinstruction.proto
--- all ---
/usr/bin/make  all-am
--- userinput.pb.o ---
--- hostinput.pb.o ---
--- userinput.pb.o ---
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include   -I/usr/local/include  -Wall -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe  -Wno-error -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MT userinput.pb.o -MD -MP -MF .deps/userinput.Tpo -c -o userinput.pb.o userinput.pb.cc
--- hostinput.pb.o ---
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include   -I/usr/local/include  -Wall -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe  -Wno-error -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MT hostinput.pb.o -MD -MP -MF .deps/hostinput.Tpo -c -o hostinput.pb.o hostinput.pb.cc
--- userinput.pb.o ---
mv -f .deps/userinput.Tpo .deps/userinput.Po
--- transportinstruction.pb.o ---
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include   -I/usr/local/include  -Wall -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe  -Wno-error -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MT transportinstruction.pb.o -MD -MP -MF .deps/transportinstruction.Tpo -c -o transportinstruction.pb.o transportinstruction.pb.cc
--- hostinput.pb.o ---
mv -f .deps/hostinput.Tpo .deps/hostinput.Po
--- transportinstruction.pb.o ---
mv -f .deps/transportinstruction.Tpo .deps/transportinstruction.Po
--- libmoshprotos.a ---
rm -f libmoshprotos.a
ar cru libmoshprotos.a   userinput.pb.o hostinput.pb.o  transportinstruction.pb.o  
ranlib libmoshprotos.a
Making all in util
--- locale_utils.o ---
--- swrite.o ---
--- locale_utils.o ---
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include     -Wall  -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MT locale_utils.o -MD -MP -MF .deps/locale_utils.Tpo -c -o locale_utils.o locale_utils.cc
--- swrite.o ---
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include     -Wall  -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MT swrite.o -MD -MP -MF .deps/swrite.Tpo -c -o swrite.o swrite.cc
mv -f .deps/swrite.Tpo .deps/swrite.Po
--- select.o ---
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include     -Wall  -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MT select.o -MD -MP -MF .deps/select.Tpo -c -o select.o select.cc
mv -f .deps/select.Tpo .deps/select.Po
--- timestamp.o ---
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include     -Wall  -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MT timestamp.o -MD -MP -MF .deps/timestamp.Tpo -c -o timestamp.o timestamp.cc
mv -f .deps/timestamp.Tpo .deps/timestamp.Po
--- pty_compat.o ---
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include     -Wall  -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MT pty_compat.o -MD -MP -MF .deps/pty_compat.Tpo -c -o pty_compat.o pty_compat.cc
mv -f .deps/pty_compat.Tpo .deps/pty_compat.Po
--- locale_utils.o ---
mv -f .deps/locale_utils.Tpo .deps/locale_utils.Po
--- libmoshutil.a ---
rm -f libmoshutil.a
ar cru libmoshutil.a locale_utils.o swrite.o  select.o timestamp.o pty_compat.o 
ranlib libmoshutil.a
Making all in crypto
--- ocb_internal.o ---
--- base64.o ---
--- ocb_internal.o ---
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include   -I./../util -I/usr/include  -Wall  -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MT ocb_internal.o -MD -MP -MF .deps/ocb_internal.Tpo -c -o ocb_internal.o ocb_internal.cc
--- base64.o ---
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include   -I./../util -I/usr/include  -Wall  -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.cc
mv -f .deps/base64.Tpo .deps/base64.Po
--- crypto.o ---
c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include   -I./../util -I/usr/include  -Wall  -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -std=c++11 -MT crypto.o -MD -MP -MF .deps/crypto.Tpo -c -o crypto.o crypto.cc
--- ocb_internal.o ---
ocb_internal.cc:138:10: warning: 'bswap32' macro redefined [-Wmacro-redefined]
        #define bswap32(x)                                              \
                ^
/usr/include/sys/endian.h:68:9: note: previous definition is here
#define bswap32(x)      __bswap32(x)
        ^
ocb_internal.cc:142:26: error: static declaration of '__builtin_bswap64' follows non-static declaration
         static inline uint64_t bswap64(uint64_t x) {
                                ^
/usr/include/sys/endian.h:69:20: note: expanded from macro 'bswap64'
#define bswap64(x)      __bswap64(x)
                        ^
/usr/include/sys/_endian.h:78:22: note: expanded from macro '__bswap64'
#define __bswap64(x)    __builtin_bswap64(x)
                        ^
Assertion failed: (Idx < getNumArgs() && "Argument index out of range!"), function getArgKind, file /usr/local/poudriere/jails/main-amd64/usr/src/contrib/llvm-project/clang/include/clang/Basic/Diagnostic.h, line 1585.
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src/include -I./../util -I/usr/include -Wall -fno-strict-overflow -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE -pipe -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++11 -MT ocb_internal.o -MD -MP -MF .deps/ocb_internal.Tpo -c -o ocb_internal.o ocb_internal.cc
1.	ocb_internal.cc:142:46: current parser token '{'
 #0 0x00000000053a0811 (/usr/bin/c+++0x53a0811)
 #1 0x000000000539eb05 (/usr/bin/c+++0x539eb05)
 #2 0x00000000053471ee (/usr/bin/c+++0x53471ee)
 #3 0x00000000053473b3 (/usr/bin/c+++0x53473b3)
 #4 0x000000082986bbae (/lib/libthr.so.3+0x19bae)
 #5 0x000000082986b169 (/lib/libthr.so.3+0x19169)
 #6 0x00000008276038a3 ([vdso]+0x2d3)
 #7 0x000000082d151a9a __sys_thr_kill (/lib/libc.so.7+0x13da9a)
 #8 0x000000082d0ca864 __raise (/lib/libc.so.7+0xb6864)
 #9 0x000000082d17b509 abort (/lib/libc.so.7+0x167509)
#10 0x000000082d0ad9b1 (/lib/libc.so.7+0x999b1)
#11 0x0000000002665c19 (/usr/bin/c+++0x2665c19)
#12 0x00000000031e193e (/usr/bin/c+++0x31e193e)
#13 0x000000000266b5b9 (/usr/bin/c+++0x266b5b9)
#14 0x0000000002663f60 (/usr/bin/c+++0x2663f60)
#15 0x0000000003888db3 (/usr/bin/c+++0x3888db3)
#16 0x0000000003890724 (/usr/bin/c+++0x3890724)
#17 0x0000000003889c38 (/usr/bin/c+++0x3889c38)
#18 0x0000000003a35786 (/usr/bin/c+++0x3a35786)
#19 0x0000000003a52364 (/usr/bin/c+++0x3a52364)
#20 0x0000000003a458b7 (/usr/bin/c+++0x3a458b7)
#21 0x0000000003a4135c (/usr/bin/c+++0x3a4135c)
#22 0x0000000003a5ed8f (/usr/bin/c+++0x3a5ed8f)
#23 0x000000000376e94d (/usr/bin/c+++0x376e94d)
#24 0x00000000037c1fd5 (/usr/bin/c+++0x37c1fd5)
#25 0x000000000376d370 (/usr/bin/c+++0x376d370)
#26 0x000000000376cd1f (/usr/bin/c+++0x376cd1f)
#27 0x000000000376b9fd (/usr/bin/c+++0x376b9fd)
#28 0x000000000376968c (/usr/bin/c+++0x376968c)
#29 0x000000000376393e (/usr/bin/c+++0x376393e)
#30 0x000000000312f61f (/usr/bin/c+++0x312f61f)
#31 0x00000000030bedcf (/usr/bin/c+++0x30bedcf)
#32 0x00000000031ef3a4 (/usr/bin/c+++0x31ef3a4)
#33 0x000000000265265b (/usr/bin/c+++0x265265b)
#34 0x0000000002660144 (/usr/bin/c+++0x2660144)
#35 0x0000000002f688e7 (/usr/bin/c+++0x2f688e7)
#36 0x0000000005347125 (/usr/bin/c+++0x5347125)
#37 0x0000000002f684f0 (/usr/bin/c+++0x2f684f0)
#38 0x0000000002f3146b (/usr/bin/c+++0x2f3146b)
#39 0x0000000002f31738 (/usr/bin/c+++0x2f31738)
#40 0x0000000002f490df (/usr/bin/c+++0x2f490df)
c++: error: clang frontend command failed with exit code 134 (use -v to see invocation)
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
c++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/ocb_internal-f41000.cpp
c++: note: diagnostic msg: /tmp/ocb_internal-f41000.sh
c++: note: diagnostic msg: 

********************
*** [ocb_internal.o] Error code 1

make[4]: stopped in /wrkdirs/usr/ports/net/mosh/work/mosh-mosh-1.4.0/src/crypto
--- crypto.o ---
mv -f .deps/crypto.Tpo .deps/crypto.Po
1 error

make[4]: stopped in /wrkdirs/usr/ports/net/mosh/work/mosh-mosh-1.4.0/src/crypto

make[3]: stopped in /wrkdirs/usr/ports/net/mosh/work/mosh-mosh-1.4.0/src

make[2]: stopped in /wrkdirs/usr/ports/net/mosh/work/mosh-mosh-1.4.0

make[1]: stopped in /wrkdirs/usr/ports/net/mosh/work/mosh-mosh-1.4.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/mosh