Date: Wed, 7 Feb 2018 00:30:21 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - head-amd64-default][games/odamex] Failed for odamex-0.7.0_2 in build Message-ID: <201802070030.w170ULOB045068@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: amdmi3@FreeBSD.org Ident: $FreeBSD: head/games/odamex/Makefile 456622 2017-12-18 11:43:55Z amdmi3 $ Log URL: http://beefy12.nyi.freebsd.org/data/head-amd64-default/p461032_s328914/logs/odamex-0.7.0_2.log Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p461032_s328914 Log: =>> Building games/odamex build started at Wed Feb 7 00:27:50 UTC 2018 port directory: /usr/ports/games/odamex package name: odamex-0.7.0_2 building for: FreeBSD head-amd64-default-job-09 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/games/odamex/Makefile 456622 2017-12-18 11:43:55Z amdmi3 $ Poudriere version: 3.2.4-42-g98f2e28b Host OSVERSION: 1200054 Jail OSVERSION: 1200056 Job Id: 09 !!! Jail is newer than host. (Jail: 1200056, Host: 1200054) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1200056 UNAME_v=FreeBSD 12.0-CURRENT 1200056 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool MASTERNAME=head-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.2.4-42-g98f2e28b SCRIPTPATH=/usr/local/share/poudriere/bulk.sh LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes 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 odamex-0.7.0_2: DOCS=on: Build and/or install documentation LAUNCHER=off: Enable GUI launcher program ===> 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 XDG_DATA_HOME=/wrkdirs/usr/ports/games/odamex/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/odamex/work HOME=/wrkdirs/usr/ports/games/odamex/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/odamex/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-- DMDIR="/usr/local/share/doom" SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/odamex/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/odamex/work HOME=/wrkdirs/usr/ports/games/odamex/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/odamex/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 DESTDIR=/wrkdirs/usr/ports/games/odamex/work/stage PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -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-- DMDIR="share/doom" PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " LAUNCHER="@comment " NO_LAUNCHER="" CMAKE_BUILD_TYPE="release" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/odamex" EXAMPLESDIR="share/examples/odamex" DATADIR="share/odamex" WWWDIR="www/odamex" ETCDIR="etc/odamex" --End PLIST_SUB-- --SUB_LIST-- DMDIR="/usr/local/share/doom" DOCS="" NO_DOCS="@comment " LAUNCHER="@comment " NO_LAUNCHER="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/odamex DOCSDIR=/usr/local/share/doc/odamex EXAMPLESDIR=/usr/local/share/examples/odamex WWWDIR=/usr/local/www/odamex ETCDIR=/usr/local/etc/odamex --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 #### ARCH=amd64 CONFIGURE_MAX_CMD_LEN=262144 HAVE_COMPAT_IA32_KERN=YES OPSYS=FreeBSD OSREL=12.0 OSVERSION=1200056 PYTHONBASE=/usr/local UID=0 _OSRELEASE=12.0-CURRENT #### Misc Poudriere #### GID=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 odamex 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 >============================ ===> odamex-0.7.0_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.4.txz [head-amd64-default-job-09] Installing pkg-1.10.4... [head-amd64-default-job-09] Extracting pkg-1.10.4: .......... done ===> odamex-0.7.0_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of odamex-0.7.0_2 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> NOTICE: The odamex 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 ===> Fetching all distfiles required by odamex-0.7.0_2 for building =========================================================================== =======================<phase: checksum >============================ ===> NOTICE: The odamex 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 ===> Fetching all distfiles required by odamex-0.7.0_2 for building => SHA256 Checksum OK for odamex-src-0.7.0.tar.bz2. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> NOTICE: <snip> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:164:21: error: non-constant-expression cannot be narrowed from type 'uintptr_t' (aka 'unsigned long') to 'DWORD' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { MITYPE_LUMPNAME, lioffset(pname), 0 }, ^~~~~~~~~~~~~~~ common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:164:21: note: insert an explicit cast to silence this issue { MITYPE_LUMPNAME, lioffset(pname), 0 }, ^~~~~~~~~~~~~~~ static_cast<DWORD>( ) common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:165:17: error: non-constant-expression cannot be narrowed from type 'uintptr_t' (aka 'unsigned long') to 'DWORD' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { MITYPE_INT, lioffset(partime), 0 }, ^~~~~~~~~~~~~~~~~ common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:165:17: note: insert an explicit cast to silence this issue { MITYPE_INT, lioffset(partime), 0 }, ^~~~~~~~~~~~~~~~~ static_cast<DWORD>( ) common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:166:21: error: non-constant-expression cannot be narrowed from type 'uintptr_t' (aka 'unsigned long') to 'DWORD' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { MITYPE_LUMPNAME, lioffset(music), 0 }, ^~~~~~~~~~~~~~~ common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:166:21: note: insert an explicit cast to silence this issue { MITYPE_LUMPNAME, lioffset(music), 0 }, ^~~~~~~~~~~~~~~ static_cast<DWORD>( ) common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:179:21: error: non-constant-expression cannot be narrowed from type 'uintptr_t' (aka 'unsigned long') to 'DWORD' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { MITYPE_LUMPNAME, lioffset(fadetable), 0 }, ^~~~~~~~~~~~~~~~~~~ common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:179:21: note: insert an explicit cast to silence this issue { MITYPE_LUMPNAME, lioffset(fadetable), 0 }, ^~~~~~~~~~~~~~~~~~~ static_cast<DWORD>() common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:195:19: error: non-constant-expression cannot be narrowed from type 'uintptr_t' (aka 'unsigned long') to 'DWORD' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { MITYPE_FLOAT, lioffset(gravity), 0 }, ^~~~~~~~~~~~~~~~~ common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:195:19: note: insert an explicit cast to silence this issue { MITYPE_FLOAT, lioffset(gravity), 0 }, ^~~~~~~~~~~~~~~~~ static_cast<DWORD>( ) common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:196:19: error: non-constant-expression cannot be narrowed from type 'uintptr_t' (aka 'unsigned long') to 'DWORD' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { MITYPE_FLOAT, lioffset(aircontrol), 0 } ^~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:196:19: note: insert an explicit cast to silence this issue { MITYPE_FLOAT, lioffset(aircontrol), 0 } ^~~~~~~~~~~~~~~~~~~~ static_cast<DWORD>( ) common/c_level.cpp:61:22: note: expanded from macro 'lioffset' #define lioffset(x) myoffsetof(level_pwad_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:211:19: error: non-constant-expression cannot be narrowed from type 'uintptr_t' (aka 'unsigned long') to 'DWORD' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { MITYPE_STRING, cioffset(entertext), 0 }, ^~~~~~~~~~~~~~~~~~~ common/c_level.cpp:62:22: note: expanded from macro 'cioffset' #define cioffset(x) myoffsetof(cluster_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:211:19: note: insert an explicit cast to silence this issue { MITYPE_STRING, cioffset(entertext), 0 }, ^~~~~~~~~~~~~~~~~~~ static_cast<DWORD>() common/c_level.cpp:62:22: note: expanded from macro 'cioffset' #define cioffset(x) myoffsetof(cluster_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:212:19: error: non-constant-expression cannot be narrowed from type 'uintptr_t' (aka 'unsigned long') to 'DWORD' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { MITYPE_STRING, cioffset(exittext), 0 }, ^~~~~~~~~~~~~~~~~~ common/c_level.cpp:62:22: note: expanded from macro 'cioffset' #define cioffset(x) myoffsetof(cluster_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:212:19: note: insert an explicit cast to silence this issue { MITYPE_STRING, cioffset(exittext), 0 }, ^~~~~~~~~~~~~~~~~~ static_cast<DWORD>( ) common/c_level.cpp:62:22: note: expanded from macro 'cioffset' #define cioffset(x) myoffsetof(cluster_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:213:20: error: non-constant-expression cannot be narrowed from type 'uintptr_t' (aka 'unsigned long') to 'DWORD' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { MITYPE_CSTRING, cioffset(messagemusic), 8 }, ^~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:62:22: note: expanded from macro 'cioffset' #define cioffset(x) myoffsetof(cluster_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:213:20: note: insert an explicit cast to silence this issue { MITYPE_CSTRING, cioffset(messagemusic), 8 }, ^~~~~~~~~~~~~~~~~~~~~~ static_cast<DWORD>( ) common/c_level.cpp:62:22: note: expanded from macro 'cioffset' #define cioffset(x) myoffsetof(cluster_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:214:21: error: non-constant-expression cannot be narrowed from type 'uintptr_t' (aka 'unsigned long') to 'DWORD' (aka 'unsigned int') in initializer list [-Wc++11-narrowing] { MITYPE_LUMPNAME, cioffset(finaleflat), 0 }, ^~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:62:22: note: expanded from macro 'cioffset' #define cioffset(x) myoffsetof(cluster_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/c_level.cpp:214:21: note: insert an explicit cast to silence this issue { MITYPE_LUMPNAME, cioffset(finaleflat), 0 }, ^~~~~~~~~~~~~~~~~~~~ static_cast<DWORD>( ) common/c_level.cpp:62:22: note: expanded from macro 'cioffset' #define cioffset(x) myoffsetof(cluster_info_t,x) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/../common/cmdlib.h:51:37: note: expanded from macro 'myoffsetof' #define myoffsetof(type,identifier) ((uintptr_t)&((type *)0)->identifier) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 18 errors generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make: stopped in /usr/ports/games/odamex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802070030.w170ULOB045068>