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

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 27 Feb 2024 03:42:36 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/beefy12/data/140amd64-default/43e3af5f5763/logs/tome4-beta-1.6.0.b7_3.log
Build URL:      https://pkg-status.freebsd.org/beefy12/build.html?mastername=140amd64-default&build=43e3af5f5763
Log:

=>> Building games/tome4-beta
build started at Tue Feb 27 03:37:24 UTC 2024
port directory: /usr/ports/games/tome4-beta
package name: tome4-beta-1.6.0.b7_3
building for: FreeBSD 140amd64-default-job-02 14.0-RELEASE-p5 FreeBSD 14.0-RELEASE-p5 amd64
maintained by: pkubaj@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 192 Aug 26  2023 /usr/ports/games/tome4-beta/Makefile
Ports top last git commit: 43e3af5f57
Ports top unclean checkout: no
Port dir last git commit: 157c391cc1
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1400097
Job Id: 02

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p5
UNAME_r=14.0-RELEASE-p5
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/140amd64-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/140amd64-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140amd64-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-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  -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_PROGR
AM="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--
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
####  ####
# 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)  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)  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-beta-1.6.0.b7_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[140amd64-default-job-02] Installing pkg-1.20.9_1...
[140amd64-default-job-02] Extracting pkg-1.20.9_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  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by tome4-beta-1.6.0.b7_3 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  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>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  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  >============================
===== 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-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  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   tome4-beta-1.6.0.b7_3 depends on executable: premake4 - not found
===>   Installing existing package /packages/All/premake4-4.4.b5.pkg
[140amd64-default-job-02] Installing premake4-4.4.b5...
[140amd64-default-job-02] Extracting premake4-4.4.b5: ....... done
===>   tome4-beta-1.6.0.b7_3 depends on executable: premake4 - found
===>   Returning to build of tome4-beta-1.6.0.b7_3
===>   tome4-beta-1.6.0.b7_3 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_3.pkg
[140amd64-default-job-02] Installing gmake-4.3_3...
[140amd64-default-job-02] `-- Installing gettext-runtime-0.22.3_1...
[140amd64-default-job-02] |   `-- Installing indexinfo-0.3.1...
[140amd64-default-job-02] |   `-- Extracting indexinfo-0.3.1: .... done
[140amd64-default-job-02] `-- Extracting gettext-runtime-0.22.3_1: .......... done
[140amd64-default-job-02] Extracting gmake-4.3_3: .......... done
===>   tome4-beta-1.6.0.b7_3 depends on package: gmake>=4.3 - found
===>   Returning to build of tome4-beta-1.6.0.b7_3
===>   tome4-beta-1.6.0.b7_3 depends on file: /usr/local/bin/sdl2-config - not found
===>   Installing existing package /packages/All/sdl2-2.28.5.pkg
[140amd64-default-job-02] Installing sdl2-2.28.5...
[140amd64-default-job-02] `-- Installing libXScrnSaver-1.2.4_1...
[140amd64-default-job-02] |   `-- Installing libX11-1.8.7_1,1...
[140amd64-default-job-02] |   | `-- Installing libxcb-1.15_2...
[140amd64-default-job-02] |   |   `-- Installing libXau-1.0.9_1...
[140amd64-default-job-02] |   |   `-- Extracting libXau-1.0.9_1: .......... done
<snip>
        if((new=malloc(newsize+1))==NULL) returnerr(1,"not enough memory", 0, 0);
                                                      ~~~~~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
#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]
                                returnerr(1, "Corrupt patch", 0, 0);
                                             ~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
#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]
                        returnerr(1, "Corrupt patch", 0, 0);
                                     ~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
#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]
                        returnerr(1, "Corrupt patch", 0, 0);
                                     ~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
#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]
                        returnerr(1, "Corrupt patch", 0, 0);
                                     ~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
#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]
                        returnerr(1, "Corrupt patch", 0, 0);
                                     ~~~~~~~~~~~~~~~  ^
../src/bspatch.c:57:51: note: expanded from macro 'returnerr'
#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]
                returnerr(1, "fclose(%s)", patchfile, 0);
                             ~~~~~~~~~~~~             ^
../src/bspatch.c:57:55: note: expanded from macro 'returnerr'
#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]
                returnerr(1,"%s",outfile, 0);
                            ~~~~          ^
../src/bspatch.c:57:55: note: expanded from macro 'returnerr'
#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/luajit2/src -I../src/luajit2/dynasm -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]
uint32_t gen_rand32(void);
         ^
../src/SFMT.h:93:21: note: used here
    return to_real1(gen_rand32());
                    ^
../src/SFMT.h:66:10: warning: inline function 'gen_rand64' is not defined [-Wundefined-inline]
uint64_t gen_rand64(void);
         ^
../src/SFMT.h:138:21: note: used here
    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/luajit2/src -I../src/luajit2/dynasm -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/luajit2/src -I../src/luajit2/dynasm -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]
uint32_t gen_rand32(void);
         ^
../src/SFMT.h:93:21: note: used here
    return to_real1(gen_rand32());
                    ^
../src/SFMT.h:66:10: warning: inline function 'gen_rand64' is not defined [-Wundefined-inline]
uint64_t gen_rand64(void);
         ^
../src/SFMT.h:138:21: note: used here
    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/luajit2/src -I../src/luajit2/dynasm -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]
                                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]
                                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
                                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/luajit2/src -I../src/luajit2/dynasm -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/luajit2/src -I../src/luajit2/dynasm -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/luajit2/src -I../src/luajit2/dynasm -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]
                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/luajit2/src -I../src/luajit2/dynasm -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:236:54: warning: cast to smaller integer type 'unsigned int' from 'const void *' [-Wvoid-pointer-to-int-cast]
                        { printf("%d: %s // %x\n", i, lua_typename(L, t), (unsigned int)lua_topointer(L, i)); }
                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/main.c:772:6: warning: address of function 'te4_web_update' will always evaluate to 'true' [-Wpointer-bool-conversion]
        if (te4_web_update) te4_web_update(L);
        ~~  ^~~~~~~~~~~~~~
../src/main.c:772:6: note: prefix with the address-of operator to silence this warning
        if (te4_web_update) te4_web_update(L);
            ^
            &
../src/main.c:1306:7: warning: address of function 'te4_web_init' will always evaluate to 'true' [-Wpointer-bool-conversion]
                if (te4_web_init) te4_web_init(L);
                ~~  ^~~~~~~~~~~~
../src/main.c:1306:7: note: prefix with the address-of operator to silence this warning
                if (te4_web_init) te4_web_init(L);
                    ^
                    &
../src/main.c:1528:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (gamepad = SDL_JoystickOpen(0)) {
                    ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
../src/main.c:1528:15: note: place parentheses around the assignment to silence this warning
                if (gamepad = SDL_JoystickOpen(0)) {
                            ^
                    (                            )
../src/main.c:1528:15: note: use '==' to turn this assignment into an equality comparison
                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]
uint32_t gen_rand32(void);
         ^
../src/SFMT.h:93:21: note: used here
    return to_real1(gen_rand32());
                    ^
../src/SFMT.h:66:10: warning: inline function 'gen_rand64' is not defined [-Wundefined-inline]
uint64_t gen_rand64(void);
         ^
../src/SFMT.h:138:21: note: used here
    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/luajit2/src -I../src/luajit2/dynasm -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/luajit2/src -I../src/luajit2/dynasm -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:140:71: warning: format specifies type 'int' but the argument has type 'float' [-Wformat]
                printf("Make wait background texture %d : %dx%d (%d, %d)\n", bkg_t, w, h, bkg_realw, bkg_realh);
                                                          ~~                        ^
                                                          %f
../src/wait.c:140:74: warning: format specifies type 'int' but the argument has type 'float' [-Wformat]
                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/luajit2/src -I../src/luajit2/dynasm -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/luajit2/src -I../src/luajit2/dynasm -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/luajit2/src -I../src/luajit2/dynasm -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/luajit2/src -I../src/luajit2/dynasm -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/luajit2/src -I../src/luajit2/dynasm -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-beta/work/t-engine4-src-1.6.0-beta7'
===========================================================================
=======================<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-beta-1.6.0.b7_3
===>   Generating temporary packing list
install  -s -m 555 /wrkdirs/usr/ports/games/tome4-beta/work/t-engine4-src-1.6.0-beta7/t-engine /wrkdirs/usr/ports/games/tome4-beta/work/stage/usr/local/share/tome4
install  -m 555 /wrkdirs/usr/ports/games/tome4-beta/work/tome4 /wrkdirs/usr/ports/games/tome4-beta/work/stage/usr/local/bin
(cd /wrkdirs/usr/ports/games/tome4-beta/work/t-engine4-src-1.6.0-beta7; /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-beta/work/stage/usr/local/share/tome4)
install  -m 0644 /portdistfiles//tome4.png  /wrkdirs/usr/ports/games/tome4-beta/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-27T03:37:24+0000' 'PKG_NOTE_ports_top_git_hash=43e3af5f57' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=157c391cc1' '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-beta-1.6.0.b7_3
===>   Building tome4-beta-1.6.0.b7_3
pkg-static: Unable to access file /wrkdirs/usr/ports/games/tome4-beta/work/stage/usr/local/share/pixmaps/tome4.png:Not a directory
*** Error code 1

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