D: [iurt_root_command] chroot warning: Macro expanded in comment on line 9: %{name}-%{version}.tar.gz warning: Macro expanded in comment on line 11: %{name}-%{version}.tar.gz warning: Macro expanded in comment on line 12: %{name}-%{version}.tar.gz warning: Macro expanded in comment on line 13: %{name}-data-%{version} warning: Macro expanded in comment on line 14: %{name}-%{version} warning: Macro expanded in comment on line 15: %{name}-data-%{version}/ warning: Macro expanded in comment on line 17: %{name}-%{version}.tar.xz %{name}-%{version}/ warning: Macro expanded in comment on line 18: %{name}-data-%{version}.tar.xz %{name}-data-%{version}/ warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/egoboo-2.8.1-11.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3xeJKA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf egoboo-2.8.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/egoboo-2.8.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd egoboo-2.8.1 + rm -rf /home/pterjan/rpmbuild/BUILD/egoboo-2.8.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/egoboo-2.8.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (egoboo-2.8.1-mageia-rediff-add-destdir.patch):' Patch #1 (egoboo-2.8.1-mageia-rediff-add-destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .destdir~ --fuzz=0 patching file Makefile + echo 'Patch #4 (egoboo-2.8.0-create-enet-lib-directory.patch):' Patch #4 (egoboo-2.8.0-create-enet-lib-directory.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .enet_lib~ --fuzz=0 patching file ./enet/Makefile + echo 'Patch #6 (egoboo-2.8.0-disable-unsupported-gl-extension.patch):' Patch #6 (egoboo-2.8.0-disable-unsupported-gl-extension.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gl_ext~ --fuzz=0 patching file game/extensions/SDL_extensions.c + echo 'Patch #7 (egoboo-2.8.1-mandriva-use-datadir-for-config.patch):' Patch #7 (egoboo-2.8.1-mandriva-use-datadir-for-config.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file game/platform/file_linux.c + perl -pi.add_lm -e 's/(-l)/-lm $1/ if /^LDFLAGS :=/' game/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JJTCAJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd egoboo-2.8.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 -C enet 'OPT=-Wall -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' make: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' gcc -Wall -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 -Iinclude -c -o list.o list.c make: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' make: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' gcc -Wall -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 -Iinclude -c -o memory.o memory.c make: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' make: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' gcc -Wall -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 -Iinclude -c -o packet.o packet.c make: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' make: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' gcc -Wall -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 -Iinclude -c -o host.o host.c make: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' make: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' gcc -Wall -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 -Iinclude -c -o unix.o unix.c make: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' make: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' gcc -Wall -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 -Iinclude -c -o peer.o peer.c make: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' make: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' gcc -Wall -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 -Iinclude -c -o protocol.o protocol.c make: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' make: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' mkdir -p lib ar -rcs ./lib/libenet.a host.o list.o memory.o packet.o peer.o protocol.o unix.o make: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/enet' + /usr/bin/make -O -j16 V=1 VERBOSE=1 all 'OPT=-DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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' make -C ./game all PREFIX=/usr PROJ_NAME=egoboo make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o client.o client.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o egoboo_endian.o egoboo_endian.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o egoboo_vfs.o egoboo_vfs.c egoboo_vfs.c: In function 'vfs_resolveReadFilename': egoboo_vfs.c:534:5: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] 534 | if ( PHYSFS_isDirectory( loc_fname ) ) | ^~ In file included from egoboo_vfs.c:33: /usr/include/physfs.h:1189:17: note: declared here 1189 | PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~ egoboo_vfs.c: In function 'vfs_error': egoboo_vfs.c:917:9: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] 917 | retval = ( NULL != PHYSFS_getLastError() ); | ^~~~~~ /usr/include/physfs.h:675:25: note: declared here 675 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ egoboo_vfs.c: In function 'vfs_isDirectory': egoboo_vfs.c:1048:5: warning: 'PHYSFS_isDirectory' is deprecated [-Wdeprecated-declarations] 1048 | return PHYSFS_isDirectory( vfs_convert_fname( fname ) ); | ^~~~~~ /usr/include/physfs.h:1189:17: note: declared here 1189 | PHYSFS_DECL int PHYSFS_isDirectory(const char *fname) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~ egoboo_vfs.c: In function 'vfs_read': egoboo_vfs.c:1070:9: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] 1070 | int retval = PHYSFS_read( pfile->ptr.p, buffer, size, count ); | ^~~ /usr/include/physfs.h:1363:27: note: declared here 1363 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ egoboo_vfs.c: In function 'vfs_write': egoboo_vfs.c:1098:9: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] 1098 | retval = PHYSFS_write( pfile->ptr.p, buffer, size, count ); | ^~~~~~ /usr/include/physfs.h:1392:27: note: declared here 1392 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ egoboo_vfs.c: In function 'vfs_read_Sint64': egoboo_vfs.c:1254:50: error: passing argument 2 of 'PHYSFS_readSLE64' from incompatible pointer type [-Wincompatible-pointer-types] 1254 | retval = PHYSFS_readSLE64( pfile->ptr.p, val ); | ^~~ | | | Sint64 * {aka long int *} /usr/include/physfs.h:1842:68: note: expected 'PHYSFS_sint64 *' {aka 'long long int *'} but argument is of type 'Sint64 *' {aka 'long int *'} 1842 | PHYSFS_DECL int PHYSFS_readSLE64(PHYSFS_File *file, PHYSFS_sint64 *val); | ~~~~~~~~~~~~~~~^~~ egoboo_vfs.c: In function 'vfs_read_Uint64': egoboo_vfs.c:1286:50: error: passing argument 2 of 'PHYSFS_readULE64' from incompatible pointer type [-Wincompatible-pointer-types] 1286 | retval = PHYSFS_readULE64( pfile->ptr.p, val ); | ^~~ | | | Uint64 * {aka long unsigned int *} /usr/include/physfs.h:1861:68: note: expected 'PHYSFS_uint64 *' {aka 'long long unsigned int *'} but argument is of type 'Uint64 *' {aka 'long unsigned int *'} 1861 | PHYSFS_DECL int PHYSFS_readULE64(PHYSFS_File *file, PHYSFS_uint64 *val); | ~~~~~~~~~~~~~~~^~~ egoboo_vfs.c: In function 'fake_physfs_vprintf': egoboo_vfs.c:1423:9: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] 1423 | written = PHYSFS_write( pfile, buffer, sizeof( char ), written ); | ^~~~~~~ /usr/include/physfs.h:1392:27: note: declared here 1392 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ egoboo_vfs.c: In function '_vfs_copyFile': egoboo_vfs.c:1853:9: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] 1853 | bytes_read = PHYSFS_read( sourcef, buf, sizeof( char ), SDL_arraysize( buf ) ); | ^~~~~~~~~~ /usr/include/physfs.h:1363:27: note: declared here 1363 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ egoboo_vfs.c:1854:9: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] 1854 | PHYSFS_write( destf, buf, sizeof( char ), bytes_read ); | ^~~~~~~~~~~~ /usr/include/physfs.h:1392:27: note: declared here 1392 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ egoboo_vfs.c: In function 'vfs_copyDirectory': egoboo_vfs.c:1918:18: warning: variable 'real_dst' set but not used [-Wunused-but-set-variable] 1918 | const char * real_dst; | ^~~~~~~~ egoboo_vfs.c: In function 'vfs_getc': egoboo_vfs.c:2005:9: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] 2005 | retval = PHYSFS_read( pfile->ptr.p, &cTmp, 1, sizeof( cTmp ) ); | ^~~~~~ /usr/include/physfs.h:1363:27: note: declared here 1363 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ egoboo_vfs.c: In function 'vfs_putc': egoboo_vfs.c:2029:9: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] 2029 | retval = PHYSFS_write( pfile->ptr.p, &c, 1, sizeof( char ) ); | ^~~~~~ /usr/include/physfs.h:1392:27: note: declared here 1392 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ egoboo_vfs.c: In function 'vfs_puts': egoboo_vfs.c:2052:9: warning: 'PHYSFS_write' is deprecated [-Wdeprecated-declarations] 2052 | retval = PHYSFS_write( pfile->ptr.p, str, len + 1, sizeof( char ) ); | ^~~~~~ /usr/include/physfs.h:1392:27: note: declared here 1392 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_write(PHYSFS_File *handle, | ^~~~~~~~~~~~ egoboo_vfs.c: In function 'vfs_gets': egoboo_vfs.c:2083:9: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] 2083 | iTmp = PHYSFS_read( pfile->ptr.p, &cTmp, 1, sizeof( cTmp ) ); | ^~~~ /usr/include/physfs.h:1363:27: note: declared here 1363 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ egoboo_vfs.c:2094:13: warning: 'PHYSFS_read' is deprecated [-Wdeprecated-declarations] 2094 | iTmp = PHYSFS_read( pfile->ptr.p, &cTmp, 1, sizeof( cTmp ) ); | ^~~~ /usr/include/physfs.h:1363:27: note: declared here 1363 | PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle, | ^~~~~~~~~~~ egoboo_vfs.c: In function 'vfs_getError': egoboo_vfs.c:2247:5: warning: 'PHYSFS_getLastError' is deprecated [-Wdeprecated-declarations] 2247 | physfs_error = PHYSFS_getLastError(); | ^~~~~~~~~~~~ /usr/include/physfs.h:675:25: note: declared here 675 | PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED; | ^~~~~~~~~~~~~~~~~~~ egoboo_vfs.c:2236:12: warning: variable 'is_error' set but not used [-Wunused-but-set-variable] 2236 | bool_t is_error; | ^~~~~~~~ egoboo_vfs.c: In function 'vfs_remove_mount_point': egoboo_vfs.c:2334:9: warning: 'PHYSFS_removeFromSearchPath' is deprecated [-Wdeprecated-declarations] 2334 | PHYSFS_removeFromSearchPath( _vfs_mount_info[cnt].full_path ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:908:17: note: declared here 908 | PHYSFS_DECL int PHYSFS_removeFromSearchPath(const char *oldDir) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ egoboo_vfs.c: In function 'vfs_set_base_search_paths': egoboo_vfs.c:2598:5: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] 2598 | PHYSFS_addToSearchPath( fs_getUserDirectory(), 0 ); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:881:17: note: declared here 881 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) | ^~~~~~~~~~~~~~~~~~~~~~ egoboo_vfs.c:2601:5: warning: 'PHYSFS_addToSearchPath' is deprecated [-Wdeprecated-declarations] 2601 | PHYSFS_addToSearchPath( fs_getDataDirectory(), 1 ); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/physfs.h:881:17: note: declared here 881 | PHYSFS_DECL int PHYSFS_addToSearchPath(const char *newDir, int appendToPath) | ^~~~~~~~~~~~~~~~~~~~~~ egoboo_vfs.c: In function '_vfs_vfscanf': egoboo_vfs.c:2178:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 2178 | fscanf( file, sub_format, NULL ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ egoboo_vfs.c: At top level: egoboo_vfs.c:1826:15: warning: '_vfs_copyFile' defined but not used [-Wunused-function] 1826 | static bool_t _vfs_copyFile( const char *source, const char *dest ) | ^~~~~~~~~~~~~ make[1]: *** [: egoboo_vfs.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o clock.o clock.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o egoboo_math.o egoboo_math.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o file_common.o file_common.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o egoboo_strutil.o egoboo_strutil.c egoboo_strutil.c: In function 'str_add_linebreaks': egoboo_strutil.c:332:28: warning: comparison between pointer and zero character constant [-Wpointer-compare] 332 | else if ( CSTR_END == text ) | ^~ egoboo_strutil.c:332:31: note: did you mean to dereference the pointer? 332 | else if ( CSTR_END == text ) | ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o font_bmp.o font_bmp.c font_bmp.c: In function 'font_bmp_load_vfs': font_bmp.c:79:37: warning: variable 'ydiv' set but not used [-Wunused-but-set-variable] 79 | int cnt, y, xsize, ysize, xdiv, ydiv; | ^~~~ font_bmp.c:79:31: warning: variable 'xdiv' set but not used [-Wunused-but-set-variable] 79 | int cnt, y, xsize, ysize, xdiv, ydiv; | ^~~~ font_bmp.c:79:14: warning: variable 'y' set but not used [-Wunused-but-set-variable] 79 | int cnt, y, xsize, ysize, xdiv, ydiv; | ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o egoboo_console.o egoboo_console.c egoboo_console.c: In function 'egoboo_console_add_output': egoboo_console.c:128:21: warning: variable 'copy_len' set but not used [-Wunused-but-set-variable] 128 | size_t out_len, copy_len; | ^~~~~~~~ egoboo_console.c: In function 'egoboo_console_create': egoboo_console.c:199:14: warning: variable 'local_allocation' set but not used [-Wunused-but-set-variable] 199 | SDL_bool local_allocation = SDL_FALSE; | ^~~~~~~~~~~~~~~~ egoboo_console.c: In function 'egoboo_console_handle_events': egoboo_console.c:587:21: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 587 | strncpy( pcon->buffer, pcon->save_buffer[pcon->save_index], SDL_arraysize( pcon->buffer ) ); | ^ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o egoboo_typedef.o egoboo_typedef.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o egoboo_setup.o egoboo_setup.c egoboo_setup.c: In function 'setup_download': egoboo_setup.c:77:18: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 77 | strncpy( (var), lTempStr, (len) ); \ | ^~~~~ ~~~~~~~~ egoboo_setup.c:283:5: note: in expansion of macro 'GetKey_string' 283 | GetKey_string( "TEXTURE_FILTERING", lTempStr, 24, "LINEAR" ); | ^~~~~~~~~~~~~ egoboo_setup.c:77:18: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 77 | strncpy( (var), lTempStr, (len) ); \ | ^~~~~ ~~~~~~~~ egoboo_setup.c:340:5: note: in expansion of macro 'GetKey_string' 340 | GetKey_string( "DIFFICULTY_MODE", lTempStr, 24, "NORMAL" ); | ^~~~~~~~~~~~~ egoboo_setup.c:77:18: warning: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Wrestrict] 77 | strncpy( (var), lTempStr, (len) ); \ | ^~~~~ ~~~~~~~~ egoboo_setup.c:351:5: note: in expansion of macro 'GetKey_string' 351 | GetKey_string( "AUTOTURN_CAMERA", lTempStr, 24, "GOOD" ); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from /usr/include/SDL/SDL_stdinc.h:35, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from egoboo_platform.h:26, from egoboo_config.h:95, from egoboo_typedef.h:25, from egoboo_setup.h:22, from egoboo_setup.c:24: In function 'strncpy', inlined from 'setup_download' at egoboo_setup.c:283:5: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' source argument is the same as destination [-Wrestrict] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'setup_download' at egoboo_setup.c:340:5: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' source argument is the same as destination [-Wrestrict] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'setup_download' at egoboo_setup.c:351:5: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' source argument is the same as destination [-Wrestrict] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o egoboo_fileutil.o egoboo_fileutil.c egoboo_fileutil.c: In function 'fget_idsz': egoboo_fileutil.c:58:14: warning: variable 'fpos' set but not used [-Wunused-but-set-variable] 58 | long fpos; | ^~~~ egoboo_fileutil.c: In function 'fget_name': egoboo_fileutil.c:292:52: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 292 | snprintf( format, SDL_arraysize( format ), "%%%ds", max_len - 1 ); | ~^ ~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld egoboo_fileutil.c: In function 'fget_range': egoboo_fileutil.c:538:10: warning: variable 'fpos' set but not used [-Wunused-but-set-variable] 538 | long fpos; | ^~~~ egoboo_fileutil.c: In function 'fget_version': egoboo_fileutil.c:636:12: warning: variable 'newline' set but not used [-Wunused-but-set-variable] 636 | bool_t newline, iscomment; | ^~~~~~~ egoboo_fileutil.c: In function 'fget_string': egoboo_fileutil.c:811:60: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 811 | snprintf( format_str, SDL_arraysize( format_str ), "%%%ds", str_len - 1 ); | ~^ ~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld egoboo_fileutil.c: In function 'ego_texture_load_vfs': egoboo_fileutil.c:973:12: warning: variable 'tx_target' set but not used [-Wunused-but-set-variable] 973 | GLenum tx_target; | ^~~~~~~~~ egoboo_fileutil.c:985:63: warning: '%s' directive output may be truncated writing up to 5119 bytes into a region of size 256 [-Wformat-truncation=] 985 | snprintf( fullname, SDL_arraysize( fullname ), "%s%s", filename, TxFormatSupported[type] ); | ^~ In file included from /usr/include/stdio.h:980, from /usr/include/SDL/SDL_stdinc.h:33, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from egoboo_platform.h:26, from egoboo_config.h:95, from egoboo_typedef.h:25, from egoboo_fileutil.h:24, from egoboo_fileutil.c:24: In function 'snprintf', inlined from 'ego_texture_load_vfs' at egoboo_fileutil.c:985:13: /usr/include/bits/stdio2.h:54:10: note: '__builtin___snprintf_chk' output 1 or more bytes (assuming 5120) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o bbox.o bbox.c bbox.c:58:18: warning: 'cv_list' defined but not used [-Wunused-variable] 58 | static OVolume_t cv_list[1000]; | ^~~~~~~ bbox.c:57:18: warning: 'cv_list_count' defined but not used [-Wunused-variable] 57 | static Uint32 cv_list_count = 0; | ^~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o camera.o camera.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o bsp.o bsp.c bsp.c: In function 'BSP_tree_insert_leaf_rec': bsp.c:1345:16: warning: variable 'created' set but not used [-Wunused-but-set-variable] 1345 | bool_t created; | ^~~~~~~ bsp.c: At top level: bsp.c:1075:8: warning: 'BSP_tree_free_branches' defined but not used [-Wunused-function] 1075 | bool_t BSP_tree_free_branches( BSP_tree_t * t ) | ^~~~~~~~~~~~~~~~~~~~~~ bsp.c:980:8: warning: 'BSP_tree_free_branch' defined but not used [-Wunused-function] 980 | bool_t BSP_tree_free_branch( BSP_tree_t * t, BSP_branch_t * B ) | ^~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o enchant.o enchant.c enchant.c: In function 'enc_config_do_init': enchant.c:886:21: warning: variable 'povl_mad' set but not used [-Wunused-but-set-variable] 886 | mad_t * povl_mad; | ^~~~~~~~ enchant.c: In function 'enchant_remove_add': enchant.c:1686:13: warning: variable 'character' set but not used [-Wunused-but-set-variable] 1686 | CHR_REF character; | ^~~~~~~~~ enchant.c: In function 'cleanup_all_enchants': enchant.c:1926:19: warning: variable 'enc_lst' set but not used [-Wunused-but-set-variable] 1926 | ENC_REF * enc_lst; | ^~~~~~~ enchant.c: In function 'enc_config_do_active': enchant.c:1018:36: warning: array subscript 256 is above array bounds of 'eve_t[256]' {aka 'struct s_eve[256]'} [-Warray-bounds=] 1018 | else if ( !EveStack.lst[eve].stayifnoowner ) | ~~~~~~~~~~~~^~~~~ In file included from egoboo_object.h:25, from EncList.h:25, from enchant.inl:24, from enchant.c:24: egoboo_typedef.h:318:31: note: while referencing 'lst' 318 | C_DECLARE_T_ARY(TYPE, lst, COUNT); \ | ^~~ egoboo_typedef.h:278:52: note: in definition of macro 'C_DECLARE_T_ARY' 278 | #define C_DECLARE_T_ARY(TYPE, NAME, COUNT) TYPE NAME[COUNT] | ^~~~ egoboo_typedef.h:322:5: note: in expansion of macro 'C_DEFINE_STACK_TYPE' 322 | C_DEFINE_STACK_TYPE(TYPE, NAME, COUNT); \ | ^~~~~~~~~~~~~~~~~~~ egoboo_typedef.h:408:54: note: in expansion of macro 'C_DECLARE_STACK_EXTERN' 408 | #define DECLARE_STACK_EXTERN(TYPE, NAME, COUNT) C_DECLARE_STACK_EXTERN(TYPE, NAME, COUNT) | ^~~~~~~~~~~~~~~~~~~~~~ enchant.h:50:1: note: in expansion of macro 'DECLARE_STACK_EXTERN' 50 | DECLARE_STACK_EXTERN( eve_t, EveStack, MAX_EVE ); | ^~~~~~~~~~~~~~~~~~~~ enchant.c:1018:36: warning: array subscript 256 is above array bounds of 'eve_t[256]' {aka 'struct s_eve[256]'} [-Warray-bounds=] 1018 | else if ( !EveStack.lst[eve].stayifnoowner ) | ~~~~~~~~~~~~^~~~~ egoboo_typedef.h:318:31: note: while referencing 'lst' 318 | C_DECLARE_T_ARY(TYPE, lst, COUNT); \ | ^~~ egoboo_typedef.h:278:52: note: in definition of macro 'C_DECLARE_T_ARY' 278 | #define C_DECLARE_T_ARY(TYPE, NAME, COUNT) TYPE NAME[COUNT] | ^~~~ egoboo_typedef.h:322:5: note: in expansion of macro 'C_DEFINE_STACK_TYPE' 322 | C_DEFINE_STACK_TYPE(TYPE, NAME, COUNT); \ | ^~~~~~~~~~~~~~~~~~~ egoboo_typedef.h:408:54: note: in expansion of macro 'C_DECLARE_STACK_EXTERN' 408 | #define DECLARE_STACK_EXTERN(TYPE, NAME, COUNT) C_DECLARE_STACK_EXTERN(TYPE, NAME, COUNT) | ^~~~~~~~~~~~~~~~~~~~~~ enchant.h:50:1: note: in expansion of macro 'DECLARE_STACK_EXTERN' 50 | DECLARE_STACK_EXTERN( eve_t, EveStack, MAX_EVE ); | ^~~~~~~~~~~~~~~~~~~~ enchant.c:1018:36: warning: array subscript 256 is above array bounds of 'eve_t[256]' {aka 'struct s_eve[256]'} [-Warray-bounds=] 1018 | else if ( !EveStack.lst[eve].stayifnoowner ) | ~~~~~~~~~~~~^~~~~ egoboo_typedef.h:318:31: note: while referencing 'lst' 318 | C_DECLARE_T_ARY(TYPE, lst, COUNT); \ | ^~~ egoboo_typedef.h:278:52: note: in definition of macro 'C_DECLARE_T_ARY' 278 | #define C_DECLARE_T_ARY(TYPE, NAME, COUNT) TYPE NAME[COUNT] | ^~~~ egoboo_typedef.h:322:5: note: in expansion of macro 'C_DEFINE_STACK_TYPE' 322 | C_DEFINE_STACK_TYPE(TYPE, NAME, COUNT); \ | ^~~~~~~~~~~~~~~~~~~ egoboo_typedef.h:408:54: note: in expansion of macro 'C_DECLARE_STACK_EXTERN' 408 | #define DECLARE_STACK_EXTERN(TYPE, NAME, COUNT) C_DECLARE_STACK_EXTERN(TYPE, NAME, COUNT) | ^~~~~~~~~~~~~~~~~~~~~~ enchant.h:50:1: note: in expansion of macro 'DECLARE_STACK_EXTERN' 50 | DECLARE_STACK_EXTERN( eve_t, EveStack, MAX_EVE ); | ^~~~~~~~~~~~~~~~~~~~ enchant.c:1018:36: warning: array subscript 256 is above array bounds of 'eve_t[256]' {aka 'struct s_eve[256]'} [-Warray-bounds=] 1018 | else if ( !EveStack.lst[eve].stayifnoowner ) | ~~~~~~~~~~~~^~~~~ egoboo_typedef.h:318:31: note: while referencing 'lst' 318 | C_DECLARE_T_ARY(TYPE, lst, COUNT); \ | ^~~ egoboo_typedef.h:278:52: note: in definition of macro 'C_DECLARE_T_ARY' 278 | #define C_DECLARE_T_ARY(TYPE, NAME, COUNT) TYPE NAME[COUNT] | ^~~~ egoboo_typedef.h:322:5: note: in expansion of macro 'C_DEFINE_STACK_TYPE' 322 | C_DEFINE_STACK_TYPE(TYPE, NAME, COUNT); \ | ^~~~~~~~~~~~~~~~~~~ egoboo_typedef.h:408:54: note: in expansion of macro 'C_DECLARE_STACK_EXTERN' 408 | #define DECLARE_STACK_EXTERN(TYPE, NAME, COUNT) C_DECLARE_STACK_EXTERN(TYPE, NAME, COUNT) | ^~~~~~~~~~~~~~~~~~~~~~ enchant.h:50:1: note: in expansion of macro 'DECLARE_STACK_EXTERN' 50 | DECLARE_STACK_EXTERN( eve_t, EveStack, MAX_EVE ); | ^~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o collision.o collision.c collision.c: In function 'CoNode_generate_hash': collision.c:248:10: warning: conversion from 'unsigned int' to 'REF_T' {aka 'short unsigned int'} changes value from '4294967295' to '65535' [-Woverflow] 248 | AA = ( Uint32 )( ~0 ); | ^ collision.c:258:10: warning: conversion from 'unsigned int' to 'REF_T' {aka 'short unsigned int'} changes value from '4294967295' to '65535' [-Woverflow] 258 | BB = ( Uint32 )( ~0 ); | ^ collision.c: In function 'fill_interaction_list': collision.c:801:22: warning: variable 'mi' set but not used [-Wunused-but-set-variable] 801 | ego_mpd_info_t * mi; | ^~ collision.c: In function 'bump_all_collisions': collision.c:1665:15: warning: variable 'bump_str' set but not used [-Wunused-but-set-variable] 1665 | float bump_str; | ^~~~~~~~ collision.c:1664:27: warning: variable 'tmpz' set but not used [-Wunused-but-set-variable] 1664 | float tmpx, tmpy, tmpz; | ^~~~ collision.c:1756:15: warning: variable 'bump_str' set but not used [-Wunused-but-set-variable] 1756 | float bump_str; | ^~~~~~~~ collision.c:1755:27: warning: variable 'tmpz' set but not used [-Wunused-but-set-variable] 1755 | float tmpx, tmpy, tmpz; | ^~~~ collision.c: In function 'do_chr_prt_collision_impulse': collision.c:3260:12: warning: variable 'did_something' set but not used [-Wunused-but-set-variable] 3260 | bool_t did_something = bfalse; | ^~~~~~~~~~~~~ collision.c: In function 'do_chr_prt_collision_bump': collision.c:3326:44: warning: variable 'prt_hateonly' set but not used [-Wunused-but-set-variable] 3326 | bool_t prt_hates_chr, prt_attacks_chr, prt_hateonly; | ^~~~~~~~~~~~ collision.c: At top level: collision.c:2030:7: warning: 'estimate_chr_prt_normal' defined but not used [-Wunused-function] 2030 | float estimate_chr_prt_normal( chr_t * pchr, prt_t * pprt, fvec3_base_t nrm, fvec3_base_t vdiff ) | ^~~~~~~~~~~~~~~~~~~~~~~ collision.c:736:8: warning: 'add_chr_prt_interaction' defined but not used [-Wunused-function] 736 | bool_t add_chr_prt_interaction( CHashList_t * pchlst, const CHR_REF ichr_a, const PRT_REF iprt_b, CoNode_ary_t * pcn_lst, HashNode_ary_t * phn_lst ) | ^~~~~~~~~~~~~~~~~~~~~~~ collision.c:671:8: warning: 'add_chr_chr_interaction' defined but not used [-Wunused-function] 671 | bool_t add_chr_chr_interaction( CHashList_t * pchlst, const CHR_REF ichr_a, const CHR_REF ichr_b, CoNode_ary_t * pcn_lst, HashNode_ary_t * phn_lst ) | ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' gcc -DPREFIX=\"/usr\" -D_NIX_PREFIX -Wall -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 -I. -I.. -I../enet/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./extensions -I./file_formats -I./platform -c -o char.o char.c In file included from enchant.inl:25, from char.inl:30, from char.c:24: char.c: In function 'free_one_character_in_game': char.c:641:33: warning: variable 'pchr' set but not used [-Wunused-but-set-variable] 641 | CHR_BEGIN_LOOP_ACTIVE( cnt, pchr ) | ^~~~ ChrList.h:62:215: note: in definition of macro 'CHR_BEGIN_LOOP_ACTIVE' 62 | #define CHR_BEGIN_LOOP_ACTIVE(IT, PCHR) {int IT##_internal; int chr_loop_start_depth = chr_loop_depth; chr_loop_depth++; for(IT##_internal=0;IT##_internalinst ) ) ) | ^~ char.c: In function 'apply_one_weapon_matrix': char.c:8897:13: warning: variable 'pholder' set but not used [-Wunused-but-set-variable] 8897 | chr_t * pholder; | ^~~~~~~ char.c: In function 'chr_has_item_idsz': char.c:9389:13: warning: variable 'pchr' set but not used [-Wunused-but-set-variable] 9389 | chr_t * pchr; | ^~~~ char.c: In function 'chr_increment_frame': char.c:9915:12: warning: variable 'needs_keep' set but not used [-Wunused-but-set-variable] 9915 | bool_t needs_keep; | ^~~~~~~~~~ char.c: In function 'chr_calc_grip_cv': char.c:10149:23: warning: comparison between 'enum e_egoboo_rv' and 'gfx_rv' {aka 'enum e_gfx_rv'} [-Wenum-compare] 10149 | if ( rv_error == chr_instance_update_vertices( pmount_inst, vert_stt, vert_stt + grip_offset, bfalse ) ) | ^~ char.c: At top level: char.c:569:6: warning: 'chr_log_script_time' defined but not used [-Wunused-function] 569 | void chr_log_script_time( const CHR_REF ichr ) | ^~~~~~~~~~~~~~~~~~~ char.c: In function 'reset_character_alpha': char.c:1284:35: warning: array subscript 201 is above array bounds of 'enc_t[200]' {aka 'struct s_enc[200]'} [-Warray-bounds=] 1284 | ienc_nxt = EncList.lst[ienc_now].nextenchant_ref; | ~~~~~~~~~~~^~~~~~~~~~ In file included from egoboo_object.h:25, from char.h:26, from char.inl:25: egoboo_typedef.h:296:31: note: while referencing 'lst' 296 | C_DECLARE_T_ARY(TYPE, lst, COUNT); \ | ^~~ egoboo_typedef.h:278:52: note: in definition of macro 'C_DECLARE_T_ARY' 278 | #define C_DECLARE_T_ARY(TYPE, NAME, COUNT) TYPE NAME[COUNT] | ^~~~ egoboo_typedef.h:300:5: note: in expansion of macro 'C_DEFINE_LIST_TYPE' 300 | C_DEFINE_LIST_TYPE(TYPE, NAME, COUNT); \ | ^~~~~~~~~~~~~~~~~~ egoboo_typedef.h:404:55: note: in expansion of macro 'C_DECLARE_LIST_EXTERN' 404 | #define DECLARE_LIST_EXTERN(TYPE, NAME, COUNT) C_DECLARE_LIST_EXTERN(TYPE, NAME, COUNT) | ^~~~~~~~~~~~~~~~~~~~~ EncList.h:69:1: note: in expansion of macro 'DECLARE_LIST_EXTERN' 69 | DECLARE_LIST_EXTERN( enc_t, EncList, MAX_ENC ); | ^~~~~~~~~~~~~~~~~~~ char.c: In function 'change_armor': char.c:4967:31: warning: array subscript 201 is above array bounds of 'enc_t[200]' {aka 'struct s_enc[200]'} [-Warray-bounds=] 4967 | ienc_nxt = EncList.lst[ienc_now].nextenchant_ref; | ~~~~~~~~~~~^~~~~~~~~~ egoboo_typedef.h:296:31: note: while referencing 'lst' 296 | C_DECLARE_T_ARY(TYPE, lst, COUNT); \ | ^~~ egoboo_typedef.h:278:52: note: in definition of macro 'C_DECLARE_T_ARY' 278 | #define C_DECLARE_T_ARY(TYPE, NAME, COUNT) TYPE NAME[COUNT] | ^~~~ egoboo_typedef.h:300:5: note: in expansion of macro 'C_DEFINE_LIST_TYPE' 300 | C_DEFINE_LIST_TYPE(TYPE, NAME, COUNT); \ | ^~~~~~~~~~~~~~~~~~ egoboo_typedef.h:404:55: note: in expansion of macro 'C_DECLARE_LIST_EXTERN' 404 | #define DECLARE_LIST_EXTERN(TYPE, NAME, COUNT) C_DECLARE_LIST_EXTERN(TYPE, NAME, COUNT) | ^~~~~~~~~~~~~~~~~~~~~ EncList.h:69:1: note: in expansion of macro 'DECLARE_LIST_EXTERN' 69 | DECLARE_LIST_EXTERN( enc_t, EncList, MAX_ENC ); | ^~~~~~~~~~~~~~~~~~~ char.c: In function 'detach_character_from_mount': char.c:1195:35: warning: array subscript 201 is above array bounds of 'enc_t[200]' {aka 'struct s_enc[200]'} [-Warray-bounds=] 1195 | ienc_nxt = EncList.lst[ienc_now].nextenchant_ref; | ~~~~~~~~~~~^~~~~~~~~~ egoboo_typedef.h:296:31: note: while referencing 'lst' 296 | C_DECLARE_T_ARY(TYPE, lst, COUNT); \ | ^~~ egoboo_typedef.h:278:52: note: in definition of macro 'C_DECLARE_T_ARY' 278 | #define C_DECLARE_T_ARY(TYPE, NAME, COUNT) TYPE NAME[COUNT] | ^~~~ egoboo_typedef.h:300:5: note: in expansion of macro 'C_DEFINE_LIST_TYPE' 300 | C_DEFINE_LIST_TYPE(TYPE, NAME, COUNT); \ | ^~~~~~~~~~~~~~~~~~ egoboo_typedef.h:404:55: note: in expansion of macro 'C_DECLARE_LIST_EXTERN' 404 | #define DECLARE_LIST_EXTERN(TYPE, NAME, COUNT) C_DECLARE_LIST_EXTERN(TYPE, NAME, COUNT) | ^~~~~~~~~~~~~~~~~~~~~ EncList.h:69:1: note: in expansion of macro 'DECLARE_LIST_EXTERN' 69 | DECLARE_LIST_EXTERN( enc_t, EncList, MAX_ENC ); | ^~~~~~~~~~~~~~~~~~~ In file included from char.inl:33: In function 'fvec2_dot_product', inlined from 'character_grab_stuff' at char.c:2395:24: egoboo_math.inl:416:17: warning: '*(float *)&vforward' may be used uninitialized [-Wmaybe-uninitialized] 416 | return A[kX]*B[kX] + A[kY]*B[kY]; | ~~~~~^~~~~~ char.c: In function 'character_grab_stuff': char.c:2333:19: note: '*(float *)&vforward' was declared here 2333 | fvec3_t vforward; | ^~~~~~~~ In function 'fvec2_dot_product', inlined from 'character_grab_stuff' at char.c:2395:24: egoboo_math.inl:416:31: warning: '((float *)&vforward)[1]' may be used uninitialized [-Wmaybe-uninitialized] 416 | return A[kX]*B[kX] + A[kY]*B[kY]; | ~~~~~^~~~~~ char.c: In function 'character_grab_stuff': char.c:2333:19: note: '((float *)&vforward)[1]' was declared here 2333 | fvec3_t vforward; | ^~~~~~~~ In file included from graphic_mad.h:23, from char.h:29: In function 'fvec3_length_abs', inlined from 'fvec3_self_normalize' at egoboo_math.inl:576:18, inlined from 'move_one_character_get_environment.part.0' at char.c:5762:9: egoboo_math.h:90:38: warning: '*(float *)&platform_up' may be used uninitialized [-Wmaybe-uninitialized] 90 | # define ABS(X) (((X) > 0) ? (X) : -(X)) | ~~~~~~~~~~~~~~~~~^~~~~~~ egoboo_math.inl:485:12: note: in expansion of macro 'ABS' 485 | return ABS( A[kX] ) + ABS( A[kY] ) + ABS( A[kZ] ); | ^~~ char.c: In function 'move_one_character_get_environment.part.0': char.c:5759:19: note: '*(float *)&platform_up' was declared here 5759 | fvec3_t platform_up; | ^~~~~~~~~~~ In function 'fvec3_length_abs', inlined from 'fvec3_self_normalize' at egoboo_math.inl:576:18, inlined from 'move_one_character_get_environment.part.0' at char.c:5762:9: egoboo_math.h:90:38: warning: '((float *)&platform_up)[1]' may be used uninitialized [-Wmaybe-uninitialized] 90 | # define ABS(X) (((X) > 0) ? (X) : -(X)) | ~~~~~~~~~~~~~~~~~^~~~~~~ egoboo_math.inl:485:27: note: in expansion of macro 'ABS' 485 | return ABS( A[kX] ) + ABS( A[kY] ) + ABS( A[kZ] ); | ^~~ char.c: In function 'move_one_character_get_environment.part.0': char.c:5759:19: note: '((float *)&platform_up)[1]' was declared here 5759 | fvec3_t platform_up; | ^~~~~~~~~~~ In function 'fvec3_length_abs', inlined from 'fvec3_self_normalize' at egoboo_math.inl:576:18, inlined from 'move_one_character_get_environment.part.0' at char.c:5762:9: egoboo_math.h:90:38: warning: '((float *)&platform_up)[2]' may be used uninitialized [-Wmaybe-uninitialized] 90 | # define ABS(X) (((X) > 0) ? (X) : -(X)) | ~~~~~~~~~~~~~~~~~^~~~~~~ egoboo_math.inl:485:42: note: in expansion of macro 'ABS' 485 | return ABS( A[kX] ) + ABS( A[kY] ) + ABS( A[kZ] ); | ^~~ char.c: In function 'move_one_character_get_environment.part.0': char.c:5759:19: note: '((float *)&platform_up)[2]' was declared here 5759 | fvec3_t platform_up; | ^~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/egoboo-2.8.1/game' make: *** [Makefile:29: egoboo] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JJTCAJ (%build) RPM build warnings: Macro expanded in comment on line 9: %{name}-%{version}.tar.gz Macro expanded in comment on line 11: %{name}-%{version}.tar.gz Macro expanded in comment on line 12: %{name}-%{version}.tar.gz Macro expanded in comment on line 13: %{name}-data-%{version} Macro expanded in comment on line 14: %{name}-%{version} Macro expanded in comment on line 15: %{name}-data-%{version}/ Macro expanded in comment on line 17: %{name}-%{version}.tar.xz %{name}-%{version}/ Macro expanded in comment on line 18: %{name}-data-%{version}.tar.xz %{name}-data-%{version}/ %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JJTCAJ (%build) I: [iurt_root_command] ERROR: chroot