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

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 07 Feb 2023 19:34:56 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/beefy17/data/main-i386-default/p96a5483c708f_s77934b7a13/logs/mosh-1.4.0.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p96a5483c708f_s77934b7a13
Log:

=>> Building net/mosh
build started at Tue Feb  7 19:34:05 UTC 2023
port directory: /usr/ports/net/mosh
package name: mosh-1.4.0
building for: FreeBSD main-i386-default-job-09 14.0-CURRENT FreeBSD 14.0-CURRENT 1400078 i386
maintained by: zi@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400078
Job Id: 09




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400078
UNAME_v=FreeBSD 14.0-CURRENT 1400078
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-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-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" "-m" "elf_i386_fbsd" "-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 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400078
PYTHONBASE=/usr/local
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)  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)  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-i386-default-job-09] Installing pkg-1.19.1...
[main-i386-default-job-09] 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
<snip>
checking for sys/uio.h... (cached) yes
checking for memory... yes
checking for tr1/memory... no
checking for inline... inline
checking for int64_t... (cached) yes
checking for pid_t... (cached) yes
checking for C/C++ restrict keyword... no
checking for size_t... (cached) yes
checking for ssize_t... (cached) yes
checking for uint16_t... (cached) yes
checking for uint32_t... (cached) yes
checking for uint64_t... (cached) yes
checking for uint8_t... (cached) yes
checking for uintptr_t... (cached) yes
checking for gettimeofday... (cached) yes
checking for posix_memalign... yes
checking for cfmakeraw... yes
checking for pselect... yes
checking for pledge... no
checking pkg-config is at least version 0.9.0... yes
checking for TINFO... yes
checking for CommonCrypto/CommonCrypto.h... no
checking for OpenSSL... yes
checking for AES_encrypt in -lcrypto... yes
checking for EVP_aes_128_ocb in -lcrypto... yes
checking for Nettle... no
checking for c++ -std=gnu++11 options needed to detect all undeclared functions... none needed
checking whether forkpty is declared... yes
checking for library containing forkpty... -lutil
checking whether FD_ISSET() argument is const... yes
checking whether std::shared_ptr is available... yes
checking whether std::tr1::shared_ptr is available... no
checking whether clock_gettime() is supported... yes
checking whether mach_absolute_time is declared... no
checking whether __builtin_ctz is declared... no
checking whether ffs is declared... yes
checking whether be64toh is declared... yes
checking whether betoh64 is declared... no
checking whether bswap64 is declared... no
checking whether __builtin_bswap64 is declared... no
checking whether IP_MTU_DISCOVER is declared... no
checking whether IP_RECVTOS is declared... yes
checking whether __STDC_ISO_10646__ is declared... no
configure: WARNING: C library doesn't advertise wchar_t is Unicode (OS X works anyway with workaround).
checking whether IUTF8 is declared... no
configure: WARNING: No IUTF8 termios mode; character-erase of multibyte character sequence probably does not work properly in canonical mode on this platform.
checking for protobuf... yes
checking whether protoc matches protobuf... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/crypto/Makefile
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)
                        ^
ocb_internal.cc:142:26: note: previous implicit declaration is here
/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)
                        ^
1 warning and 1 error generated.
*** [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