Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/vodovod.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-4710966f71a1a1e151a18367693c35a481b37a50/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/vodovod.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/vodovod-1.10r22-3.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/vodovod.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-4710966f71a1a1e151a18367693c35a481b37a50/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/vodovod.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DZgv1y + 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 -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd vodovod + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (vodovod-1.10r22-locales.patch): + echo 'Patch #0 (vodovod-1.10r22-locales.patch):' + /usr/bin/cat /builddir/build/SOURCES/vodovod-1.10r22-locales.patch + /usr/bin/patch -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 Patch #1 (vodovod-1.10r22-format-string.patch): + echo 'Patch #1 (vodovod-1.10r22-format-string.patch):' + /usr/bin/cat /builddir/build/SOURCES/vodovod-1.10r22-format-string.patch + /usr/bin/patch -p1 --fuzz=0 patching file njamfont.cpp + rm data/font1.ttf + sed -i -e 's|data/font1.ttf|../fonts/dejavu/DejaVuSansMono.ttf|' allmenus.cpp main.cpp game.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eBiKse + umask 022 + cd /builddir/build/BUILD + cd vodovod + make PREFIX=/usr HIGHSCOREDIR=/var/games -j4 CXX=armv7hl-redhat-linux-gnueabi-g++ 'CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" game.cpp -o game.o armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" map.cpp -o map.o armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" resource.cpp -o resource.o armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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:103: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type '_Mix_Music*' [-Wformat=] fprintf(stderr, _("Freeing music resource: %s (0x%08x)..."), (*it).first.c_str(), (*it).second); ^ In file included from allmenus.h:24:0, from main.cpp:33: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] std::string textM; ^ effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] int repeatM; ^ effects.h:67:5: warning: when initialized here [-Wreorder] TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) ^ effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] std::string textM; ^ effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] double xoffset; ^ effects.h:79:5: warning: when initialized here [-Wreorder] ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) ^ map.cpp: In destructor 'Map::~Map()': map.cpp:324:25: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete fieldsM[i]; ^ map.cpp: In member function 'void Map::Setup(int, int)': map.cpp:340:25: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete fieldsM[i]; ^ map.cpp:350:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete (fieldsM[f]); ^ map.cpp:359:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete (fieldsM[f]); ^ map.cpp:370:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete (fieldsM[f]); ^ map.cpp:384:31: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete (fieldsM[f]); ^ map.cpp:398:44: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete fieldsM[x+y*widthM+f]; ^ map.cpp: In member function 'bool Map::PutShape(Shape*)': map.cpp:510:16: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete s; ^ map.cpp: In member function 'int Map::AdvanceFlow()': map.cpp:542:16: warning: enumeration value 'dNone' not handled in switch [-Wswitch] switch (d) ^ map.cpp:542:16: warning: enumeration value 'dFull' not handled in switch [-Wswitch] In file included from game.h:27:0, from game.cpp:28: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] std::string textM; ^ effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] int repeatM; ^ effects.h:67:5: warning: when initialized here [-Wreorder] TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) ^ effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] std::string textM; ^ effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] double xoffset; ^ effects.h:79:5: warning: when initialized here [-Wreorder] ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) ^ game.cpp: In member function 'void Game::ClearQueue()': game.cpp:48:16: warning: deleting object of polymorphic class type 'Shape' which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor] delete s; ^ armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" allmenus.cpp -o allmenus.o armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" njamfont.cpp -o njamfont.o armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" sutils.cpp -o sutils.o sutils.cpp:53:0: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn -ccc ^ sutils.cpp:54:0: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn -rch ^ sutils.cpp:59:0: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn +ccc ^ sutils.cpp:60:0: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn +rch ^ sutils.cpp:79:0: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn -ccc ^ sutils.cpp:80:0: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn -rch ^ sutils.cpp:91:0: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn +ccc ^ sutils.cpp:92:0: warning: ignoring #pragma warn [-Wunknown-pragmas] #pragma warn +rch ^ In file included from game.h:27:0, from allmenus.cpp:25: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] std::string textM; ^ effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] int repeatM; ^ effects.h:67:5: warning: when initialized here [-Wreorder] TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) ^ effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] std::string textM; ^ effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] double xoffset; ^ effects.h:79:5: warning: when initialized here [-Wreorder] ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) ^ armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" menu.cpp -o menu.o armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" hiscore.cpp -o hiscore.o sutils.cpp: In function 'bool RGB2OneColor(SDL_Surface*, Uint8, Uint8, Uint8)': sutils.cpp:152:9: warning: unused variable 'x' [-Wunused-variable] int x, y; ^ sutils.cpp:152:12: warning: unused variable 'y' [-Wunused-variable] int x, y; ^ sutils.cpp: In function 'bool SurfaceEffect(SDL_Surface*, SDL_Rect&, tEffect)': sutils.cpp:250:9: warning: unused variable 'x' [-Wunused-variable] int x, y; ^ sutils.cpp:250:12: warning: unused variable 'y' [-Wunused-variable] int x, y; ^ sutils.cpp: In function 'void InitVideo(bool)': sutils.cpp:373:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i 499 && key == getKey(taUp)) ^ menu.cpp:53:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (key == SDLK_DOWN || key > 499 && key == getKey(taDown)) ^ menu.cpp:55:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (firstIsTitleM && indicator < 1 || !firstIsTitleM && indicator < 0) ^ menu.cpp:61:66: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 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:43: warning: 'color' may be used uninitialized in this function [-Wmaybe-uninitialized] putpixel(surface, x, y, color); ^ hiscore.cpp: In constructor 'HiScores::HiScores()': hiscore.cpp:71:32: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(buff, 80, fp); ^ armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" effects.cpp -o effects.o armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DPACKAGE=\"vodovod\" -DDATADIR=\"/usr/share/vodovod\" -DHIGHSCOREDIR=\"/var/games\" -DLOCALEDIR=\"/usr/share/locale\" config.cpp -o config.o armv7hl-redhat-linux-gnueabi-g++ -c `sdl-config --cflags` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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:0: effects.h: In constructor 'TextEffect::TextEffect(NjamFont*, int, int, const string&, int)': effects.h:65:17: warning: 'TextEffect::textM' will be initialized after [-Wreorder] std::string textM; ^ effects.h:63:9: warning: 'int TextEffect::repeatM' [-Wreorder] int repeatM; ^ effects.h:67:5: warning: when initialized here [-Wreorder] TextEffect(NjamFont *f, int xpos, int ypos, const std::string& text, int repeat = 0) ^ effects.h: In constructor 'ScrollEffect::ScrollEffect(NjamFont*, int, int, const string&)': effects.h:77:17: warning: 'ScrollEffect::textM' will be initialized after [-Wreorder] std::string textM; ^ effects.h:75:12: warning: 'double ScrollEffect::xoffset' [-Wreorder] double xoffset; ^ effects.h:79:5: warning: when initialized here [-Wreorder] ScrollEffect(NjamFont *f, int xpos, int ypos, const std::string& text) ^ effects.cpp: In destructor 'Effects::~Effects()': effects.cpp:34:20: warning: deleting object of abstract class type 'SpecialEffect' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] delete (*it); ^ effects.cpp: In member function 'void Effects::removeEffect(SpecialEffect*)': effects.cpp:51:20: warning: deleting object of abstract class type 'SpecialEffect' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] delete p; ^ effects.cpp: In member function 'void Effects::Render()': effects.cpp:66:20: warning: deleting object of abstract class type 'SpecialEffect' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] delete p; ^ config.cpp: In constructor 'Config::Config()': config.cpp:145:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i=0; i