D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/t-engine4-1.5.10-3.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.UWGFRM + 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.5.10 + /usr/bin/tar -xof - + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/t-engine4-1.5.10.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd t-engine4-1.5.10 + /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 + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/t-engine4-1.5.10-fix_conflicting_glext.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.3blkBJ + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd t-engine4-1.5.10 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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... Done. + make config=release ==== Building physfs (release) ==== Creating ../bin/Release Creating ../obj/Release/physfs physfs_byteorder.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 physfs_unicode.c inftrees.c ioapi.c compress.c 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 trees.c gzclose.c infback.c inflate.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 crc32.c inffast.c uncompr.c mzip.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 */ | ^~~~~ zutil.c deflate.c adler32.c 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), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; | ^~~~ zip.c dir.c unix.c posix.c Linking physfs ==== Building minilua (release) ==== Creating ../obj/Release/minilua minilua.c Linking minilua Running post-build commands cp ../bin/Release/minilua ../src/luajit2/src/host/ ==== 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 buildvm_asm.c buildvm_lib.c buildvm.c buildvm_peobj.c buildvm_fold.c Linking buildvm Running post-build commands cp ../bin/Release/buildvm ../src/luajit2/src/ ==== Building luajit2 (release) ==== Creating ../obj/Release/luajit2 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 lj_carith.c lj_cconv.c lj_err.c lib_base.c lj_dispatch.c lj_opt_mem.c lj_ffrecord.c lj_opt_fold.c lj_ccall.c lj_snap.c lj_udata.c lj_opt_split.c lj_ccallback.c lib_os.c lj_vmmath.c lib_math.c lj_state.c lib_init.c lj_cparse.c lj_asm.c lj_opt_narrow.c lj_record.c lj_bc.c lj_bcwrite.c lj_opt_sink.c lj_obj.c lib_bit.c lj_lex.c lj_crecord.c lib_ffi.c lib_io.c lj_tab.c lib_jit.c lib_aux.c lj_gc.c lib_package.c lj_ctype.c lj_debug.c lj_meta.c lj_api.c lj_str.c lj_mcode.c lj_func.c lj_vmevent.c lj_trace.c lj_lib.c lj_strscan.c lj_cdata.c lib_string.c lj_bcread.c lj_char.c lj_alloc.c lib_debug.c lj_parse.c lj_gdbjit.c lj_opt_dce.c lj_load.c lj_opt_loop.c lib_table.c lj_clib.c lj_ir.c lj_vm.s Linking luajit2 ==== Building fov (release) ==== Creating ../obj/Release/fov fov.c Linking fov ==== Building luasocket (release) ==== Creating ../obj/Release/luasocket auxiliar.c buffer.c except.c inet.c io.c luasocket.c options.c select.c tcp.c timeout.c udp.c usocket.c mime.c Linking luasocket ==== Building luaprofiler (release) ==== Creating ../obj/Release/luaprofiler function_meter.c clocks.c core_profiler.c lua50_profiler.c stack.c Linking luaprofiler ==== Building lpeg (release) ==== Creating ../obj/Release/lpeg 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 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 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 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 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 Linking lpeg ==== Building tcodimport (release) ==== Creating ../obj/Release/tcodimport 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 xmltok.c xmlparse.c xmlrole.c xmltok_impl.c xmltok_ns.c Linking expatstatic ==== Building luamd5 (release) ==== Creating ../obj/Release/luamd5 ldes56.c md5.c md5lib.c des56.c Linking luamd5 ==== Building luazlib (release) ==== Creating ../obj/Release/luazlib lzlib.c lgzip.c Linking luazlib ==== Building luabitop (release) ==== Creating ../obj/Release/luabitop bit.c Linking luabitop ==== Building te4-bzip (release) ==== Creating ../obj/Release/te4-bzip compress.c blocksort.c crctable.c randtable.c huffman.c bzlib.c decompress.c Linking te4-bzip ==== Building TEngine (release) ==== Creating ../obj/Release/TEngine 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); | ^~~~~~~~~~~~ getself.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) { | ^~~ wait.c profile.c bspatch.c 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); | ^~~~~~~~~~~~ main.c ../src/main.c: In function 'stackDump': ../src/main.c:231:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 231 | { 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); | ^~~~~~~~~~~~ physfs.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: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_particles': ../src/particles.c:1042:2: warning: implicit declaration of function 'luaopen_shaders'; did you mean 'luaopen_base'? [-Wimplicit-function-declaration] 1042 | luaopen_shaders(L); | ^~~~~~~~~~~~~~~ | luaopen_base ../src/particles.c: In function 'free_particles_thread': ../src/particles.c:1173:72: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1173 | 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); | ^~~~~~~~~~~~ struct.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); | ^~~~~~~~~~~~ glew.c 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); | ^~~~~~~~~~~~ discord-te4.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); | ^~~~~~~~~~~~ core_lua.c In file included from ../src/core_lua.c:24: ../src/core_lua.c: In function 'lua_key_set_clipboard': ../src/luajit2/src/lauxlib.h:97:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 97 | #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:32: ../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); | ^~~~~~~~~~~~ sdnoise1234.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); | ^~~~~~~~~~~~ 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); | ^~~~~~~~~~~~ music.c display_sdl.c Linking TEngine /usr/bin/ld: ../bin/Release/libluaprofiler.a(core_profiler.o): in function `lprofP_init_core_profiler': /home/iurt/rpmbuild/BUILD/t-engine4-1.5.10/build/../src/luaprofiler/core_profiler.c:134: 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.gjDdTJ + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64 + cd t-engine4-1.5.10 + '[' 1 -eq 1 ']' + cat + install -D -m755 t-engine /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64/usr/share/games/t-engine4/t-engine + install -D -m755 t-engine-script /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64/usr/games/t-engine + install -d /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64/usr/share/games/t-engine4 + cp -r bootstrap game /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64/usr/share/games/t-engine4/ + unzip -oj -qq game/engines/te4-1.5.10.teae data/gfx/te4-icon.png -d . + install -D -m644 te4-icon.png /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64/usr/share/icons/hicolor/64x64/apps/t-engine4.png + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.5.10-3.mga8 --unique-debug-suffix -1.5.10-3.mga8.x86_64 --unique-debug-src-base t-engine4-1.5.10-3.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/t-engine4-1.5.10 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64/usr/share/games/t-engine4/t-engine extracting debug info from /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64/usr/share/games/t-engine4/t-engine original debug info size: 8084kB, size after compression: 7436kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 11387 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 *** WARNING: ./usr/src/debug/t-engine4-1.5.10-3.mga8.x86_64/src/expat/xmltok.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.5.10-3.mga8.x86_64/src/expat/expat.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.5.10-3.mga8.x86_64/src/expat/expat_external.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.5.10-3.mga8.x86_64/src/expat/xmltok.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.5.10-3.mga8.x86_64/src/expat/xmlparse.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.5.10-3.mga8.x86_64/src/expat/xmlrole.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.5.10-3.mga8.x86_64/src/expat/nametab.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.5.10-3.mga8.x86_64/src/expat/xmltok_impl.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.5.10-3.mga8.x86_64/src/expat/xmltok_impl.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.5.10-3.mga8.x86_64/src/expat/xmlrole.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/t-engine4-1.5.10-3.mga8.x86_64/src/expat/xmltok_ns.c 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.5.10-3.mga8.x86_64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3KgB3I + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd t-engine4-1.5.10 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64/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.5.10-3.mga8.x86_64/usr/share/doc/t-engine4 + cp -pr CONTRIBUTING /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64/usr/share/doc/t-engine4 + cp -pr COPYING-MEDIA /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64/usr/share/doc/t-engine4 + cp -pr CREDITS /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64/usr/share/doc/t-engine4 + RPM_EC=0 ++ jobs -p + exit 0 Provides: t-engine4 = 1.5.10-3.mga8 t-engine4(x86-64) = 1.5.10-3.mga8 te4 = 1.5.10-3.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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(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.2.5)(64bit) libvorbisfile.so.3()(64bit) Recommends: tome Processing files: t-engine4-debugsource-1.5.10-3.mga8.x86_64 Provides: t-engine4-debugsource = 1.5.10-3.mga8 t-engine4-debugsource(x86-64) = 1.5.10-3.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.5.10-3.mga8.x86_64 Provides: debuginfo(build-id) = e556e9c8f768d3e17e54e1b2af9749fbcecda388 t-engine4-debuginfo = 1.5.10-3.mga8 t-engine4-debuginfo(x86-64) = 1.5.10-3.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: t-engine4-debugsource(x86-64) = 1.5.10-3.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/x86_64/t-engine4-debuginfo-1.5.10-3.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/t-engine4-debugsource-1.5.10-3.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/t-engine4-1.5.10-3.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.LAA0XI + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd t-engine4-1.5.10 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/t-engine4-1.5.10-3.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3Do03K + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf t-engine4-1.5.10 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!