Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/vodovod.spec'], chrootPath='/var/lib/mock/f31-build-98395-33043/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=986gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Wrote: /builddir/build/SRPMS/vodovod-1.10r22-14.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/vodovod.spec'], chrootPath='/var/lib/mock/f31-build-98395-33043/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=986gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564185600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.s54OBT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf vodovod + /usr/bin/gzip -dc /builddir/build/SOURCES/vodovod-1.10r22-src.tar.gz + /usr/bin/tar -xof - + 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (vodovod-1.10r22-format-string.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + rm data/font1.ttf + sed -i -e 's|data/font1.ttf|../fonts/dejavu/DejaVuSansMono.ttf|' allmenus.cpp main.cpp game.cpp + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (vodovod-1.10r22-locales.patch): 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 Patch #1 (vodovod-1.10r22-format-string.patch): patching file njamfont.cpp Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9phghS + umask 022 + cd /builddir/build/BUILD + cd vodovod + make PREFIX=/usr HIGHSCOREDIR=/var/games -j4 CXX=g++ 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' BUILDSTDERR: resource.cpp: In destructor 'ResourceManager::~ResourceManager()': BUILDSTDERR: resource.cpp:150:27: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type '_Mix_Music*' [-Wformat=] BUILDSTDERR: 150 | fprintf(stderr, _("Freeing music resource: %s (0x%08x)..."), (*it).first.c_str(), (*it).second); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: resource.cpp:22:28: note: in definition of macro '_' BUILDSTDERR: 22 | #define _(String) gettext (String) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: resource.cpp:150:61: note: format string is defined here BUILDSTDERR: 150 | fprintf(stderr, _("Freeing music resource: %s (0x%08x)..."), (*it).first.c_str(), (*it).second); BUILDSTDERR: | ~~~^ BUILDSTDERR: | | BUILDSTDERR: | unsigned int BUILDSTDERR: In file included from allmenus.h:24, BUILDSTDERR: from main.cpp:33: BUILDSTDERR: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': BUILDSTDERR: effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: 65 | std::string textM; BUILDSTDERR: | ^~~~~ BUILDSTDERR: effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] BUILDSTDERR: 63 | int repeatM; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: effects.h:67:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 67 | TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': BUILDSTDERR: effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: 77 | std::string textM; BUILDSTDERR: | ^~~~~ BUILDSTDERR: effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] BUILDSTDERR: 75 | double xoffset; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: effects.h:79:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 79 | ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: map.cpp: In destructor 'Map::~Map()': BUILDSTDERR: map.cpp:324:25: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 324 | delete fieldsM[i]; BUILDSTDERR: | ^ BUILDSTDERR: map.cpp: In member function 'void Map::Setup(int, int)': BUILDSTDERR: map.cpp:340:25: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 340 | delete fieldsM[i]; BUILDSTDERR: | ^ BUILDSTDERR: map.cpp:350:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 350 | delete (fieldsM[f]); BUILDSTDERR: | ^ BUILDSTDERR: map.cpp:359:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 359 | delete (fieldsM[f]); BUILDSTDERR: | ^ BUILDSTDERR: map.cpp:370:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 370 | delete (fieldsM[f]); BUILDSTDERR: | ^ BUILDSTDERR: map.cpp:384:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 384 | delete (fieldsM[f]); BUILDSTDERR: | ^ BUILDSTDERR: map.cpp:398:44: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 398 | delete fieldsM[x+y*widthM+f]; BUILDSTDERR: | ^ BUILDSTDERR: map.cpp: In member function 'bool Map::PutShape(Shape*)': BUILDSTDERR: map.cpp:510:16: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 510 | delete s; BUILDSTDERR: | ^ BUILDSTDERR: map.cpp: In member function 'int Map::AdvanceFlow()': BUILDSTDERR: map.cpp:542:16: warning: enumeration value 'dNone' not handled in switch [-Wswitch] BUILDSTDERR: 542 | switch (d) BUILDSTDERR: | ^ BUILDSTDERR: map.cpp:542:16: warning: enumeration value 'dFull' not handled in switch [-Wswitch] BUILDSTDERR: In file included from game.h:27, BUILDSTDERR: from game.cpp:28: BUILDSTDERR: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': BUILDSTDERR: effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: 65 | std::string textM; BUILDSTDERR: | ^~~~~ BUILDSTDERR: effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] BUILDSTDERR: 63 | int repeatM; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: effects.h:67:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 67 | TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': BUILDSTDERR: effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: 77 | std::string textM; BUILDSTDERR: | ^~~~~ BUILDSTDERR: effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] BUILDSTDERR: 75 | double xoffset; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: effects.h:79:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 79 | ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: game.cpp: In member function 'void Game::ClearQueue()': BUILDSTDERR: game.cpp:48:16: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 48 | delete s; BUILDSTDERR: | ^ BUILDSTDERR: sutils.cpp:53: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: 53 | #pragma warn -ccc BUILDSTDERR: | BUILDSTDERR: sutils.cpp:54: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: 54 | #pragma warn -rch BUILDSTDERR: | BUILDSTDERR: sutils.cpp:59: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: 59 | #pragma warn +ccc BUILDSTDERR: | BUILDSTDERR: sutils.cpp:60: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: 60 | #pragma warn +rch BUILDSTDERR: | BUILDSTDERR: sutils.cpp:79: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: 79 | #pragma warn -ccc BUILDSTDERR: | BUILDSTDERR: sutils.cpp:80: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: 80 | #pragma warn -rch BUILDSTDERR: | BUILDSTDERR: sutils.cpp:91: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: 91 | #pragma warn +ccc BUILDSTDERR: | BUILDSTDERR: sutils.cpp:92: warning: ignoring #pragma warn [-Wunknown-pragmas] BUILDSTDERR: 92 | #pragma warn +rch BUILDSTDERR: | BUILDSTDERR: In file included from game.h:27, BUILDSTDERR: from allmenus.cpp:25: BUILDSTDERR: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': BUILDSTDERR: effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: 65 | std::string textM; BUILDSTDERR: | ^~~~~ BUILDSTDERR: effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] BUILDSTDERR: 63 | int repeatM; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: effects.h:67:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 67 | TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': BUILDSTDERR: effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: 77 | std::string textM; BUILDSTDERR: | ^~~~~ BUILDSTDERR: effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] BUILDSTDERR: 75 | double xoffset; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: effects.h:79:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 79 | ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: sutils.cpp: In function 'bool RGB2OneColor(SDL_Surface*, Uint8, Uint8, Uint8)': BUILDSTDERR: sutils.cpp:152:9: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: 152 | int x, y; BUILDSTDERR: | ^ BUILDSTDERR: sutils.cpp:152:12: warning: unused variable 'y' [-Wunused-variable] BUILDSTDERR: 152 | int x, y; BUILDSTDERR: | ^ BUILDSTDERR: sutils.cpp: In function 'bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)': BUILDSTDERR: sutils.cpp:250:9: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: 250 | int x, y; BUILDSTDERR: | ^ BUILDSTDERR: sutils.cpp:250:12: warning: unused variable 'y' [-Wunused-variable] BUILDSTDERR: 250 | int x, y; BUILDSTDERR: | ^ BUILDSTDERR: sutils.cpp: In function 'void InitVideo(bool)': BUILDSTDERR: sutils.cpp:373:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 373 | for (int i=0; i 499 && key == getKey(taUp)) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:53:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 53 | if (key == SDLK_DOWN || key > 499 && key == getKey(taDown)) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:55:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 55 | if (firstIsTitleM && indicator < 1 || !firstIsTitleM && indicator < 0) BUILDSTDERR: | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: menu.cpp:61:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 61 | if ((key == SDLK_RETURN || key == SDLK_KP_ENTER || key > 499 && key == getKey(taDrop))) BUILDSTDERR: | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sutils.cpp: In function 'bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)': BUILDSTDERR: sutils.cpp:272:21: warning: 'color' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 272 | putpixel(surface, x, y, color); BUILDSTDERR: | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: hiscore.cpp: In constructor 'HiScores::HiScores()': BUILDSTDERR: hiscore.cpp:71:18: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 71 | fgets(buff, 80, fp); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from effects.cpp:27: BUILDSTDERR: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': BUILDSTDERR: effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: 65 | std::string textM; BUILDSTDERR: | ^~~~~ BUILDSTDERR: effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] BUILDSTDERR: 63 | int repeatM; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: effects.h:67:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 67 | TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': BUILDSTDERR: effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] BUILDSTDERR: 77 | std::string textM; BUILDSTDERR: | ^~~~~ BUILDSTDERR: effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] BUILDSTDERR: 75 | double xoffset; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: effects.h:79:5: warning: when initialized here [-Wreorder] BUILDSTDERR: 79 | ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: effects.cpp: In destructor 'Effects::~Effects()': BUILDSTDERR: effects.cpp:34:20: warning: deleting object of abstract class type 'SpecialEffect' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 34 | delete (*it); BUILDSTDERR: | ^ BUILDSTDERR: effects.cpp: In member function 'void Effects::removeEffect(SpecialEffect*)': BUILDSTDERR: effects.cpp:51:20: warning: deleting object of abstract class type 'SpecialEffect' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 51 | delete p; BUILDSTDERR: | ^ BUILDSTDERR: effects.cpp: In member function 'void Effects::Render()': BUILDSTDERR: effects.cpp:66:20: warning: deleting object of abstract class type 'SpecialEffect' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] BUILDSTDERR: 66 | delete p; BUILDSTDERR: | ^ BUILDSTDERR: ........................... done. BUILDSTDERR: 230 translated messages, 2 untranslated messages. BUILDSTDERR: .......................... done. BUILDSTDERR: 228 translated messages, 4 untranslated messages. BUILDSTDERR: .......................... done. BUILDSTDERR: config.cpp: In constructor 'Config::Config()': BUILDSTDERR: config.cpp:145:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] BUILDSTDERR: 145 | for (int i=0; i