D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/megamario-1.7-10.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yIUmxz
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ test -d /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ztuFhr
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ rm -rf megamario-1.7
+ /usr/bin/mkdir -p megamario-1.7
+ cd megamario-1.7
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/MegaMario_v1.7_full.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/megamario-1.7-compile-fix.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f
+ sed -i 's/\r//' CONTROLS.txt fixes_v1.7.txt licence.txt linux.txt log.txt readme.txt megamario.desktop
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BhIkt2
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ cd megamario-1.7
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/make -O -j16 V=1 VERBOSE=1 PREFIX=/usr 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char'
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/killerblume.o -c src/killerblume.cpp
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/spiny.o -c src/spiny.cpp
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/goombabig.o -c src/goombabig.cpp
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/goomba.o -c src/goomba.cpp
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/gamepad.o -c src/gamepad.cpp
src/gamepad.cpp: In member function 'void cGamepad::drawStats()':
src/gamepad.cpp:158:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  158 |                 StringColor(screen,50,200,"LINKS",-134631460);
      |                                           ^~~~~~~
src/gamepad.cpp:160:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  160 |                 StringColor(screen,50,150,"RECHTS",-134631460);
      |                                           ^~~~~~~~
src/gamepad.cpp:162:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  162 |                 StringColor(screen,50,100,"HOCH",-134631460);
      |                                           ^~~~~~
src/gamepad.cpp:164:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  164 |                 StringColor(screen,50,250,"RUNTER",-134631460);
      |                                           ^~~~~~~~
src/gamepad.cpp:166:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  166 |                 StringColor(screen,50,300,"AAA",-134631460);
      |                                           ^~~~~
src/gamepad.cpp:168:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  168 |                 StringColor(screen,50,350,"BBB",-134631460);
      |                                           ^~~~~
src/gamepad.cpp:170:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  170 |                 StringColor(screen,50,400,"Start",-134631460);
      |                                           ^~~~~~~
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/enemy.o -c src/enemy.cpp
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/turtle.o -c src/turtle.cpp
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/firecircle.o -c src/firecircle.cpp
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/unixutils.o -c src/unixutils.c
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/bowser.o -c src/bowser.cpp
src/bowser.cpp: In member function 'void cBowser::update()':
src/bowser.cpp:97:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   97 |                                                 playMusic("bowser1.mid");
      |                                                           ^~~~~~~~~~~~~
src/bowser.cpp:100:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  100 |                                                 playMusic("bowser2.mid");
      |                                                           ^~~~~~~~~~~~~
src/bowser.cpp:103:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  103 |                                                 playMusic("bowser3.mid");
      |                                                           ^~~~~~~~~~~~~
src/bowser.cpp:184:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  184 |                                 playMusic("reggae.mid");
      |                                           ^~~~~~~~~~~~
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/global.o -c src/global.cpp
src/global.cpp: In function 'void THEGAMEENDSHERE()':
src/global.cpp:193:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  193 |         playMusic("ending.mid");
      |                   ^~~~~~~~~~~~
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/main.o -c src/main.cpp
src/main.cpp: In function 'int main(int, char**)':
src/main.cpp:67:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   67 |         pixelation = iniparser_getboolean (d, "Mario:Pixelation", 1);
      |                                               ^~~~~~~~~~~~~~~~~~
src/main.cpp:68:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   68 |         show_blood = iniparser_getboolean (d, "Mario:Blood", 0);
      |                                               ^~~~~~~~~~~~~
src/main.cpp:69:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   69 |         nosound    = iniparser_getint (d, "Mario:Sound", 2);
      |                                           ^~~~~~~~~~~~~
src/main.cpp:71:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   71 |         GL_Width = iniparser_getint (d, "Mario:SCREEN_W", 640);
      |                                         ^~~~~~~~~~~~~~~~
src/main.cpp:72:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   72 |         GL_Height = iniparser_getint (d, "Mario:SCREEN_H", 480);
      |                                          ^~~~~~~~~~~~~~~~
src/main.cpp:77:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   77 |         Real_Fullscreen = iniparser_getboolean (d, "Mario:FULLSCREEN", 1);
      |                                                    ^~~~~~~~~~~~~~~~~~
src/main.cpp:79:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   79 |         targetfps = iniparser_getint (d, "Mario:Gamespeed", targetfps);
      |                                          ^~~~~~~~~~~~~~~~~
src/main.cpp:86:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   86 |         cheats_enabled  = iniparser_getboolean (d, "Mario:CHEATS_ENABLED", 0);
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~
src/main.cpp: In function 'void gameEvent()':
src/main.cpp:244:42: warning: deleting array 'gammel'
  244 |                                 delete[] gammel;
      |                                          ^~~~~~
src/main.cpp: In function 'void died()':
src/main.cpp:363:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  363 |                 StringColor(screen,300,230,"Reviving...",-6536532);
      |                                            ^~~~~~~~~~~~~
src/main.cpp: In function 'void exitos()':
src/main.cpp:433:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  433 |         dictionary * d = iniparser_new("megamario.ini");
      |                                        ^~~~~~~~~~~~~~~
