[package - main-arm64-default][games/tome4] Failed for tome4-1.7.6 in package

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 28 Feb 2024 10:39:58 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/ampere2/data/main-arm64-default/p43e3af5f5763_sf5f08e41aa5/logs/tome4-1.7.6.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p43e3af5f5763_sf5f08e41aa5
Log:

=>> Building games/tome4
build started at Wed Feb 28 10:33:08 UTC 2024
port directory: /usr/ports/games/tome4
package name: tome4-1.7.6
building for: FreeBSD main-arm64-default-job-03 15.0-CURRENT FreeBSD 15.0-CURRENT 1500014 arm64
maintained by: pkubaj@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1861 Aug 24  2023 /usr/ports/games/tome4/Makefile
Ports top last git commit: 43e3af5f576
Ports top unclean checkout: no
Port dir last git commit: 038578b1585
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1500014
Job Id: 03




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500014
UNAME_v=FreeBSD 15.0-CURRENT 1500014
UNAME_r=15.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-arm64-default/03/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
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/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/tome4/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/tome4/work/.cache  HOME=/wrkdirs/usr/ports/games/tome4/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/tome4/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/tome4/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/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/tome4/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/tome4/work/.cache  HOME=/wrkdirs/usr/ports/games/tome4/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/tome4/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/tome4/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  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_I
NSTALL_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--
PORTVERSION=1.7.6 OSREL=15.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
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   tome4-1.7.6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[main-arm64-default-job-03] Installing pkg-1.20.9_1...
[main-arm64-default-job-03] Extracting pkg-1.20.9_1: .......... done
===>   tome4-1.7.6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of tome4-1.7.6
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
tome4-1.7.6: Makefile warning: in desktop entry #1 (tome4): category Game is not a valid desktop category
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by tome4-1.7.6 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
tome4-1.7.6: Makefile warning: in desktop entry #1 (tome4): category Game is not a valid desktop category
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by tome4-1.7.6 for building
=> SHA256 Checksum OK for t-engine4-src-1.7.6.tar.bz2.
=> SHA256 Checksum OK for tome4.png.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
tome4-1.7.6: Makefile warning: in desktop entry #1 (tome4): category RolePlaying is not a valid desktop category
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by tome4-1.7.6 for building
===>  Extracting for tome4-1.7.6
=> SHA256 Checksum OK for t-engine4-src-1.7.6.tar.bz2.
=> SHA256 Checksum OK for tome4.png.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for tome4-1.7.6
===>  Applying FreeBSD patches for tome4-1.7.6 from /usr/ports/games/tome4/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   tome4-1.7.6 depends on executable: premake4 - not found
===>   Installing existing package /packages/All/premake4-4.4.b5.pkg
[main-arm64-default-job-03] Installing premake4-4.4.b5...
[main-arm64-default-job-03] Extracting premake4-4.4.b5: ....... done
===>   tome4-1.7.6 depends on executable: premake4 - found
===>   Returning to build of tome4-1.7.6
===>   tome4-1.7.6 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_3.pkg
[main-arm64-default-job-03] Installing gmake-4.3_3...
[main-arm64-default-job-03] `-- Installing gettext-runtime-0.22.3_1...
[main-arm64-default-job-03] |   `-- Installing indexinfo-0.3.1...
<snip>
  140 |         if((new=malloc(newsize+1))==NULL) returnerr(1,"not enough memory", 0, 0);
      |                                                       ~~~~~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
   57 | #define returnerr(ret, str, f1, f2) { printf(str, f1, f2); perror("\nError in bspatch\n"); return (ret); }
      |                                              ~~~  ^
../src/bspatch.c:149:35: warning: data argument not used by format string [-Wformat-extra-args]
  149 |                                 returnerr(1, "Corrupt patch", 0, 0);
      |                                              ~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
   57 | #define returnerr(ret, str, f1, f2) { printf(str, f1, f2); perror("\nError in bspatch\n"); return (ret); }
      |                                              ~~~  ^
../src/bspatch.c:155:34: warning: data argument not used by format string [-Wformat-extra-args]
  155 |                         returnerr(1, "Corrupt patch", 0, 0);
      |                                      ~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
   57 | #define returnerr(ret, str, f1, f2) { printf(str, f1, f2); perror("\nError in bspatch\n"); return (ret); }
      |                                              ~~~  ^
