Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/freedroid.spec'], chrootPath='/var/lib/mock/f37-build-667235-74498/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/freedroid.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/freedroid-1.0.2-40.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/freedroid.spec'], chrootPath='/var/lib/mock/f37-build-667235-74498/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/freedroid.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UQixrF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf freedroid-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/freedroid-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd freedroid-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (freedroid-cleaninst.patch):' Patch #0 (freedroid-cleaninst.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile.am patching file Makefile.in Patch #1 (freedroid-1.0.2-printfs.patch): + echo 'Patch #1 (freedroid-1.0.2-printfs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/text.c patching file src/misc.c patching file src/init.c Patch #2 (freedroid-1.0.2-cpuhog.patch): + echo 'Patch #2 (freedroid-1.0.2-cpuhog.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/init.c patching file src/main.c patching file src/menu.c Hunk #2 succeeded at 558 (offset 1 line). patching file src/misc.c Hunk #1 succeeded at 124 (offset -2 lines). Hunk #2 succeeded at 225 (offset -2 lines). Hunk #3 succeeded at 271 (offset -2 lines). patching file src/ship.c Hunk #1 succeeded at 159 (offset -1 lines). Hunk #2 succeeded at 869 (offset -1 lines). patching file src/struct.h patching file src/takeover.c patching file src/text.c Hunk #1 succeeded at 207 (offset -1 lines). Patch #3 (freedroid-1.0.2-vorbisfile.patch): + echo 'Patch #3 (freedroid-1.0.2-vorbisfile.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure + chmod -c -x graphics/paraicon.ico mode of 'graphics/paraicon.ico' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + convert graphics/paraicon.ico freedroid.png + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JSVxKu + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd freedroid-1.0.2 + export 'CPPFLAGS= -fcommon' + CPPFLAGS=' -fcommon' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-11-06 15:06:45.363366266 -0500 +++ ./configure 2022-11-06 15:06:45.603366749 -0500 @@ -3671,7 +3671,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } @@ -3872,7 +3872,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -4007,7 +4007,7 @@ #if defined (__stub_remove) || defined (__stub___remove) choke me #else -char (*f) () = remove; +__attribute__ ((used)) char (*f) () = remove; #endif #ifdef __cplusplus } @@ -4142,7 +4142,7 @@ #if defined (__stub_shmat) || defined (__stub___shmat) choke me #else -char (*f) () = shmat; +__attribute__ ((used)) char (*f) () = shmat; #endif #ifdef __cplusplus } @@ -5865,7 +5865,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking whether make sets $(MAKE)... (cached) yes checking for sin in -lm... yes checking how to run the C preprocessor... gcc -E checking for X... no configure: Checking for compulsory SDL libraries: checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.3... yes checking for SDL_Init in -lSDL... yes checking for jpeg_start_compress in -ljpeg... yes checking for compress in -lz... yes checking for png_read_png in -lpng... yes checking for IMG_LoadJPG_RW in -lSDL_image... yes configure: Checking for optional SDL libraries: checking for Mix_OpenAudio in -lSDL_mixer... yes checking for ov_open in -lvorbisfile... yes checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking return type of signal handlers... void checking for memset... yes checking for sqrt... yes checking for strstr... yes checking for strtok... yes checking for strcspn... yes checking for strspn... yes checking for rand... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/freedroid-1.0.2' Making all in src make[2]: Entering directory '/builddir/build/BUILD/freedroid-1.0.2/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'menu.c' || echo './'`menu.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'graphics.c' || echo './'`graphics.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'map.c' || echo './'`map.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'init.c' || echo './'`init.c map.c: In function 'AnimateRefresh': map.c:197:14: warning: variable 'InnerPhase' set but not used [-Wunused-but-set-variable] 197 | static int InnerPhase = 0; /* Zaehler fuer innere Phase */ | ^~~~~~~~~~ map.c: In function 'LevelToStruct': map.c:550:10: warning: unused variable 'len' [-Wunused-variable] 550 | size_t len; | ^~~ map.c: In function 'GetLiftConnections': map.c:975:9: warning: variable 'EndOfLiftConnectionData' set but not used [-Wunused-but-set-variable] 975 | char* EndOfLiftConnectionData; | ^~~~~~~~~~~~~~~~~~~~~~~ map.c:974:9: warning: variable 'EndOfLiftRectangleSection' set but not used [-Wunused-but-set-variable] 974 | char* EndOfLiftRectangleSection; | ^~~~~~~~~~~~~~~~~~~~~~~~~ map.c:968:9: warning: variable 'EndOfDeckRectangleSection' set but not used [-Wunused-but-set-variable] 968 | char *EndOfDeckRectangleSection; | ^~~~~~~~~~~~~~~~~~~~~~~~~ init.c: In function 'Get_Bullet_Data': init.c:117:9: warning: variable 'EndOfBulletData' set but not used [-Wunused-but-set-variable] 117 | char *EndOfBulletData; | ^~~~~~~~~~~~~~~ init.c: In function 'Get_Robot_Data': init.c:240:9: warning: variable 'EndOfDataPointer' set but not used [-Wunused-but-set-variable] 240 | char *EndOfDataPointer; | ^~~~~~~~~~~~~~~~ init.c: In function 'parse_command_line': init.c:528:7: warning: unused variable 'timeout_time' [-Wunused-variable] 528 | int timeout_time; /* timeout to restore text-mode */ | ^~~~~~~~~~~~ init.c: At top level: init.c:495:1: warning: 'timeout' defined but not used [-Wunused-function] 495 | timeout (int sig) | ^~~~~~~ graphics.c: In function 'LoadThemeConfigurationFile': graphics.c:465:9: warning: variable 'EndOfThemesDigitData' set but not used [-Wunused-but-set-variable] 465 | char *EndOfThemesDigitData; | ^~~~~~~~~~~~~~~~~~~~ graphics.c:464:9: warning: variable 'EndOfThemesBlastData' set but not used [-Wunused-but-set-variable] 464 | char *EndOfThemesBlastData; | ^~~~~~~~~~~~~~~~~~~~ graphics.c:463:9: warning: variable 'EndOfThemesBulletData' set but not used [-Wunused-but-set-variable] 463 | char *EndOfThemesBulletData; | ^~~~~~~~~~~~~~~~~~~~~ graphics.c: In function 'load_raw_pic': graphics.c:759:17: warning: unused variable 'statbuf' [-Wunused-variable] 759 | struct stat statbuf; | ^~~~~~~ graphics.c: In function 'ScaleGraphics': graphics.c:1167:21: warning: unused variable 'j' [-Wunused-variable] 1167 | int line, col, i, j; | ^ menu.c: In function 'Cheatmenu': menu.c:1585:15: warning: variable 'line' set but not used [-Wunused-but-set-variable] 1585 | int x0, y0, line; | ^~~~ init.c: In function 'FindAllThemes': init.c:1247:11: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 1247 | strncpy (tname, entry->d_name, len); | ^ init.c:1240:17: note: length computed here 1240 | len = strlen(entry->d_name)-strlen("_theme"); | ^~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'ship.c' || echo './'`ship.c ship.c: In function 'show_droid_info': ship.c:649:8: warning: variable 'show_title' set but not used [-Wunused-but-set-variable] 649 | bool show_title = FALSE; | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'takeover.c' || echo './'`takeover.c takeover.c: In function 'PlayGame': takeover.c:375:7: warning: variable 'up_counter' set but not used [-Wunused-but-set-variable] 375 | int up_counter, down_counter; | ^~~~~~~~~~ takeover.c: In function 'GetTakeoverGraphics': takeover.c:603:12: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 603 | SDL_Rect tmp; | ^~~ takeover.c: In function 'ShowPlayground': takeover.c:673:12: warning: unused variable 'bak' [-Wunused-variable] 673 | SDL_Rect bak; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'bullet.c' || echo './'`bullet.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'influ.c' || echo './'`influ.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'misc.c' || echo './'`misc.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'text.c' || echo './'`text.c takeover.c: In function 'PlayGame': takeover.c:446:50: warning: 'last_movekey_time' may be used uninitialized [-Wmaybe-uninitialized] 446 | if (wheel_up || (up && (SDL_GetTicks() - last_movekey_time > wait_move_ticks))) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ takeover.c:372:10: note: 'last_movekey_time' was declared here 372 | Uint32 last_movekey_time, wait_move_ticks = 110; /* number of ticks to wait before "key-repeat" */ | ^~~~~~~~~~~~~~~~~ misc.c: In function 'ReadAndMallocAndTerminateFile': misc.c:454:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 454 | fread ( Data, (size_t) 64, (size_t) (stbuf.st_size / 64 +1 ), DataFile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'sound.c' || echo './'`sound.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'enemy.c' || echo './'`enemy.c misc.c: In function 'SaveGameConfig': misc.c:249:22: warning: '/config' directive writing 7 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 249 | sprintf (fname, "%s/config", ConfigDir); | ^~~~~~~ In file included from /usr/include/stdio.h:906, from system.h:33, from misc.c:34: In function 'sprintf', inlined from 'SaveGameConfig' at misc.c:249:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 8 and 262 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ misc.c: In function 'LoadGameConfig': misc.c:175:22: warning: '/config' directive writing 7 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 175 | sprintf (fname, "%s/config", ConfigDir); | ^~~~~~~ In function 'sprintf', inlined from 'LoadGameConfig' at misc.c:175:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 8 and 262 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ enemy.c: In function 'SelectNextWaypointAdvanced': enemy.c:437:9: warning: variable 'maxspeed' set but not used [-Wunused-but-set-variable] 437 | float maxspeed; | ^~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'input.c' || echo './'`input.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'main.c' || echo './'`main.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'view.c' || echo './'`view.c enemy.c:549:31: warning: 'trywp' may be used uninitialized [-Wmaybe-uninitialized] 549 | ThisRobot->nextwaypoint = trywp; | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ enemy.c:436:7: note: 'trywp' was declared here 436 | int trywp; | ^~~~~ view.c: In function 'Assemble_Combat_Picture': view.c:100:8: warning: variable 'vis' set but not used [-Wunused-but-set-variable] 100 | bool vis = TRUE; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'BFont.c' || echo './'`BFont.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'SDL_rotozoom.c' || echo './'`SDL_rotozoom.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'highscore.c' || echo './'`highscore.c SDL_rotozoom.c: In function 'zoomSurfaceRGBA': SDL_rotozoom.c:52:24: warning: implicit declaration of function 'MyMalloc'; did you mean 'malloc'? [-Wimplicit-function-declaration] 52 | if ((sax = (int *) MyMalloc((dst->w + 1) * sizeof(Uint32))) == NULL) { | ^~~~~~~~ | malloc SDL_rotozoom.c:52:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 52 | if ((sax = (int *) MyMalloc((dst->w + 1) * sizeof(Uint32))) == NULL) { | ^ SDL_rotozoom.c:55:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 55 | if ((say = (int *) MyMalloc((dst->h + 1) * sizeof(Uint32))) == NULL) { | ^ SDL_rotozoom.c:30:9: warning: variable 'sgap' set but not used [-Wunused-but-set-variable] 30 | int sgap, dgap; | ^~~~ SDL_rotozoom.c: In function 'zoomSurfaceY': SDL_rotozoom.c:227:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 227 | if ((sax = (Uint32 *) MyMalloc(dst->w * sizeof(Uint32))) == NULL) { | ^ SDL_rotozoom.c:230:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 230 | if ((say = (Uint32 *) MyMalloc(dst->h * sizeof(Uint32))) == NULL) { | ^ SDL_rotozoom.c: In function 'transformSurfaceY': SDL_rotozoom.c:484:53: warning: variable 'sh' set but not used [-Wunused-but-set-variable] 484 | int x, y, dx, dy, xd, yd, sdx, sdy, ax, ay, sw, sh; | ^~ SDL_rotozoom.c:484:49: warning: variable 'sw' set but not used [-Wunused-but-set-variable] 484 | int x, y, dx, dy, xd, yd, sdx, sdy, ax, ay, sw, sh; | ^~ highscore.c: In function 'InitHighscores': highscore.c:65:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 65 | fread (Highscores[i], sizeof(highscore_entry), sizeof(char), file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ highscore.c:53:26: warning: '/highscores' directive writing 11 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 53 | sprintf (fname, "%s/highscores", ConfigDir); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from system.h:33, from highscore.c:32: In function 'sprintf', inlined from 'InitHighscores' at highscore.c:53:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 12 and 266 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ highscore.c: In function 'SaveHighscores': highscore.c:97:22: warning: '/highscores' directive writing 11 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 97 | sprintf (fname, "%s/highscores", ConfigDir); | ^~~~~~~~~~~ In function 'sprintf', inlined from 'SaveHighscores' at highscore.c:97:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 12 and 266 bytes into a destination of size 255 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ highscore.c: In function 'UpdateHighscores': highscore.c:182:40: warning: '%02d' directive writing between 2 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] 182 | sprintf (new_entry->date, "%02d/%02d/%02d", timeinfo->tm_mday, timeinfo->tm_mon +1, | ^~~~ highscore.c:182:29: note: directive argument in the range [-2147483648, 2147483547] 182 | sprintf (new_entry->date, "%02d/%02d/%02d", timeinfo->tm_mday, timeinfo->tm_mon +1, | ^~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'UpdateHighscores' at highscore.c:182:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 9 and 36 bytes into a destination of size 15 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'getopt.c' || echo './'`getopt.c BFont.c: In function 'JustifiedPutStringFont': BFont.c:386:15: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 386 | strncpy (strtmp, &text[pos + 1], strlen (&text[pos + 1])); | ^ BFont.c:386:15: note: length computed here 386 | strncpy (strtmp, &text[pos + 1], strlen (&text[pos + 1])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -fcommon -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -c `test -f 'getopt1.c' || echo './'`getopt1.c view.c: In function 'DisplayBanner': view.c:700:3: warning: '__strncpy_chk' output may be truncated copying between 0 and 10 bytes from a string of length 79 [-Wstringop-truncation] 700 | strncpy (right_box, right, left_len); /* this drops terminating \0 ! */ | ^ SDL_rotozoom.c: In function 'transformSurfaceRGBA': SDL_rotozoom.c:443:33: warning: 'c11.a' may be used uninitialized [-Wmaybe-uninitialized] 443 | t2 = ((((c11.a - c10.a) * ex) >> 16) + c10.a) & 0xff; | ~~~^~ SDL_rotozoom.c:330:31: note: 'c11.a' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:440:33: warning: 'c11.b' may be used uninitialized [-Wmaybe-uninitialized] 440 | t2 = ((((c11.b - c10.b) * ex) >> 16) + c10.b) & 0xff; | ~~~^~ SDL_rotozoom.c:330:31: note: 'c11.b' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:437:33: warning: 'c11.g' may be used uninitialized [-Wmaybe-uninitialized] 437 | t2 = ((((c11.g - c10.g) * ex) >> 16) + c10.g) & 0xff; | ~~~^~ SDL_rotozoom.c:330:31: note: 'c11.g' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:434:33: warning: 'c11.r' may be used uninitialized [-Wmaybe-uninitialized] 434 | t2 = ((((c11.r - c10.r) * ex) >> 16) + c10.r) & 0xff; | ~~~^~ SDL_rotozoom.c:330:31: note: 'c11.r' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:443:41: warning: 'c10.a' may be used uninitialized [-Wmaybe-uninitialized] 443 | t2 = ((((c11.a - c10.a) * ex) >> 16) + c10.a) & 0xff; | ~~~^~ SDL_rotozoom.c:330:26: note: 'c10.a' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:440:41: warning: 'c10.b' may be used uninitialized [-Wmaybe-uninitialized] 440 | t2 = ((((c11.b - c10.b) * ex) >> 16) + c10.b) & 0xff; | ~~~^~ SDL_rotozoom.c:330:26: note: 'c10.b' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:437:41: warning: 'c10.g' may be used uninitialized [-Wmaybe-uninitialized] 437 | t2 = ((((c11.g - c10.g) * ex) >> 16) + c10.g) & 0xff; | ~~~^~ SDL_rotozoom.c:330:26: note: 'c10.g' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:434:41: warning: 'c10.r' may be used uninitialized [-Wmaybe-uninitialized] 434 | t2 = ((((c11.r - c10.r) * ex) >> 16) + c10.r) & 0xff; | ~~~^~ SDL_rotozoom.c:330:26: note: 'c10.r' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:442:33: warning: 'c01.a' may be used uninitialized [-Wmaybe-uninitialized] 442 | t1 = ((((c01.a - c00.a) * ex) >> 16) + c00.a) & 0xff; | ~~~^~ SDL_rotozoom.c:330:21: note: 'c01.a' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:439:33: warning: 'c01.b' may be used uninitialized [-Wmaybe-uninitialized] 439 | t1 = ((((c01.b - c00.b) * ex) >> 16) + c00.b) & 0xff; | ~~~^~ SDL_rotozoom.c:330:21: note: 'c01.b' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:436:33: warning: 'c01.g' may be used uninitialized [-Wmaybe-uninitialized] 436 | t1 = ((((c01.g - c00.g) * ex) >> 16) + c00.g) & 0xff; | ~~~^~ SDL_rotozoom.c:330:21: note: 'c01.g' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:433:33: warning: 'c01.r' may be used uninitialized [-Wmaybe-uninitialized] 433 | t1 = ((((c01.r - c00.r) * ex) >> 16) + c00.r) & 0xff; | ~~~^~ SDL_rotozoom.c:330:21: note: 'c01.r' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:442:41: warning: 'c00.a' may be used uninitialized [-Wmaybe-uninitialized] 442 | t1 = ((((c01.a - c00.a) * ex) >> 16) + c00.a) & 0xff; | ~~~^~ SDL_rotozoom.c:330:16: note: 'c00.a' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:439:41: warning: 'c00.b' may be used uninitialized [-Wmaybe-uninitialized] 439 | t1 = ((((c01.b - c00.b) * ex) >> 16) + c00.b) & 0xff; | ~~~^~ SDL_rotozoom.c:330:16: note: 'c00.b' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:436:41: warning: 'c00.g' may be used uninitialized [-Wmaybe-uninitialized] 436 | t1 = ((((c01.g - c00.g) * ex) >> 16) + c00.g) & 0xff; | ~~~^~ SDL_rotozoom.c:330:16: note: 'c00.g' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ SDL_rotozoom.c:433:41: warning: 'c00.r' may be used uninitialized [-Wmaybe-uninitialized] 433 | t1 = ((((c01.r - c00.r) * ex) >> 16) + c00.r) & 0xff; | ~~~^~ SDL_rotozoom.c:330:16: note: 'c00.r' was declared here 330 | tColorRGBA c00, c01, c10, c11; | ^~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DFD_DATADIR='"/usr/share/freedroid"' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o freedroid menu.o graphics.o map.o init.o ship.o takeover.o bullet.o influ.o misc.o text.o sound.o enemy.o input.o main.o view.o BFont.o SDL_rotozoom.o highscore.o getopt.o getopt1.o -lvorbisfile -lSDL_mixer -lSDL_image -lpng -lz -ljpeg -lSDL -lm -lSDL SDL_rotozoom.c:52:24: warning: type of 'MyMalloc' does not match original declaration [-Wlto-type-mismatch] 52 | if ((sax = (int *) MyMalloc((dst->w + 1) * sizeof(Uint32))) == NULL) { | ^ misc.c:1042:1: note: return value type mismatch 1042 | MyMalloc (long Mamount) | ^ misc.c:1042:1: note: 'MyMalloc' was previously declared here misc.c:1042:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used make[2]: Leaving directory '/builddir/build/BUILD/freedroid-1.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/freedroid-1.0.2' make[2]: Leaving directory '/builddir/build/BUILD/freedroid-1.0.2' make[1]: Leaving directory '/builddir/build/BUILD/freedroid-1.0.2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.F5Q09z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd freedroid-1.0.2 + make install DESTDIR=/builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64 Making install in src make[1]: Entering directory '/builddir/build/BUILD/freedroid-1.0.2/src' make[2]: Entering directory '/builddir/build/BUILD/freedroid-1.0.2/src' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/bin mkdir -p -- /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/bin /usr/bin/install -c freedroid /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/bin/freedroid make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/freedroid-1.0.2/src' make[1]: Leaving directory '/builddir/build/BUILD/freedroid-1.0.2/src' make[1]: Entering directory '/builddir/build/BUILD/freedroid-1.0.2' make[2]: Entering directory '/builddir/build/BUILD/freedroid-1.0.2' make[2]: Nothing to be done for 'install-exec-am'. echo "Now copying the the data-directories..." Now copying the the data-directories... /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/freedroid mkdir -p -- /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/freedroid cp -pr mac-osx map graphics sound /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/freedroid echo "... and removing CVS dirs and Makefiles..." ... and removing CVS dirs and Makefiles... rm -rf `find /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/freedroid -name CVS -o -name "Makefile*"` echo "..done." ..done. /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/man/man6 mkdir -p -- /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/man/man6 /usr/bin/install -c -m 644 ./freedroid.6 /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/man/man6/freedroid.6 make[2]: Leaving directory '/builddir/build/BUILD/freedroid-1.0.2' make[1]: Leaving directory '/builddir/build/BUILD/freedroid-1.0.2' + rm -rf /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/freedroid/mac-osx + desktop-file-install --dir /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/applications /builddir/build/SOURCES/freedroid.desktop + install -Dpm 644 freedroid.png /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/icons/hicolor/32x32/apps/freedroid.png + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.0.2-40.fc37 --unique-debug-suffix -1.0.2-40.fc37.riscv64 --unique-debug-src-base freedroid-1.0.2-40.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/freedroid-1.0.2 extracting debug info from /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/bin/freedroid original debug info size: 1856kB, size after compression: 1772kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1120 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: freedroid-1.0.2-40.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HKwk7v + umask 022 + cd /builddir/build/BUILD + cd freedroid-1.0.2 + DOCDIR=/builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/doc/freedroid + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/doc/freedroid + cp -pr AUTHORS /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/doc/freedroid + cp -pr ChangeLog /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/doc/freedroid + cp -pr NEWS /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/doc/freedroid + cp -pr README /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/doc/freedroid + cp -pr TODO /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/doc/freedroid + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LhXhks + umask 022 + cd /builddir/build/BUILD + cd freedroid-1.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/licenses/freedroid + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/licenses/freedroid + cp -pr COPYING /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64/usr/share/licenses/freedroid + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(freedroid.desktop) freedroid = 1.0.2-40.fc37 freedroid(riscv-64) = 1.0.2-40.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL-1.2.so.0()(64bit) libSDL_image-1.2.so.0()(64bit) libSDL_mixer-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: freedroid-data-1.0.2-40.fc37.noarch Provides: freedroid-data = 1.0.2-40.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: freedroid-debugsource-1.0.2-40.fc37.riscv64 Provides: freedroid-debugsource = 1.0.2-40.fc37 freedroid-debugsource(riscv-64) = 1.0.2-40.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: freedroid-debuginfo-1.0.2-40.fc37.riscv64 Provides: debuginfo(build-id) = 7641aff7f4654c3f57c0117a5fe68bfaeabd91a9 freedroid-debuginfo = 1.0.2-40.fc37 freedroid-debuginfo(riscv-64) = 1.0.2-40.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: freedroid-debugsource(riscv-64) = 1.0.2-40.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64 Wrote: /builddir/build/RPMS/freedroid-1.0.2-40.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/freedroid-debuginfo-1.0.2-40.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/freedroid-debugsource-1.0.2-40.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/freedroid-data-1.0.2-40.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1PKMmu + umask 022 + cd /builddir/build/BUILD + cd freedroid-1.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/freedroid-1.0.2-40.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.TL50nD + umask 022 + cd /builddir/build/BUILD + rm -rf freedroid-1.0.2 freedroid-1.0.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0