src/main.cpp:435:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  435 |         iniparser_setstr (d, "Mario", NULL);
      |                              ^~~~~~~
src/main.cpp:437:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  437 |         iniparser_setstr (d, "Mario:Pixelation", szBuffer);
      |                              ^~~~~~~~~~~~~~~~~~
src/main.cpp:439:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  439 |         iniparser_setstr (d, "Mario:Blood", szBuffer);
      |                              ^~~~~~~~~~~~~
src/main.cpp:441:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  441 |         iniparser_setstr (d, "Mario:Sound", szBuffer);
      |                              ^~~~~~~~~~~~~
src/main.cpp:443:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  443 |         iniparser_setstr (d, "Mario:SCREEN_W", szBuffer);
      |                              ^~~~~~~~~~~~~~~~
src/main.cpp:445:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  445 |         iniparser_setstr (d, "Mario:SCREEN_H", szBuffer);
      |                              ^~~~~~~~~~~~~~~~
src/main.cpp:447:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  447 |         iniparser_setstr (d, "Mario:FULLSCREEN", szBuffer);
      |                              ^~~~~~~~~~~~~~~~~~
src/main.cpp:449:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  449 |         iniparser_setstr (d, "Mario:Gamespeed", szBuffer);
      |                              ^~~~~~~~~~~~~~~~~
src/main.cpp:453:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  453 |                 iniparser_setstr (d, "Mario:CHEATS_ENABLED", szBuffer);
      |                                      ^~~~~~~~~~~~~~~~~~~~~~
src/main.cpp: In function 'void gameEvent()':
src/main.cpp:244:33: warning: 'void operator delete [](void*)' called on unallocated object 'gammel' [-Wfree-nonheap-object]
  244 |                                 delete[] gammel;
      |                                 ^~~~~~~~~~~~~~~
src/main.cpp:241:38: note: declared here
  241 |                                 char gammel[100];
      |                                      ^~~~~~
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/menu.o -c src/menu.cpp
src/menu.cpp: In function 'void showMenu()':
<command-line>: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
src/menu.cpp:121:34: note: in expansion of macro 'DATADIR'
  121 |                 LEVEL->loadLevel(DATADIR "levels/menulevel",0);
      |                                  ^~~~~~~
src/menu.cpp: In function 'void MenuEvent()':
<command-line>: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
src/menu.cpp:217:82: note: in expansion of macro 'DATADIR'
  217 |                                                                         instruct(DATADIR "gfx/menu/insctructions.jpg");
      |                                                                                  ^~~~~~~
<command-line>: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
src/menu.cpp:218:82: note: in expansion of macro 'DATADIR'
  218 |                                                                         instruct(DATADIR "gfx/story/story.jpg");
      |                                                                                  ^~~~~~~
<command-line>: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
src/menu.cpp:220:90: note: in expansion of macro 'DATADIR'
  220 |                                                                         LEVEL->loadLevel(DATADIR "levels/1/main",0);
      |                                                                                          ^~~~~~~
src/menu.cpp:268:99: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  268 |                                                                                         playMusic("megagroove.mid");
      |                                                                                                   ^~~~~~~~~~~~~~~~
src/menu.cpp:459:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  459 |                 StringColor(screen,10,460,"High Quality Music not found!",532432);
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/menu.cpp: In function 'void initMenu()':
src/menu.cpp:50:32: warning: iteration 6 invokes undefined behavior [-Waggressive-loop-optimizations]
   50 |                 Menu_RECT[i].x = 200;
      |                 ~~~~~~~~~~~~~~~^~~~~
src/menu.cpp:48:22: note: within this loop
   48 |         for(int i=0;i<7;i++)
      |                     ~^~
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/bonus.o -c src/bonus.cpp
src/bonus.cpp: In member function 'void cBonus::update()':
src/bonus.cpp:95:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
   95 |                                         playMusic("star.mid");
      |                                                   ^~~~~~~~~~
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/iniparser.o -c src/iniparser.c
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/player.o -c src/player.cpp
src/player.cpp:13:9: warning: "M_PI" redefined
   13 | #define M_PI 3.141592654
      |         ^~~~
In file included from /usr/include/c++/14/cmath:47,
                 from /usr/include/c++/14/math.h:36,
                 from src/SDL_gfxPrimitives.h:13,
                 from src/Global.h:59,
                 from src/player.cpp:10:
/usr/include/math.h:1152:10: note: this is the location of the previous definition
 1152 | # define M_PI           3.14159265358979323846  /* pi */
      |          ^~~~
src/player.cpp: In member function 'void cPlayer::update()':
src/player.cpp:340:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  340 |                                 playMusic("megamusic.mid");
      |                                           ^~~~~~~~~~~~~~~
cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/SDL_gfxPrimitives.o -c src/SDL_gfxPrimitives.c
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/levels.o -c src/levels.cpp
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/opengl.o -c src/opengl.cpp
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/flybrett.o -c src/flybrett.cpp
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/keyinput.o -c src/keyinput.cpp
src/keyinput.cpp: In function 'void keyInput()':
src/keyinput.cpp:112:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  112 |                 showTip("  Game Paused"," "," ","   The journey goes on"," "," "," ");
      |                         ^~~~~~~~~~~~~~~
