D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/t-engine4-1.7.6-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.AVKbz1 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RrNdaD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/t-engine4-1.7.6-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/t-engine4-1.7.6-build + rm -rf t-engine4-1.7.6 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/t-engine4-1.7.6.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd t-engine4-1.7.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/t-engine4-1.3.1-mga-include-sdl2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/t-engine4-1.4.1-mga-no-stripping.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/t-engine4-missing-include.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jZyx0N + umask 022 + cd /home/pterjan/rpmbuild/BUILD/t-engine4-1.7.6-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd t-engine4-1.7.6 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wno-incompatible-pointer-types' + premake4 --lua=jit2 gmake Building configurations... Running action 'gmake'... Generating Makefile... Generating build/TEngine.make... Generating build/physfs.make... Generating build/minilua.make... Generating build/buildvm.make... Generating build/luajit2.make... Generating build/luasocket.make... Generating build/fov.make... Generating build/lpeg.make... Generating build/luaprofiler.make... Generating build/tcodimport.make... Generating build/expatstatic.make... Generating build/lxp.make... Generating build/luamd5.make... Generating build/luazlib.make... Generating build/luabitop.make... Generating build/te4-bzip.make... Generating build/te4-wfc.make... Generating build/utf8proc.make... Done. + echo .NOTPARALLEL: + echo .NOTPARALLEL: + /usr/bin/make -O -j4 V=1 VERBOSE=1 config=release CC=gcc CXX=g++ ==== Building physfs (release) ==== ==== Building minilua (release) ==== ==== Building fov (release) ==== ==== Building luasocket (release) ==== Creating ../bin/Release Creating ../bin/Release Creating ../bin/Release Creating ../bin/Release Creating ../obj/Release/minilua Creating ../obj/Release/fov Creating ../obj/Release/luasocket Creating ../obj/Release/physfs auxiliar.c buffer.c except.c inet.c io.c luasocket.c physfs.c options.c ../src/luasocket/options.c: In function 'opt_meth_setoption': ../src/luasocket/options.c:37:43: warning: '%.35s' directive writing up to 35 bytes into a region of size 25 [-Wformat-overflow=] 37 | sprintf(msg, "unsupported option `%.35s'", name); | ^~~~~ In file included from /usr/include/stdio.h:970, from ../src/luajit2/src/lauxlib.h:13, from ../src/luasocket/options.c:9: In function 'sprintf', inlined from 'opt_meth_setoption' at ../src/luasocket/options.c:37:9: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 22 and 57 bytes into a destination of size 45 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ physfs_unicode.c select.c tcp.c physfs_byteorder.c timeout.c udp.c usocket.c mime.c physfsrwops.c Linking luasocket ==== Building luaprofiler (release) ==== Creating ../obj/Release/luaprofiler stack.c inftrees.c ../src/zlib/inftrees.c: In function 'inflate_table': ../src/zlib/inftrees.c:32:19: warning: old-style function definition [-Wold-style-definition] 32 | int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) | ^~~~~~~~~~~~~ function_meter.c ioapi.c ../src/zlib/ioapi.c: In function 'fill_fopen_filefunc': ../src/zlib/ioapi.c:201:6: warning: old-style function definition [-Wold-style-definition] 201 | void fill_fopen_filefunc (pzlib_filefunc_def) | ^~~~~~~~~~~~~~~~~~~ lua50_profiler.c core_profiler.c adler32.c ../src/zlib/adler32.c: In function 'adler32_z': ../src/zlib/adler32.c:63:15: warning: old-style function definition [-Wold-style-definition] 63 | uLong ZEXPORT adler32_z(adler, buf, len) | ^~~~~~~~~ ../src/zlib/adler32.c: In function 'adler32': ../src/zlib/adler32.c:134:15: warning: old-style function definition [-Wold-style-definition] 134 | uLong ZEXPORT adler32(adler, buf, len) | ^~~~~~~ ../src/zlib/adler32.c: In function 'adler32_combine_': ../src/zlib/adler32.c:143:13: warning: old-style function definition [-Wold-style-definition] 143 | local uLong adler32_combine_(adler1, adler2, len2) | ^~~~~~~~~~~~~~~~ ../src/zlib/adler32.c: In function 'adler32_combine': ../src/zlib/adler32.c:172:15: warning: old-style function definition [-Wold-style-definition] 172 | uLong ZEXPORT adler32_combine(adler1, adler2, len2) | ^~~~~~~~~~~~~~~ ../src/zlib/adler32.c: In function 'adler32_combine64': ../src/zlib/adler32.c:180:15: warning: old-style function definition [-Wold-style-definition] 180 | uLong ZEXPORT adler32_combine64(adler1, adler2, len2) | ^~~~~~~~~~~~~~~~~ clocks.c Linking luaprofiler ==== Building lpeg (release) ==== gzclose.c ../src/zlib/gzclose.c: In function 'gzclose': ../src/zlib/gzclose.c:11:13: warning: old-style function definition [-Wold-style-definition] 11 | int ZEXPORT gzclose(file) | ^~~~~~~ Creating ../obj/Release/lpeg gzwrite.c ../src/zlib/gzwrite.c: In function 'gz_init': ../src/zlib/gzwrite.c:17:11: warning: old-style function definition [-Wold-style-definition] 17 | local int gz_init(state) | ^~~~~~~ ../src/zlib/gzwrite.c: In function 'gz_comp': ../src/zlib/gzwrite.c:73:11: warning: old-style function definition [-Wold-style-definition] 73 | local int gz_comp(state, flush) | ^~~~~~~ ../src/zlib/gzwrite.c: In function 'gz_zero': ../src/zlib/gzwrite.c:145:11: warning: old-style function definition [-Wold-style-definition] 145 | local int gz_zero(state, len) | ^~~~~~~ ../src/zlib/gzwrite.c: In function 'gz_write': ../src/zlib/gzwrite.c:178:16: warning: old-style function definition [-Wold-style-definition] 178 | local z_size_t gz_write(state, buf, len) | ^~~~~~~~ ../src/zlib/gzwrite.c: In function 'gzwrite': ../src/zlib/gzwrite.c:246:13: warning: old-style function definition [-Wold-style-definition] 246 | int ZEXPORT gzwrite(file, buf, len) | ^~~~~~~ ../src/zlib/gzwrite.c: In function 'gzfwrite': ../src/zlib/gzwrite.c:274:18: warning: old-style function definition [-Wold-style-definition] 274 | z_size_t ZEXPORT gzfwrite(buf, size, nitems, file) | ^~~~~~~~ ../src/zlib/gzwrite.c: In function 'gzputc': ../src/zlib/gzwrite.c:304:13: warning: old-style function definition [-Wold-style-definition] 304 | int ZEXPORT gzputc(file, c) | ^~~~~~ ../src/zlib/gzwrite.c: In function 'gzputs': ../src/zlib/gzwrite.c:352:13: warning: old-style function definition [-Wold-style-definition] 352 | int ZEXPORT gzputs(file, str) | ^~~~~~ ../src/zlib/gzwrite.c: In function 'gzflush': ../src/zlib/gzwrite.c:553:13: warning: old-style function definition [-Wold-style-definition] 553 | int ZEXPORT gzflush(file, flush) | ^~~~~~~ ../src/zlib/gzwrite.c: In function 'gzsetparams': ../src/zlib/gzwrite.c:585:13: warning: old-style function definition [-Wold-style-definition] 585 | int ZEXPORT gzsetparams(file, level, strategy) | ^~~~~~~~~~~ ../src/zlib/gzwrite.c: In function 'gzclose_w': ../src/zlib/gzwrite.c:627:13: warning: old-style function definition [-Wold-style-definition] 627 | int ZEXPORT gzclose_w(file) | ^~~~~~~~~ compress.c ../src/zlib/compress.c: In function 'compress2': ../src/zlib/compress.c:22:13: warning: old-style function definition [-Wold-style-definition] 22 | int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) | ^~~~~~~~~ ../src/zlib/compress.c: In function 'compress': ../src/zlib/compress.c:68:13: warning: old-style function definition [-Wold-style-definition] 68 | int ZEXPORT compress (dest, destLen, source, sourceLen) | ^~~~~~~~ ../src/zlib/compress.c: In function 'compressBound': ../src/zlib/compress.c:81:15: warning: old-style function definition [-Wold-style-definition] 81 | uLong ZEXPORT compressBound (sourceLen) | ^~~~~~~~~~~~~ crc32.c ../src/zlib/crc32.c: In function 'crc32_z': ../src/zlib/crc32.c:202:23: warning: old-style function definition [-Wold-style-definition] 202 | unsigned long ZEXPORT crc32_z(crc, buf, len) | ^~~~~~~ ../src/zlib/crc32.c: In function 'crc32': ../src/zlib/crc32.c:237:23: warning: old-style function definition [-Wold-style-definition] 237 | unsigned long ZEXPORT crc32(crc, buf, len) | ^~~~~ ../src/zlib/crc32.c: In function 'crc32_little': ../src/zlib/crc32.c:266:21: warning: old-style function definition [-Wold-style-definition] 266 | local unsigned long crc32_little(crc, buf, len) | ^~~~~~~~~~~~ ../src/zlib/crc32.c: In function 'crc32_big': ../src/zlib/crc32.c:306:21: warning: old-style function definition [-Wold-style-definition] 306 | local unsigned long crc32_big(crc, buf, len) | ^~~~~~~~~ ../src/zlib/crc32.c: In function 'gf2_matrix_times': ../src/zlib/crc32.c:344:21: warning: old-style function definition [-Wold-style-definition] 344 | local unsigned long gf2_matrix_times(mat, vec) | ^~~~~~~~~~~~~~~~ ../src/zlib/crc32.c: In function 'gf2_matrix_square': ../src/zlib/crc32.c:361:12: warning: old-style function definition [-Wold-style-definition] 361 | local void gf2_matrix_square(square, mat) | ^~~~~~~~~~~~~~~~~ ../src/zlib/crc32.c: In function 'crc32_combine_': ../src/zlib/crc32.c:372:13: warning: old-style function definition [-Wold-style-definition] 372 | local uLong crc32_combine_(crc1, crc2, len2) | ^~~~~~~~~~~~~~ ../src/zlib/crc32.c: In function 'crc32_combine': ../src/zlib/crc32.c:428:15: warning: old-style function definition [-Wold-style-definition] 428 | uLong ZEXPORT crc32_combine(crc1, crc2, len2) | ^~~~~~~~~~~~~ ../src/zlib/crc32.c: In function 'crc32_combine64': ../src/zlib/crc32.c:436:15: warning: old-style function definition [-Wold-style-definition] 436 | uLong ZEXPORT crc32_combine64(crc1, crc2, len2) | ^~~~~~~~~~~~~~~ uncompr.c ../src/zlib/uncompr.c: In function 'uncompress2': ../src/zlib/uncompr.c:27:13: warning: old-style function definition [-Wold-style-definition] 27 | int ZEXPORT uncompress2 (dest, destLen, source, sourceLen) | ^~~~~~~~~~~ ../src/zlib/uncompr.c: In function 'uncompress': ../src/zlib/uncompr.c:86:13: warning: old-style function definition [-Wold-style-definition] 86 | int ZEXPORT uncompress (dest, destLen, source, sourceLen) | ^~~~~~~~~~ lptree.c In file included from ../src/lpeg/lptree.c:12: ../src/lpeg/lptypes.h:13:9: warning: 'NDEBUG' redefined 13 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition lpprint.c In file included from ../src/lpeg/lpprint.c:9: ../src/lpeg/lptypes.h:13:9: warning: 'NDEBUG' redefined 13 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition lpcap.c In file included from ../src/lpeg/lpcap.h:9, from ../src/lpeg/lpcap.c:9: ../src/lpeg/lptypes.h:13:9: warning: 'NDEBUG' redefined 13 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition trees.c ../src/zlib/trees.c: In function '_tr_init': ../src/zlib/trees.c:379:20: warning: old-style function definition [-Wold-style-definition] 379 | void ZLIB_INTERNAL _tr_init(s) | ^~~~~~~~ ../src/zlib/trees.c: In function 'init_block': ../src/zlib/trees.c:407:12: warning: old-style function definition [-Wold-style-definition] 407 | local void init_block(s) | ^~~~~~~~~~ ../src/zlib/trees.c: In function 'pqdownheap': ../src/zlib/trees.c:451:12: warning: old-style function definition [-Wold-style-definition] 451 | local void pqdownheap(s, tree, k) | ^~~~~~~~~~ ../src/zlib/trees.c: In function 'gen_bitlen': ../src/zlib/trees.c:486:12: warning: old-style function definition [-Wold-style-definition] 486 | local void gen_bitlen(s, desc) | ^~~~~~~~~~ ../src/zlib/trees.c: In function 'gen_codes': ../src/zlib/trees.c:572:12: warning: old-style function definition [-Wold-style-definition] 572 | local void gen_codes (tree, max_code, bl_count) | ^~~~~~~~~ ../src/zlib/trees.c: In function 'build_tree': ../src/zlib/trees.c:615:12: warning: old-style function definition [-Wold-style-definition] 615 | local void build_tree(s, desc) | ^~~~~~~~~~ ../src/zlib/trees.c: In function 'scan_tree': ../src/zlib/trees.c:703:12: warning: old-style function definition [-Wold-style-definition] 703 | local void scan_tree (s, tree, max_code) | ^~~~~~~~~ ../src/zlib/trees.c: In function 'send_tree': ../src/zlib/trees.c:748:12: warning: old-style function definition [-Wold-style-definition] 748 | local void send_tree (s, tree, max_code) | ^~~~~~~~~ ../src/zlib/trees.c: In function 'build_bl_tree': ../src/zlib/trees.c:799:11: warning: old-style function definition [-Wold-style-definition] 799 | local int build_bl_tree(s) | ^~~~~~~~~~~~~ ../src/zlib/trees.c: In function 'send_all_trees': ../src/zlib/trees.c:834:12: warning: old-style function definition [-Wold-style-definition] 834 | local void send_all_trees(s, lcodes, dcodes, blcodes) | ^~~~~~~~~~~~~~ ../src/zlib/trees.c: In function '_tr_stored_block': ../src/zlib/trees.c:863:20: warning: old-style function definition [-Wold-style-definition] 863 | void ZLIB_INTERNAL _tr_stored_block(s, buf, stored_len, last) | ^~~~~~~~~~~~~~~~ ../src/zlib/trees.c: In function '_tr_flush_bits': ../src/zlib/trees.c:886:20: warning: old-style function definition [-Wold-style-definition] 886 | void ZLIB_INTERNAL _tr_flush_bits(s) | ^~~~~~~~~~~~~~ ../src/zlib/trees.c: In function '_tr_align': ../src/zlib/trees.c:896:20: warning: old-style function definition [-Wold-style-definition] 896 | void ZLIB_INTERNAL _tr_align(s) | ^~~~~~~~~ ../src/zlib/trees.c: In function '_tr_flush_block': ../src/zlib/trees.c:911:20: warning: old-style function definition [-Wold-style-definition] 911 | void ZLIB_INTERNAL _tr_flush_block(s, buf, stored_len, last) | ^~~~~~~~~~~~~~~ ../src/zlib/trees.c: In function '_tr_tally': ../src/zlib/trees.c:1014:19: warning: old-style function definition [-Wold-style-definition] 1014 | int ZLIB_INTERNAL _tr_tally (s, dist, lc) | ^~~~~~~~~ ../src/zlib/trees.c: In function 'compress_block': ../src/zlib/trees.c:1064:12: warning: old-style function definition [-Wold-style-definition] 1064 | local void compress_block(s, ltree, dtree) | ^~~~~~~~~~~~~~ ../src/zlib/trees.c: In function 'detect_data_type': ../src/zlib/trees.c:1124:11: warning: old-style function definition [-Wold-style-definition] 1124 | local int detect_data_type(s) | ^~~~~~~~~~~~~~~~ ../src/zlib/trees.c: In function 'bi_reverse': ../src/zlib/trees.c:1158:16: warning: old-style function definition [-Wold-style-definition] 1158 | local unsigned bi_reverse(code, len) | ^~~~~~~~~~ ../src/zlib/trees.c: In function 'bi_flush': ../src/zlib/trees.c:1173:12: warning: old-style function definition [-Wold-style-definition] 1173 | local void bi_flush(s) | ^~~~~~~~ ../src/zlib/trees.c: In function 'bi_windup': ../src/zlib/trees.c:1190:12: warning: old-style function definition [-Wold-style-definition] 1190 | local void bi_windup(s) | ^~~~~~~~~ zutil.c ../src/zlib/zutil.c: In function 'zError': ../src/zlib/zutil.c:133:22: warning: old-style function definition [-Wold-style-definition] 133 | const char * ZEXPORT zError(err) | ^~~~~~ ../src/zlib/zutil.c: In function 'zcalloc': ../src/zlib/zutil.c:305:22: warning: old-style function definition [-Wold-style-definition] 305 | voidpf ZLIB_INTERNAL zcalloc (opaque, items, size) | ^~~~~~~ ../src/zlib/zutil.c: In function 'zcfree': ../src/zlib/zutil.c:315:20: warning: old-style function definition [-Wold-style-definition] 315 | void ZLIB_INTERNAL zcfree (opaque, ptr) | ^~~~~~ lpcode.c In file included from ../src/lpeg/lpcode.c:9: ../src/lpeg/lptypes.h:13:9: warning: 'NDEBUG' redefined 13 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition lpvm.c In file included from ../src/lpeg/lpcap.h:9, from ../src/lpeg/lpvm.c:11: ../src/lpeg/lptypes.h:13:9: warning: 'NDEBUG' redefined 13 | #define NDEBUG | ^~~~~~ : note: this is the location of the previous definition Linking lpeg ==== Building tcodimport (release) ==== Creating ../obj/Release/tcodimport mzip.c noise_c.c In file included from ../src/libtcod_import/noise_c.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); | ^~~~~~~~~~ Linking tcodimport ==== Building lxp (release) ==== Creating ../obj/Release/lxp lxplib.c Linking lxp ==== Building expatstatic (release) ==== Creating ../obj/Release/expatstatic deflate.c ../src/zlib/deflate.c: In function 'slide_hash': ../src/zlib/deflate.c:201:12: warning: old-style function definition [-Wold-style-definition] 201 | local void slide_hash(s) | ^~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateInit_': ../src/zlib/deflate.c:228:13: warning: old-style function definition [-Wold-style-definition] 228 | int ZEXPORT deflateInit_(strm, level, version, stream_size) | ^~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateInit2_': ../src/zlib/deflate.c:240:13: warning: old-style function definition [-Wold-style-definition] 240 | int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, | ^~~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateStateCheck': ../src/zlib/deflate.c:353:11: warning: old-style function definition [-Wold-style-definition] 353 | local int deflateStateCheck (strm) | ^~~~~~~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateSetDictionary': ../src/zlib/deflate.c:376:13: warning: old-style function definition [-Wold-style-definition] 376 | int ZEXPORT deflateSetDictionary (strm, dictionary, dictLength) | ^~~~~~~~~~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateGetDictionary': ../src/zlib/deflate.c:445:13: warning: old-style function definition [-Wold-style-definition] 445 | int ZEXPORT deflateGetDictionary (strm, dictionary, dictLength) | ^~~~~~~~~~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateResetKeep': ../src/zlib/deflate.c:467:13: warning: old-style function definition [-Wold-style-definition] 467 | int ZEXPORT deflateResetKeep (strm) | ^~~~~~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateReset': ../src/zlib/deflate.c:505:13: warning: old-style function definition [-Wold-style-definition] 505 | int ZEXPORT deflateReset (strm) | ^~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateSetHeader': ../src/zlib/deflate.c:517:13: warning: old-style function definition [-Wold-style-definition] 517 | int ZEXPORT deflateSetHeader (strm, head) | ^~~~~~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflatePending': ../src/zlib/deflate.c:528:13: warning: old-style function definition [-Wold-style-definition] 528 | int ZEXPORT deflatePending (strm, pending, bits) | ^~~~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflatePrime': ../src/zlib/deflate.c:542:13: warning: old-style function definition [-Wold-style-definition] 542 | int ZEXPORT deflatePrime (strm, bits, value) | ^~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateParams': ../src/zlib/deflate.c:568:13: warning: old-style function definition [-Wold-style-definition] 568 | int ZEXPORT deflateParams(strm, level, strategy) | ^~~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateTune': ../src/zlib/deflate.c:617:13: warning: old-style function definition [-Wold-style-definition] 617 | int ZEXPORT deflateTune(strm, good_length, max_lazy, nice_length, max_chain) | ^~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateBound': ../src/zlib/deflate.c:652:15: warning: old-style function definition [-Wold-style-definition] 652 | uLong ZEXPORT deflateBound(strm, sourceLen) | ^~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'putShortMSB': ../src/zlib/deflate.c:716:12: warning: old-style function definition [-Wold-style-definition] 716 | local void putShortMSB (s, b) | ^~~~~~~~~~~ ../src/zlib/deflate.c: In function 'flush_pending': ../src/zlib/deflate.c:730:12: warning: old-style function definition [-Wold-style-definition] 730 | local void flush_pending(strm) | ^~~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflate': ../src/zlib/deflate.c:763:13: warning: old-style function definition [-Wold-style-definition] 763 | int ZEXPORT deflate (strm, flush) | ^~~~~~~ ../src/zlib/deflate.c: In function 'deflateEnd': ../src/zlib/deflate.c:1076:13: warning: old-style function definition [-Wold-style-definition] 1076 | int ZEXPORT deflateEnd (strm) | ^~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflateCopy': ../src/zlib/deflate.c:1102:13: warning: old-style function definition [-Wold-style-definition] 1102 | int ZEXPORT deflateCopy (dest, source) | ^~~~~~~~~~~ ../src/zlib/deflate.c: In function 'read_buf': ../src/zlib/deflate.c:1164:16: warning: old-style function definition [-Wold-style-definition] 1164 | local unsigned read_buf(strm, buf, size) | ^~~~~~~~ ../src/zlib/deflate.c: In function 'lm_init': ../src/zlib/deflate.c:1194:12: warning: old-style function definition [-Wold-style-definition] 1194 | local void lm_init (s) | ^~~~~~~ ../src/zlib/deflate.c: In function 'longest_match': ../src/zlib/deflate.c:1236:12: warning: old-style function definition [-Wold-style-definition] 1236 | local uInt longest_match(s, cur_match) | ^~~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'fill_window': ../src/zlib/deflate.c:1482:12: warning: old-style function definition [-Wold-style-definition] 1482 | local void fill_window(s) | ^~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflate_stored': ../src/zlib/deflate.c:1643:19: warning: old-style function definition [-Wold-style-definition] 1643 | local block_state deflate_stored(s, flush) | ^~~~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflate_fast': ../src/zlib/deflate.c:1824:19: warning: old-style function definition [-Wold-style-definition] 1824 | local block_state deflate_fast(s, flush) | ^~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflate_slow': ../src/zlib/deflate.c:1926:19: warning: old-style function definition [-Wold-style-definition] 1926 | local block_state deflate_slow(s, flush) | ^~~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflate_rle': ../src/zlib/deflate.c:2057:19: warning: old-style function definition [-Wold-style-definition] 2057 | local block_state deflate_rle(s, flush) | ^~~~~~~~~~~ ../src/zlib/deflate.c: In function 'deflate_huff': ../src/zlib/deflate.c:2130:19: warning: old-style function definition [-Wold-style-definition] 2130 | local block_state deflate_huff(s, flush) | ^~~~~~~~~~~~ minilua.c Linking minilua Running post-build commands cp ../bin/Release/minilua ../src/luajit2/src/host/ infback.c ../src/zlib/infback.c: In function 'inflateBackInit_': ../src/zlib/infback.c:28:13: warning: old-style function definition [-Wold-style-definition] 28 | int ZEXPORT inflateBackInit_(strm, windowBits, window, version, stream_size) | ^~~~~~~~~~~~~~~~ ../src/zlib/infback.c: In function 'fixedtables': ../src/zlib/infback.c:82:12: warning: old-style function definition [-Wold-style-definition] 82 | local void fixedtables(state) | ^~~~~~~~~~~ ../src/zlib/infback.c: In function 'inflateBack': ../src/zlib/infback.c:250:13: warning: old-style function definition [-Wold-style-definition] 250 | int ZEXPORT inflateBack(strm, in, in_desc, out, out_desc) | ^~~~~~~~~~~ ../src/zlib/infback.c: In function 'inflateBackEnd': ../src/zlib/infback.c:631:13: warning: old-style function definition [-Wold-style-definition] 631 | int ZEXPORT inflateBackEnd(strm) | ^~~~~~~~~~~~~~ ==== Building luamd5 (release) ==== Creating ../obj/Release/luamd5 ldes56.c md5lib.c md5.c des56.c inflate.c ../src/zlib/inflate.c: In function 'inflateStateCheck': ../src/zlib/inflate.c:105:11: warning: old-style function definition [-Wold-style-definition] 105 | local int inflateStateCheck(strm) | ^~~~~~~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateResetKeep': ../src/zlib/inflate.c:119:13: warning: old-style function definition [-Wold-style-definition] 119 | int ZEXPORT inflateResetKeep(strm) | ^~~~~~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateReset': ../src/zlib/inflate.c:144:13: warning: old-style function definition [-Wold-style-definition] 144 | int ZEXPORT inflateReset(strm) | ^~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateReset2': ../src/zlib/inflate.c:157:13: warning: old-style function definition [-Wold-style-definition] 157 | int ZEXPORT inflateReset2(strm, windowBits) | ^~~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateInit2_': ../src/zlib/inflate.c:195:13: warning: old-style function definition [-Wold-style-definition] 195 | int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size) | ^~~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateInit_': ../src/zlib/inflate.c:239:13: warning: old-style function definition [-Wold-style-definition] 239 | int ZEXPORT inflateInit_(strm, version, stream_size) | ^~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflatePrime': ../src/zlib/inflate.c:247:13: warning: old-style function definition [-Wold-style-definition] 247 | int ZEXPORT inflatePrime(strm, bits, value) | ^~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'fixedtables': ../src/zlib/inflate.c:278:12: warning: old-style function definition [-Wold-style-definition] 278 | local void fixedtables(state) | ^~~~~~~~~~~ ../src/zlib/inflate.c: In function 'updatewindow': ../src/zlib/inflate.c:396:11: warning: old-style function definition [-Wold-style-definition] 396 | local int updatewindow(strm, end, copy) | ^~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflate': ../src/zlib/inflate.c:622:13: warning: old-style function definition [-Wold-style-definition] 622 | int ZEXPORT inflate(strm, flush) | ^~~~~~~ ../src/zlib/inflate.c: In function 'inflateEnd': ../src/zlib/inflate.c:1277:13: warning: old-style function definition [-Wold-style-definition] 1277 | int ZEXPORT inflateEnd(strm) | ^~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateGetDictionary': ../src/zlib/inflate.c:1291:13: warning: old-style function definition [-Wold-style-definition] 1291 | int ZEXPORT inflateGetDictionary(strm, dictionary, dictLength) | ^~~~~~~~~~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateSetDictionary': ../src/zlib/inflate.c:1314:13: warning: old-style function definition [-Wold-style-definition] 1314 | int ZEXPORT inflateSetDictionary(strm, dictionary, dictLength) | ^~~~~~~~~~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateGetHeader': ../src/zlib/inflate.c:1349:13: warning: old-style function definition [-Wold-style-definition] 1349 | int ZEXPORT inflateGetHeader(strm, head) | ^~~~~~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'syncsearch': ../src/zlib/inflate.c:1377:16: warning: old-style function definition [-Wold-style-definition] 1377 | local unsigned syncsearch(have, buf, len) | ^~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateSync': ../src/zlib/inflate.c:1400:13: warning: old-style function definition [-Wold-style-definition] 1400 | int ZEXPORT inflateSync(strm) | ^~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateSyncPoint': ../src/zlib/inflate.c:1451:13: warning: old-style function definition [-Wold-style-definition] 1451 | int ZEXPORT inflateSyncPoint(strm) | ^~~~~~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateCopy': ../src/zlib/inflate.c:1461:13: warning: old-style function definition [-Wold-style-definition] 1461 | int ZEXPORT inflateCopy(dest, source) | ^~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateUndermine': ../src/zlib/inflate.c:1508:13: warning: old-style function definition [-Wold-style-definition] 1508 | int ZEXPORT inflateUndermine(strm, subvert) | ^~~~~~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateValidate': ../src/zlib/inflate.c:1526:13: warning: old-style function definition [-Wold-style-definition] 1526 | int ZEXPORT inflateValidate(strm, check) | ^~~~~~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateMark': ../src/zlib/inflate.c:1541:14: warning: old-style function definition [-Wold-style-definition] 1541 | long ZEXPORT inflateMark(strm) | ^~~~~~~~~~~ ../src/zlib/inflate.c: In function 'inflateCodesUsed': ../src/zlib/inflate.c:1554:23: warning: old-style function definition [-Wold-style-definition] 1554 | unsigned long ZEXPORT inflateCodesUsed(strm) | ^~~~~~~~~~~~~~~~ Linking luamd5 gzlib.c ../src/zlib/gzlib.c: In function 'gz_reset': ../src/zlib/gzlib.c:75:12: warning: old-style function definition [-Wold-style-definition] 75 | local void gz_reset(state) | ^~~~~~~~ ../src/zlib/gzlib.c: In function 'gz_open': ../src/zlib/gzlib.c:91:14: warning: old-style function definition [-Wold-style-definition] 91 | local gzFile gz_open(path, fd, mode) | ^~~~~~~ ../src/zlib/gzlib.c: In function 'gzopen': ../src/zlib/gzlib.c:270:16: warning: old-style function definition [-Wold-style-definition] 270 | gzFile ZEXPORT gzopen(path, mode) | ^~~~~~ ../src/zlib/gzlib.c: In function 'gzopen64': ../src/zlib/gzlib.c:278:16: warning: old-style function definition [-Wold-style-definition] 278 | gzFile ZEXPORT gzopen64(path, mode) | ^~~~~~~~ ../src/zlib/gzlib.c: In function 'gzdopen': ../src/zlib/gzlib.c:286:16: warning: old-style function definition [-Wold-style-definition] 286 | gzFile ZEXPORT gzdopen(fd, mode) | ^~~~~~~ ../src/zlib/gzlib.c: In function 'gzbuffer': ../src/zlib/gzlib.c:316:13: warning: old-style function definition [-Wold-style-definition] 316 | int ZEXPORT gzbuffer(file, size) | ^~~~~~~~ ../src/zlib/gzlib.c: In function 'gzrewind': ../src/zlib/gzlib.c:343:13: warning: old-style function definition [-Wold-style-definition] 343 | int ZEXPORT gzrewind(file) | ^~~~~~~~ ../src/zlib/gzlib.c: In function 'gzseek64': ../src/zlib/gzlib.c:366:19: warning: old-style function definition [-Wold-style-definition] 366 | z_off64_t ZEXPORT gzseek64(file, offset, whence) | ^~~~~~~~ ../src/zlib/gzlib.c: In function 'gzseek': ../src/zlib/gzlib.c:443:17: warning: old-style function definition [-Wold-style-definition] 443 | z_off_t ZEXPORT gzseek(file, offset, whence) | ^~~~~~ ../src/zlib/gzlib.c: In function 'gztell64': ../src/zlib/gzlib.c:455:19: warning: old-style function definition [-Wold-style-definition] 455 | z_off64_t ZEXPORT gztell64(file) | ^~~~~~~~ ../src/zlib/gzlib.c: In function 'gztell': ../src/zlib/gzlib.c:472:17: warning: old-style function definition [-Wold-style-definition] 472 | z_off_t ZEXPORT gztell(file) | ^~~~~~ ../src/zlib/gzlib.c: In function 'gzoffset64': ../src/zlib/gzlib.c:482:19: warning: old-style function definition [-Wold-style-definition] 482 | z_off64_t ZEXPORT gzoffset64(file) | ^~~~~~~~~~ ../src/zlib/gzlib.c: In function 'gzoffset': ../src/zlib/gzlib.c:505:17: warning: old-style function definition [-Wold-style-definition] 505 | z_off_t ZEXPORT gzoffset(file) | ^~~~~~~~ ../src/zlib/gzlib.c: In function 'gzeof': ../src/zlib/gzlib.c:515:13: warning: old-style function definition [-Wold-style-definition] 515 | int ZEXPORT gzeof(file) | ^~~~~ ../src/zlib/gzlib.c: In function 'gzerror': ../src/zlib/gzlib.c:532:22: warning: old-style function definition [-Wold-style-definition] 532 | const char * ZEXPORT gzerror(file, errnum) | ^~~~~~~ ../src/zlib/gzlib.c: In function 'gzclearerr': ../src/zlib/gzlib.c:553:14: warning: old-style function definition [-Wold-style-definition] 553 | void ZEXPORT gzclearerr(file) | ^~~~~~~~~~ ../src/zlib/gzlib.c: In function 'gz_error': ../src/zlib/gzlib.c:579:20: warning: old-style function definition [-Wold-style-definition] 579 | void ZLIB_INTERNAL gz_error(state, err, msg) | ^~~~~~~~ gzread.c ../src/zlib/gzread.c: In function 'gz_load': ../src/zlib/gzread.c:21:11: warning: old-style function definition [-Wold-style-definition] 21 | local int gz_load(state, buf, len, have) | ^~~~~~~ ../src/zlib/gzread.c: In function 'gz_avail': ../src/zlib/gzread.c:56:11: warning: old-style function definition [-Wold-style-definition] 56 | local int gz_avail(state) | ^~~~~~~~ ../src/zlib/gzread.c: In function 'gz_look': ../src/zlib/gzread.c:91:11: warning: old-style function definition [-Wold-style-definition] 91 | local int gz_look(state) | ^~~~~~~ ../src/zlib/gzread.c: In function 'gz_decomp': ../src/zlib/gzread.c:175:11: warning: old-style function definition [-Wold-style-definition] 175 | local int gz_decomp(state) | ^~~~~~~~~ ../src/zlib/gzread.c: In function 'gz_fetch': ../src/zlib/gzread.c:229:11: warning: old-style function definition [-Wold-style-definition] 229 | local int gz_fetch(state) | ^~~~~~~~ ../src/zlib/gzread.c: In function 'gz_skip': ../src/zlib/gzread.c:259:11: warning: old-style function definition [-Wold-style-definition] 259 | local int gz_skip(state, len) | ^~~~~~~ ../src/zlib/gzread.c: In function 'gz_read': ../src/zlib/gzread.c:294:16: warning: old-style function definition [-Wold-style-definition] 294 | local z_size_t gz_read(state, buf, len) | ^~~~~~~ ../src/zlib/gzread.c: In function 'gzread': ../src/zlib/gzread.c:375:13: warning: old-style function definition [-Wold-style-definition] 375 | int ZEXPORT gzread(file, buf, len) | ^~~~~~ ../src/zlib/gzread.c: In function 'gzfread': ../src/zlib/gzread.c:411:18: warning: old-style function definition [-Wold-style-definition] 411 | z_size_t ZEXPORT gzfread(buf, size, nitems, file) | ^~~~~~~ ../src/zlib/gzread.c: In function 'gzgetc': ../src/zlib/gzread.c:447:13: warning: old-style function definition [-Wold-style-definition] 447 | int ZEXPORT gzgetc(file) | ^~~~~~ ../src/zlib/gzread.c: In function 'gzgetc_': ../src/zlib/gzread.c:476:13: warning: old-style function definition [-Wold-style-definition] 476 | int ZEXPORT gzgetc_(file) | ^~~~~~~ ../src/zlib/gzread.c: In function 'gzungetc': ../src/zlib/gzread.c:483:13: warning: old-style function definition [-Wold-style-definition] 483 | int ZEXPORT gzungetc(c, file) | ^~~~~~~~ ../src/zlib/gzread.c: In function 'gzgets': ../src/zlib/gzread.c:543:16: warning: old-style function definition [-Wold-style-definition] 543 | char * ZEXPORT gzgets(file, buf, len) | ^~~~~~ ../src/zlib/gzread.c: In function 'gzdirect': ../src/zlib/gzread.c:607:13: warning: old-style function definition [-Wold-style-definition] 607 | int ZEXPORT gzdirect(file) | ^~~~~~~~ ../src/zlib/gzread.c: In function 'gzclose_r': ../src/zlib/gzread.c:627:13: warning: old-style function definition [-Wold-style-definition] 627 | int ZEXPORT gzclose_r(file) | ^~~~~~~~~ inffast.c ../src/zlib/inffast.c: In function 'inflate_fast': ../src/zlib/inffast.c:50:20: warning: old-style function definition [-Wold-style-definition] 50 | void ZLIB_INTERNAL inflate_fast(strm, start) | ^~~~~~~~~~~~ bind_physfs.c dir.c subzip.c ../src/physfs/archivers/subzip.c: In function 'SUBZIP_openArchive': ../src/physfs/archivers/subzip.c:112:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | char *base = name; | ^~~~ xmlparse.c unix.c zip.c xmltok_ns.c xmltok_impl.c xmlrole.c ==== Building luazlib (release) ==== Creating ../obj/Release/luazlib posix.c lzlib.c Linking physfs ==== Building luabitop (release) ==== Creating ../obj/Release/luabitop bit.c lgzip.c Linking luabitop ==== Building te4-bzip (release) ==== Creating ../obj/Release/te4-bzip Linking luazlib ==== Building te4-wfc (release) ==== Creating ../obj/Release/te4-wfc crctable.c decompress.c randtable.c xmltok.c Linking expatstatic ==== Building utf8proc (release) ==== Creating ../obj/Release/utf8proc compress.c utf8proc.c Linking utf8proc ==== Building buildvm (release) ==== Creating ../obj/Release/buildvm Running pre-build commands ../src/luajit2/src/host/minilua ../src/luajit2/dynasm/dynasm.lua -D VER= -D P64 -D JIT -D FFI -D FPU -D HFABI -o ../src/luajit2/src/host/buildvm_arch.h ../src/luajit2/src/vm_x86.dasc bzlib.c buildvm_lib.c buildvm_peobj.c huffman.c blocksort.c Linking te4-bzip buildvm.c buildvm_asm.c buildvm_fold.c Linking buildvm Running post-build commands cp ../bin/Release/buildvm ../src/luajit2/src/ ==== Building luajit2 (release) ==== Creating ../obj/Release/luajit2 lua_wfc.cpp cc1plus: warning: command-line option '-Wno-incompatible-pointer-types' is valid for C/ObjC but not for C++ In file included from ../src/wfc/lua_wfc.cpp:27: ../src/SFMT.h:62:10: warning: inline function 'uint32_t gen_rand32()' used but never defined 62 | uint32_t gen_rand32(void); | ^~~~~~~~~~ ../src/SFMT.h:66:10: warning: inline function 'uint64_t gen_rand64()' used but never defined 66 | uint64_t gen_rand64(void); | ^~~~~~~~~~ Running pre-build commands ../src/luajit2/src/buildvm -m elfasm -o ../src/luajit2/src/lj_vm.s ../src/luajit2/src/buildvm -m bcdef -o ../src/luajit2/src/lj_bcdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c ../src/luajit2/src/buildvm -m ffdef -o ../src/luajit2/src/lj_ffdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c ../src/luajit2/src/buildvm -m libdef -o ../src/luajit2/src/lj_libdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c ../src/luajit2/src/buildvm -m recdef -o ../src/luajit2/src/lj_recdef.h ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c ../src/luajit2/src/buildvm -m vmdef -o ../src/luajit2/vmdef.lua ../src/luajit2/src/lib_base.c ../src/luajit2/src/lib_math.c ../src/luajit2/src/lib_bit.c ../src/luajit2/src/lib_string.c ../src/luajit2/src/lib_table.c ../src/luajit2/src/lib_io.c ../src/luajit2/src/lib_os.c ../src/luajit2/src/lib_package.c ../src/luajit2/src/lib_debug.c ../src/luajit2/src/lib_jit.c ../src/luajit2/src/lib_ffi.c ../src/luajit2/src/buildvm -m folddef -o ../src/luajit2/src/lj_folddef.h ../src/luajit2/src/lj_opt_fold.c Linking te4-wfc lj_ffrecord.c lj_opt_split.c lj_lex.c lj_gdbjit.c lj_lib.c lj_clib.c lib_os.c lj_strscan.c lib_init.c lj_carith.c lj_cdata.c lj_vmmath.c lib_string.c lj_dispatch.c lj_bcwrite.c lib_package.c fov.c Linking fov lj_cparse.c lib_debug.c lj_asm.c lj_record.c lj_opt_dce.c lib_math.c lib_aux.c lj_str.c lib_jit.c lib_bit.c lj_alloc.c lj_udata.c lj_gc.c lj_trace.c lj_bc.c lj_state.c lj_meta.c lj_api.c lj_cconv.c lj_load.c lj_char.c lib_table.c lj_tab.c lj_opt_narrow.c lj_ccallback.c lj_obj.c lj_opt_mem.c lj_crecord.c lj_ctype.c lj_ccall.c lib_base.c lj_func.c lj_opt_sink.c lj_parse.c lj_opt_loop.c lj_snap.c lj_debug.c lib_io.c lj_mcode.c lj_ir.c lib_ffi.c lj_err.c lj_bcread.c lj_vmevent.c lj_opt_fold.c lj_vm.s Linking luajit2 ==== Building TEngine (release) ==== Creating ../obj/Release/TEngine physfs.c In file included from ../src/physfs.c:31: ../src/types.h:26:14: error: 'bool' cannot be defined via 'typedef' 26 | typedef char bool; | ^~~~ ../src/types.h:26:14: note: 'bool' is a keyword with '-std=c23' onwards ../src/types.h:26:1: warning: useless type name in empty declaration 26 | typedef char bool; | ^~~~~~~ make[1]: *** [TEngine.make:163: ../obj/Release/TEngine/physfs.o] Error 1 make[1]: *** Waiting for unfinished jobs.... particles.c In file included from ../src/particles.c:27: ../src/types.h:26:14: error: 'bool' cannot be defined via 'typedef' 26 | typedef char bool; | ^~~~ ../src/types.h:26:14: note: 'bool' is a keyword with '-std=c23' onwards ../src/types.h:26:1: warning: useless type name in empty declaration 26 | typedef char bool; | ^~~~~~~ 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 [-Wcompare-distinct-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_init': ../src/particles.c:796:82: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 796 | printf("Particle args init error %x (%s): %s\n", (int)l, ps->args, lua_tostring(L, -1)); | ^ ../src/particles.c:844:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 844 | printf("Particle run error %x (%s): %s\n", (int)l, ps->args, lua_tostring(L, -1)); | ^ ../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/include/SDL2/SDL_stdinc.h:42, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:31, from ../src/tSDL.h:12, from ../src/display_sdl.h:24, from ../src/display.h:23, from ../src/particles.c:21: /usr/include/stdlib.h:687:25: note: expected 'void *' but argument is of type 'const char *' 687 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ ../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; } | ~~^~~~~~~~~~ /usr/include/stdlib.h:687:25: note: expected 'void *' but argument is of type 'const char *' 687 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ ../src/particles.c: In function 'free_particles_thread': ../src/particles.c:1181:86: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1181 | printf("Destroying particle thread %d (waiting for thread %x)\n", i, (int)pt->thread); | ^ In file included from ../src/particles.c:33: ../src/SFMT.h: 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); | ^~~~~~~~~~ ../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); | ^~~~~~~~~~~~ make[1]: *** [TEngine.make:167: ../obj/Release/TEngine/particles.o] Error 1 fov.c In file included from ../src/fov.c:27: ../src/types.h:26:14: error: 'bool' cannot be defined via 'typedef' 26 | typedef char bool; | ^~~~ ../src/types.h:26:14: note: 'bool' is a keyword with '-std=c23' onwards ../src/types.h:26:1: warning: useless type name in empty declaration 26 | typedef char bool; | ^~~~~~~ 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); | ^~~~~~~~~~~~ make[1]: *** [TEngine.make:155: ../obj/Release/TEngine/fov.o] Error 1 glew.c make: *** [Makefile:17: TEngine] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jZyx0N (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jZyx0N (%build) I: [iurt_root_command] ERROR: chroot