[package - 131powerpc-quarterly][games/tome4] Failed for tome4-1.7.4_2 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Jan 2023 04:36:32 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/foul1/data/131powerpc-quarterly/fa196a207467/logs/tome4-1.7.4_2.log
Build URL: https://pkg-status.freebsd.org/foul1/build.html?mastername=131powerpc-quarterly&build=fa196a207467
Log:
=>> Building games/tome4
build started at Wed Jan 4 04:30:36 UTC 2023
port directory: /usr/ports/games/tome4
package name: tome4-1.7.4_2
building for: FreeBSD 131powerpc-quarterly-job-05 13.1-RELEASE FreeBSD 13.1-RELEASE powerpc
maintained by: pkubaj@FreeBSD.org
Makefile ident:
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1301000
Job Id: 05
---Begin Environment---
SHELL=/bin/csh
UNAME_p=powerpc
UNAME_m=powerpc
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE
UNAME_r=13.1-RELEASE
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/131powerpc-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=tmux-256color
PWD=/usr/local/poudriere/data/.m/131powerpc-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131powerpc-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131powerpc-quarterly/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/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 NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCA
LBASE=/usr/local CC="gcc11" CFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -fno-strict-aliasing " CPP="cpp11" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -L/usr/local/lib/gcc11 " LIBS="" CXX="g++11" CXXFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -stdlib=libc++ -Wl,-rpath=/usr/local/lib/gcc11 " 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--
PORTVERSION=1.7.4 OSREL=13.1 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
MACHINE=powerpc
MACHINE_ARCH=powerpc
ARCH=${MACHINE_ARCH}
#### /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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-m" "elf32ppc_fbsd" "-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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE
OSREL=13.1
OSVERSION=1301000
PYTHONBASE=/usr/local
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) 1048576
stack size (kbytes, -s) 65536
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-1.7.4_2 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.18.4.pkg
[131powerpc-quarterly-job-05] Installing pkg-1.18.4...
[131powerpc-quarterly-job-05] Extracting pkg-1.18.4: .......... done
===> tome4-1.7.4_2 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of tome4-1.7.4_2
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by tome4-1.7.4_2 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv3+ accepted by the user
===> Fetching all distfiles required by tome4-1.7.4_2 for building
=> SHA256 Checksum OK for t-engine4-src-1.7.4.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-1.7.4_2 for building
===> Extracting for tome4-1.7.4_2
=> SHA256 Checksum OK for t-engine4-src-1.7.4.tar.bz2.
=> SHA256 Checksum OK for tome4.png.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for tome4-1.7.4_2
===> Applying FreeBSD patches for tome4-1.7.4_2 from /usr/ports/games/tome4/files
===========================================================================
=======================<phase: build-depends >============================
===> tome4-1.7.4_2 depends on executable: premake4 - not found
===> Installing existing package /packages/All/premake4-4.4.b5.pkg
[131powerpc-quarterly-job-05] Installing premake4-4.4.b5...
[131powerpc-quarterly-job-05] Extracting premake4-4.4.b5: ....... done
===> tome4-1.7.4_2 depends on executable: premake4 - found
===> Returning to build of tome4-1.7.4_2
===> tome4-1.7.4_2 depends on package: gmake>=4.3 - not found
===> Installing existing package /packages/All/gmake-4.3_2.pkg
<snip>
particles.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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/particles.o" -MF ../obj/Release/TEngine/particles.d -c "../src/particles.c"
In file included from ../src/particles.h:24,
from ../src/particles.c:30:
./src/particles.c: In function 'particles_draw':
./src/tgl.h:86:17: warning: comparison of distinct pointer types lacks a cast
86 | if ((p) != gl_c_texcoords_ptr || (nb) != gl_c_colors_nb) { glTexCoordPointer((nb), (t), (v), (p)); gl_c_texcoords_ptr=(p); gl_c_texcoords_nb = (nb); } \
| ^~
./src/particles.c:441:9: note: in expansion of macro 'glTexCoordPointer'
441 | glTexCoordPointer(2, GL_SHORT, 0, texcoords);
| ^~~~~~~~~~~~~~~~~
./src/tgl.h:86:126: warning: assignment to 'GLfloat *' {aka 'float *'} from incompatible pointer type 'GLshort *' {aka 'short int *'} [-Wincompatible-pointer-types]
86 | if ((p) != gl_c_texcoords_ptr || (nb) != gl_c_colors_nb) { glTexCoordPointer((nb), (t), (v), (p)); gl_c_texcoords_ptr=(p); gl_c_texcoords_nb = (nb); } \
| ^
./src/particles.c:441:9: note: in expansion of macro 'glTexCoordPointer'
441 | glTexCoordPointer(2, GL_SHORT, 0, texcoords);
| ^~~~~~~~~~~~~~~~~
./src/particles.c: In function 'thread_particle_die':
./src/particles.c:1026:40: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
1026 | if (ps->args) { free(ps->args); ps->args = NULL; }
| ~~^~~~~~
In file included from /usr/local/include/SDL2/SDL_stdinc.h:46,
from /usr/local/include/SDL2/SDL_main.h:25,
from /usr/local/include/SDL2/SDL.h:32,
from ../src/tSDL.h:7,
from ../src/display_sdl.h:24,
from ../src/display.h:23,
from ../src/particles.c:21:
/usr/include/stdlib.h:102:15: note: expected 'void *' but argument is of type 'const char *'
102 | void free(void *);
| ^~~~~~
./src/particles.c:1027:44: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
1027 | if (ps->name_def) { free(ps->name_def); ps->name_def = NULL; }
| ~~^~~~~~~~~~
In file included from /usr/local/include/SDL2/SDL_stdinc.h:46,
from /usr/local/include/SDL2/SDL_main.h:25,
from /usr/local/include/SDL2/SDL.h:32,
from ../src/tSDL.h:7,
from ../src/display_sdl.h:24,
from ../src/display.h:23,
from ../src/particles.c:21:
/usr/include/stdlib.h:102:15: note: expected 'void *' but argument is of type 'const char *'
102 | void free(void *);
| ^~~~~~
./src/particles.c: In function 'thread_particles':
./src/particles.c:1049:9: warning: implicit declaration of function 'luaopen_shaders'; did you mean 'luaopen_base'? [-Wimplicit-function-declaration]
1049 | luaopen_shaders(L);
| ^~~~~~~~~~~~~~~
| luaopen_base
In file included from ../src/particles.c:33:
./src/particles.c: At top level:
./src/SFMT.h:74:6: warning: inline function 'fill_array64' declared but never defined
74 | void fill_array64(uint64_t array[], int size);
| ^~~~~~~~~~~~
./src/SFMT.h:70:6: warning: inline function 'fill_array32' declared but never defined
70 | void fill_array32(uint32_t array[], int size);
| ^~~~~~~~~~~~
./src/SFMT.h:66:10: warning: inline function 'gen_rand64' declared but never defined
66 | uint64_t gen_rand64(void);
| ^~~~~~~~~~
./src/SFMT.h:62:10: warning: inline function 'gen_rand32' declared but never defined
62 | uint32_t gen_rand32(void);
| ^~~~~~~~~~
In file included from ../src/display.h:23,
from ../src/particles.c:21:
./src/display_sdl.h:46:6: warning: inline function 'sdlDrawImage' declared but never defined
46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
| ^~~~~~~~~~~~
glew.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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/glew.o" -MF ../obj/Release/TEngine/glew.d -c "../src/glew.c"
auxiliar.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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/auxiliar.o" -MF ../obj/Release/TEngine/auxiliar.d -c "../src/auxiliar.c"
bspatch.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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/bspatch.o" -MF ../obj/Release/TEngine/bspatch.d -c "../src/bspatch.c"
dmnd_square.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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:74:6: warning: inline function 'fill_array64' declared but never defined
74 | void fill_array64(uint64_t array[], int size);
| ^~~~~~~~~~~~
./src/SFMT.h:70:6: warning: inline function 'fill_array32' declared but never defined
70 | void fill_array32(uint32_t array[], int size);
| ^~~~~~~~~~~~
./src/SFMT.h:66:10: warning: inline function 'gen_rand64' declared but never defined
66 | uint64_t gen_rand64(void);
| ^~~~~~~~~~
./src/SFMT.h:62:10: warning: inline function 'gen_rand32' declared but never defined
62 | uint32_t gen_rand32(void);
| ^~~~~~~~~~
In file included from ../src/display.h:23,
from ../src/dmnd_square.c:30:
./src/display_sdl.h:46:6: warning: inline function 'sdlDrawImage' declared but never defined
46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
| ^~~~~~~~~~~~
getself.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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"
./src/getself.c:60:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
60 | #import <sys/sysctl.h>
| ^~~~~~
fov.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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:74:6: warning: inline function 'fill_array64' declared but never defined
74 | void fill_array64(uint64_t array[], int size);
| ^~~~~~~~~~~~
./src/SFMT.h:70:6: warning: inline function 'fill_array32' declared but never defined
70 | void fill_array32(uint32_t array[], int size);
| ^~~~~~~~~~~~
./src/SFMT.h:66:10: warning: inline function 'gen_rand64' declared but never defined
66 | uint64_t gen_rand64(void);
| ^~~~~~~~~~
./src/SFMT.h:62:10: warning: inline function 'gen_rand32' declared but never defined
62 | uint32_t gen_rand32(void);
| ^~~~~~~~~~
In file included from ../src/display.h:23,
from ../src/fov.c:21:
./src/display_sdl.h:46:6: warning: inline function 'sdlDrawImage' declared but never defined
46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
| ^~~~~~~~~~~~
map.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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: In function 'map_set_grid':
./src/map.c:1039:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1039 | lua_pushnumber(L, (long long)map->grids[x][y][i]);
| ^
In file included from ../src/display.h:23,
from ../src/map.c:21:
./src/map.c: At top level:
./src/display_sdl.h:46:6: warning: inline function 'sdlDrawImage' declared but never defined
46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
| ^~~~~~~~~~~~
profile.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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: In function 'te4_web_load':
./src/web.c:593:17: warning: implicit declaration of function 'execv' [-Wimplicit-function-declaration]
593 | execv(get_self_executable(g_argc, g_argv), newargs);
| ^~~~~
In file included from ../src/display.h:23,
from ../src/web.c:22:
./src/web.c: At top level:
./src/display_sdl.h:46:6: warning: inline function 'sdlDrawImage' declared but never defined
46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
| ^~~~~~~~~~~~
main.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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"
In file included from ../src/main.c:32:
./src/SFMT.h:74:6: warning: inline function 'fill_array64' declared but never defined
74 | void fill_array64(uint64_t array[], int size);
| ^~~~~~~~~~~~
./src/SFMT.h:70:6: warning: inline function 'fill_array32' declared but never defined
70 | void fill_array32(uint32_t array[], int size);
| ^~~~~~~~~~~~
./src/SFMT.h:66:10: warning: inline function 'gen_rand64' declared but never defined
66 | uint64_t gen_rand64(void);
| ^~~~~~~~~~
./src/SFMT.h:62:10: warning: inline function 'gen_rand32' declared but never defined
62 | uint32_t gen_rand32(void);
| ^~~~~~~~~~
In file included from ../src/display.h:23,
from ../src/main.c:21:
./src/display_sdl.h:46:6: warning: inline function 'sdlDrawImage' declared but never defined
46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
| ^~~~~~~~~~~~
physfs.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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"
discord-te4.c
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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
gcc11 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -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"
In file included from ../src/display.h:23,
from ../src/shaders.c:21:
./src/display_sdl.h:46:6: warning: inline function 'sdlDrawImage' declared but never defined
46 | void sdlDrawImage(SDL_Surface *dest, SDL_Surface *image, int x, int y);
| ^~~~~~~~~~~~
Linking TEngine
gcc11 -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 -Wl,-rpath=/usr/local/lib/gcc11 -L/usr/local/lib/gcc11 -L../bin/Release -L/usr/local/lib -L. -s ../bin/Release/libphysfs.a ../bin/Release/liblua.a ../bin/Release/libfov.a ../bin/Release/l
ibluasocket.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
/usr/local/bin/ld: ../bin/Release/libluaprofiler.a(core_profiler.o): in function `lprofP_init_core_profiler':
core_profiler.c:(.text+0x2f4): warning: warning: tmpnam() possibly used unsafely; consider using mkstemp()
/usr/local/bin/ld: ../bin/Release/libte4-wfc.a(lua_wfc.o): undefined reference to symbol '_ZNSt3__112__next_primeEj'
/usr/local/bin/ld: /usr/lib/libc++.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
gmake[2]: *** [TEngine.make:112: ../bin/Release/t-engine] Error 1
gmake[1]: *** [Makefile:17: TEngine] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/tome4/work/t-engine4-src-1.7.4'
*** Error code 1
Stop.
make: stopped in /usr/ports/games/tome4