D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/t-engine4-1.7.2-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.UoNWrO + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf t-engine4-1.7.2 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/t-engine4-1.7.2.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd t-engine4-1.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/t-engine4-1.3.1-mga-include-sdl2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/t-engine4-1.4.1-mga-no-stripping.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/iurt/rpmbuild/tmp/rpm-tmp.SXMDuW + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd t-engine4-1.7.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + premake4 --lua=default gmake Building configurations... Running action 'gmake'... Generating Makefile... Generating build/TEngine.make... Generating build/physfs.make... Generating build/luadefault.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 -j8 V=1 VERBOSE=1 config=release CC=gcc CXX=g++ ==== Building physfs (release) ==== ==== Building fov (release) ==== ==== Building luadefault (release) ==== ==== Building luasocket (release) ==== Creating ../bin/Release Creating ../obj/Release/fov ==== Building luaprofiler (release) ==== ==== Building lpeg (release) ==== ==== Building tcodimport (release) ==== Creating ../obj/Release/physfs ==== Building lxp (release) ==== Creating ../obj/Release/luasocket Creating ../obj/Release/tcodimport Creating ../obj/Release/lpeg Creating ../obj/Release/luadefault Creating ../obj/Release/luaprofiler Creating ../obj/Release/lxp lua50_profiler.c auxiliar.c clocks.c buffer.c function_meter.c lpcap.c In file included from ../src/lpeg/lpcap.h:9, from ../src/lpeg/lpcap.c:9: ../src/lpeg/lptypes.h:13: warning: "NDEBUG" redefined 13 | #define NDEBUG | : note: this is the location of the previous definition except.c core_profiler.c stack.c Linking luaprofiler ==== Building expatstatic (release) ==== Creating ../obj/Release/expatstatic inet.c io.c lstrlib.c lxplib.c Linking lxp luasocket.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 luamd5 (release) ==== Creating ../obj/Release/luamd5 loadlib.c lpcode.c In file included from ../src/lpeg/lpcode.c:9: ../src/lpeg/lptypes.h:13: warning: "NDEBUG" redefined 13 | #define NDEBUG | : note: this is the location of the previous definition options.c md5lib.c print.c lpvm.c In file included from ../src/lpeg/lpcap.h:9, from ../src/lpeg/lpvm.c:11: ../src/lpeg/lptypes.h:13: warning: "NDEBUG" redefined 13 | #define NDEBUG | : note: this is the location of the previous definition physfs.c ../src/physfs/physfs.c:76:5: warning: initialization of 'const PHYSFS_ArchiveInfo *' from incompatible pointer type 'const PHYSFS_Archiver *' [-Wincompatible-pointer-types] 76 | &__PHYSFS_Archiver_BIND_PHYSFS, | ^ ../src/physfs/physfs.c:76:5: note: (near initialization for 'supported_types[0]') xmlrole.c ldes56.c select.c lmathlib.c md5.c physfs_byteorder.c lpprint.c In file included from ../src/lpeg/lpprint.c:9: ../src/lpeg/lptypes.h:13: warning: "NDEBUG" redefined 13 | #define NDEBUG | : note: this is the location of the previous definition tcp.c des56.c Linking luamd5 physfsrwops.c timeout.c llex.c lptree.c In file included from ../src/lpeg/lptree.c:12: ../src/lpeg/lptypes.h:13: warning: "NDEBUG" redefined 13 | #define NDEBUG | : note: this is the location of the previous definition Linking lpeg ==== Building luazlib (release) ==== Creating ../obj/Release/luazlib udp.c usocket.c lcode.c ltm.c physfs_unicode.c lgzip.c mime.c inftrees.c Linking luasocket ==== Building luabitop (release) ==== Creating ../obj/Release/luabitop lzlib.c Linking luazlib ==== Building te4-bzip (release) ==== compress.c Creating ../obj/Release/te4-bzip ldo.c bit.c Linking luabitop ==== Building te4-wfc (release) ==== Creating ../obj/Release/te4-wfc gzwrite.c ../src/zlib/gzwrite.c: In function 'gz_comp': ../src/zlib/gzwrite.c:89:20: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 89 | writ = write(state->fd, strm->next_in, put); | ^~~~~ | fwrite ../src/zlib/gzwrite.c: In function 'gzclose_w': ../src/zlib/gzwrite.c:661:9: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 661 | if (close(state->fd) == -1) | ^~~~~ | pclose gzclose.c lvm.c lparser.c bzlib.c xmlparse.c inflate.c lfunc.c mzip.c ltable.c lstate.c lauxlib.c lapi.c crc32.c lopcodes.c uncompr.c ==== Building utf8proc (release) ==== Creating ../obj/Release/utf8proc adler32.c ioapi.c xmltok_impl.c ldblib.c trees.c inffast.c loslib.c zutil.c linit.c lstring.c gzread.c ../src/zlib/gzread.c: In function 'gz_load': ../src/zlib/gzread.c:35:15: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 35 | ret = read(state->fd, buf + *have, get); | ^~~~ | fread ../src/zlib/gzread.c: In function 'gzclose_r': ../src/zlib/gzread.c:651:11: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 651 | ret = close(state->fd); | ^~~~~ | pclose xmltok_ns.c xmltok.c Linking expatstatic utf8proc.c infback.c Linking utf8proc liolib.c gzlib.c ../src/zlib/gzlib.c: In function 'gz_open': ../src/zlib/gzlib.c:14:17: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] 14 | # define LSEEK lseek | ^~~~~ ../src/zlib/gzlib.c:252:9: note: in expansion of macro 'LSEEK' 252 | LSEEK(state->fd, 0, SEEK_END); /* so gzoffset() is correct */ | ^~~~~ 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; | ^~~~ bind_physfs.c ../src/physfs/archivers/bind_physfs.c: In function 'BIND_PHYSFS_openRead': ../src/physfs/archivers/bind_physfs.c:225:36: warning: passing argument 3 of 'doOpen' from incompatible pointer type [-Wincompatible-pointer-types] 225 | return(doOpen(opaque, fnm, PHYSFS_openRead, exist)); | ^~~~~~~~~~~~~~~ | | | PHYSFS_File * (*)(const char *) ../src/physfs/archivers/bind_physfs.c:198:30: note: expected 'void * (*)(const char *)' but argument is of type 'PHYSFS_File * (*)(const char *)' 198 | void *(*openFunc)(const char *filename), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dir.c ldebug.c unix.c zip.c posix.c randtable.c crctable.c lbaselib.c lundump.c deflate.c Linking physfs lzio.c compress.c lobject.c ldump.c huffman.c lmem.c ltablib.c blocksort.c lgc.c Linking luadefault decompress.c Linking te4-bzip lua_wfc.cpp 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); | ^~~~~~~~~~ Linking te4-wfc fov.c Linking fov ==== Building TEngine (release) ==== Creating ../obj/Release/TEngine auxiliar.c physfs.c getself.c 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); | ^~~~~~~~~~~~ music.c 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); | ^~~~~~~~~~~~ serial.c In file included from ../src/display.h:23, from ../src/serial.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); | ^~~~~~~~~~~~ wait.c 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); | ^~~~~~~~~~~~ sdnoise1234.c profile.c struct.c In function 'correctbytes', inlined from 'correctbytes' at ../src/struct.c:155:13, inlined from 'b_pack' at ../src/struct.c:194:9: ../src/struct.c:161:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 161 | b[size] = temp; | ~~~~~~~~^~~~~~ ../src/struct.c: In function 'b_pack': ../src/struct.c:193:15: note: at offset 4 into destination object 'f' of size 4 193 | float f = (float)luaL_checknumber(L, arg++); | ^ In function 'correctbytes', inlined from 'correctbytes' at ../src/struct.c:155:13, inlined from 'b_pack' at ../src/struct.c:194:9: ../src/struct.c:160:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 160 | b[i++] = b[size]; | ~~~~~~~^~~~~~~~~ ../src/struct.c: In function 'b_pack': ../src/struct.c:193:15: note: at offset 4 into destination object 'f' of size 4 193 | float f = (float)luaL_checknumber(L, arg++); | ^ In function 'correctbytes', inlined from 'correctbytes' at ../src/struct.c:155:13, inlined from 'b_pack' at ../src/struct.c:194:9: ../src/struct.c:161:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 161 | b[size] = temp; | ~~~~~~~~^~~~~~ ../src/struct.c: In function 'b_pack': ../src/struct.c:193:15: note: at offset [5, 2147483643] into destination object 'f' of size 4 193 | float f = (float)luaL_checknumber(L, arg++); | ^ In function 'correctbytes', inlined from 'correctbytes' at ../src/struct.c:155:13, inlined from 'b_pack' at ../src/struct.c:194:9: ../src/struct.c:160:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 160 | b[i++] = b[size]; | ~~~~~~~^~~~~~~~~ ../src/struct.c: In function 'b_pack': ../src/struct.c:193:15: note: at offset [5, 1073741823] into destination object 'f' of size 4 193 | float f = (float)luaL_checknumber(L, arg++); | ^ In function 'correctbytes', inlined from 'correctbytes' at ../src/struct.c:155:13, inlined from 'b_pack' at ../src/struct.c:194:9: ../src/struct.c:161:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 161 | b[size] = temp; | ~~~~~~~~^~~~~~ ../src/struct.c: In function 'b_pack': ../src/struct.c:193:15: note: at offset [6, 2147483642] into destination object 'f' of size 4 193 | float f = (float)luaL_checknumber(L, arg++); | ^ In function 'correctbytes', inlined from 'correctbytes' at ../src/struct.c:155:13, inlined from 'b_pack' at ../src/struct.c:194:9: ../src/struct.c:160:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 160 | b[i++] = b[size]; | ~~~~~~~^~~~~~~~~ ../src/struct.c: In function 'b_pack': ../src/struct.c:193:15: note: at offset [6, 1073741823] into destination object 'f' of size 4 193 | float f = (float)luaL_checknumber(L, arg++); | ^ In function 'correctbytes', inlined from 'correctbytes' at ../src/struct.c:155:13, inlined from 'b_pack' at ../src/struct.c:194:9: ../src/struct.c:161:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 161 | b[size] = temp; | ~~~~~~~~^~~~~~ ../src/struct.c: In function 'b_pack': ../src/struct.c:193:15: note: at offset [7, 2147483641] into destination object 'f' of size 4 193 | float f = (float)luaL_checknumber(L, arg++); | ^ discord-te4.c display_sdl.c bspatch.c 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_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:46, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, 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:554:25: note: expected 'void *' but argument is of type 'const char *' 554 | 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; } | ~~^~~~~~~~~~ In file included from /usr/include/SDL2/SDL_stdinc.h:46, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, 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:554:25: note: expected 'void *' but argument is of type 'const char *' 554 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ ../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 ../src/particles.c: In function 'free_particles_thread': ../src/particles.c:1180:86: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1180 | printf("Destroying particle thread %d (waiting for thread %x)\n", i, (int)pt->thread); | ^ 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); | ^~~~~~~~~~~~ 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); | ^~~~~~~~~~~~ main.c ../src/main.c: In function 'stackDump': ../src/main.c:242:75: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 242 | { printf("%d: %s // %x\n", i, lua_typename(L, t), (unsigned int)lua_topointer(L, i)); } | ^ In file included from ../src/main.c:32: ../src/main.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/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); | ^~~~~~~~~~~~ SFMT.c ../src/SFMT.c:493:5: warning: 'idx' is static but used in inline function 'fill_array64' which is not static 493 | idx = N32; | ^~~ ../src/SFMT.c:492:5: warning: 'gen_rand_array' is static but used in inline function 'fill_array64' which is not static 492 | gen_rand_array((w128_t *)array, size / 2); | ^~~~~~~~~~~~~~ ../src/SFMT.c:457:5: warning: 'idx' is static but used in inline function 'fill_array32' which is not static 457 | idx = N32; | ^~~ ../src/SFMT.c:456:5: warning: 'gen_rand_array' is static but used in inline function 'fill_array32' which is not static 456 | gen_rand_array((w128_t *)array, size / 4); | ^~~~~~~~~~~~~~ ../src/SFMT.c:419:5: warning: 'idx' is static but used in inline function 'gen_rand64' which is not static 419 | idx += 2; | ^~~ ../src/SFMT.c:418:17: warning: 'idx' is static but used in inline function 'gen_rand64' which is not static 418 | r = psfmt64[idx / 2]; | ^~~ ../src/SFMT.c:418:9: warning: 'psfmt64' is static but used in inline function 'gen_rand64' which is not static 418 | r = psfmt64[idx / 2]; | ^~~~~~~ ../src/SFMT.c:410:9: warning: 'idx' is static but used in inline function 'gen_rand64' which is not static 410 | idx = 0; | ^~~ ../src/SFMT.c:409:9: warning: 'gen_rand_all' is static but used in inline function 'gen_rand64' which is not static 409 | gen_rand_all(); | ^~~~~~~~~~~~ ../src/SFMT.c:408:9: warning: 'idx' is static but used in inline function 'gen_rand64' which is not static 408 | if (idx >= N32) { | ^~~ noise.c In file included from ../src/display.h:23, from ../src/noise.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 ../src/map.c: In function 'map_set_grid': ../src/map.c:1041:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1041 | lua_pushnumber(L, (int)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); | ^~~~~~~~~~~~ core_lua.c In file included from ../src/core_lua.c:24: ../src/core_lua.c: In function 'lua_key_set_clipboard': ../src/lua/lauxlib.h:102:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | #define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL)) | ^ ../src/core_lua.c:443:21: note: in expansion of macro 'luaL_checkstring' 443 | char *str = luaL_checkstring(L, 1); | ^~~~~~~~~~~~~~~~ In file included from ../src/core_lua.c:31: ../src/core_lua.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/core_lua.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 Linking TEngine /usr/bin/ld: ../bin/Release/liblua.a(loslib.o): in function `os_tmpname': /home/iurt/rpmbuild/BUILD/t-engine4-1.7.2/build/../src/lua/loslib.c:60: warning: the use of `tmpnam' is dangerous, better use `mkstemp' Running post-build commands cp ../bin/Release/t-engine ../ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.U36Rby + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64 + cd t-engine4-1.7.2 + '[' 1 -eq 1 ']' + cat + install -D -m755 t-engine /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64/usr/share/games/t-engine4/t-engine + install -D -m755 t-engine-script /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64/usr/games/t-engine + install -d /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64/usr/share/games/t-engine4 + cp -r bootstrap game /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64/usr/share/games/t-engine4/ + unzip -oj -qq game/engines/te4-1.7.2.teae data/gfx/te4-icon.png -d . + install -D -m644 te4-icon.png /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64/usr/share/icons/hicolor/64x64/apps/t-engine4.png + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.7.2-1.mga9 --unique-debug-suffix -1.7.2-1.mga9.aarch64 --unique-debug-src-base t-engine4-1.7.2-1.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/t-engine4-1.7.2 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64/usr/share/games/t-engine4/t-engine dwz: ./usr/share/games/t-engine4/t-engine-1.7.2-1.mga9.aarch64.debug: Unknown debugging section .debug_line_str original debug info size: 5552kB, size after compression: 5552kB /usr/bin/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. 11841 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga9.aarch64/src/expat/xmltok_ns.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga9.aarch64/src/expat/xmltok_impl.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga9.aarch64/src/expat/xmltok_impl.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga9.aarch64/src/expat/xmltok.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga9.aarch64/src/expat/xmltok.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga9.aarch64/src/expat/xmlrole.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga9.aarch64/src/expat/xmlrole.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga9.aarch64/src/expat/xmlparse.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga9.aarch64/src/expat/nametab.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga9.aarch64/src/expat/expat_external.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga9.aarch64/src/expat/expat.h is executable but has no shebang, removing executable bit mangling shebang in /usr/games/t-engine from /bin/sh to #!/usr/bin/sh Processing files: t-engine4-1.7.2-1.mga9.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.qJQGx3 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd t-engine4-1.7.2 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64/usr/share/doc/t-engine4 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64/usr/share/doc/t-engine4 + cp -pr CONTRIBUTING /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64/usr/share/doc/t-engine4 + cp -pr COPYING-MEDIA /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64/usr/share/doc/t-engine4 + cp -pr CREDITS /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64/usr/share/doc/t-engine4 + RPM_EC=0 ++ jobs -p + exit 0 Provides: t-engine4 = 1.7.2-1.mga9 t-engine4(aarch-64) = 1.7.2-1.mga9 te4 = 1.7.2-1.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libGL.so.1()(64bit) libGLU.so.1()(64bit) libSDL2-2.0.so.0()(64bit) libSDL2_image-2.0.so.0()(64bit) libSDL2_ttf-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libopenal.so.1()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libvorbisfile.so.3()(64bit) Recommends: tome Processing files: t-engine4-debugsource-1.7.2-1.mga9.aarch64 Provides: t-engine4-debugsource = 1.7.2-1.mga9 t-engine4-debugsource(aarch-64) = 1.7.2-1.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: t-engine4-debuginfo-1.7.2-1.mga9.aarch64 Provides: debuginfo(build-id) = 71f4d0436c91cd4567e6eb134770b8cf4510c0cb t-engine4-debuginfo = 1.7.2-1.mga9 t-engine4-debuginfo(aarch-64) = 1.7.2-1.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: t-engine4-debugsource(aarch-64) = 1.7.2-1.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/t-engine4-debuginfo-1.7.2-1.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/t-engine4-debugsource-1.7.2-1.mga9.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/t-engine4-1.7.2-1.mga9.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.V8Yg2S + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd t-engine4-1.7.2 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.4aFBLQ + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf t-engine4-1.7.2 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!