Date: Mon, 10 Sep 2018 12:56:55 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - head-amd64-default][games/warsow] Failed for warsow-1.51_6 in build Message-ID: <201809101256.w8ACutrf094973@beefy12.nyi.freebsd.org>
next in thread | raw e-mail | index | archive | help
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: ports@FreeBSD.org Last committer: gerald@FreeBSD.org Ident: $FreeBSD: head/games/warsow/Makefile 475857 2018-07-29 22:18:44Z gerald $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p479265_s338539/logs/warsow-1.51_6.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p479265_s338539 Log: =>> Building games/warsow build started at Mon Sep 10 12:56:36 UTC 2018 port directory: /usr/ports/games/warsow package name: warsow-1.51_6 building for: FreeBSD head-amd64-default-job-08 12.0-ALPHA5 FreeBSD 12.0-ALPHA5 1200084 amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/games/warsow/Makefile 475857 2018-07-29 22:18:44Z gerald $ Poudriere version: 3.2.7-6-g819c79a1 Host OSVERSION: 1200069 Jail OSVERSION: 1200084 Job Id: 08 !!! Jail is newer than host. (Jail: 1200084, Host: 1200069) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200084 UNAME_v=FreeBSD 12.0-ALPHA5 1200084 UNAME_r=12.0-ALPHA5 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.7-6-g819c79a1 MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for warsow-1.51_6: CIN=on: Build Cinematics playback module CLIENT=on: Build game client DOCS=on: Build and/or install documentation FTLIB=on: Build FreeType library module IRC=on: Build IRC client module OPENAL=on: Build OpenAL sound module QF=on: Build Qf sound module REF_GL=on: Build reference OpenGL module SERVER=on: Build dedicated server TV_SRV=on: Build Warsow TV server XRANDR=off: Xrandr support (may be broken with nvidia-driver) ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/warsow/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/warsow/work HOME=/wrkdirs/usr/ports/games/warsow/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/warsow/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-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/warsow/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/warsow/work HOME=/wrkdirs/usr/ports/games/warsow/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/warsow/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 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="-L/usr/local/lib -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " 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="" PORTEXAMPLES="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/warsow" EXAMPLESDIR="share/examples/warsow" DATADIR="share/warsow" WWWDIR="www/warsow" ETCDIR="etc/warsow" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/warsow DOCSDIR=/usr/local/share/doc/warsow EXAMPLESDIR=/usr/local/share/examples/warsow WWWDIR=/usr/local/www/warsow ETCDIR=/usr/local/etc/warsow --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 # stable/10 includes src.conf too late but make.conf is in sys.mk .if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*} # Disable build of llib now that head no longer has lint(1) LINT= true .endif #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=12.0-ALPHA5 OSREL=12.0 OSVERSION=1200084 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES 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 >============================ ===> NOTICE: The warsow port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> License GPLv2 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> warsow-1.51_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_2.txz [head-amd64-default-job-08] Installing pkg-1.10.5_2... [head-amd64-default-job-08] Extracting pkg-1.10.5_2: .......... done ===> warsow-1.51_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of warsow-1.51_6 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> NOTICE: <snip> game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:731:46: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const int, contents), ASLIB_FOFFSET(astrace_t, trace.contents) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:732:44: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(const int, entNum), ASLIB_FOFFSET(astrace_t, trace.ent) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:732:44: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const int, entNum), ASLIB_FOFFSET(astrace_t, trace.ent) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:733:49: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(const float, planeDist), ASLIB_FOFFSET(astrace_t, trace.plane.dist) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:733:49: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const float, planeDist), ASLIB_FOFFSET(astrace_t, trace.plane.dist) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:734:49: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(const int16, planeType), ASLIB_FOFFSET(astrace_t, trace.plane.type) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:734:49: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const int16, planeType), ASLIB_FOFFSET(astrace_t, trace.plane.type) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:735:53: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(const int16, planeSignBits), ASLIB_FOFFSET(astrace_t, trace.plane.signbits) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:735:53: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const int16, planeSignBits), ASLIB_FOFFSET(astrace_t, trace.plane.signbits) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:847:41: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(const int, tag), ASLIB_FOFFSET(gsitem_t, tag) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:847:41: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const int, tag), ASLIB_FOFFSET(gsitem_t, tag) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:848:43: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(const uint, type), ASLIB_FOFFSET(gsitem_t, type) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:848:43: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const uint, type), ASLIB_FOFFSET(gsitem_t, type) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:849:43: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(const int, flags), ASLIB_FOFFSET(gsitem_t, flags) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:849:43: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const int, flags), ASLIB_FOFFSET(gsitem_t, flags) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:850:46: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(const int, quantity), ASLIB_FOFFSET(gsitem_t, quantity) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:850:46: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const int, quantity), ASLIB_FOFFSET(gsitem_t, quantity) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:851:50: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(const int, inventoryMax), ASLIB_FOFFSET(gsitem_t, inventory_max) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:851:50: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const int, inventoryMax), ASLIB_FOFFSET(gsitem_t, inventory_max) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:852:45: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(const int, ammoTag), ASLIB_FOFFSET(gsitem_t, ammo_tag) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:852:45: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const int, ammoTag), ASLIB_FOFFSET(gsitem_t, ammo_tag) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:853:49: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(const int, weakAmmoTag), ASLIB_FOFFSET(gsitem_t, weakammo_tag) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:853:49: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(const int, weakAmmoTag), ASLIB_FOFFSET(gsitem_t, weakammo_tag) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:1159:51: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(uint, spawnableItemsMask), ASLIB_FOFFSET(gametype_descriptor_t, spawnableItemsMask) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:1159:51: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(uint, spawnableItemsMask), ASLIB_FOFFSET(gametype_descriptor_t, spawnableItemsMask) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:1160:53: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(uint, respawnableItemsMask), ASLIB_FOFFSET(gametype_descriptor_t, respawnableItemsMask) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:1160:53: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(uint, respawnableItemsMask), ASLIB_FOFFSET(gametype_descriptor_t, respawnableItemsMask) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:1161:50: error: non-constant-expression cannot be narrowed from type 'size_t' (aka 'unsigned long') to 'unsigned int' in initializer list [-Wc++11-narrowing] { ASLIB_PROPERTY_DECL(uint, dropableItemsMask), ASLIB_FOFFSET(gametype_descriptor_t, dropableItemsMask) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ game/g_ascript.cpp:1161:50: note: insert an explicit cast to silence this issue { ASLIB_PROPERTY_DECL(uint, dropableItemsMask), ASLIB_FOFFSET(gametype_descriptor_t, dropableItemsMask) }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ static_cast<unsigned int>( ) game/g_ascript.cpp:98:33: note: expanded from macro 'ASLIB_FOFFSET' #define ASLIB_FOFFSET(s,m) (size_t)&(((s *)0)->m) ^~~~~~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake[1]: *** [Makefile:1055: buildamd64/game/g_ascript.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/warsow/work/source/source' *** Error code 1 Stop. make: stopped in /usr/ports/games/warsow
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809101256.w8ACutrf094973>