Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/vodovod.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667994685.698728/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_jh0gd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_jh0gd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0d69f384a257498b8001e55c863cf231', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667994685.698728/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_jh0gd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/vodovod-1.10r22-21.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/vodovod.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667994685.698728/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_jh0gd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_jh0gd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8c91ef9fed194571b9e50ffa4f189286', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667994685.698728/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.q_jh0gd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qO1a6v + 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 + /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.IVjLcB + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -j2 CXX=g++ '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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' g++ -c `sdl-config --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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" game.cpp -o game.o g++ -c `sdl-config --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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" map.cpp -o map.o 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" resource.cpp -o resource.o g++ -c `sdl-config --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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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) | ^~~~~~~~~~~~ g++ -c `sdl-config --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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" allmenus.cpp -o allmenus.o g++ -c `sdl-config --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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" njamfont.cpp -o njamfont.o 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 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 | 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))) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ g++ -c `sdl-config --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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" hiscore.cpp -o hiscore.o g++ -c `sdl-config --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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" effects.cpp -o effects.o 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); | ~~~~~^~~~~~~~~~~~~~ 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; | ^~~~~~~~ g++ -c `sdl-config --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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" config.cpp -o config.o g++ -c `sdl-config --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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" keys.cpp -o keys.o 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-21.fc38 vodovod = 1.10r22-21.fc38 vodovod(x86-64) = 1.10r22-21.fc38 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: 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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(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.26)(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) Processing files: vodovod-debugsource-1.10r22-21.fc38.x86_64 Provides: vodovod-debugsource = 1.10r22-21.fc38 vodovod-debugsource(x86-64) = 1.10r22-21.fc38 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-21.fc38.x86_64 Provides: debuginfo(build-id) = 2e7ab4fd279da3b01c2bb74ee16c380328ad3927 vodovod-debuginfo = 1.10r22-21.fc38 vodovod-debuginfo(x86-64) = 1.10r22-21.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: vodovod-debugsource(x86-64) = 1.10r22-21.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/vodovod-1.10r22-21.fc38.x86_64 Wrote: /builddir/build/RPMS/vodovod-1.10r22-21.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/vodovod-debugsource-1.10r22-21.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/vodovod-debuginfo-1.10r22-21.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FTD706 + umask 022 + cd /builddir/build/BUILD + cd vodovod + /usr/bin/rm -rf /builddir/build/BUILDROOT/vodovod-1.10r22-21.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.8vz2pn + umask 022 + cd /builddir/build/BUILD + rm -rf vodovod vodovod.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: absolute symlink: /usr/share/vodovod/data/font1.ttf -> /usr/share/fonts/dejavu-sans-mono-fonts/DejaVuSansMono.ttf Child return code was: 0