[package - 140releng-armv7-default][games/openfodder] Failed for OpenFodder-1.8.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 05 Nov 2023 03:22:37 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:     jbeich@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere3/data/140releng-armv7-default/08943441f26e/logs/OpenFodder-1.8.0.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=140releng-armv7-default&build=08943441f26e
Log:

=>> Building games/openfodder
build started at Sun Nov  5 03:16:10 UTC 2023
port directory: /usr/ports/games/openfodder
package name: OpenFodder-1.8.0
building for: FreeBSD 140releng-armv7-default-job-08 14.0-BETA5 FreeBSD 14.0-BETA5 1400097 arm
maintained by: jbeich@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1400097
Job Id: 08

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-BETA5 1400097
UNAME_r=14.0-BETA5
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/140releng-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/140releng-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=140releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/140releng-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---
===> The following configuration options are available for OpenFodder-1.8.0:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
jbeich@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/openfodder/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/openfodder/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/openfodder/work/.cache  HOME=/wrkdirs/usr/ports/games/openfodder/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/openfodder/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/openfodder/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--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/openfodder/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/openfodder/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/openfodder/work/.cache  HOME=/wrkdirs/usr/ports/games/openfodder/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/openfodder/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/openfodder/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -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_IN
STALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/OpenFodder"  EXAMPLESDIR="share/examples/OpenFodder"  DATADIR="share/OpenFodder"  WWWDIR="www/OpenFodder"  ETCDIR="etc/OpenFodder"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/OpenFodder DOCSDIR=/usr/local/share/doc/OpenFodder EXAMPLESDIR=/usr/local/share/examples/OpenFodder  WWWDIR=/usr/local/www/OpenFodder ETCDIR=/usr/local/etc/OpenFodder
--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 3 jobs
MAKE_JOBS_NUMBER=3
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0-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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-BETA5
OSREL=14.0
OSVERSION=1400097
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 BSD3CLAUSE GPLv3+ LGPL21+ MIT ZLIB accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   OpenFodder-1.8.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.7.pkg
[140releng-armv7-default-job-08] Installing pkg-1.20.7...
[140releng-armv7-default-job-08] Extracting pkg-1.20.7: .......... done
===>   OpenFodder-1.8.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of OpenFodder-1.8.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE GPLv3+ LGPL21+ MIT ZLIB accepted by the user
===> Fetching all distfiles required by OpenFodder-1.8.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE GPLv3+ LGPL21+ MIT ZLIB accepted by the user
===> Fetching all distfiles required by OpenFodder-1.8.0 for building
=> SHA256 Checksum OK for OpenFodder-openfodder-1.8.0_GH0.tar.gz.
=> SHA256 Checksum OK for OpenFodder-data-1.7.0_GH0.tar.gz.
=> SHA256 Checksum OK for OpenFodder-scripts-c6f3076_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE GPLv3+ LGPL21+ MIT ZLIB accepted by the user
===> Fetching all distfiles required by OpenFodder-1.8.0 for building
===>  Extracting for OpenFodder-1.8.0
=> SHA256 Checksum OK for OpenFodder-openfodder-1.8.0_GH0.tar.gz.
=> SHA256 Checksum OK for OpenFodder-data-1.7.0_GH0.tar.gz.
=> SHA256 Checksum OK for OpenFodder-scripts-c6f3076_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for OpenFodder-1.8.0
===========================================================================
=======================<phase: build-depends  >============================
===>   OpenFodder-1.8.0 depends on file: /usr/local/bin/sdl2-config - not found
===>   Installing existing package /packages/All/sdl2-2.28.4.pkg
[140releng-armv7-default-job-08] Installing sdl2-2.28.4...
[140releng-armv7-default-job-08] `-- Installing libXScrnSaver-1.2.4...
[140releng-armv7-default-job-08] |   `-- Installing libX11-1.8.6_1,1...
[140releng-armv7-default-job-08] |   | `-- Installing libxcb-1.15_1...
[140releng-armv7-default-job-08] |   |   `-- Installing libXau-1.0.9...
[140releng-armv7-default-job-08] |   |   `-- Extracting libXau-1.0.9: .......... done
[140releng-armv7-default-job-08] |   |   `-- Installing libXdmcp-1.1.3...
<snip>
Source/Fodder.cpp:1700:5: note: previous statement is here
    if (mMap_Destroy_Tiles_Countdown)
    ^
Source/Fodder.cpp:2823:18: warning: unused variable 'WindowPos' [-Wunused-variable]
        const cPosition WindowPos = mWindow->GetWindowPosition();
                        ^
Source/Fodder.cpp:2825:19: warning: unused variable 'WindowSize' [-Wunused-variable]
        const cDimension WindowSize = mWindow->GetWindowSize();
                         ^
