[package - 131releng-armv7-default][games/barony] Failed for barony-3.3.7_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 05 Oct 2022 18:32:17 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:     devnexen@gmail.com
Log URL:        http://ampere3.nyi.freebsd.org/data/131releng-armv7-default/b46629e97f41/logs/barony-3.3.7_1.log
Build URL:      http://ampere3.nyi.freebsd.org/build.html?mastername=131releng-armv7-default&build=b46629e97f41
Log:

=>> Building games/barony
build started at Wed Oct  5 18:31:03 UTC 2022
port directory: /usr/ports/games/barony
package name: barony-3.3.7_1
building for: FreeBSD 131releng-armv7-default-job-06 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 1301000 arm
maintained by: devnexen@gmail.com
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1301000
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p2 1301000
UNAME_r=13.1-RELEASE-p2
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/131releng-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131releng-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131releng-armv7-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--
devnexen@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
OPTIMIZATION_LEVEL="" PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/barony/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/barony/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/barony/work/.cache  HOME=/wrkdirs/usr/ports/games/barony/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/barony/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/barony/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/barony/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/barony/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/barony/work/.cache  HOME=/wrkdirs/usr/ports/games/barony/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/barony/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/barony/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/games/barony/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -Wl,--as-needed -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protecto
 r-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  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--
CMAKE_BUILD_TYPE="release" OSREL=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/barony"  EXAMPLESDIR="share/examples/barony"  DATADIR="share/barony"  WWWDIR="www/barony"  ETCDIR="etc/barony"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/barony DOCSDIR=/usr/local/share/doc/barony EXAMPLESDIR=/usr/local/share/examples/barony  WWWDIR=/usr/local/www/barony ETCDIR=/usr/local/etc/barony
--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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: armv7-unknown-freebsd13.1-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: armv7-unknown-freebsd13.1-gnueabihf 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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: armv7-unknown-freebsd13.1-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE-p2
OSREL=13.1
OSVERSION=1301000
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)  1048576
stack size              (kbytes, -s)  1048576
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    >============================
===>   barony-3.3.7_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[131releng-armv7-default-job-06] Installing pkg-1.18.4...
[131releng-armv7-default-job-06] Extracting pkg-1.18.4: .......... done
===>   barony-3.3.7_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of barony-3.3.7_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by barony-3.3.7_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by barony-3.3.7_1 for building
=> SHA256 Checksum OK for TurningWheel-Barony-v3.3.7_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by barony-3.3.7_1 for building
===>  Extracting for barony-3.3.7_1
=> SHA256 Checksum OK for TurningWheel-Barony-v3.3.7_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for barony-3.3.7_1
===>   Converting DOS text files to UNIX text files
===========================================================================
=======================<phase: build-depends  >============================
===>   barony-3.3.7_1 depends on package: rapidjson>=0 - not found
===>   Installing existing package /packages/All/rapidjson-1.1.0.524.pkg
[131releng-armv7-default-job-06] Installing rapidjson-1.1.0.524...
[131releng-armv7-default-job-06] Extracting rapidjson-1.1.0.524: .......... done
===>   barony-3.3.7_1 depends on package: rapidjson>=0 - found
===>   Returning to build of barony-3.3.7_1
===>   barony-3.3.7_1 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.24.0.pkg
[131releng-armv7-default-job-06] Installing cmake-core-3.24.0...
[131releng-armv7-default-job-06] `-- Installing curl-7.85.0...
[131releng-armv7-default-job-06] |   `-- Installing ca_root_nss-3.83...
[131releng-armv7-default-job-06] |   `-- Extracting ca_root_nss-3.83: .......... done
[131releng-armv7-default-job-06] |   `-- Installing libnghttp2-1.48.0...
[131releng-armv7-default-job-06] |   `-- Extracting libnghttp2-1.48.0: .......... done
[131releng-armv7-default-job-06] |   `-- Installing libpsl-0.21.1_4...
<snip>
-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic -Wall -pg -std=c++14 -rdynamic -Wl,-rpath=$ORIGIN
Release flags: 
-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -pedantic  -ffast-math -funroll-loops -fstrict-aliasing -malign-double -Wl,-rpath=$ORIGIN -Wno-write-strings
-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath=$ORIGIN
***************************
CMake Warning (dev) at CMakeLists.txt:401 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "Haiku" will no longer be dereferenced when the
  policy is set to NEW.  Since the policy is not set the OLD behavior will be
  used.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Base data directory /usr/local/share/barony
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_VERBOSE_MAKEFILE