src/keyinput.cpp:112:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  112 |                 showTip("  Game Paused"," "," ","   The journey goes on"," "," "," ");
      |                                         ^~~
src/keyinput.cpp:112:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  112 |                 showTip("  Game Paused"," "," ","   The journey goes on"," "," "," ");
      |                                             ^~~
src/keyinput.cpp:112:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  112 |                 showTip("  Game Paused"," "," ","   The journey goes on"," "," "," ");
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~
src/keyinput.cpp:112:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  112 |                 showTip("  Game Paused"," "," ","   The journey goes on"," "," "," ");
      |                                                                          ^~~
src/keyinput.cpp:112:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  112 |                 showTip("  Game Paused"," "," ","   The journey goes on"," "," "," ");
      |                                                                              ^~~
src/keyinput.cpp:112:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  112 |                 showTip("  Game Paused"," "," ","   The journey goes on"," "," "," ");
      |                                                                                  ^~~
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/particle.o -c src/particle.cpp
g++ -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fsigned-char -DDATADIR=\"/usr/share/megamario/\" -o src/functions.o -c src/functions.cpp
g++ -lSDL -lSDL_mixer -lSDL_ttf -lSDL_image -lGL -o megamario src/bonus.o src/gamepad.o src/killerblume.o src/player.o src/bowser.o src/global.o src/levels.o src/spiny.o src/enemy.o src/goomba.o src/main.o src/turtle.o src/firecircle.o src/goombabig.o src/menu.o src/SDL_gfxPrimitives.o src/flybrett.o src/opengl.o src/iniparser.o src/unixutils.o src/functions.o src/keyinput.o src/particle.o
+ convert -transparent '#FF00FF' data/gfx/characters/small/player1r.PNG megamario.png
WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"

+ sed -i 's/Icon=.*/Icon=megamario/' megamario.desktop
+ sed -i /Encoding/d megamario.desktop
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mR9DMh
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ mkdir /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT
+ cd megamario-1.7
+ '[' 1 -eq 1 ']'
+ make install PREFIX=/home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr
rm -fr /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/megamario
mkdir -p /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/bin
mkdir -p /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share
install -p -m 755 megamario /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/bin
cp -a data /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/megamario
# fix broken permission <sigh>
chmod 755 /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/megamario/gfx/tiles/pipes/left
for i in `find /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/megamario -name "*.PNG"`; do \
	mv $i `echo $i|sed s/PNG/png/`; \
done
for i in `find /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/megamario -name "*.JPG"`; do \
	mv $i `echo $i|sed s/JPG/jpg/`; \
done
+ rm /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/megamario/levels/1/1
+ rm /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/megamario/levels/11/mai
+ rm /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/megamario/save.sav
+ mkdir -p /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/applications /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/pixmaps
+ install -p -m 0644 megamario.desktop /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/applications/
+ install -p -m 0644 megamario.png /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/pixmaps/
+ pushd /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/megamario/gfx/background
~/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/megamario/gfx/background ~/rpmbuild/BUILD/megamario-1.7-build/megamario-1.7
+ ln -s Iceland.jpg iceland.jpg
+ ln -s canyon.jpg Canyon.jpg
+ popd
~/rpmbuild/BUILD/megamario-1.7-build/megamario-1.7
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.7-10.mga10 --unique-debug-suffix -1.7-10.mga10.x86_64 --unique-debug-src-base megamario-1.7-10.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/megamario-1.7
find-debuginfo: starting

Extracting debug info from 1 files
DWARF-compressing 1 files
sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/megamario-1.7-10.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: megamario-1.7-10.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UoHjUJ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ cd megamario-1.7
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/doc/megamario
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/doc/megamario
+ cp -pr /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/megamario-1.7/CONTROLS.txt /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/doc/megamario
+ cp -pr /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/megamario-1.7/readme.txt /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/doc/megamario
+ cp -pr /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/megamario-1.7/fixes_v1.7.txt /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT/usr/share/doc/megamario
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: application() application(megamario.desktop) megamario = 1.7-10.mga10 megamario(x86-64) = 1.7-10.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libGL.so.1()(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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(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.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
Processing files: megamario-debugsource-1.7-10.mga10.x86_64
Provides: megamario-debugsource = 1.7-10.mga10 megamario-debugsource(x86-64) = 1.7-10.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: megamario-debuginfo-1.7-10.mga10.x86_64
Provides: debuginfo(build-id) = 4f11732d2517aed1e0cd51136d1522b680a66c1e megamario-debuginfo = 1.7-10.mga10 megamario-debuginfo(x86-64) = 1.7-10.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: megamario-debugsource(x86-64) = 1.7-10.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/megamario-1.7-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/megamario-debugsource-1.7-10.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/megamario-debuginfo-1.7-10.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/megamario-1.7-10.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7qXq1z
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ test -d /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/megamario-1.7-build
+ RPM_EC=0
++ jobs -p
+ exit 0
D: [iurt_root_command] Success!