D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/t-engine4-1.7.2-1.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.mGew5u + 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/tar -xof - + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/t-engine4-1.7.2.tar.xz + 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 + /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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.CYSrcv + 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 luadefault (release) ==== ==== Building fov (release) ==== ==== Building luasocket (release) ==== ==== Building luaprofiler (release) ==== Creating ../bin/Release Creating ../bin/Release Creating ../obj/Release/fov Creating ../obj/Release/luadefault Creating ../bin/Release Creating ../obj/Release/luasocket Creating ../obj/Release/physfs Creating ../obj/Release/luaprofiler ==== Building lpeg (release) ==== Creating ../obj/Release/lpeg stack.c ltm.c auxiliar.c physfs_unicode.c core_profiler.c lbaselib.c clocks.c buffer.c ldebug.c except.c lua50_profiler.c inet.c ldblib.c function_meter.c io.c Linking luaprofiler ==== Building tcodimport (release) ==== Creating ../obj/Release/tcodimport luasocket.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 lauxlib.c options.c 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]') physfsrwops.c select.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_byteorder.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 */ | ^~~~~ 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 lvm.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 timeout.c tcp.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 udp.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 ltablib.c Linking lpeg 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 ==== Building expatstatic (release) ==== linit.c Creating ../obj/Release/expatstatic usocket.c mime.c xmltok_impl.c Linking luasocket ==== Building luamd5 (release) ==== lxplib.c Creating ../obj/Release/luamd5 Linking lxp lmathlib.c zutil.c gzclose.c md5lib.c ldes56.c llex.c des56.c ioapi.c lcode.c md5.c ldo.c Linking luamd5 deflate.c inftrees.c mzip.c lobject.c inflate.c trees.c uncompr.c ==== Building luazlib (release) ==== Creating ../obj/Release/luazlib lzio.c print.c crc32.c adler32.c lzlib.c lgzip.c Linking luazlib 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 compress.c inffast.c infback.c dir.c lfunc.c subzip.c ../src/physfs/archivers/subzip.c: In function 'SUBZIP_openArchive': ../src/physfs/archivers/subzip.c:112:15: 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:29: 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), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c loslib.c ==== Building luabitop (release) ==== Creating ../obj/Release/luabitop lgc.c posix.c zip.c Linking physfs ==== Building te4-bzip (release) ==== xmltok_ns.c bit.c Creating ../obj/Release/te4-bzip ltable.c Linking luabitop ==== Building te4-wfc (release) ==== Creating ../obj/Release/te4-wfc xmlrole.c ==== Building utf8proc (release) ==== Creating ../obj/Release/utf8proc lstate.c huffman.c loadlib.c lparser.c lmem.c ldump.c lopcodes.c utf8proc.c liolib.c Linking utf8proc lstrlib.c bzlib.c lundump.c lstring.c crctable.c xmltok.c randtable.c lapi.c Linking luadefault decompress.c blocksort.c xmlparse.c Linking expatstatic compress.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 discord-te4.c bspatch.c auxiliar.c 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:2: warning: 'idx' is static but used in inline function 'gen_rand64' which is not static 410 | idx = 0; | ^~~ ../src/SFMT.c:409:2: 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) { | ^~~ profile.c getself.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 0 to object 'f' with size 4 declared here 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 0 to object 'f' with size 4 declared here 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 0 to object 'f' with size 4 declared here 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 0 to object 'f' with size 4 declared here 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 0 to object 'f' with size 4 declared here 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 0 to object 'f' with size 4 declared here 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 0 to object 'f' with size 4 declared here 193 | float f = (float)luaL_checknumber(L, arg++); | ^ 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); | ^~~~~~~~~~~~ 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); | ^~~~~~~~~~~~ physfs.c music.c web.c ../src/web.c: In function 'te4_web_load': ../src/web.c:593:3: 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); | ^~~~~~~~~~~~ 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 wait.c 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); | ^~~~~~~~~~~~ main.c ../src/main.c: In function 'stackDump': ../src/main.c:242:54: 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); | ^~~~~~~~~~~~ display_sdl.c 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); | ^~~~~~~~~~~~ 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:10: 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:2: note: in expansion of macro 'glTexCoordPointer' 441 | glTexCoordPointer(2, GL_SHORT, 0, texcoords); | ^~~~~~~~~~~~~~~~~ ../src/tgl.h:86:119: 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:2: 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:54: 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:47: 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:26: 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:565:25: note: expected 'void *' but argument is of type 'const char *' 565 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ ../src/particles.c:1027:30: 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:565:25: note: expected 'void *' but argument is of type 'const char *' 565 | extern void free (void *__ptr) __THROW; | ~~~~~~^~~~~ ../src/particles.c: In function 'thread_particles': ../src/particles.c:1049:2: 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:72: 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); | ^~~~~~~~~~~~ map.c ../src/map.c: In function 'map_set_grid': ../src/map.c:1041:23: 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:31: 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:14: 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.TxNYUu + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.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.mga8.aarch64/usr/share/games/t-engine4/t-engine + install -D -m755 t-engine-script /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.aarch64/usr/games/t-engine + install -d /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.aarch64/usr/share/games/t-engine4 + cp -r bootstrap game /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.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.mga8.aarch64/usr/share/icons/hicolor/64x64/apps/t-engine4.png + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.7.2-1.mga8 --unique-debug-suffix -1.7.2-1.mga8.aarch64 --unique-debug-src-base t-engine4-1.7.2-1.mga8.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 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.aarch64/usr/share/games/t-engine4/t-engine extracting debug info from /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.aarch64/usr/share/games/t-engine4/t-engine original debug info size: 7308kB, size after compression: 6964kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 11837 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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/games/t-engine from /bin/sh to #!/usr/bin/sh *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga8.aarch64/src/expat/nametab.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga8.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.mga8.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.mga8.aarch64/src/expat/expat.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga8.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.mga8.aarch64/src/expat/xmltok.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga8.aarch64/src/expat/xmltok.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga8.aarch64/src/expat/xmlrole.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga8.aarch64/src/expat/xmlrole.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.7.2-1.mga8.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.mga8.aarch64/src/expat/xmlparse.c is executable but has no shebang, removing executable bit Processing files: t-engine4-1.7.2-1.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.vRpxFs + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd t-engine4-1.7.2 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.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.mga8.aarch64/usr/share/doc/t-engine4 + cp -pr CONTRIBUTING /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.aarch64/usr/share/doc/t-engine4 + cp -pr COPYING-MEDIA /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.aarch64/usr/share/doc/t-engine4 + cp -pr CREDITS /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.aarch64/usr/share/doc/t-engine4 + RPM_EC=0 ++ jobs -p + exit 0 Provides: t-engine4 = 1.7.2-1.mga8 t-engine4(aarch-64) = 1.7.2-1.mga8 te4 = 1.7.2-1.mga8 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) libdl.so.2()(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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(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) libvorbisfile.so.3()(64bit) Recommends: tome Processing files: t-engine4-debugsource-1.7.2-1.mga8.aarch64 Provides: t-engine4-debugsource = 1.7.2-1.mga8 t-engine4-debugsource(aarch-64) = 1.7.2-1.mga8 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.mga8.aarch64 Provides: debuginfo(build-id) = 6dac404f4e2f049d5c7f151e4078d1071a8cc2de t-engine4-debuginfo = 1.7.2-1.mga8 t-engine4-debuginfo(aarch-64) = 1.7.2-1.mga8 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.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.7.2-1.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/t-engine4-debuginfo-1.7.2-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/t-engine4-debugsource-1.7.2-1.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/t-engine4-1.7.2-1.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.xHLTAu + 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.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.QoL9hr + 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!