[package - main-amd64-default][games/tome4-beta] Failed for tome4-beta-1.6.0.b7_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 04:29:13 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:     pkubaj@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p4785b313b958_se8efee297c/logs/tome4-beta-1.6.0.b7_3.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p4785b313b958_se8efee297c
Log:

=>> Building games/tome4-beta
build started at Mon Jun 26 04:27:56 UTC 2023
port directory: /usr/ports/games/tome4-beta
package name: tome4-beta-1.6.0.b7_3
building for: FreeBSD main-amd64-default-job-08 14.0-CURRENT FreeBSD 14.0-CURRENT 1400091 amd64
maintained by: pkubaj@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400091
Job Id: 08




!!! Jail is newer than host. (Jail: 1400091, Host: 1400089) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400091
UNAME_v=FreeBSD 14.0-CURRENT 1400091
UNAME_r=14.0-CURRENT
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/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-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---
---End OPTIONS List---

--MAINTAINER--
pkubaj@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/tome4-beta/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/tome4-beta/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/tome4-beta/work/.cache  HOME=/wrkdirs/usr/ports/games/tome4-beta/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/tome4-beta/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/tome4-beta/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/tome4-beta/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/tome4-beta/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/tome4-beta/work/.cache  HOME=/wrkdirs/usr/ports/games/tome4-beta/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/tome4-beta/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/tome4-beta/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--
PORTVERSION=1.6.0.b7 OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tome4"  EXAMPLESDIR="share/examples/tome4"  DATADIR="share/tome4"  WWWDIR="www/tome4"  ETCDIR="etc/tome4"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/tome4 DOCSDIR=/usr/local/share/doc/tome4 EXAMPLESDIR=/usr/local/share/examples/tome4  WWWDIR=/usr/local/www/tome4 ETCDIR=/usr/local/etc/tome4
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd14.0 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: x86_64-unknown-freebsd14.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_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: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400091
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
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)  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 GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   tome4-beta-1.6.0.b7_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-amd64-default-job-08] Installing pkg-1.19.1_1...
[main-amd64-default-job-08] Extracting pkg-1.19.1_1: .......... done
===>   tome4-beta-1.6.0.b7_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of tome4-beta-1.6.0.b7_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by tome4-beta-1.6.0.b7_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by tome4-beta-1.6.0.b7_3 for building
=> SHA256 Checksum OK for t-engine4-src-1.6.0-beta7.tar.bz2.
=> SHA256 Checksum OK for tome4.png.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by tome4-beta-1.6.0.b7_3 for building
===>  Extracting for tome4-beta-1.6.0.b7_3
=> SHA256 Checksum OK for t-engine4-src-1.6.0-beta7.tar.bz2.
=> SHA256 Checksum OK for tome4.png.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for tome4-beta-1.6.0.b7_3
===>  Applying FreeBSD patches for tome4-beta-1.6.0.b7_3 from /usr/ports/games/tome4-beta/../tome4/files
===========================================================================
=======================<phase: build-depends  >============================
===>   tome4-beta-1.6.0.b7_3 depends on executable: premake4 - not found
===>   Installing existing package /packages/All/premake4-4.4.b5.pkg
<snip>
int ZEXPORT inflateGetDictionary(strm, dictionary, dictLength)
            ^
../src/zlib/inflate.c:1314:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength)
            ^
../src/zlib/inflate.c:1349:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateGetHeader(strm, head)
            ^
../src/zlib/inflate.c:1377:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local unsigned syncsearch(have, buf, len)
               ^
../src/zlib/inflate.c:1400:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateSync(strm)
            ^
../src/zlib/inflate.c:1451:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateSyncPoint(strm)
            ^
../src/zlib/inflate.c:1461:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateCopy(dest, source)
            ^
../src/zlib/inflate.c:1508:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateUndermine(strm, subvert)
            ^
../src/zlib/inflate.c:1526:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT inflateValidate(strm, check)
            ^
../src/zlib/inflate.c:1541:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
long ZEXPORT inflateMark(strm)
             ^
../src/zlib/inflate.c:1554:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
unsigned long ZEXPORT inflateCodesUsed(strm)
                      ^