../src/bspatch.c:161:34: warning: data argument not used by format string [-Wformat-extra-args]
  161 |                         returnerr(1, "Corrupt patch", 0, 0);
      |                                      ~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
   57 | #define returnerr(ret, str, f1, f2) { printf(str, f1, f2); perror("\nError in bspatch\n"); return (ret); }
      |                                              ~~~  ^
../src/bspatch.c:174:34: warning: data argument not used by format string [-Wformat-extra-args]
  174 |                         returnerr(1, "Corrupt patch", 0, 0);
      |                                      ~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
   57 | #define returnerr(ret, str, f1, f2) { printf(str, f1, f2); perror("\nError in bspatch\n"); return (ret); }
      |                                              ~~~  ^
../src/bspatch.c:180:34: warning: data argument not used by format string [-Wformat-extra-args]
  180 |                         returnerr(1, "Corrupt patch", 0, 0);
      |                                      ~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
   57 | #define returnerr(ret, str, f1, f2) { printf(str, f1, f2); perror("\nError in bspatch\n"); return (ret); }
      |                                              ~~~  ^
../src/bspatch.c:192:41: warning: data argument not used by format string [-Wformat-extra-args]
  192 |                 returnerr(1, "fclose(%s)", patchfile, 0);
      |                              ~~~~~~~~~~~~             ^
../src/bspatch.c:57:55: note: expanded from macro 'returnerr'
   57 | #define returnerr(ret, str, f1, f2) { printf(str, f1, f2); perror("\nError in bspatch\n"); return (ret); }
      |                                              ~~~      ^
../src/bspatch.c:197:29: warning: data argument not used by format string [-Wformat-extra-args]
  197 |                 returnerr(1,"%s",outfile, 0);
      |                             ~~~~          ^
../src/bspatch.c:57:55: note: expanded from macro 'returnerr'
   57 | #define returnerr(ret, str, f1, f2) { printf(str, f1, f2); perror("\nError in bspatch\n"); return (ret); }
      |                                              ~~~      ^
21 warnings generated.
dmnd_square.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/dmnd_square.o" -MF ../obj/Release/TEngine/dmnd_square.d -c "../src/dmnd_square.c"
In file included from ../src/dmnd_square.c:36:
../src/SFMT.h:62:10: warning: inline function 'gen_rand32' is not defined [-Wundefined-inline]
   62 | uint32_t gen_rand32(void);
      |          ^
../src/SFMT.h:93:21: note: used here
   93 |     return to_real1(gen_rand32());
      |                     ^
../src/SFMT.h:66:10: warning: inline function 'gen_rand64' is not defined [-Wundefined-inline]
   66 | uint64_t gen_rand64(void);
      |          ^
../src/SFMT.h:138:21: note: used here
  138 |     return to_res53(gen_rand64());
      |                     ^
2 warnings generated.
getself.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/getself.o" -MF ../obj/Release/TEngine/getself.d -c "../src/getself.c"
fov.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/fov.o" -MF ../obj/Release/TEngine/fov.d -c "../src/fov.c"
In file included from ../src/fov.c:32:
../src/SFMT.h:62:10: warning: inline function 'gen_rand32' is not defined [-Wundefined-inline]
   62 | uint32_t gen_rand32(void);
      |          ^
../src/SFMT.h:93:21: note: used here
   93 |     return to_real1(gen_rand32());
      |                     ^
../src/SFMT.h:66:10: warning: inline function 'gen_rand64' is not defined [-Wundefined-inline]
   66 | uint64_t gen_rand64(void);
      |          ^
../src/SFMT.h:138:21: note: used here
  138 |     return to_res53(gen_rand64());
      |                     ^
2 warnings generated.
map.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/map.o" -MF ../obj/Release/TEngine/map.d -c "../src/map.c"
../src/map.c:1041:23: warning: cast to smaller integer type 'int' from 'map_object *' (aka 'struct s_map_object *') [-Wpointer-to-int-cast]
 1041 |                                 lua_pushnumber(L, (int)map->grids[x][y][i]);
      |                                                   ^~~~~~~~~~~~~~~~~~~~~~~~
../src/map.c:1685:26: warning: absolute value function 'fabsf' given an argument of type 'double' but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value]
 1685 |                                 float where = (0.5 - fabsf(m->move_step / (float)m->move_max - 0.5)) * 2;
      |                                                      ^