Source/Fodder.cpp:3619:15: warning: variable 'DrawY' set but not used [-Wunused-but-set-variable]
        int16 DrawY = 0xB5;
              ^
Source/Fodder.cpp:3823:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        return mCampaignList[mGUI_Select_File_CurrentIndex + mGUI_Select_File_SelectedFileIndex];
        ^
Source/Fodder.cpp:3820:5: note: previous statement is here
    if (mGUI_SaveLoadAction == 1)
    ^
Source/Fodder.cpp:6069:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        Data0 = map_GetRandomX();
        ^
Source/Fodder.cpp:6066:5: note: previous statement is here
    if (pSprite->field_4C)
    ^
Source/Fodder.cpp:6409:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        int16 DataC = map_GetRandomY();
        ^
Source/Fodder.cpp:6406:5: note: previous statement is here
    if (Data8 >= mMapLoaded->getWidth())
    ^
Source/Fodder.cpp:7524:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        pDistanceMax = 0;
        ^
Source/Fodder.cpp:7521:5: note: previous statement is here
    if (pPosY2 >= pDistanceMax)
    ^
Source/Fodder.cpp:9090:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        auto SaveData = g_ResourceMan->FileReadStr(g_ResourceMan->GetSave(File));
        ^
Source/Fodder.cpp:9087:5: note: previous statement is here
    if (!File.size())
    ^
Source/Fodder.cpp:9311:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        mWindow->SetScreenSize(mVersionCurrent->GetScreenSize());
        ^
Source/Fodder.cpp:9308:5: note: previous statement is here
    if (mParams->mSkipService)
    ^