22 warnings generated.
zutil.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -DPHYSFS_SUPPORTS_ZIP -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/luajit2/src -I../src/luajit2/dynasm -I/usr/local/include  -pthread  -o "../obj/Release/physfs/zutil.o" -MF ../obj/Release/physfs/zutil.d -c "../src/zlib/zutil.c"
../src/zlib/zutil.c:133:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
const char * ZEXPORT zError(err)
                     ^
../src/zlib/zutil.c:305:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
voidpf ZLIB_INTERNAL zcalloc (opaque, items, size)
                     ^
../src/zlib/zutil.c:315:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL zcfree (opaque, ptr)
                   ^
3 warnings generated.
gzclose.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -DPHYSFS_SUPPORTS_ZIP -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/luajit2/src -I../src/luajit2/dynasm -I/usr/local/include  -pthread  -o "../obj/Release/physfs/gzclose.o" -MF ../obj/Release/physfs/gzclose.d -c "../src/zlib/gzclose.c"
../src/zlib/gzclose.c:11:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT gzclose(file)
            ^
1 warning generated.
ioapi.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -DPHYSFS_SUPPORTS_ZIP -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/luajit2/src -I../src/luajit2/dynasm -I/usr/local/include  -pthread  -o "../obj/Release/physfs/ioapi.o" -MF ../obj/Release/physfs/ioapi.d -c "../src/zlib/ioapi.c"
../src/zlib/ioapi.c:201:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void fill_fopen_filefunc (pzlib_filefunc_def)
     ^
1 warning generated.
trees.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -DPHYSFS_SUPPORTS_ZIP -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/luajit2/src -I../src/luajit2/dynasm -I/usr/local/include  -pthread  -o "../obj/Release/physfs/trees.o" -MF ../obj/Release/physfs/trees.d -c "../src/zlib/trees.c"
../src/zlib/trees.c:379:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL _tr_init(s)
                   ^
../src/zlib/trees.c:407:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void init_block(s)
           ^
../src/zlib/trees.c:451:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void pqdownheap(s, tree, k)
           ^
../src/zlib/trees.c:486:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void gen_bitlen(s, desc)
           ^
../src/zlib/trees.c:572:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void gen_codes (tree, max_code, bl_count)
           ^
../src/zlib/trees.c:615:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void build_tree(s, desc)
           ^
../src/zlib/trees.c:703:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void scan_tree (s, tree, max_code)
           ^
../src/zlib/trees.c:748:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void send_tree (s, tree, max_code)
           ^
../src/zlib/trees.c:799:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local int build_bl_tree(s)
          ^
../src/zlib/trees.c:834:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void send_all_trees(s, lcodes, dcodes, blcodes)
           ^
../src/zlib/trees.c:863:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last)
                   ^
../src/zlib/trees.c:886:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL _tr_flush_bits(s)
                   ^
../src/zlib/trees.c:896:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL _tr_align(s)
                   ^
../src/zlib/trees.c:911:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last)
                   ^
../src/zlib/trees.c:1014:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZLIB_INTERNAL _tr_tally (s, dist, lc)
                  ^
../src/zlib/trees.c:1064:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void compress_block(s, ltree, dtree)
           ^
../src/zlib/trees.c:1124:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local int detect_data_type(s)
          ^
../src/zlib/trees.c:1158:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local unsigned bi_reverse(code, len)
               ^
../src/zlib/trees.c:1173:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void bi_flush(s)
           ^
../src/zlib/trees.c:1190:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void bi_windup(s)
           ^
20 warnings generated.
gzlib.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -DPHYSFS_SUPPORTS_ZIP -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/luajit2/src -I../src/luajit2/dynasm -I/usr/local/include  -pthread  -o "../obj/Release/physfs/gzlib.o" -MF ../obj/Release/physfs/gzlib.d -c "../src/zlib/gzlib.c"
../src/zlib/gzlib.c:75:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local void gz_reset(state)
           ^
../src/zlib/gzlib.c:91:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
local gzFile gz_open(path, fd, mode)
             ^