../src/map.c:1685:26: note: use function 'fabs' instead
 1685 |                                 float where = (0.5 - fabsf(m->move_step / (float)m->move_max - 0.5)) * 2;
      |                                                      ^~~~~
      |                                                      fabs
2 warnings generated.
profile.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/profile.o" -MF ../obj/Release/TEngine/profile.d -c "../src/profile.c"
struct.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/struct.o" -MF ../obj/Release/TEngine/struct.d -c "../src/struct.c"
web.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/web.o" -MF ../obj/Release/TEngine/web.d -c "../src/web.c"
../src/web.c:593:3: warning: call to undeclared function 'execv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  593 |                 execv(get_self_executable(g_argc, g_argv), newargs);
      |                 ^
1 warning generated.
main.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/main.o" -MF ../obj/Release/TEngine/main.d -c "../src/main.c"
../src/main.c:243:54: warning: cast to smaller integer type 'unsigned int' from 'const void *' [-Wvoid-pointer-to-int-cast]
  243 |                         { printf("%d: %s // %x\n", i, lua_typename(L, t), (unsigned int)lua_topointer(L, i)); }
      |                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/main.c:779:6: warning: address of function 'te4_web_update' will always evaluate to 'true' [-Wpointer-bool-conversion]
  779 |         if (te4_web_update) te4_web_update(L);
      |         ~~  ^~~~~~~~~~~~~~
../src/main.c:779:6: note: prefix with the address-of operator to silence this warning
  779 |         if (te4_web_update) te4_web_update(L);
      |             ^
      |             &
../src/main.c:1313:7: warning: address of function 'te4_web_init' will always evaluate to 'true' [-Wpointer-bool-conversion]
 1313 |                 if (te4_web_init) te4_web_init(L);
      |                 ~~  ^~~~~~~~~~~~
../src/main.c:1313:7: note: prefix with the address-of operator to silence this warning
 1313 |                 if (te4_web_init) te4_web_init(L);
      |                     ^
      |                     &