-- Build files have been written to: /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7
===========================================================================
=======================<phase: build          >============================
===>  Building for barony-3.3.7_1
[  0% 2/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/main.cpp.o -MF CMakeFiles/barony.dir/src/main.cpp.o.d -o CMakeFiles/barony.dir/src/main.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/main.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[  1% 3/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/init.cpp.o -MF CMakeFiles/barony.dir/src/init.cpp.o.d -o CMakeFiles/barony.dir/src/init.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/init.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[  2% 4/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/sound.cpp.o -MF CMakeFiles/barony.dir/src/sound.cpp.o.d -o CMakeFiles/barony.dir/src/sound.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/sound.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[  2% 5/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/sound_game.cpp.o -MF CMakeFiles/barony.dir/src/sound_game.cpp.o.d -o CMakeFiles/barony.dir/src/sound_game.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/sound_game.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[  3% 6/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/light.cpp.o -MF CMakeFiles/barony.dir/src/light.cpp.o.d -o CMakeFiles/barony.dir/src/light.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/light.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[  4% 7/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/collision.cpp.o -MF CMakeFiles/barony.dir/src/collision.cpp.o.d -o CMakeFiles/barony.dir/src/collision.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/collision.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/collision.cpp:15:
In file included from /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/messages.hpp:18:
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:319:46: warning: field 'offsetx' is uninitialized when used here [-Wuninitialized]
        int gui_starty = ((xres / 2) - (420 / 2)) + offsetx;
                                                    ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:372:2: note: during field initialization in this constructor
        GenericGUIMenu() :
        ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:320:45: warning: field 'offsety' is uninitialized when used here [-Wuninitialized]
        int gui_startx = ((yres / 2) - (96 / 2)) + offsety;
                                                   ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:372:2: note: during field initialization in this constructor
        GenericGUIMenu() :
        ^
2 warnings generated.
[  4% 8/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/cursors.cpp.o -MF CMakeFiles/barony.dir/src/cursors.cpp.o.d -o CMakeFiles/barony.dir/src/cursors.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/cursors.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[  5% 9/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/draw.cpp.o -MF CMakeFiles/barony.dir/src/draw.cpp.o.d -o CMakeFiles/barony.dir/src/draw.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/draw.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[  6% 10/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/opengl.cpp.o -MF CMakeFiles/barony.dir/src/opengl.cpp.o.d -o CMakeFiles/barony.dir/src/opengl.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/opengl.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[  6% 11/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/maps.cpp.o -MF CMakeFiles/barony.dir/src/maps.cpp.o.d -o CMakeFiles/barony.dir/src/maps.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/maps.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/maps.cpp:21:
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:319:46: warning: field 'offsetx' is uninitialized when used here [-Wuninitialized]
        int gui_starty = ((xres / 2) - (420 / 2)) + offsetx;
                                                    ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:372:2: note: during field initialization in this constructor
        GenericGUIMenu() :
        ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:320:45: warning: field 'offsety' is uninitialized when used here [-Wuninitialized]
        int gui_startx = ((yres / 2) - (96 / 2)) + offsety;
                                                   ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:372:2: note: during field initialization in this constructor
        GenericGUIMenu() :
        ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/maps.cpp:387:54: warning: data argument not used by format string [-Wformat-extra-args]
                        snprintf(tmpBuffer, 31, ", disabled normal exit", std::get<LEVELPARAM_DISABLE_NORMAL_EXIT>(mapParameters));
                                                ~~~~~~~~~~~~~~~~~~~~~~~~  ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/maps.cpp:5422:21: warning: implicit conversion from 'double' to 'Sint32' (aka 'int') changes value from 0.01 to 0 [-Wliteral-conversion]
                                entity->sizex = 0.01;
                                              ~ ^~~~
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/maps.cpp:5423:21: warning: implicit conversion from 'double' to 'Sint32' (aka 'int') changes value from 0.01 to 0 [-Wliteral-conversion]
                                entity->sizey = 0.01;
                                              ~ ^~~~
5 warnings generated.
[  7% 12/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/objects.cpp.o -MF CMakeFiles/barony.dir/src/objects.cpp.o.d -o CMakeFiles/barony.dir/src/objects.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/objects.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
[  8% 13/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/list.cpp.o -MF CMakeFiles/barony.dir/src/list.cpp.o.d -o CMakeFiles/barony.dir/src/list.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/list.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/list.cpp:15:
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:319:46: warning: field 'offsetx' is uninitialized when used here [-Wuninitialized]
        int gui_starty = ((xres / 2) - (420 / 2)) + offsetx;
                                                    ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:372:2: note: during field initialization in this constructor
        GenericGUIMenu() :
        ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:320:45: warning: field 'offsety' is uninitialized when used here [-Wuninitialized]
        int gui_startx = ((yres / 2) - (96 / 2)) + offsety;
                                                   ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:372:2: note: during field initialization in this constructor
        GenericGUIMenu() :
        ^
2 warnings generated.
[  8% 14/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/items.cpp.o -MF CMakeFiles/barony.dir/src/items.cpp.o.d -o CMakeFiles/barony.dir/src/items.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/items.cpp
FAILED: CMakeFiles/barony.dir/src/items.cpp.o 
/usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/items.cpp.o -MF CMakeFiles/barony.dir/src/items.cpp.o.d -o CMakeFiles/barony.dir/src/items.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/items.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/items.cpp:16:
In file included from /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/messages.hpp:18:
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:319:46: warning: field 'offsetx' is uninitialized when used here [-Wuninitialized]
        int gui_starty = ((xres / 2) - (420 / 2)) + offsetx;
                                                    ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:372:2: note: during field initialization in this constructor
        GenericGUIMenu() :
        ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:320:45: warning: field 'offsety' is uninitialized when used here [-Wuninitialized]
        int gui_startx = ((yres / 2) - (96 / 2)) + offsety;
                                                   ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:372:2: note: during field initialization in this constructor
        GenericGUIMenu() :
        ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/items.cpp:656:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                                        snprintf(tempstr, 1024, language[3653 + status]);
                                                                ^~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/items.cpp:656:30: note: treat the string as an argument to avoid this
                                        snprintf(tempstr, 1024, language[3653 + status]);
                                                                ^
                                                                "%s", 
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/items.cpp:795:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                                        snprintf(tempstr, 1024, language[3763]);
                                                                ^~~~~~~~~~~~~~
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/items.cpp:795:30: note: treat the string as an argument to avoid this
                                        snprintf(tempstr, 1024, language[3763]);
                                                                ^
                                                                "%s", 
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/items.cpp:868:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                                        snprintf(tempstr, 1024, language[3763]);
                                                                ^~~~~~~~~~~~~~
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/items.cpp:868:30: note: treat the string as an argument to avoid this
                                        snprintf(tempstr, 1024, language[3763]);
                                                                ^
                                                                "%s", 
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/items.cpp:4637:10: error: no matching function for call to 'max'
                return std::max(0.1, bowModifier + arrowModifier);
                       ^~~~~~~~
/usr/include/c++/v1/__algorithm/max.h:39:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('double' vs. 'float')
max(const _Tp& __a, const _Tp& __b)
^
/usr/include/c++/v1/__algorithm/max.h:50:1: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'double'
max(initializer_list<_Tp> __t, _Compare __comp)
^
/usr/include/c++/v1/__algorithm/max.h:59:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
max(initializer_list<_Tp> __t)
^
/usr/include/c++/v1/__algorithm/max.h:30:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/items.cpp:4644:9: error: no matching function for call to 'max'
        return std::max(0.25, bowModifier + arrowModifier);
               ^~~~~~~~
/usr/include/c++/v1/__algorithm/max.h:39:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('double' vs. 'float')
max(const _Tp& __a, const _Tp& __b)
^
/usr/include/c++/v1/__algorithm/max.h:50:1: note: candidate template ignored: could not match 'initializer_list<type-parameter-0-0>' against 'double'
max(initializer_list<_Tp> __t, _Compare __comp)
^
/usr/include/c++/v1/__algorithm/max.h:59:1: note: candidate function template not viable: requires single argument '__t', but 2 arguments were provided
max(initializer_list<_Tp> __t)
^
/usr/include/c++/v1/__algorithm/max.h:30:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
5 warnings and 2 errors generated.
[  9% 14/147] /usr/bin/c++ -DBASE_DATA_DIR=\"/usr/local/share/barony\" -I/usr/local/include/SDL2 -I/usr/local/include/libpng16 -I/usr/local/include/AL -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -pedantic  -std=c++14 -Wl,-rpath= -MD -MT CMakeFiles/barony.dir/src/files.cpp.o -MF CMakeFiles/barony.dir/src/files.cpp.o.d -o CMakeFiles/barony.dir/src/files.cpp.o -c /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/files.cpp
c++: warning: -Wl,-rpath=: 'linker' input unused [-Wunused-command-line-argument]
In file included from /wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/files.cpp:27:
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:319:46: warning: field 'offsetx' is uninitialized when used here [-Wuninitialized]
        int gui_starty = ((xres / 2) - (420 / 2)) + offsetx;
                                                    ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:372:2: note: during field initialization in this constructor
        GenericGUIMenu() :
        ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:320:45: warning: field 'offsety' is uninitialized when used here [-Wuninitialized]
        int gui_startx = ((yres / 2) - (96 / 2)) + offsety;
                                                   ^
/wrkdirs/usr/ports/games/barony/work/Barony-3.3.7/src/interface/interface.hpp:372:2: note: during field initialization in this constructor
        GenericGUIMenu() :
        ^
2 warnings generated.
ninja: build stopped: subcommand failed.
===> 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/games/barony