../src/zlib/gzlib.c:270:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gzFile ZEXPORT gzopen(path, mode)
               ^
../src/zlib/gzlib.c:278:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gzFile ZEXPORT gzopen64(path, mode)
               ^
../src/zlib/gzlib.c:286:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
gzFile ZEXPORT gzdopen(fd, mode)
               ^
../src/zlib/gzlib.c:316:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT gzbuffer(file, size)
            ^
../src/zlib/gzlib.c:343:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT gzrewind(file)
            ^
../src/zlib/gzlib.c:366:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
z_off64_t ZEXPORT gzseek64(file, offset, whence)
                  ^
../src/zlib/gzlib.c:443:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
z_off_t ZEXPORT gzseek(file, offset, whence)
                ^
../src/zlib/gzlib.c:455:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
z_off64_t ZEXPORT gztell64(file)
                  ^
../src/zlib/gzlib.c:472:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
z_off_t ZEXPORT gztell(file)
                ^
../src/zlib/gzlib.c:482:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
z_off64_t ZEXPORT gzoffset64(file)
                  ^
../src/zlib/gzlib.c:505:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
z_off_t ZEXPORT gzoffset(file)
                ^
../src/zlib/gzlib.c:515:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int ZEXPORT gzeof(file)
            ^
../src/zlib/gzlib.c:532:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
const char * ZEXPORT gzerror(file, errnum)
                     ^
../src/zlib/gzlib.c:553:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZEXPORT gzclearerr(file)
             ^
../src/zlib/gzlib.c:579:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ZLIB_INTERNAL gz_error(state, err, msg)
                   ^
17 warnings generated.
subzip.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -DPHYSFS_SUPPORTS_ZIP -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/luajit2/src -I../src/luajit2/dynasm -I/usr/local/include  -pthread  -o "../obj/Release/physfs/subzip.o" -MF ../obj/Release/physfs/subzip.d -c "../src/physfs/archivers/subzip.c"
../src/physfs/archivers/subzip.c:112:8: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
        char *base = name;
              ^      ~~~~
1 warning generated.
zip.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -DPHYSFS_SUPPORTS_ZIP -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/luajit2/src -I../src/luajit2/dynasm -I/usr/local/include  -pthread  -o "../obj/Release/physfs/zip.o" -MF ../obj/Release/physfs/zip.d -c "../src/physfs/archivers/zip.c"
dir.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -DPHYSFS_SUPPORTS_ZIP -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/luajit2/src -I../src/luajit2/dynasm -I/usr/local/include  -pthread  -o "../obj/Release/physfs/dir.o" -MF ../obj/Release/physfs/dir.d -c "../src/physfs/archivers/dir.c"
bind_physfs.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -DPHYSFS_SUPPORTS_ZIP -I../src -I../src/luasocket -I../src/fov -I../src/expat -I../src/lxp -I../src/libtcod_import -I../src/physfs -I../src/zlib -I../src/bzip2 -I../src/luajit2/src -I../src/luajit2/dynasm -I/usr/local/include  -pthread  -o "../obj/Release/physfs/bind_physfs.o" -MF ../obj/Release/physfs/bind_physfs.d -c "../src/physfs/archivers/bind_physfs.c"
../src/physfs/archivers/bind_physfs.c:225:29: error: incompatible function pointer types passing 'PHYSFS_File *(const char *)' (aka 'struct PHYSFS_File *(const char *)') to parameter of type 'void *(*)(const char *)' [-Wincompatible-function-pointer-types]
        return(doOpen(opaque, fnm, PHYSFS_openRead, exist));
                                   ^~~~~~~~~~~~~~~
../src/physfs/archivers/bind_physfs.c:198:30: note: passing argument to parameter 'openFunc' here
                     void *(*openFunc)(const char *filename),
                             ^
1 error generated.
gmake[2]: *** [physfs.make:251: ../obj/Release/physfs/bind_physfs.o] Error 1
gmake[1]: *** [Makefile:21: physfs] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/tome4-beta/work/t-engine4-src-1.6.0-beta7'
*** Error code 1

Stop.
make: stopped in /usr/ports/games/tome4-beta