Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dd2.spec'], chrootPath='/var/lib/mock/f33-build-289254-54276/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dd2.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/dd2-0.2.2-26.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dd2.spec'], chrootPath='/var/lib/mock/f33-build-289254-54276/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dd2.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nvfC1j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dd2-0.2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/dd2-0.2.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dd2-0.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (dd2-0.2.1-glob-highscore.patch):' Patch #0 (dd2-0.2.1-glob-highscore.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .highscore --fuzz=0 patching file src/menu.c Hunk #1 succeeded at 18 (offset 1 line). patching file src/main.c Hunk #1 succeeded at 18 (offset 1 line). Hunk #2 succeeded at 52 (offset 1 line). Hunk #3 succeeded at 138 (offset 1 line). Hunk #4 succeeded at 164 (offset 1 line). Hunk #5 succeeded at 278 (offset 1 line). Hunk #6 succeeded at 311 (offset 1 line). Hunk #7 succeeded at 413 (offset 1 line). Hunk #8 succeeded at 482 (offset 1 line). patching file src/control.c Hunk #1 succeeded at 23 (offset 1 line). Hunk #2 succeeded at 69 (offset 1 line). patching file src/data/Makefile.am patching file src/data/Makefile.in Hunk #1 succeeded at 145 (offset 5 lines). Hunk #2 succeeded at 194 (offset 5 lines). patching file src/cfg.c Hunk #1 succeeded at 89 (offset 1 line). Hunk #2 succeeded at 101 (offset 1 line). Hunk #3 succeeded at 130 (offset 1 line). patching file src/cfg.h Hunk #1 succeeded at 21 (offset 1 line). Hunk #2 succeeded at 48 (offset 1 line). Patch #1 (dd2-0.2.1-640x480-fullscreen.patch): + echo 'Patch #1 (dd2-0.2.1-640x480-fullscreen.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fs --fuzz=0 patching file src/main.c Hunk #1 succeeded at 65 (offset 1 line). Hunk #2 succeeded at 153 (offset 1 line). Hunk #3 succeeded at 282 (offset 1 line). Hunk #4 succeeded at 373 (offset 1 line). Hunk #5 succeeded at 428 (offset 1 line). patching file src/menu.c Hunk #1 succeeded at 41 (offset 1 line). Hunk #2 succeeded at 81 (offset 1 line). Hunk #3 succeeded at 264 (offset 1 line). Hunk #4 succeeded at 339 (offset 1 line). Hunk #5 succeeded at 509 (offset 1 line). Hunk #6 succeeded at 644 (offset 1 line). + touch src/data/Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VRTKEm + umask 022 + cd /builddir/build/BUILD + cd dd2-0.2.2 + 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' + 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 + mv ./configure.backup ./configure + /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 + '[' 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 creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for main in -lm... yes checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for main in -lSDL_mixer... yes updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/data/Makefile + /usr/bin/make -O -j4 V=1 VERBOSE=1 Making all in src Making all in data make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src' gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -DDD2_DATA=\"/usr/share/dd2\" -Wall -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c cfg.c make[2]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src' make[2]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src' gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -DDD2_DATA=\"/usr/share/dd2\" -Wall -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c SDL_plus.c make[2]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src' make[2]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src' gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -DDD2_DATA=\"/usr/share/dd2\" -Wall -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c menu.c menu.c: In function 'getName': menu.c:90:9: warning: variable 'tick' set but not used [-Wunused-but-set-variable] 90 | Uint32 tick; | ^~~~ menu.c: In function 'hiscores': menu.c:285:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 285 | if (mevent.type==SDL_QUIT) | ^~ menu.c:287:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 287 | if(mevent.type==SDL_KEYDOWN) { | ^~ menu.c: In function 'credits': menu.c:661:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 661 | if (mevent.type==SDL_QUIT) | ^~ menu.c:663:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 663 | if(mevent.type==SDL_KEYDOWN) { | ^~ make[2]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src' make[2]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src' gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -DDD2_DATA=\"/usr/share/dd2\" -Wall -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c control.c make[2]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src' make[2]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src' gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -DDD2_DATA=\"/usr/share/dd2\" -Wall -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c main.c make[2]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src' make[2]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src' gcc -DPACKAGE=\"dd2\" -DVERSION=\"0.2.2\" -DHAVE_LIBM=1 -DHAVE_LIBSDL_MIXER=1 -I. -I. -DDD2_DATA=\"/usr/share/dd2\" -Wall -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c engine.c make[2]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src' engine.c: In function 'enemy_type5': engine.c:1688:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1688 | e->var[1]=(int)e & 0x0f; /* pseudo random :) */ | ^ engine.c: In function 'engine_init': engine.c:171:7: warning: array subscript 64 is above array bounds of 'struct eDesc[64]' [-Warray-bounds] 171 | enemy[i].n=NULL; | ~~~~~^~~ engine.c:51:7: note: while referencing 'enemy' 51 | eDesc enemy[64]; | ^~~~~ engine.c:178:6: warning: array subscript 256 is above array bounds of 'struct fDesc[256]' [-Warray-bounds] 178 | fire[i].n=NULL; | ~~~~^~~ engine.c:42:7: note: while referencing 'fire' 42 | fDesc fire[256]; | ^~~~ engine.c:179:6: warning: array subscript 256 is above array bounds of 'struct vDesc[256]' [-Warray-bounds] 179 | vefx[i].n=NULL; | ~~~~^~~ engine.c:45:7: note: while referencing 'vefx' 45 | vDesc vefx[256]; | ^~~~ engine.c: In function 'engine_add_vefx': engine.c:589:10: warning: array subscript 7 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 589 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:577:10: warning: array subscript 7 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 577 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:565:10: warning: array subscript 4 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 565 | if(efx[4]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:549:10: warning: array subscript 6 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 549 | if(efx[6]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:531:10: warning: array subscript 3 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 531 | if(efx[3]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c: In function 'engine_obj': engine.c:397:16: warning: array subscript 7 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 397 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:330:16: warning: array subscript 7 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 330 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:383:17: warning: array subscript 7 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 383 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:365:17: warning: array subscript 7 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 365 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:347:17: warning: array subscript 7 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 347 | if(efx[7]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c: In function 'enemy_type6': engine.c:1896:12: warning: array subscript 5 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 1896 | if(efx[5]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c: In function 'enemy_type8': engine.c:2113:12: warning: array subscript 5 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 2113 | if(efx[5]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:2054:13: warning: array subscript 5 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 2054 | if(efx[5]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c: In function 'enemy_type10': engine.c:2345:13: warning: array subscript 5 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 2345 | if(efx[5]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c: In function 'engine_player': engine.c:1055:11: warning: array subscript 2 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 1055 | if(efx[2]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ engine.c:1062:10: warning: array subscript 5 is above array bounds of 'struct Mix_Chunk *[2]' [-Warray-bounds] 1062 | if(efx[5]) | ~~~^~~ engine.c:33:19: note: while referencing 'efx' 33 | extern Mix_Chunk *efx[2]; | ^~~ make[2]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src' gcc -DDD2_DATA=\"/usr/share/dd2\" -Wall -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 -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dd2 menu.o SDL_plus.o cfg.o engine.o control.o main.o -lSDL_mixer -lm -lSDL -lpthread make[2]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src' engine.c:33:19: warning: type of 'efx' does not match original declaration [-Wlto-type-mismatch] 33 | extern Mix_Chunk *efx[2]; | ^ main.c:63:12: note: array types have different bounds 63 | Mix_Chunk *efx[8]={ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }; | ^ main.c:63:12: note: 'efx' was previously declared here make[1]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.77cpfo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64 + cd dd2-0.2.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src' Making install in data make[2]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src/data' make[3]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src/data' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../../mkinstalldirs /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2 mkdir /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr mkdir /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share mkdir /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2 /usr/bin/install -p -m 644 ./bgm1.xm /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/bgm1.xm /usr/bin/install -p -m 644 ./bgm2.xm /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/bgm2.xm /usr/bin/install -p -m 644 ./efx1.wav /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/efx1.wav /usr/bin/install -p -m 644 ./efx2.wav /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/efx2.wav /usr/bin/install -p -m 644 ./efx3.wav /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/efx3.wav /usr/bin/install -p -m 644 ./efx4.wav /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/efx4.wav /usr/bin/install -p -m 644 ./efx5.wav /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/efx5.wav /usr/bin/install -p -m 644 ./efx6.wav /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/efx6.wav /usr/bin/install -p -m 644 ./efx7.wav /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/efx7.wav /usr/bin/install -p -m 644 ./efx8.wav /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/efx8.wav /usr/bin/install -p -m 644 ./gfx.bmp /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/gfx.bmp /usr/bin/install -p -m 644 ./dd2.cfg /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/dd2.cfg /usr/bin/install -p -m 644 ./game.act /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/game.act /usr/bin/install -p -m 644 ./dd2-hiscore /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/dd2-hiscore make[3]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src/data' make[2]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src/data' make[2]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src' make[3]: Entering directory '/builddir/build/BUILD/dd2-0.2.2/src' /bin/sh ../mkinstalldirs /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/bin /usr/bin/install -p dd2 /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/bin/dd2 make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src' make[2]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src' make[1]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2/src' make[1]: Entering directory '/builddir/build/BUILD/dd2-0.2.2' make[2]: Entering directory '/builddir/build/BUILD/dd2-0.2.2' make[2]: Nothing to be done for 'install-exec-am'. /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2 mkdir /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc mkdir /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2 /usr/bin/install -p -m 644 ./AUTHORS /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2/AUTHORS /usr/bin/install -p -m 644 ./COPYING /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2/COPYING /usr/bin/install -p -m 644 ./NEWS /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2/NEWS /usr/bin/install -p -m 644 ./README /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2/README /usr/bin/install -p -m 644 ./TODO /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2/TODO /usr/bin/install -p -m 644 ./ChangeLog /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2/ChangeLog make[2]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2' make[1]: Leaving directory '/builddir/build/BUILD/dd2-0.2.2' + rm -rf /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2 + mkdir -p /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/var/games + mv /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/dd2/dd2-hiscore /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/var/games + mkdir -p /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/applications /builddir/build/SOURCES/dd2.desktop /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/applications/dd2.desktop: error: (will be fatal in the future): value "dd2.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + mkdir -p /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/icons/hicolor/24x24/apps + install -p -m 644 /builddir/build/SOURCES/dd2.png /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/icons/hicolor/24x24/apps/dd2.png + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.2.2-26.fc33 --unique-debug-suffix -0.2.2-26.fc33.riscv64 --unique-debug-src-base dd2-0.2.2-26.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dd2-0.2.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/bin/dd2 extracting debug info from /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/bin/dd2 original debug info size: 508kB, size after compression: 492kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 186 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dd2-0.2.2-26.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FtrWrk + umask 022 + cd /builddir/build/BUILD + cd dd2-0.2.2 + DOCDIR=/builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2 + cp -pr AUTHORS /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2 + cp -pr ChangeLog /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2 + cp -pr COPYING /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2 + cp -pr NEWS /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2 + cp -pr README /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2 + cp -pr TODO /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64/usr/share/doc/dd2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(dd2.desktop) config(dd2) = 0.2.2-26.fc33 dd2 = 0.2.2-26.fc33 dd2(riscv-64) = 0.2.2-26.fc33 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_mixer-1.2.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: dd2-debugsource-0.2.2-26.fc33.riscv64 Provides: dd2-debugsource = 0.2.2-26.fc33 dd2-debugsource(riscv-64) = 0.2.2-26.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dd2-debuginfo-0.2.2-26.fc33.riscv64 Provides: dd2-debuginfo = 0.2.2-26.fc33 dd2-debuginfo(riscv-64) = 0.2.2-26.fc33 debuginfo(build-id) = 940670350eb8870f2f15b868b054b8f2164e4912 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dd2-debugsource(riscv-64) = 0.2.2-26.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64 Wrote: /builddir/build/RPMS/dd2-debugsource-0.2.2-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dd2-debuginfo-0.2.2-26.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/dd2-0.2.2-26.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kPyCpm + umask 022 + cd /builddir/build/BUILD + cd dd2-0.2.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dd2-0.2.2-26.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0