D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/beret-1.2.1-5.20130311.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ATVHG1 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.b8qK6J + umask 022 + cd /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build + rm -rf beret-1.2.1+20130311 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/beret-1.2.1+20130311.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd beret-1.2.1+20130311 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/beret-1.2.1-mga-libmath-and-flags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/beret-1.2.1-mga-resource-and-config-paths.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cJlVOm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd beret-1.2.1+20130311 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 'OPTFLAGS=-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' 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -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 -c -o physics.o physics.c gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -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 -c -o thing.o thing.c gcc -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -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 -c -o game.o game.c game.c: In function 'init_play': game.c:1442:27: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1442 | if (lvlCode < 80) fread(&lcode, sizeof(char), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1443:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1443 | fread(enemdead, sizeof(int), ROOMMAX, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1444:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1444 | fread(&bspminutes, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1445:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1445 | fread(&bspseconds, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c: In function 'load_room_return': game.c:1550:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1550 | fread(&lvlCode, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1551:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1551 | fread(&areaCode, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1552:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1552 | fread(&gotmwht, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1553:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1553 | fread(gotmcrn, sizeof(int), 4, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1554:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1554 | fread(&mfragcount, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1555:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1555 | fread(gotmfrag, sizeof(int), MFRAGTOTAL, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1556:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1556 | fread(&gotgmed, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1557:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1557 | fread(&gotpmed, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1558:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1558 | fread(&trgentrance, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1559:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1559 | fread(&spminutes, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1560:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1560 | fread(&spseconds, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1561:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1561 | fread(&spframes, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1562:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1562 | fread(&enemalldead, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1563:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1563 | fread(enemdead, sizeof(int), ROOMMAX, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1564:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1564 | fread(&haswmed, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1565:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1565 | fread(&hasomed, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1566:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1566 | fread(&hasbmed, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1567:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1567 | fread(&hasrmed, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1568:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1568 | fread(&hasgmed, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1569:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1569 | fread(&haspmed, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1570:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1570 | fread(&usedsavestate, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1571:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1571 | fread(&hsvsttemp, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1572:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1572 | fread(&flag, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c: In function 'read_level': game.c:1696:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1696 | fread(&lcode, sizeof(char), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1697:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1697 | fread(&acode, sizeof(char), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1699:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1699 | fread(&bkgtemp, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1700:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1700 | fread(&musictemp, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1701:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1701 | fread(&lvlWidth, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1702:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1702 | fread(&lvlHeight, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1703:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1703 | fread(&startx, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1704:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1704 | fread(&starty, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1705:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1705 | fread(things, sizeof(Thing), THINGMAX, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1709:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1709 | fread(&tilebackup[i][j][k], sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c: In function 'write_metalevel': game.c:1784:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1784 | fread(&curbkg, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1785:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1785 | fread(&curmusic, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1786:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1786 | fread(&lvlWidth, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1787:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1787 | fread(&lvlHeight, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1788:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1788 | fread(&startx, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1789:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1789 | fread(&starty, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1790:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1790 | fread(things, sizeof(Thing), THINGMAX, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:1793:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1793 | fread(tiles[i][j], sizeof(int), 3, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c: In function 'load_state': game.c:2104:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2104 | fread(&beret, sizeof(Thing), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2106:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2106 | fread(&camx, sizeof(int),1,file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2107:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2107 | fread(&camy, sizeof(int),1,file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2108:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2108 | fread(things, sizeof(Thing), THINGMAX, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2111:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2111 | fread(tiles[i][j], sizeof(int), 3, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2112:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2112 | fread(particles, sizeof(Particle), PARTICLEMAX, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2113:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2113 | fread(&mfragcount, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2114:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2114 | fread(gotmfrag, sizeof(int), MFRAGTOTAL, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2115:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2115 | fread(gotmcrn, sizeof(int), 4, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2116:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2116 | fread(&gotmwht, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2117:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2117 | fread(&gotgmed, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2118:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2118 | fread(&gotpmed, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2119:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2119 | fread(&enemdeadhere, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2120:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2120 | fread(&enemalldead, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2121:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2121 | fread(&spframes, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2122:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2122 | fread(&spseconds, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2123:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2123 | fread(&spminutes, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2124:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2124 | fread(&telething, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2125:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2125 | fread(&switchflags, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2127:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2127 | fread(&mx, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2128:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2128 | fread(&my, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2130:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2130 | fread(&trash, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2131:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2131 | fread(&trash, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2135:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2135 | fread(get_bossvars(), sizeof(int), BOSSMAX, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2136:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2136 | fread(&gravdir, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c: In function 'load_map': game.c:2192:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2192 | fread(&mcode, sizeof(char), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2195:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2195 | fread(tiles[i][j], sizeof(int), 3, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2205:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2205 | fread(&contlvl, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c: In function 'load_game_data': game.c:2482:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2482 | fread(gamename, sizeof(char), 25, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2483:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2483 | fread(gotmedals, sizeof(int), MEDALMAX, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2484:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2484 | fread(&mapCode, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c:2485:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2485 | fread(&initgamemsg, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c: In function 'begin_game': game.c:2689:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2689 | fread(&contlvl, sizeof(int), 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ game.c: In function 'write_metalevel': game.c:1627:25: warning: '%s' directive writing up to 511 bytes into a region of size 50 [-Wformat-overflow=] 1627 | sprintf(getinputstr, "%s", inptstr); | ^~ ...... 1820 | set_up_input(filestr,1,-1,-1); | ~~~~~~~ In file included from /usr/include/stdio.h:970, from /usr/include/SDL/SDL_stdinc.h:33, from /usr/include/SDL/SDL_main.h:29, from /usr/include/SDL/SDL.h:29, from game.c:1: In function 'sprintf', inlined from 'set_up_input' at game.c:1627:3, inlined from 'write_metalevel' at game.c:1820:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 1 and 512 bytes into a destination of size 50 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ game.c: In function 'save_state.part.0': game.c:2395:28: warning: 'bkp' directive writing 3 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 2395 | sprintf(filestr2, "%sbkp", filestr); | ^~~ In function 'sprintf', inlined from 'save_state.part.0' at game.c:2395:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 515 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ game.c: In function 'draw_get_input': game.c:3604:27: warning: 'rooms' directive writing 5 bytes into a region of size between 1 and 250 [-Wformat-overflow=] 3604 | sprintf(filestr, "%srooms%ssign%d-%d.txt", support_path, DIRSEP, lvlCode, msgcode); | ^~~~~ game.c:3604:24: note: directive argument in the range [80, 2147483647] 3604 | sprintf(filestr, "%srooms%ssign%d-%d.txt", support_path, DIRSEP, lvlCode, msgcode); | ^~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'draw_get_input' at game.c:3604:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 19 and 286 bytes into a destination of size 250 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc game.o thing.o physics.o -L/usr/lib64 -lSDL -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm -lSDL_image -lSDL_ttf -lSDL_mixer -o beret + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CcT6DI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build + mkdir /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build/BUILDROOT + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 ' + export FFLAGS + FCFLAGS='-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 ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd beret-1.2.1+20130311 + '[' 1 -eq 1 ']' + install -D -m755 beret /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build/BUILDROOT/usr/games/beret + install -d /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build/BUILDROOT/usr/share/games/beret + cp -a images music rooms sfx AveriaSans-Regular.ttf /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build/BUILDROOT/usr/share/games/beret + install -d /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build/BUILDROOT/usr/share/applications + cat + icotool -x images/icon.ico images/icon.ico: clr_important field in bitmap should be zero images/icon.ico: clr_important field in bitmap should be zero + install -D -m644 icon_3_32x32x8.png /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build/BUILDROOT/usr/share/icons/hicolor/48x48/apps/beret.png + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.2.1-5.20130311.1.mga10 --unique-debug-suffix -1.2.1-5.20130311.1.mga10.x86_64 --unique-debug-src-base beret-1.2.1-5.20130311.1.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build/beret-1.2.1+20130311 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/beret-1.2.1-5.20130311.1.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/beret-1.2.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: beret-1.2.1-5.20130311.1.mga10.x86_64 Provides: application() application(beret.desktop) beret = 1.2.1-5.20130311.1.mga10 beret(x86-64) = 1.2.1-5.20130311.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(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) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) Processing files: beret-data-1.2.1-5.20130311.1.mga10.noarch Provides: beret-data = 1.2.1-5.20130311.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: beret-debugsource-1.2.1-5.20130311.1.mga10.x86_64 Provides: beret-debugsource = 1.2.1-5.20130311.1.mga10 beret-debugsource(x86-64) = 1.2.1-5.20130311.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: beret-debuginfo-1.2.1-5.20130311.1.mga10.x86_64 Provides: beret-debuginfo = 1.2.1-5.20130311.1.mga10 beret-debuginfo(x86-64) = 1.2.1-5.20130311.1.mga10 debuginfo(build-id) = 39d1bfb9fa6980fbb19002a37cc1222564f386a1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: beret-debugsource(x86-64) = 1.2.1-5.20130311.1.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/beret-1.2.1-5.20130311.1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/beret-debugsource-1.2.1-5.20130311.1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/beret-debuginfo-1.2.1-5.20130311.1.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/beret-data-1.2.1-5.20130311.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pPqhOq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build + test -d /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/beret-1.2.1-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!