Source/Fodder.cpp:9721:21: warning: loop variable 'GoalName' creates a copy from type 'const std::string' [-Wrange-loop-construct]
    for (const auto GoalName : mMissionGoal_Titles) {
                    ^
Source/Fodder.cpp:9721:10: note: use reference type 'const std::string &' to prevent copying
    for (const auto GoalName : mMissionGoal_Titles) {
         ^~~~~~~~~~~~~~~~~~~~~
                    &
Source/Fodder.cpp:9738:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        mWindow->SetScreenSize(mVersionCurrent->GetScreenSize());
        ^
Source/Fodder.cpp:9735:5: note: previous statement is here
    if (!mVersionCurrent->hasGfx(eGFX_BRIEFING) && !mGame_Data.mCampaign.isRandom())
    ^
Source/Fodder.cpp:11427:11: warning: variable 'Data4' set but not used [-Wunused-but-set-variable]
    int16 Data4 = 0x64;
          ^
Source/Fodder.cpp:12875:39: warning: variable 'Data1C' set but not used [-Wunused-but-set-variable]
    int16 Data0, Data4, Data8, DataC, Data1C;
                                      ^
Source/Fodder.cpp:13170:39: warning: variable 'Data1C' set but not used [-Wunused-but-set-variable]
    int16 Data0, Data4, Data8, DataC, Data1C;
                                      ^
Source/Fodder.cpp:13486:39: warning: variable 'Data10' set but not used [-Wunused-but-set-variable]
    int16 Data0, Data4, Data8, DataC, Data10;
                                      ^
Source/Fodder.cpp:14948:9: warning: unused variable 'StoredAnim' [-Wunused-variable]
    int StoredAnim = pSprite->field_8;
        ^
Source/Fodder.cpp:39:13: warning: unused variable 'mBriefing_Helicopter_Offsets' [-Wunused-const-variable]
const int16 mBriefing_Helicopter_Offsets[] =
            ^
19 warnings generated.
Source/GameData.cpp:331:2: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
        mScore_Kills_Away = 0;
        ^
Source/GameData.cpp:328:5: note: previous statement is here
    for (auto& Troop : mSoldiers_Allocated)
    ^
1 warning generated.
In file included from Source/ScriptingEngine.cpp:24:
In file included from ./Source/Utils/dukglue/dukglue.h:3:
In file included from ./Source/Utils/dukglue/register_function.h:3:
In file included from ./Source/Utils/dukglue/detail_function.h:3:
In file included from ./Source/Utils/dukglue/detail_stack.h:6:
In file included from ./Source/Utils/dukglue/detail_types.h:160:
./Source/Utils/dukglue/detail_primitive_types.h:52:3: error: redefinition of 'DukType<long long>'
                DUKGLUE_SIMPLE_VALUE_TYPE(time_t, duk_is_number, duk_get_uint, duk_push_uint, value)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./Source/Utils/dukglue/detail_primitive_types.h:17:10: note: expanded from macro 'DUKGLUE_SIMPLE_VALUE_TYPE'
                struct DukType<TYPE> { \
                       ^~~~~~~~~~~~~
./Source/Utils/dukglue/detail_primitive_types.h:46:3: note: previous definition is here
                DUKGLUE_SIMPLE_VALUE_TYPE(int64_t, duk_is_number, duk_get_number, duk_push_number, value) // have to cast to double
                ^
./Source/Utils/dukglue/detail_primitive_types.h:17:10: note: expanded from macro 'DUKGLUE_SIMPLE_VALUE_TYPE'
                struct DukType<TYPE> { \
                       ^
Source/ScriptingEngine.cpp:105:4: warning: '/*' within block comment [-Wcomment]
                        /* Callback should avoid errors for now, so use
                        ^
Source/ScriptingEngine.cpp:91:14: warning: variable 'cmd' set but not used [-Wunused-but-set-variable]
        const char *cmd;
                    ^
2 warnings and 1 error generated.
Source/Surface.cpp:209:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        const uint8 *bufferCurrent = mSurfaceBuffer;
        ^
Source/Surface.cpp:206:5: note: previous statement is here
    if (mIsLoadedImage)
    ^
1 warning generated.
Source/Window.cpp:469:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        mOriginalResolution = pDimension;
        ^
Source/Window.cpp:466:5: note: previous statement is here
    if (mOriginalResolution == pDimension)
    ^
1 warning generated.
Source/PC/Graphics_PC.cpp:134:4: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation]
                        return;
                        ^
Source/PC/Graphics_PC.cpp:132:13: note: previous statement is here
            else
            ^
1 warning generated.
Source/Amiga/Graphics_Amiga.cpp:353:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
        mImageFonts.LoadPalette_Amiga(mImageFonts.mData->data(), 16);
        ^
Source/Amiga/Graphics_Amiga.cpp:349:5: note: previous statement is here
    if (!mImageFonts.mData->size())
    ^
Source/Amiga/Graphics_Amiga.cpp:453:3: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation]
                return;
                ^
Source/Amiga/Graphics_Amiga.cpp:450:9: note: previous statement is here
        else
        ^
Source/Amiga/Graphics_Amiga.cpp:955:15: warning: unused variable 'Palette' [-Wunused-variable]
        uint8 Palette = mFodder->mVideo_Draw_PaletteIndex;
              ^
3 warnings generated.
In file included from Source/Utils/SimplexIslands.cpp:2:
Source/Utils/SimplexIslands.hpp:150:9: warning: variable 'weightSum' set but not used [-Wunused-but-set-variable]
                float weightSum = 0;
                      ^
1 warning generated.
duk_js_compiler.c:5570:13: warning: variable 'num_stmts' set but not used [-Wunused-but-set-variable]
                duk_int_t num_stmts;
                          ^
1 warning generated.
Source/Map/Original.cpp:34:14: warning: multi-character character constant [-Wmultichar]
        Map[0x28] = 'fo'; Map[0x29] = 'de';
                    ^
Source/Map/Original.cpp:34:32: warning: multi-character character constant [-Wmultichar]
        Map[0x28] = 'fo'; Map[0x29] = 'de';
                                      ^
Source/Map/Original.cpp:186:18: warning: loop variable 'SpriteIT' creates a copy from type 'sSprite const' [-Wrange-loop-construct]
        for (const auto SpriteIT : mSprites) {
                        ^
Source/Map/Original.cpp:186:7: note: use reference type 'sSprite const &' to prevent copying
        for (const auto SpriteIT : mSprites) {
             ^~~~~~~~~~~~~~~~~~~~~
                        &
Source/Map/Original.cpp:202:18: warning: loop variable 'SpriteIT' creates a copy from type 'sSprite const' [-Wrange-loop-construct]
        for (const auto SpriteIT : mSprites) {
                        ^
Source/Map/Original.cpp:202:7: note: use reference type 'sSprite const &' to prevent copying
        for (const auto SpriteIT : mSprites) {
             ^~~~~~~~~~~~~~~~~~~~~
                        &
4 warnings generated.
In file included from Source/Map/Random.cpp:28:
./Source/Utils/SimplexIslands.hpp:150:9: warning: variable 'weightSum' set but not used [-Wunused-but-set-variable]
                float weightSum = 0;
                      ^
Source/Map/Random.cpp:321:7: warning: unused variable 'result' [-Wunused-variable]
        auto result = pather->Solve(Pos1, Pos2, &path, &totalCost);
             ^
2 warnings generated.
*** [main] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/games/openfodder/work/openfodder-1.8.0
1 error

make[1]: stopped in /wrkdirs/usr/ports/games/openfodder/work/openfodder-1.8.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/games/openfodder