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/vodovod.spec'], chrootPath='/var/lib/mock/f40-build-752499-116710/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/vodovod.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/vodovod-1.10r22-23.fc40.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/vodovod.spec'], chrootPath='/var/lib/mock/f40-build-752499-116710/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/vodovod.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 warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SUF32S + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vodovod + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/vodovod-1.10r22-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd vodovod + rm -rf /builddir/build/BUILD/vodovod-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/vodovod-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (vodovod-1.10r22-locales.patch):' Patch #0 (vodovod-1.10r22-locales.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile patching file allmenus.cpp patching file po/cs.po patching file po/en.po patching file po/sk.po patching file po/sr.po patching file po/sv.po patching file po/vodovod.pot patching file po/zh.po + echo 'Patch #1 (vodovod-1.10r22-format-string.patch):' Patch #1 (vodovod-1.10r22-format-string.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file njamfont.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MpQfW3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 vodovod + make PREFIX=/usr HIGHSCOREDIR=/var/games -j4 CXX=g++ 'CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer' g++ -c `sdl-config --cflags` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" game.cpp -o game.o g++ -c `sdl-config --cflags` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" map.cpp -o map.o g++ -c `sdl-config --cflags` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" resource.cpp -o resource.o g++ -c `sdl-config --cflags` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" main.cpp -o main.o resource.cpp: In destructor ‘ResourceManager::~ResourceManager()’: resource.cpp:150:27: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 4 has type ‘_Mix_Music*’ [-Wformat=] 150 | fprintf(stderr, _("Freeing music resource: %s (0x%08x)..."), (*it).first.c_str(), (*it).second); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ resource.cpp:22:28: note: in definition of macro ‘_’ 22 | #define _(String) gettext (String) | ^~~~~~ resource.cpp:150:61: note: format string is defined here 150 | fprintf(stderr, _("Freeing music resource: %s (0x%08x)..."), (*it).first.c_str(), (*it).second); | ~~~^ | | | unsigned int In file included from allmenus.h:24, from main.cpp:33: effects.h: In constructor ‘TextEffect::TextEffect(NjamFont*, int, int, const std::string&, int)’: effects.h:65:17: warning: ‘TextEffect::textM’ will be initialized after [-Wreorder] 65 | std::string textM; | ^~~~~ effects.h:63:9: warning: ‘int TextEffect::repeatM’ [-Wreorder] 63 | int repeatM; | ^~~~~~~ effects.h:67:5: warning: when initialized here [-Wreorder] 67 | TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) | ^~~~~~~~~~ effects.h: In constructor ‘ScrollEffect::ScrollEffect(NjamFont*, int, int, const std::string&)’: effects.h:77:17: warning: ‘ScrollEffect::textM’ will be initialized after [-Wreorder] 77 | std::string textM; | ^~~~~ effects.h:75:12: warning: ‘double ScrollEffect::xoffset’ [-Wreorder] 75 | double xoffset; | ^~~~~~~ effects.h:79:5: warning: when initialized here [-Wreorder] 79 | ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) | ^~~~~~~~~~~~ map.cpp: In destructor ‘Map::~Map()’: map.cpp:324:9: warning: deleting object of polymorphic class type ‘Shape’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 324 | delete fieldsM[i]; | ^~~~~~~~~~~~~~~~~ map.cpp: In member function ‘void Map::Setup(int, int)’: map.cpp:340:9: warning: deleting object of polymorphic class type ‘Shape’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 340 | delete fieldsM[i]; | ^~~~~~~~~~~~~~~~~ map.cpp:350:13: warning: deleting object of polymorphic class type ‘Shape’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 350 | delete (fieldsM[f]); | ^~~~~~~~~~~~~~~~~~~ map.cpp:359:13: warning: deleting object of polymorphic class type ‘Shape’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 359 | delete (fieldsM[f]); | ^~~~~~~~~~~~~~~~~~~ map.cpp:370:13: warning: deleting object of polymorphic class type ‘Shape’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 370 | delete (fieldsM[f]); | ^~~~~~~~~~~~~~~~~~~ map.cpp:384:13: warning: deleting object of polymorphic class type ‘Shape’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 384 | delete (fieldsM[f]); | ^~~~~~~~~~~~~~~~~~~ map.cpp:398:17: warning: deleting object of polymorphic class type ‘Shape’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 398 | delete fieldsM[x+y*widthM+f]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ map.cpp: In member function ‘bool Map::PutShape(Shape*)’: map.cpp:510:9: warning: deleting object of polymorphic class type ‘Shape’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 510 | delete s; | ^~~~~~~~ map.cpp: In member function ‘int Map::AdvanceFlow()’: map.cpp:542:16: warning: enumeration value ‘dNone’ not handled in switch [-Wswitch] 542 | switch (d) | ^ map.cpp:542:16: warning: enumeration value ‘dFull’ not handled in switch [-Wswitch] In file included from game.h:27, from game.cpp:28: effects.h: In constructor ‘TextEffect::TextEffect(NjamFont*, int, int, const std::string&, int)’: effects.h:65:17: warning: ‘TextEffect::textM’ will be initialized after [-Wreorder] 65 | std::string textM; | ^~~~~ effects.h:63:9: warning: ‘int TextEffect::repeatM’ [-Wreorder] 63 | int repeatM; | ^~~~~~~ effects.h:67:5: warning: when initialized here [-Wreorder] 67 | TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) | ^~~~~~~~~~ effects.h: In constructor ‘ScrollEffect::ScrollEffect(NjamFont*, int, int, const std::string&)’: effects.h:77:17: warning: ‘ScrollEffect::textM’ will be initialized after [-Wreorder] 77 | std::string textM; | ^~~~~ effects.h:75:12: warning: ‘double ScrollEffect::xoffset’ [-Wreorder] 75 | double xoffset; | ^~~~~~~ effects.h:79:5: warning: when initialized here [-Wreorder] 79 | ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) | ^~~~~~~~~~~~ game.cpp: In member function ‘void Game::ClearQueue()’: game.cpp:48:9: warning: deleting object of polymorphic class type ‘Shape’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 48 | delete s; | ^~~~~~~~ g++ -c `sdl-config --cflags` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" allmenus.cpp -o allmenus.o g++ -c `sdl-config --cflags` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" njamfont.cpp -o njamfont.o g++ -c `sdl-config --cflags` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" sutils.cpp -o sutils.o sutils.cpp:53: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 53 | #pragma warn -ccc | sutils.cpp:54: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 54 | #pragma warn -rch | sutils.cpp:59: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 59 | #pragma warn +ccc | sutils.cpp:60: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 60 | #pragma warn +rch | sutils.cpp:79: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 79 | #pragma warn -ccc | sutils.cpp:80: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 80 | #pragma warn -rch | sutils.cpp:91: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 91 | #pragma warn +ccc | sutils.cpp:92: warning: ignoring ‘#pragma warn ’ [-Wunknown-pragmas] 92 | #pragma warn +rch | In file included from game.h:27, from allmenus.cpp:25: effects.h: In constructor ‘TextEffect::TextEffect(NjamFont*, int, int, const std::string&, int)’: effects.h:65:17: warning: ‘TextEffect::textM’ will be initialized after [-Wreorder] 65 | std::string textM; | ^~~~~ effects.h:63:9: warning: ‘int TextEffect::repeatM’ [-Wreorder] 63 | int repeatM; | ^~~~~~~ effects.h:67:5: warning: when initialized here [-Wreorder] 67 | TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) | ^~~~~~~~~~ effects.h: In constructor ‘ScrollEffect::ScrollEffect(NjamFont*, int, int, const std::string&)’: effects.h:77:17: warning: ‘ScrollEffect::textM’ will be initialized after [-Wreorder] 77 | std::string textM; | ^~~~~ effects.h:75:12: warning: ‘double ScrollEffect::xoffset’ [-Wreorder] 75 | double xoffset; | ^~~~~~~ effects.h:79:5: warning: when initialized here [-Wreorder] 79 | ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) | ^~~~~~~~~~~~ g++ -c `sdl-config --cflags` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" menu.cpp -o menu.o sutils.cpp: In function ‘bool RGB2OneColor(SDL_Surface*, Uint8, Uint8, Uint8)’: sutils.cpp:152:9: warning: unused variable ‘x’ [-Wunused-variable] 152 | int x, y; | ^ sutils.cpp:152:12: warning: unused variable ‘y’ [-Wunused-variable] 152 | int x, y; | ^ sutils.cpp: In function ‘bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)’: sutils.cpp:250:9: warning: unused variable ‘x’ [-Wunused-variable] 250 | int x, y; | ^ sutils.cpp:250:12: warning: unused variable ‘y’ [-Wunused-variable] 250 | int x, y; | ^ sutils.cpp: In function ‘void InitVideo(bool)’: sutils.cpp:373:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 373 | for (int i=0; i 499 && key == getKey(taUp)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ menu.cpp:53:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 53 | if (key == SDLK_DOWN || key > 499 && key == getKey(taDown)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ menu.cpp:55:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 55 | if (firstIsTitleM && indicator < 1 || !firstIsTitleM && indicator < 0) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ menu.cpp:61:66: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 61 | if ((key == SDLK_RETURN || key == SDLK_KP_ENTER || key > 499 && key == getKey(taDrop))) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ sutils.cpp: In function ‘bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)’: sutils.cpp:272:21: warning: ‘color’ may be used uninitialized [-Wmaybe-uninitialized] 272 | putpixel(surface, x, y, color); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ sutils.cpp:264:20: note: ‘color’ was declared here 264 | Uint32 color; | ^~~~~ hiscore.cpp: In constructor ‘HiScores::HiScores()’: hiscore.cpp:71:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 71 | fgets(buff, 80, fp); | ~~~~~^~~~~~~~~~~~~~ g++ -c `sdl-config --cflags` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" effects.cpp -o effects.o g++ -c `sdl-config --cflags` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" config.cpp -o config.o g++ -c `sdl-config --cflags` -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" keys.cpp -o keys.o In file included from effects.cpp:27: effects.h: In constructor ‘TextEffect::TextEffect(NjamFont*, int, int, const std::string&, int)’: effects.h:65:17: warning: ‘TextEffect::textM’ will be initialized after [-Wreorder] 65 | std::string textM; | ^~~~~ effects.h:63:9: warning: ‘int TextEffect::repeatM’ [-Wreorder] 63 | int repeatM; | ^~~~~~~ effects.h:67:5: warning: when initialized here [-Wreorder] 67 | TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) | ^~~~~~~~~~ effects.h: In constructor ‘ScrollEffect::ScrollEffect(NjamFont*, int, int, const std::string&)’: effects.h:77:17: warning: ‘ScrollEffect::textM’ will be initialized after [-Wreorder] 77 | std::string textM; | ^~~~~ effects.h:75:12: warning: ‘double ScrollEffect::xoffset’ [-Wreorder] 75 | double xoffset; | ^~~~~~~ effects.h:79:5: warning: when initialized here [-Wreorder] 79 | ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) | ^~~~~~~~~~~~ effects.cpp: In destructor ‘Effects::~Effects()’: effects.cpp:34:9: warning: deleting object of abstract class type ‘SpecialEffect’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 34 | delete (*it); | ^~~~~~~~~~~~ effects.cpp: In member function ‘void Effects::removeEffect(SpecialEffect*)’: effects.cpp:51:13: warning: deleting object of abstract class type ‘SpecialEffect’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 51 | delete p; | ^~~~~~~~ effects.cpp: In member function ‘void Effects::Render()’: effects.cpp:66:13: warning: deleting object of abstract class type ‘SpecialEffect’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 66 | delete p; | ^~~~~~~~ config.cpp: In constructor ‘Config::Config()’: config.cpp:145:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 145 | for (int i=0; i /usr/share/fonts/dejavu-sans-mono-fonts/DejaVuSansMono.ttf Provides: application() application(vodovod.desktop) config(vodovod) = 1.10r22-23.fc40 vodovod = 1.10r22-23.fc40 vodovod(riscv-64) = 1.10r22-23.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): coreutils Requires(postun): coreutils 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) libSDL_ttf-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Recommends: group(games) Processing files: vodovod-debugsource-1.10r22-23.fc40.riscv64 Provides: vodovod-debugsource = 1.10r22-23.fc40 vodovod-debugsource(riscv-64) = 1.10r22-23.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: vodovod-debuginfo-1.10r22-23.fc40.riscv64 Provides: debuginfo(build-id) = 4311b6c1ebc73f16533a31e72704f0585d117635 vodovod-debuginfo = 1.10r22-23.fc40 vodovod-debuginfo(riscv-64) = 1.10r22-23.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: vodovod-debugsource(riscv-64) = 1.10r22-23.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/vodovod-1.10r22-23.fc40.riscv64 Wrote: /builddir/build/RPMS/vodovod-debugsource-1.10r22-23.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/vodovod-1.10r22-23.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/vodovod-debuginfo-1.10r22-23.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.F4ypmP + umask 022 + cd /builddir/build/BUILD + cd vodovod + /usr/bin/rm -rf /builddir/build/BUILDROOT/vodovod-1.10r22-23.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.jwkF9k + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/vodovod-SPECPARTS + rm -rf vodovod vodovod.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) absolute symlink: /usr/share/vodovod/data/font1.ttf -> /usr/share/fonts/dejavu-sans-mono-fonts/DejaVuSansMono.ttf Child return code was: 0