[package - head-powerpc64-default][games/openfodder] Failed for OpenFodder-1.6.0 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Sun Jan 19 23:51:45 UTC 2020
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 at FreeBSD.org
Last committer: jbeich at FreeBSD.org
Ident: $FreeBSD: head/games/openfodder/Makefile 521658 2019-12-31 21:12:00Z jbeich $
Log URL: http://pylon.nyi.freebsd.org/data/head-powerpc64-default/p522738_s356047/logs/OpenFodder-1.6.0.log
Build URL: http://pylon.nyi.freebsd.org/build.html?mastername=head-powerpc64-default&build=p522738_s356047
Log:
=>> Building games/openfodder
build started at Sun Jan 19 23:42:11 UTC 2020
port directory: /usr/ports/games/openfodder
package name: OpenFodder-1.6.0
building for: FreeBSD head-powerpc64-default-job-11 13.0-CURRENT FreeBSD 13.0-CURRENT 1300068 powerpc
maintained by: jbeich at FreeBSD.org
Makefile ident: $FreeBSD: head/games/openfodder/Makefile 521658 2019-12-31 21:12:00Z jbeich $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300047
Jail OSVERSION: 1300068
Job Id: 11
!!! Jail is newer than host. (Jail: 1300068, Host: 1300047) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300068
UNAME_v=FreeBSD 13.0-CURRENT 1300068
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
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-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-powerpc64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-powerpc64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-powerpc64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-powerpc64-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.6.0:
DOCS=on: Build and/or install documentation
ICONS=on: Install icon theme(s)
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
jbeich at 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 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 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 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 NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local CC="gcc9" CFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -fno-strict-aliasing " CPP="cpp9" CPPFLAGS="" LDFLAGS=" -fstack-protector-stro
ng -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9 " LIBS="" CXX="g++9" CXXFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -Wl,-rpath=/usr/local/lib/gcc9 " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444"
--End MAKE_ENV--
--PLIST_SUB--
PORTDOCS="" OSREL=13.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 2 jobs
MAKE_JOBS_NUMBER=4
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11"
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11"
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x"
CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11"
CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14"
CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17"
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11"
CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14"
CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17"
_OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv1
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300068
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---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 BSD3CLAUSE GPLv3+ LGPL21+ MIT ZLIB accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> OpenFodder-1.6.0 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.12.0.txz
[head-powerpc64-default-job-11] Installing pkg-1.12.0...
[head-powerpc64-default-job-11] Extracting pkg-1.12.0: .......... done
===> OpenFodder-1.6.0 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of OpenFodder-1.6.0
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License BSD3CLAUSE GPLv3+ LGPL21+ MIT ZLIB accepted by the user
===> Fetching all distfiles required by OpenFodder-1.6.0 for building
===========================================================================
=======================<phase: checksum >============================
===> License BSD3CLAUSE GPLv3+ LGPL21+ MIT ZLIB accepted by the user
===> Fetching all distfiles required by OpenFodder-1.6.0 for building
=> SHA256 Checksum OK for OpenFodder-openfodder-1.6.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.6.0 for building
===> Extracting for OpenFodder-1.6.0
=> SHA256 Checksum OK for OpenFodder-openfodder-1.6.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.6.0
===========================================================================
=======================<phase: build-depends >============================
===> OpenFodder-1.6.0 depends on executable: mogrify - not found
===> Installing existing package /packages/All/ImageMagick6-6.9.10.57,1.txz
<snip>
Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple<Args>::type dukglue::detail::get_stack_values(duk_context*) [with Args = {eTerrainFeature, long unsigned int}; typename dukglue::detail::ArgsTuple<Args>::type = std::tuple<eTerrainFeature, long unsigned int>; duk_context = duk_hthread]'
Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo<isConst, Cls, RetType, Ts>::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {eTerrainFeature, long unsigned int}; duk_ret_t = int; duk_context = duk_hthread]'
Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional<isConst, RetType (Cls::*)(Ts ...) const, RetType (Cls::*)(Ts ...)>::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = cPosition*; Ts = {eTerrainFeature, long unsigned int}; duk_context = duk_hthread; typename std::conditional<isConst, RetType (Cls::*)(Ts ...) const, RetType (Cls::*)(Ts ...)>::type = cPosition* (cRandomMap::*)(eTerrainFeature, long unsigned int)]'
Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = cPosition*; Ts = {eTerrainFeature, long unsigned int}; duk_context = duk_hthread]'
Source/ScriptingEngine.cpp:279:101: required from here
./Source/Utils/duktape.h:520:141: warning: right operand of comma operator has no effect [-Wunused-value]
520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0)
| ^
Source/Utils/dukglue/detail_primitive_types.h:26:6: note: in expansion of macro 'duk_error'
26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \
| ^~~~~~~~~
Source/ScriptingEngine.cpp:35:3: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE'
35 | DUKGLUE_SIMPLE_VALUE_TYPE(eTerrainFeature, duk_is_number, duk_get_uint, duk_push_uint, value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Source/Utils/dukglue/detail_types.h: In instantiation of 'static T* dukglue::types::DukType<T>::read(duk_context*, duk_idx_t) [with FullT = cPosition*; <template-parameter-2-2> = void; T = cPosition; duk_context = duk_hthread; duk_idx_t = int]':
Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple<Args>::type dukglue::detail::get_stack_values_helper(duk_context*, dukglue::detail::index_tuple<Indexes ...>) [with Args = {cPosition*, cPosition*}; long unsigned int ...Indexes = {0, 1}; typename dukglue::detail::ArgsTuple<Args>::type = std::tuple<cPosition*, cPosition*>; duk_context = duk_hthread]'
Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple<Args>::type dukglue::detail::get_stack_values(duk_context*) [with Args = {cPosition*, cPosition*}; typename dukglue::detail::ArgsTuple<Args>::type = std::tuple<cPosition*, cPosition*>; duk_context = duk_hthread]'
Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo<isConst, Cls, RetType, Ts>::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cRandomMap; RetType = int; Ts = {cPosition*, cPosition*}; duk_ret_t = int; duk_context = duk_hthread]'
Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional<isConst, RetType (Cls::*)(Ts ...) const, RetType (Cls::*)(Ts ...)>::type, const char*) [with bool isConst = false; Cls = cRandomMap; RetType = int; Ts = {cPosition*, cPosition*}; duk_context = duk_hthread; typename std::conditional<isConst, RetType (Cls::*)(Ts ...) const, RetType (Cls::*)(Ts ...)>::type = int (cRandomMap::*)(cPosition*, cPosition*)]'
Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cRandomMap; RetType = int; Ts = {cPosition*, cPosition*}; duk_context = duk_hthread]'
Source/ScriptingEngine.cpp:290:107: required from here
./Source/Utils/duktape.h:520:141: warning: right operand of comma operator has no effect [-Wunused-value]
520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0)
| ^
Source/Utils/dukglue/detail_types.h:60:6: note: in expansion of macro 'duk_error'
60 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected native object, got %s", arg_idx, get_type_name(type_idx));
| ^~~~~~~~~
./Source/Utils/duktape.h:520:141: warning: right operand of comma operator has no effect [-Wunused-value]
520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0)
| ^
Source/Utils/dukglue/detail_types.h:65:6: note: in expansion of macro 'duk_error'
65 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected native object (missing type_info)", arg_idx);
| ^~~~~~~~~
./Source/Utils/duktape.h:520:141: warning: right operand of comma operator has no effect [-Wunused-value]
520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0)
| ^
Source/Utils/dukglue/detail_types.h:70:6: note: in expansion of macro 'duk_error'
70 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: wrong type of native object", arg_idx);
| ^~~~~~~~~
./Source/Utils/duktape.h:520:141: warning: right operand of comma operator has no effect [-Wunused-value]
520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0)
| ^
Source/Utils/dukglue/detail_types.h:76:6: note: in expansion of macro 'duk_error'
76 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: invalid native object.", arg_idx);
| ^~~~~~~~~
Source/ScriptingEngine.cpp: In instantiation of 'static ePhaseObjective dukglue::types::DukType<ePhaseObjective>::read(duk_context*, duk_idx_t) [with FullT = ePhaseObjective; duk_context = duk_hthread; duk_idx_t = int]':
Source/Utils/dukglue/detail_stack.h:31:115: required from 'typename dukglue::detail::ArgsTuple<Args>::type dukglue::detail::get_stack_values_helper(duk_context*, dukglue::detail::index_tuple<Indexes ...>) [with Args = {ePhaseObjective}; long unsigned int ...Indexes = {0}; typename dukglue::detail::ArgsTuple<Args>::type = std::tuple<ePhaseObjective>; duk_context = duk_hthread]'
Source/Utils/dukglue/detail_stack.h:48:43: required from 'typename dukglue::detail::ArgsTuple<Args>::type dukglue::detail::get_stack_values(duk_context*) [with Args = {ePhaseObjective}; typename dukglue::detail::ArgsTuple<Args>::type = std::tuple<ePhaseObjective>; duk_context = duk_hthread]'
Source/Utils/dukglue/detail_method.h:113:78: required from 'static duk_ret_t dukglue::detail::MethodInfo<isConst, Cls, RetType, Ts>::MethodRuntime::call_native_method(duk_context*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {ePhaseObjective}; duk_ret_t = int; duk_context = duk_hthread]'
Source/Utils/dukglue/register_class.h:130:17: required from 'void dukglue_register_method(duk_context*, typename std::conditional<isConst, RetType (Cls::*)(Ts ...) const, RetType (Cls::*)(Ts ...)>::type, const char*) [with bool isConst = false; Cls = cPhase; RetType = void; Ts = {ePhaseObjective}; duk_context = duk_hthread; typename std::conditional<isConst, RetType (Cls::*)(Ts ...) const, RetType (Cls::*)(Ts ...)>::type = void (cPhase::*)(ePhaseObjective)]'
Source/Utils/dukglue/register_class.h:113:53: required from 'void dukglue_register_method(duk_context*, RetType (Cls::*)(Ts ...), const char*) [with Cls = cPhase; RetType = void; Ts = {ePhaseObjective}; duk_context = duk_hthread]'
Source/ScriptingEngine.cpp:298:68: required from here
./Source/Utils/duktape.h:520:141: warning: right operand of comma operator has no effect [-Wunused-value]
520 | (duk_error_raw((ctx), (duk_errcode_t) (err_code), (const char *) (DUK_FILE_MACRO), (duk_int_t) (DUK_LINE_MACRO), __VA_ARGS__), (duk_ret_t) 0)
| ^
Source/Utils/dukglue/detail_primitive_types.h:26:6: note: in expansion of macro 'duk_error'
26 | duk_error(ctx, DUK_RET_TYPE_ERROR, "Argument %d: expected " #TYPE ", got %s", arg_idx, detail::get_type_name(type_idx)); \
| ^~~~~~~~~
Source/ScriptingEngine.cpp:36:3: note: in expansion of macro 'DUKGLUE_SIMPLE_VALUE_TYPE'
36 | DUKGLUE_SIMPLE_VALUE_TYPE(ePhaseObjective, duk_is_number, duk_get_uint, duk_push_uint, value);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Source/ScriptingEngine.cpp: At global scope:
Source/ScriptingEngine.cpp:120:13: warning: 'void debugger_detached(duk_context*, void*)' defined but not used [-Wunused-function]
120 | static void debugger_detached(duk_context *ctx, void *udata) {
| ^~~~~~~~~~~~~~~~~
Source/ScriptingEngine.cpp:90:18: warning: 'duk_idx_t debugger_request(duk_context*, void*, duk_idx_t)' defined but not used [-Wunused-function]
90 | static duk_idx_t debugger_request(duk_context *ctx, void *udata, duk_idx_t nvalues) {
| ^~~~~~~~~~~~~~~~
Source/Surface.cpp: In member function 'void cSurface::draw()':
Source/Surface.cpp:206:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
206 | if (mIsLoadedImage)
| ^~
Source/Surface.cpp:209:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
209 | const uint8 *bufferCurrent = mSurfaceBuffer;
| ^~~~~
Source/Window.cpp: In member function 'virtual void cWindow::EventCheck()':
Source/Window.cpp:205:16: warning: operation on 'Event.cEvent::mType' may be undefined [-Wsequence-point]
205 | Event.mType = Event.mType = eEvent_MouseWheel;
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/Window.cpp: In member function 'void cWindow::SetOriginalRes(const cDimension&)':
Source/Window.cpp:495:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
495 | if (mOriginalResolution == pDimension)
| ^~
Source/Window.cpp:498:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
498 | mOriginalResolution = pDimension;
| ^~~~~~~~~~~~~~~~~~~
Source/PC/Graphics_PC.cpp: In member function 'virtual void cGraphics_PC::SetActiveSpriteSheet(eGFX_Types)':
Source/PC/Graphics_PC.cpp:132:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
132 | else
| ^~~~
Source/PC/Graphics_PC.cpp:134:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
134 | return;
| ^~~~~~
Source/PC/Resource_PC_CD.cpp: In member function 'void cResource_PC_CD::sub_26B11()':
Source/PC/Resource_PC_CD.cpp:661:17: warning: array subscript 627 is above array bounds of 'int16 [627]' {aka 'short int [627]'} [-Warray-bounds]
661 | word_26DBE[bx] = dx;
| ~~~~~~~~~~~~~^
Source/Amiga/Graphics_Amiga.cpp:525:44: warning: multi-character character constant [-Wmultichar]
525 | if (!DataPtr || readBEDWord( DataPtr ) != 'FORM')
| ^~~~~~
Source/Amiga/Graphics_Amiga.cpp:531:32: warning: multi-character character constant [-Wmultichar]
531 | if (readBEDWord( DataPtr ) != 'ILBM')
| ^~~~~~
Source/Amiga/Graphics_Amiga.cpp:547:8: warning: multi-character character constant [-Wmultichar]
547 | case 'BMHD':
| ^~~~~~
Source/Amiga/Graphics_Amiga.cpp:559:8: warning: multi-character character constant [-Wmultichar]
559 | case 'BODY': {
| ^~~~~~
Source/Amiga/Graphics_Amiga.cpp:622:8: warning: multi-character character constant [-Wmultichar]
622 | case 'CMAP':
| ^~~~~~
Source/Amiga/Graphics_Amiga.cpp: In member function 'virtual void cGraphics_Amiga::Load_Sprite_Font()':
Source/Amiga/Graphics_Amiga.cpp:349:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
349 | if (!mImageFonts.mData->size())
| ^~
Source/Amiga/Graphics_Amiga.cpp:353:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
353 | mImageFonts.LoadPalette_Amiga(mImageFonts.mData->data(), 16);
| ^~~~~~~~~~~
Source/Amiga/Graphics_Amiga.cpp: In member function 'virtual void cGraphics_Amiga::SetActiveSpriteSheet(eGFX_Types)':
Source/Amiga/Graphics_Amiga.cpp:450:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
450 | else
| ^~~~
Source/Amiga/Graphics_Amiga.cpp:453:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
453 | return;
| ^~~~~~
Source/Amiga/Graphics_Amiga.cpp: In member function 'virtual void cGraphics_Amiga::Video_Draw_8_Alt(const uint8*)':
Source/Amiga/Graphics_Amiga.cpp:955:15: warning: unused variable 'Palette' [-Wunused-variable]
955 | uint8 Palette = mFodder->mVideo_Draw_PaletteIndex;
| ^~~~~~~
Source/Amiga/Resource_Amiga_File.cpp:45:16: warning: multi-character character constant [-Wmultichar]
45 | if (Header != 'RNC\01')
| ^~~~~~~~
Source/Amiga/dernc.cpp: In function 'const char* rnc_error(long int)':
Source/Amiga/dernc.cpp:64:17: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
64 | if (errcode > sizeof(errors)/sizeof(*errors) - 1)
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Source/Amiga/dernc.cpp: In function 'long int rnc_unpack(void*, void*)':
Source/Amiga/dernc.cpp:113:49: warning: comparison of integer expressions of different signedness: 'long int' and 'long unsigned int' [-Wsign-compare]
113 | if (rnc_crc(input, (long) (inputend-input)) != bword(input-4))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Source/Amiga/rjp1.cpp:44:32: warning: multi-character character constant [-Wmultichar]
44 | if ( readBEDWord(songData) == 'RJP1' && readBEDWord(songData + 4) == 'SMOD') {
| ^~~~~~
Source/Amiga/rjp1.cpp:44:71: warning: multi-character character constant [-Wmultichar]
44 | if ( readBEDWord(songData) == 'RJP1' && readBEDWord(songData + 4) == 'SMOD') {
| ^~~~~~
Source/Amiga/rjp1.cpp:80:39: warning: multi-character character constant [-Wmultichar]
80 | if (readBEDWord(instrumentsData) == 'RJP1') {
| ^~~~~~
In file included from Source/Utils/SimplexIslands.cpp:2:
Source/Utils/SimplexIslands.hpp:65:16: error: 'int32_t' does not name a type
65 | static inline int32_t fastfloor(double fp) {
| ^~~~~~~
Source/Utils/SimplexIslands.hpp: In member function 'double SimplexIslands::noise(double, double)':
Source/Utils/SimplexIslands.hpp:79:11: error: 'fastfloor' was not declared in this scope
79 | int i = fastfloor(xin + s);
| ^~~~~~~~~
Source/Utils/micropather.cpp: In member function 'void micropather::PathNode::Clear()':
Source/Utils/micropather.cpp:480:38: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class micropather::PathNode' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
480 | memset( this, 0, sizeof( PathNode ) );
| ^
In file included from Source/Utils/micropather.cpp:45:
Source/Utils/micropather.h:203:8: note: 'class micropather::PathNode' declared here
203 | class PathNode
| ^~~~~~~~
Source/Utils/micropather.cpp: In member function 'void micropather::MicroPather::GetCacheData(micropather::CacheData*)':
Source/Utils/micropather.cpp:681:33: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct micropather::CacheData'; use assignment or value-initialization instead [-Wclass-memaccess]
681 | memset( data, 0, sizeof(*data) );
| ^
In file included from Source/Utils/micropather.cpp:45:
Source/Utils/micropather.h:344:9: note: 'struct micropather::CacheData' declared here
344 | struct CacheData {
| ^~~~~~~~~
Source/Map/Original.cpp:34:14: warning: multi-character character constant [-Wmultichar]
34 | Map[0x28] = 'fo'; Map[0x29] = 'de';
| ^~~~
Source/Map/Original.cpp:34:32: warning: multi-character character constant [-Wmultichar]
34 | Map[0x28] = 'fo'; Map[0x29] = 'de';
| ^~~~
Source/Map/Random.cpp: In member function 'int32 cRandomMap::getSpriteTypeCount(size_t)':
Source/Map/Random.cpp:45:23: warning: comparison of integer expressions of different signedness: 'int16' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
45 | if (Sprite.field_18 == pSpriteType)
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
Source/Map/Random.cpp: In member function 'std::vector<sSprite*> cRandomMap::getSpritesByType(size_t)':
Source/Map/Random.cpp:57:22: warning: comparison of integer expressions of different signedness: 'int16' {aka 'short int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
57 | if(Sprite.field_18 == pSpriteType)
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
Source/Map/Random.cpp: In member function 'std::vector<cPosition*> cRandomMap::calculatePath(size_t, cPosition*, cPosition*)':
Source/Map/Random.cpp:321:7: warning: unused variable 'result' [-Wunused-variable]
321 | auto result = pather->Solve(Pos1, Pos2, &path, &totalCost);
| ^~~~~~
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/games/openfodder/work/openfodder-1.6.0
*** Error code 1
Stop.
make: stopped in /usr/ports/games/openfodder
More information about the freebsd-pkg-fallout
mailing list