../src/main.c:1535:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
 1535 |                 if (gamepad = SDL_JoystickOpen(0)) {
      |                     ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
../src/main.c:1535:15: note: place parentheses around the assignment to silence this warning
 1535 |                 if (gamepad = SDL_JoystickOpen(0)) {
      |                             ^                    
      |                     (                            )
../src/main.c:1535:15: note: use '==' to turn this assignment into an equality comparison
 1535 |                 if (gamepad = SDL_JoystickOpen(0)) {
      |                             ^
      |                             ==
In file included from ../src/main.c:32:
../src/SFMT.h:62:10: warning: inline function 'gen_rand32' is not defined [-Wundefined-inline]
   62 | uint32_t gen_rand32(void);
      |          ^
../src/SFMT.h:93:21: note: used here
   93 |     return to_real1(gen_rand32());
      |                     ^
../src/SFMT.h:66:10: warning: inline function 'gen_rand64' is not defined [-Wundefined-inline]
   66 | uint64_t gen_rand64(void);
      |          ^
../src/SFMT.h:138:21: note: used here
  138 |     return to_res53(gen_rand64());
      |                     ^
6 warnings generated.
physfs.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/physfs.o" -MF ../obj/Release/TEngine/physfs.d -c "../src/physfs.c"
wait.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/wait.o" -MF ../obj/Release/TEngine/wait.d -c "../src/wait.c"
../src/wait.c:141:71: warning: format specifies type 'int' but the argument has type 'float' [-Wformat]
  141 |                 printf("Make wait background texture %d : %dx%d (%d, %d)\n", bkg_t, w, h, bkg_realw, bkg_realh);
      |                                                           ~~                        ^
      |                                                           %f
../src/wait.c:141:74: warning: format specifies type 'int' but the argument has type 'float' [-Wformat]
  141 |                 printf("Make wait background texture %d : %dx%d (%d, %d)\n", bkg_t, w, h, bkg_realw, bkg_realh);
      |                                                              ~~                        ^
      |                                                              %f
2 warnings generated.
discord-te4.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/discord-te4.o" -MF ../obj/Release/TEngine/discord-te4.d -c "../src/discord-te4.c"
music.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/music.o" -MF ../obj/Release/TEngine/music.d -c "../src/music.c"
display_sdl.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/display_sdl.o" -MF ../obj/Release/TEngine/display_sdl.d -c "../src/display_sdl.c"
sdnoise1234.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/sdnoise1234.o" -MF ../obj/Release/TEngine/sdnoise1234.d -c "../src/sdnoise1234.c"
shaders.c
cc -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing   -MMD -MP -DGLEW_STATIC -DNDEBUG=1 -D_DEFAULT_VIDEOMODE_FLAGS_='SDL_HWSURFACE|SDL_DOUBLEBUF' -DTENGINE_HOME_PATH='".t-engine"' -DTE4CORE_VERSION=17 -DSELFEXE_BSD -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/lua -I/usr/local/include  -pthread -O3  -o "../obj/Release/TEngine/shaders.o" -MF ../obj/Release/TEngine/shaders.d -c "../src/shaders.c"
Linking TEngine
cc -o ../bin/Release/t-engine ../obj/Release/TEngine/noise.o ../obj/Release/TEngine/core_lua.o ../obj/Release/TEngine/SFMT.o ../obj/Release/TEngine/serial.o ../obj/Release/TEngine/particles.o ../obj/Release/TEngine/glew.o ../obj/Release/TEngine/auxiliar.o ../obj/Release/TEngine/bspatch.o ../obj/Release/TEngine/dmnd_square.o ../obj/Release/TEngine/getself.o ../obj/Release/TEngine/fov.o ../obj/Release/TEngine/map.o ../obj/Release/TEngine/profile.o ../obj/Release/TEngine/struct.o ../obj/Release/TEngine/web.o ../obj/Release/TEngine/main.o ../obj/Release/TEngine/physfs.o ../obj/Release/TEngine/wait.o ../obj/Release/TEngine/discord-te4.o ../obj/Release/TEngine/music.o ../obj/Release/TEngine/display_sdl.o ../obj/Release/TEngine/sdnoise1234.o ../obj/Release/TEngine/shaders.o     -fstack-protector-strong  -L../bin/Release -L/usr/local/lib -L. -s ../bin/Release/libphysfs.a ../bin/Release/liblua.a ../bin/Release/libfov.a ../bin/Release/libluasocket.a ../bin/Release/libluaprofiler.a ../
bin/Release/liblpeg.a ../bin/Release/libtcodimport.a ../bin/Release/liblxp.a ../bin/Release/libexpatstatic.a ../bin/Release/libluamd5.a ../bin/Release/libluazlib.a ../bin/Release/libluabitop.a ../bin/Release/libte4-bzip.a ../bin/Release/libte4-wfc.a ../bin/Release/libutf8proc.a -lm -lstdc++ -lSDL2 -lSDL2_ttf -lSDL2_image -lpng -lopenal -lvorbisfile -lGL -lGLU -pthread
Running post-build commands
cp ../bin/Release/t-engine ../
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/tome4/work/t-engine4-src-1.7.6'
===========================================================================
=======================<phase: run-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: stage          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Staging for tome4-1.7.6
===>   Generating temporary packing list
install  -s -m 555 /wrkdirs/usr/ports/games/tome4/work/t-engine4-src-1.7.6/t-engine /wrkdirs/usr/ports/games/tome4/work/stage/usr/local/share/tome4
install  -m 555 /wrkdirs/usr/ports/games/tome4/work/tome4 /wrkdirs/usr/ports/games/tome4/work/stage/usr/local/bin
(cd /wrkdirs/usr/ports/games/tome4/work/t-engine4-src-1.7.6; /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) &&  /usr/bin/find -Ed $1 $3 \(   -type d -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} +  -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE "bootstrap game" /wrkdirs/usr/ports/games/tome4/work/stage/usr/local/share/tome4)
install  -m 0644 /portdistfiles//tome4.png  /wrkdirs/usr/ports/games/tome4/work/stage/usr/local/share/pixmaps
====> Compressing man pages (compress-man)
===========================================================================
=======================<phase: package        >============================
===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-02-28T10:33:08+0000' 'PKG_NOTE_ports_top_git_hash=43e3af5f576' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=038578b1585' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.1-1-g1e9f97d6' NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building packages for tome4-1.7.6
===>   Building tome4-1.7.6
pkg-static: Unable to access file /wrkdirs/usr/ports/games/tome4/work/stage/usr/local/share/pixmaps/tome4.png:Not a directory
*** Error code 1

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