<86>Oct 31 04:17:20 userdel[2502973]: delete user 'rooter' <86>Oct 31 04:17:20 userdel[2502973]: removed group 'rooter' owned by 'rooter' <86>Oct 31 04:17:20 userdel[2502973]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 31 04:17:20 groupadd[2502992]: group added to /etc/group: name=rooter, GID=987 <86>Oct 31 04:17:20 groupadd[2502992]: group added to /etc/gshadow: name=rooter <86>Oct 31 04:17:20 groupadd[2502992]: new group: name=rooter, GID=987 <86>Oct 31 04:17:20 useradd[2503010]: new user: name=rooter, UID=987, GID=987, home=/root, shell=/bin/bash <86>Oct 31 04:17:20 userdel[2503034]: delete user 'builder' <86>Oct 31 04:17:20 userdel[2503034]: removed group 'builder' owned by 'builder' <86>Oct 31 04:17:20 userdel[2503034]: removed shadow group 'builder' owned by 'builder' <86>Oct 31 04:17:20 groupadd[2503054]: group added to /etc/group: name=builder, GID=988 <86>Oct 31 04:17:20 groupadd[2503054]: group added to /etc/gshadow: name=builder <86>Oct 31 04:17:20 groupadd[2503054]: new group: name=builder, GID=988 <86>Oct 31 04:17:20 useradd[2503067]: new user: name=builder, UID=988, GID=988, home=/usr/src, shell=/bin/bash warning: user slava does not exist - using root warning: group slava does not exist - using root warning: user slava does not exist - using root warning: group slava does not exist - using root warning: user slava does not exist - using root warning: group slava does not exist - using root warning: user slava does not exist - using root warning: group slava does not exist - using root <13>Oct 31 04:17:22 rpmi: libogg-1.3.4-alt1 p9+249556.100.1.1 1586300644 installed <13>Oct 31 04:17:22 rpmi: libglvnd-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 31 04:17:22 rpmi: xorg-proto-devel-2021.4-alt1 p9+272150.100.1.1 1621427342 installed <13>Oct 31 04:17:22 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Oct 31 04:17:22 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Oct 31 04:17:22 rpmi: libOpenGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 31 04:17:22 rpmi: libflac8-1.3.3-alt1 p9+249557.100.1.1 1586301784 installed <13>Oct 31 04:17:22 rpmi: libvorbis-1.3.6-alt2 sisyphus+220072.200.2.2 1548744467 installed <13>Oct 31 04:17:22 rpmi: libopus-1.3.1-alt3 p9+247689.300.3.1 1584537429 installed <13>Oct 31 04:17:22 rpmi: libgsm-1.0.17-alt1 1523356157 installed <13>Oct 31 04:17:22 rpmi: libsndfile-1.0.30-alt2 p9+262916.200.2.1 1607353710 installed <13>Oct 31 04:17:22 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed <13>Oct 31 04:17:22 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed <13>Oct 31 04:17:22 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed <13>Oct 31 04:17:22 rpmi: libsystemd-1:246.16-alt2 p9+287049.100.2.1 1634920961 installed <13>Oct 31 04:17:22 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed <13>Oct 31 04:17:22 rpmi: libasyncns-0.8-alt2.qa1 1365949819 installed <13>Oct 31 04:17:22 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Oct 31 04:17:22 rpmi: libX11-locales-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Oct 31 04:17:22 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Oct 31 04:17:22 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Oct 31 04:17:22 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Oct 31 04:17:22 rpmi: libX11-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Oct 31 04:17:22 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Oct 31 04:17:22 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Oct 31 04:17:22 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Oct 31 04:17:22 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed <13>Oct 31 04:17:22 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Oct 31 04:17:23 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Oct 31 04:17:23 rpmi: libX11-devel-3:1.7.2-alt1 p9+273972.100.2.1 1623924318 installed <13>Oct 31 04:17:23 rpmi: libpulseaudio-14.2-alt5 p9+275574.200.4.1 1625044013 installed <13>Oct 31 04:17:23 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed <13>Oct 31 04:17:23 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed <13>Oct 31 04:17:23 rpmi: libdrm-1:2.4.105-alt2 p9+271012.100.1.1 1619786664 installed <13>Oct 31 04:17:23 rpmi: libGLX-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Oct 31 04:17:23 rpmi: libGLX-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 31 04:17:23 rpmi: libGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 31 04:17:23 rpmi: libGLU-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Oct 31 04:17:23 rpmi: libgbm-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Oct 31 04:17:23 rpmi: libEGL-mesa-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Oct 31 04:17:23 rpmi: libEGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 31 04:17:23 rpmi: libglvnd-devel-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed <13>Oct 31 04:17:23 rpmi: libGL-devel-4:21.0.3-alt1 p9+271012.200.3.1 1621244963 installed <13>Oct 31 04:17:23 rpmi: libGLU-devel-4:9.0.1-alt1 p9+251991.3000.19.1 1590835932 installed <13>Oct 31 04:17:23 rpmi: gcc-c++-common-1.4.23-alt1 sisyphus+221902.2500.4.1 1550596716 installed <13>Oct 31 04:17:23 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Oct 31 04:17:24 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Oct 31 04:17:24 rpmi: alsa-ucm-conf-1.2.4-alt1 p9+250722.2300.14.1 1614269485 installed <13>Oct 31 04:17:24 rpmi: alsa-topology-conf-1.2.4-alt1 p9+250722.2200.14.1 1614269467 installed <13>Oct 31 04:17:24 rpmi: libalsa-1:1.2.4-alt1 p9+250722.2400.14.1 1614269549 installed <13>Oct 31 04:17:24 rpmi: libSDL-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Oct 31 04:17:24 rpmi: libSDL-devel-1.2.14-alt8 p9+232634.100.1.1 1560964523 installed <13>Oct 31 04:17:24 rpmi: libSDL_net-1.2.8-alt1 1333963621 installed <13>Oct 31 04:17:24 rpmi: libSDL_net-devel-1.2.8-alt1 1333963621 installed <13>Oct 31 04:17:24 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/opentyrian-2.1-alt2.rev628c01aadaa7.nosrc.rpm (w1.gzdio) Installing opentyrian-2.1-alt2.rev628c01aadaa7.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.97485 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf opentyrian + echo 'Source #0 (opentyrian.tar.gz):' Source #0 (opentyrian.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/opentyrian.tar.gz + /bin/tar -xf - + cd opentyrian + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.97485 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd opentyrian + make release make: Entering directory '/usr/src/RPM/BUILD/opentyrian' /bin/sh: hg: command not found make: Leaving directory '/usr/src/RPM/BUILD/opentyrian' make: Entering directory '/usr/src/RPM/BUILD/opentyrian' cc -c -o obj/video_scale_hqNx.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/video_scale_hqNx.c cc -c -o obj/animlib.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/animlib.c In file included from src/animlib.c:20: src/animlib.c: In function 'JE_loadPage': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:99:2: note: in expansion of macro 'efread' efread(&CurrentPageHeader.baseRecord, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:100:2: note: in expansion of macro 'efread' efread(&CurrentPageHeader.nRecords, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:101:2: note: in expansion of macro 'efread' efread(&CurrentPageHeader.nBytes, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:106:3: note: in expansion of macro 'efread' efread(&CurrentPageRecordSizes[i], 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:110:2: note: in expansion of macro 'efread' efread(CurrentPageBuffer, 1, CurrentPageHeader.nBytes, InFile); ^~~~~~ src/animlib.c: In function 'JE_loadAnim': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:257:2: note: in expansion of macro 'efread' efread(&temp, 1, 4, InFile); /* The ID, should equal "LPF " */ ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:259:2: note: in expansion of macro 'efread' efread(&FileHeader.nlps, 2, 1, InFile); /* Number of pages */ ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:260:2: note: in expansion of macro 'efread' efread(&FileHeader.nRecords, 4, 1, InFile); /* Number of records */ ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:274:3: note: in expansion of macro 'efread' efread(&PageHeader[i].baseRecord, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:275:3: note: in expansion of macro 'efread' efread(&PageHeader[i].nRecords, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:276:3: note: in expansion of macro 'efread' efread(&PageHeader[i].nBytes, 2, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:296:3: note: in expansion of macro 'efread' efread(&colors[i].b, 1, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:297:3: note: in expansion of macro 'efread' efread(&colors[i].g, 1, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:298:3: note: in expansion of macro 'efread' efread(&colors[i].r, 1, 1, InFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/animlib.c:299:3: note: in expansion of macro 'efread' efread(&colors[i].unused, 1, 1, InFile); ^~~~~~ cc -c -o obj/config.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/config.c src/config.c: In function 'load_json': src/config.c:232:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, buffer_len, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/config.c:21: src/config.c: In function 'JE_loadConfiguration': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:761:3: note: in expansion of macro 'efread' efread(&background2, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:762:3: note: in expansion of macro 'efread' efread(&gameSpeed, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:764:3: note: in expansion of macro 'efread' efread(&inputDevice_, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:765:3: note: in expansion of macro 'efread' efread(&jConfigure, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:767:3: note: in expansion of macro 'efread' efread(&versionNum, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:769:3: note: in expansion of macro 'efread' efread(&processorType, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:770:3: note: in expansion of macro 'efread' efread(&midiPort, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:771:3: note: in expansion of macro 'efread' efread(&soundEffects, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:772:3: note: in expansion of macro 'efread' efread(&gammaCorrection, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:773:3: note: in expansion of macro 'efread' efread(&difficultyLevel, 1, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:775:3: note: in expansion of macro 'efread' efread(joyButtonAssign, 1, 4, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:777:3: note: in expansion of macro 'efread' efread(&tyrMusicVolume, 2, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:778:3: note: in expansion of macro 'efread' efread(&fxVolume, 2, 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:780:3: note: in expansion of macro 'efread' efread(inputDevice, 1, 2, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:782:3: note: in expansion of macro 'efread' efread(keySettings, sizeof(*keySettings), COUNTOF(keySettings), fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/config.c:815:3: note: in expansion of macro 'efread' efread(saveTemp, 1, sizeof(saveTemp), fi); ^~~~~~ cc -c -o obj/setup.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/setup.c cc -c -o obj/vga_palette.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/vga_palette.c cc -c -o obj/palette.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/palette.c cc -c -o obj/sizebuf.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/sizebuf.c cc -c -o obj/lds_play.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/lds_play.c In file included from src/lds_play.c:19: src/lds_play.c: In function 'lds_load': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:97:2: note: in expansion of macro 'efread' efread(&speed, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:105:2: note: in expansion of macro 'efread' efread(&numpatch, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:136:3: note: in expansion of macro 'efread' efread(&sb->start, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:137:3: note: in expansion of macro 'efread' efread(&sb->size, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:139:3: note: in expansion of macro 'efread' efread(&sb->transp, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:149:2: note: in expansion of macro 'efread' efread(&numposi, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:164:4: note: in expansion of macro 'efread' efread(&temp, 2, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lds_play.c:179:3: note: in expansion of macro 'efread' efread(&patterns[i], 2, 1, f); ^~~~~~ cc -c -o obj/pcxload.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/pcxload.c In file included from src/pcxload.c:19: src/pcxload.c: In function 'JE_loadPCX': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/pcxload.c:37:4: note: in expansion of macro 'efread' efread(&colors[i].r, 1, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/pcxload.c:38:4: note: in expansion of macro 'efread' efread(&colors[i].g, 1, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/pcxload.c:39:4: note: in expansion of macro 'efread' efread(&colors[i].b, 1, 1, f); ^~~~~~ cc -c -o obj/lvlmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/lvlmast.c cc -c -o obj/video.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/video.c cc -c -o obj/player.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/player.c cc -c -o obj/menus.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/menus.c cc -c -o obj/file.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/file.c cc -c -o obj/pcxmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/pcxmast.c cc -c -o obj/mingw_fixes.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/mingw_fixes.c cc -c -o obj/nortsong.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/nortsong.c In file included from src/nortsong.c:19: src/nortsong.c: In function 'JE_loadSndFile': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:113:2: note: in expansion of macro 'efread' efread(&sndNum, sizeof(sndNum), 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:117:3: note: in expansion of macro 'efread' efread(&sndPos[0][x], sizeof(sndPos[0][x]), 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:128:3: note: in expansion of macro 'efread' efread(digiFx[z], 1, fxSize[z], fi); /* JE: Load sample to buffer */ ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:136:2: note: in expansion of macro 'efread' efread(&sndNum, sizeof(sndNum), 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:140:3: note: in expansion of macro 'efread' efread(&sndPos[1][x], sizeof(sndPos[1][x]), 1, fi); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/nortsong.c:155:3: note: in expansion of macro 'efread' efread(digiFx[z + y], 1, fxSize[z + y], fi); /* JE: Load sample to buffer */ ^~~~~~ cc -c -o obj/loudness.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/loudness.c src/loudness.c: In function 'fade_song': src/loudness.c:255:23: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] printf("TODO: %s\n", __FUNCTION__); ^~~~~~~~~~~~ In file included from src/loudness.c:19: src/loudness.c: In function 'load_music': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/loudness.c:201:3: note: in expansion of macro 'efread' efread(&song_count, sizeof(song_count), 1, music_file); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/loudness.c:205:3: note: in expansion of macro 'efread' efread(song_offset, 4, song_count, music_file); ^~~~~~ cc -c -o obj/sndmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/sndmast.c cc -c -o obj/joystick.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/joystick.c src/joystick.c:45:19: warning: 'joystick_cfg_version' defined but not used [-Wunused-const-variable=] static const char joystick_cfg_version = 1; ^~~~~~~~~~~~~~~~~~~~ src/joystick.c: In function 'assignment_to_code': src/joystick.c:524:35: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 5 [-Wformat-truncation=] snprintf(name, sizeof(name), "H %d%c%c", ^~ src/joystick.c:524:32: note: directive argument in the range [-2147483647, 2147483647] snprintf(name, sizeof(name), "H %d%c%c", ^~~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/joystick.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 16 bytes into a destination of size 7 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/joystick.c:519:37: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 3 [-Wformat-truncation=] snprintf(name, sizeof(name), "BTN %d", ^~ src/joystick.c:519:32: note: directive argument in the range [-2147483647, 2147483647] snprintf(name, sizeof(name), "BTN %d", ^~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/joystick.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 16 bytes into a destination of size 7 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/joystick.c:513:36: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] snprintf(name, sizeof(name), "AX %d%c", ^~ src/joystick.c:513:32: note: directive argument in the range [-2147483647, 2147483647] snprintf(name, sizeof(name), "AX %d%c", ^~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/joystick.c:20: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 6 and 16 bytes into a destination of size 7 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -o obj/varz.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/varz.c cc -c -o obj/fmopl.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/fmopl.c cc -c -o obj/tyrian2.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/tyrian2.c src/tyrian2.c: In function 'JE_main': src/tyrian2.c:2259:12: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(tempStr, "%s%c", tempStr, smoothies[temp] + 48); ^~~~~~~ ~~~~~~~ In file included from src/tyrian2.c:22: src/tyrian2.c: In function 'JE_loadMap': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3192:2: note: in expansion of macro 'efread' efread(&mapX, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3193:2: note: in expansion of macro 'efread' efread(&mapX2, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3194:2: note: in expansion of macro 'efread' efread(&mapX3, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3196:2: note: in expansion of macro 'efread' efread(&levelEnemyMax, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3199:3: note: in expansion of macro 'efread' efread(&levelEnemy[x], sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3202:2: note: in expansion of macro 'efread' efread(&maxEvent, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3205:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventtime, sizeof(JE_word), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3206:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventtype, sizeof(JE_byte), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3207:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat, sizeof(JE_integer), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3208:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat2, sizeof(JE_integer), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3209:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat3, sizeof(JE_shortint), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3210:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat5, sizeof(JE_shortint), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3211:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat6, sizeof(JE_shortint), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3212:3: note: in expansion of macro 'efread' efread(&eventRec[x].eventdat4, sizeof(JE_byte), 1, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3221:2: note: in expansion of macro 'efread' efread(mapSh, sizeof(JE_word), sizeof(mapSh) / sizeof(JE_word), level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3241:4: note: in expansion of macro 'efread' efread(shape, sizeof(JE_byte), sizeof(shape), shpFile); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3305:2: note: in expansion of macro 'efread' efread(mapBuf, sizeof(JE_byte), 14 * 300, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3316:2: note: in expansion of macro 'efread' efread(mapBuf, sizeof(JE_byte), 14 * 600, level_f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/tyrian2.c:3327:2: note: in expansion of macro 'efread' efread(mapBuf, sizeof(JE_byte), 15 * 600, level_f); ^~~~~~ src/tyrian2.c: In function 'JE_main': src/tyrian2.c:2259:26: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(tempStr, "%s%c", tempStr, smoothies[temp] + 48); ^ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/animlib.h:22, from src/tyrian2.c:19: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 32 bytes into a destination of size 31 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -o obj/helptext.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/helptext.c In file included from src/helptext.c:21: src/helptext.c: In function 'read_encrypted_pascal_string': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/helptext.c:101:3: note: in expansion of macro 'efread' efread(s, 1, len, f); ^~~~~~ src/helptext.c: In function 'JE_loadHelpText': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/helptext.c:178:2: note: in expansion of macro 'efread' efread(&episode1DataLoc, sizeof(JE_longint), 1, f); ^~~~~~ cc -c -o obj/editship.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/editship.c In file included from src/editship.c:21: src/editship.c: In function 'JE_loadExtraShapes': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/editship.c:85:3: note: in expansion of macro 'efread' efread(extraShapes, extraShapeSize, 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/editship.c:86:3: note: in expansion of macro 'efread' efread(extraShips, sizeof(extraShips), 1, f); ^~~~~~ cc -c -o obj/mouse.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/mouse.c cc -c -o obj/fonthand.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/fonthand.c cc -c -o obj/mtrand.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/mtrand.c cc -c -o obj/font.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/font.c cc -c -o obj/scroller.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/scroller.c cc -c -o obj/fm_synth.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/fm_synth.c cc -c -o obj/nortvars.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/nortvars.c cc -c -o obj/musmast.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/musmast.c cc -c -o obj/xmas.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/xmas.c cc -c -o obj/destruct.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/destruct.c src/destruct.c: In function 'DE_RunTickGravity': src/destruct.c:1715:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (unit->isYInAir == true) /* unit is falling down, at least in theory */ ^ src/destruct.c:1722:4: note: here default: ^~~~~~~ cc -c -o obj/cJSON.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/cJSON.c src/cJSON.c: In function 'parse_string': src/cJSON.c:318:49: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; ~~~^~~~~ src/cJSON.c:319:7: note: here case 2: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; ^~~~ src/cJSON.c:319:49: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: *--ptr2 =((uc | 0x80) & 0xBF); uc >>= 6; ~~~^~~~~ src/cJSON.c:320:7: note: here case 1: *--ptr2 =(uc | firstByteMark[len]); ^~~~ cc -c -o obj/game_menu.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/game_menu.c src/game_menu.c: In function 'JE_itemScreen': src/game_menu.c:856:34: warning: '%s' directive output may be truncated writing up to 41 bytes into a region of size 20 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s %d%%", miscText[11], percent_read); ^~ ~~~~~~~~~~~~ src/game_menu.c:856:33: note: directive argument in the range [0, 546125] snprintf(buf, sizeof(buf), "%s %d%%", miscText[11], percent_read); ^~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/game_menu.c:19: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 4 and 50 bytes into a destination of size 20 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -o obj/network.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/network.c src/network.c: In function 'network_check': src/network.c:229:7: warning: this statement may fall through [-Wimplicit-fallthrough=] for (int i = 0; i < NET_PACKET_QUEUE; i++) ^~~ src/network.c:238:6: note: here case PACKET_DETAILS: ^~~~ src/network.c:257:7: warning: this statement may fall through [-Wimplicit-fallthrough=] network_acknowledge(SDLNet_Read16(&packet_temp->data[2])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/network.c:259:6: note: here case PACKET_KEEP_ALIVE: ^~~~ cc -c -o obj/keyboard.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/keyboard.c src/keyboard.c: In function 'service_SDL_events': src/keyboard.c:204:8: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!input_grabbed) ^ src/keyboard.c:210:4: note: here case SDL_MOUSEBUTTONUP: ^~~~ cc -c -o obj/episodes.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/episodes.c In file included from src/episodes.c:21: src/episodes.c: In function 'JE_loadItemDat': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:61:3: note: in expansion of macro 'efread' efread(&episode1DataLoc, sizeof(JE_longint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:72:2: note: in expansion of macro 'efread' efread(&itemNum, sizeof(JE_word), 7, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:76:3: note: in expansion of macro 'efread' efread(&weapons[i].drain, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:77:3: note: in expansion of macro 'efread' efread(&weapons[i].shotrepeat, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:78:3: note: in expansion of macro 'efread' efread(&weapons[i].multi, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:79:3: note: in expansion of macro 'efread' efread(&weapons[i].weapani, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:80:3: note: in expansion of macro 'efread' efread(&weapons[i].max, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:81:3: note: in expansion of macro 'efread' efread(&weapons[i].tx, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:82:3: note: in expansion of macro 'efread' efread(&weapons[i].ty, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:83:3: note: in expansion of macro 'efread' efread(&weapons[i].aim, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:84:3: note: in expansion of macro 'efread' efread(&weapons[i].attack, sizeof(JE_byte), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:85:3: note: in expansion of macro 'efread' efread(&weapons[i].del, sizeof(JE_byte), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:86:3: note: in expansion of macro 'efread' efread(&weapons[i].sx, sizeof(JE_shortint), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:87:3: note: in expansion of macro 'efread' efread(&weapons[i].sy, sizeof(JE_shortint), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:88:3: note: in expansion of macro 'efread' efread(&weapons[i].bx, sizeof(JE_shortint), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:89:3: note: in expansion of macro 'efread' efread(&weapons[i].by, sizeof(JE_shortint), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:90:3: note: in expansion of macro 'efread' efread(&weapons[i].sg, sizeof(JE_word), 8, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:91:3: note: in expansion of macro 'efread' efread(&weapons[i].acceleration, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:92:3: note: in expansion of macro 'efread' efread(&weapons[i].accelerationx, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:93:3: note: in expansion of macro 'efread' efread(&weapons[i].circlesize, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:94:3: note: in expansion of macro 'efread' efread(&weapons[i].sound, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:95:3: note: in expansion of macro 'efread' efread(&weapons[i].trail, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:96:3: note: in expansion of macro 'efread' efread(&weapons[i].shipblastfilter, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:102:3: note: in expansion of macro 'efread' efread(&weaponPort[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:104:3: note: in expansion of macro 'efread' efread(&weaponPort[i].opnum, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:107:4: note: in expansion of macro 'efread' efread(&weaponPort[i].op[j], sizeof(JE_word), 11, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:109:3: note: in expansion of macro 'efread' efread(&weaponPort[i].cost, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:110:3: note: in expansion of macro 'efread' efread(&weaponPort[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:111:3: note: in expansion of macro 'efread' efread(&weaponPort[i].poweruse, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:117:3: note: in expansion of macro 'efread' efread(&special[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:119:3: note: in expansion of macro 'efread' efread(&special[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:120:3: note: in expansion of macro 'efread' efread(&special[i].pwr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:121:3: note: in expansion of macro 'efread' efread(&special[i].stype, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:122:3: note: in expansion of macro 'efread' efread(&special[i].wpn, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:128:3: note: in expansion of macro 'efread' efread(&powerSys[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:130:3: note: in expansion of macro 'efread' efread(&powerSys[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:131:3: note: in expansion of macro 'efread' efread(&powerSys[i].power, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:132:3: note: in expansion of macro 'efread' efread(&powerSys[i].speed, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:133:3: note: in expansion of macro 'efread' efread(&powerSys[i].cost, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:139:3: note: in expansion of macro 'efread' efread(&ships[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:141:3: note: in expansion of macro 'efread' efread(&ships[i].shipgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:142:3: note: in expansion of macro 'efread' efread(&ships[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:143:3: note: in expansion of macro 'efread' efread(&ships[i].ani, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:144:3: note: in expansion of macro 'efread' efread(&ships[i].spd, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:145:3: note: in expansion of macro 'efread' efread(&ships[i].dmg, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:146:3: note: in expansion of macro 'efread' efread(&ships[i].cost, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:147:3: note: in expansion of macro 'efread' efread(&ships[i].bigshipgraphic, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:153:3: note: in expansion of macro 'efread' efread(&options[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:155:3: note: in expansion of macro 'efread' efread(&options[i].pwr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:156:3: note: in expansion of macro 'efread' efread(&options[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:157:3: note: in expansion of macro 'efread' efread(&options[i].cost, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:158:3: note: in expansion of macro 'efread' efread(&options[i].tr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:159:3: note: in expansion of macro 'efread' efread(&options[i].option, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:160:3: note: in expansion of macro 'efread' efread(&options[i].opspd, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:161:3: note: in expansion of macro 'efread' efread(&options[i].ani, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:162:3: note: in expansion of macro 'efread' efread(&options[i].gr, sizeof(JE_word), 20, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:163:3: note: in expansion of macro 'efread' efread(&options[i].wport, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:164:3: note: in expansion of macro 'efread' efread(&options[i].wpnum, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:165:3: note: in expansion of macro 'efread' efread(&options[i].ammo, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:166:3: note: in expansion of macro 'efread' efread(&options[i].stop, 1, 1, f); /* override sizeof(JE_boolean) */ ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:167:3: note: in expansion of macro 'efread' efread(&options[i].icongr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:173:3: note: in expansion of macro 'efread' efread(&shields[i].name, 1, 30, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:175:3: note: in expansion of macro 'efread' efread(&shields[i].tpwr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:176:3: note: in expansion of macro 'efread' efread(&shields[i].mpwr, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:177:3: note: in expansion of macro 'efread' efread(&shields[i].itemgraphic, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:178:3: note: in expansion of macro 'efread' efread(&shields[i].cost, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:183:3: note: in expansion of macro 'efread' efread(&enemyDat[i].ani, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:184:3: note: in expansion of macro 'efread' efread(&enemyDat[i].tur, sizeof(JE_byte), 3, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:185:3: note: in expansion of macro 'efread' efread(&enemyDat[i].freq, sizeof(JE_byte), 3, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:186:3: note: in expansion of macro 'efread' efread(&enemyDat[i].xmove, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:187:3: note: in expansion of macro 'efread' efread(&enemyDat[i].ymove, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:188:3: note: in expansion of macro 'efread' efread(&enemyDat[i].xaccel, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:189:3: note: in expansion of macro 'efread' efread(&enemyDat[i].yaccel, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:190:3: note: in expansion of macro 'efread' efread(&enemyDat[i].xcaccel, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:191:3: note: in expansion of macro 'efread' efread(&enemyDat[i].ycaccel, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:192:3: note: in expansion of macro 'efread' efread(&enemyDat[i].startx, sizeof(JE_integer), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:193:3: note: in expansion of macro 'efread' efread(&enemyDat[i].starty, sizeof(JE_integer), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:194:3: note: in expansion of macro 'efread' efread(&enemyDat[i].startxc, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:195:3: note: in expansion of macro 'efread' efread(&enemyDat[i].startyc, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:196:3: note: in expansion of macro 'efread' efread(&enemyDat[i].armor, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:197:3: note: in expansion of macro 'efread' efread(&enemyDat[i].esize, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:198:3: note: in expansion of macro 'efread' efread(&enemyDat[i].egraphic, sizeof(JE_word), 20, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:199:3: note: in expansion of macro 'efread' efread(&enemyDat[i].explosiontype, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:200:3: note: in expansion of macro 'efread' efread(&enemyDat[i].animate, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:201:3: note: in expansion of macro 'efread' efread(&enemyDat[i].shapebank, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:202:3: note: in expansion of macro 'efread' efread(&enemyDat[i].xrev, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:203:3: note: in expansion of macro 'efread' efread(&enemyDat[i].yrev, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:204:3: note: in expansion of macro 'efread' efread(&enemyDat[i].dgr, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:205:3: note: in expansion of macro 'efread' efread(&enemyDat[i].dlevel, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:206:3: note: in expansion of macro 'efread' efread(&enemyDat[i].dani, sizeof(JE_shortint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:207:3: note: in expansion of macro 'efread' efread(&enemyDat[i].elaunchfreq, sizeof(JE_byte), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:208:3: note: in expansion of macro 'efread' efread(&enemyDat[i].elaunchtype, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:209:3: note: in expansion of macro 'efread' efread(&enemyDat[i].value, sizeof(JE_integer), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/episodes.c:210:3: note: in expansion of macro 'efread' efread(&enemyDat[i].eenemydie, sizeof(JE_word), 1, f); ^~~~~~ src/episodes.c: In function 'JE_initEpisode': src/episodes.c:223:31: warning: '%d' directive writing between 1 and 10 bytes into a region of size 7 [-Wformat-overflow=] sprintf(levelFile, "tyrian%d.lvl", episodeNum); ^~ src/episodes.c:223:24: note: directive argument in the range [0, 2147483647] sprintf(levelFile, "tyrian%d.lvl", episodeNum); ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/episodes.c:19: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 21 bytes into a destination of size 13 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/episodes.c:224:34: warning: '.dat' directive writing 4 bytes into a region of size between 3 and 5 [-Wformat-overflow=] sprintf(cube_file, "cubetxt%d.dat", episodeNum); ^~~~ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/episodes.c:19: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 13 and 15 bytes into a destination of size 13 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/episodes.c:225:37: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(episode_file, "levels%d.dat", episodeNum); ^ In file included from /usr/include/stdio.h:862, from /usr/include/SDL/SDL_stdinc.h:37, from /usr/include/SDL/SDL_types.h:28, from src/opentyr.h:22, from src/config.h:23, from src/episodes.c:19: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 12 and 14 bytes into a destination of size 13 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -o obj/sprite.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/sprite.c In file included from src/sprite.c:19: src/sprite.c: In function 'load_sprites': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:47:2: note: in expansion of macro 'efread' efread(&temp, sizeof(Uint16), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:58:3: note: in expansion of macro 'efread' efread(&cur_sprite->width, sizeof(Uint16), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:59:3: note: in expansion of macro 'efread' efread(&cur_sprite->height, sizeof(Uint16), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:60:3: note: in expansion of macro 'efread' efread(&cur_sprite->size, sizeof(Uint16), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:64:3: note: in expansion of macro 'efread' efread(cur_sprite->data, sizeof(Uint8), cur_sprite->size, f); ^~~~~~ src/sprite.c: In function 'JE_loadCompShapesB': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:485:2: note: in expansion of macro 'efread' efread(sprite2s->data, sizeof(Uint8), sprite2s->size, f); ^~~~~~ src/sprite.c: In function 'JE_loadMainShapeTables': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:675:2: note: in expansion of macro 'efread' efread(&shpNumb, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/sprite.c:680:3: note: in expansion of macro 'efread' efread(&shpPos[i], sizeof(JE_longint), 1, f); ^~~~~~ cc -c -o obj/vga256d.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/vga256d.c cc -c -o obj/starlib.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/starlib.c cc -c -o obj/lvllib.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/lvllib.c In file included from src/lvllib.c:19: src/lvllib.c: In function 'JE_analyzeLevel': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lvllib.c:32:2: note: in expansion of macro 'efread' efread(&lvlNum, sizeof(JE_word), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/lvllib.c:35:3: note: in expansion of macro 'efread' efread(&lvlPos[x], sizeof(JE_longint), 1, f); ^~~~~~ cc -c -o obj/mainint.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/mainint.c src/mainint.c: In function 'JE_highScoreCheck': src/mainint.c:1622:18: warning: this statement may fall through [-Wimplicit-fallthrough=] validkey = true; ^ src/mainint.c:1623:8: note: here default: ^~~~~~~ In file included from src/mainint.c:23: src/mainint.c: In function 'load_next_demo': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/mainint.c:1785:2: note: in expansion of macro 'efread' efread(levelName, 1, 10, demo_file); levelName[10] = '\0'; ^~~~~~ src/mainint.c: In function 'read_demo_keys': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/mainint.c:1850:2: note: in expansion of macro 'efread' efread(&demo_keys_wait, sizeof(Uint16), 1, demo_file); ^~~~~~ src/mainint.c: In function 'JE_operation': src/mainint.c:2453:16: warning: this statement may fall through [-Wimplicit-fallthrough=] validkey = true; ^ src/mainint.c:2454:6: note: here default: ^~~~~~~ cc -c -o obj/arg_parse.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/arg_parse.c cc -c -o obj/picload.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/picload.c In file included from src/picload.c:19: src/picload.c: In function 'JE_loadPic': src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/picload.c:40:3: note: in expansion of macro 'efread' efread(&temp, sizeof(Uint16), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/picload.c:43:4: note: in expansion of macro 'efread' efread(&pcxpos[i], sizeof(JE_longint), 1, f); ^~~~~~ src/file.h:47:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] #define efread fread src/picload.c:53:2: note: in expansion of macro 'efread' efread(buffer, sizeof(Uint8), size, f); ^~~~~~ cc -c -o obj/jukebox.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/jukebox.c cc -c -o obj/opentyr.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/opentyr.c cc -c -o obj/params.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/params.c cc -c -o obj/video_scale.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/video_scale.c cc -c -o obj/backgrnd.o -std=c99 -I./src -DTARGET_UNIX -g0 -O2 -DNDEBUG -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT src/backgrnd.c cc -o opentyrian obj/video_scale_hqNx.o obj/animlib.o obj/config.o obj/setup.o obj/vga_palette.o obj/palette.o obj/sizebuf.o obj/lds_play.o obj/pcxload.o obj/lvlmast.o obj/video.o obj/player.o obj/menus.o obj/file.o obj/pcxmast.o obj/mingw_fixes.o obj/nortsong.o obj/loudness.o obj/sndmast.o obj/joystick.o obj/varz.o obj/fmopl.o obj/tyrian2.o obj/helptext.o obj/editship.o obj/mouse.o obj/fonthand.o obj/mtrand.o obj/font.o obj/scroller.o obj/fm_synth.o obj/nortvars.o obj/musmast.o obj/xmas.o obj/destruct.o obj/cJSON.o obj/game_menu.o obj/network.o obj/keyboard.o obj/episodes.o obj/sprite.o obj/vga256d.o obj/starlib.o obj/lvllib.o obj/mainint.o obj/arg_parse.o obj/picload.o obj/jukebox.o obj/opentyr.o obj/params.o obj/video_scale.o obj/backgrnd.o -lm -lSDL -lpthread -lSDL_net strip opentyrian make: Leaving directory '/usr/src/RPM/BUILD/opentyrian' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.9035 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/opentyrian-buildroot + : + /bin/rm -rf -- /usr/src/tmp/opentyrian-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd opentyrian + install -Dpm 755 opentyrian /usr/src/tmp/opentyrian-buildroot/usr/bin/opentyrian + install -Dpm 755 /usr/src/RPM/SOURCES/opentyrian-installer /usr/src/tmp/opentyrian-buildroot/usr/bin/opentyrian-installer + mkdir -p /usr/src/tmp/opentyrian-buildroot/usr/share/icons/hicolor/48x48/apps + install -m644 /usr/src/RPM/SOURCES/opentyrian.png /usr/src/tmp/opentyrian-buildroot/usr/share/icons/hicolor/48x48/apps/opentyrian.png + mkdir -p /usr/src/tmp/opentyrian-buildroot/usr/share/applications + cat + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/opentyrian-buildroot (auto) Verifying and fixing files in /usr/src/tmp/opentyrian-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/opentyrian-buildroot/ (default) Compressing files in /usr/src/tmp/opentyrian-buildroot (auto) 056-debuginfo.brp: WARNING: You have 1 stripped ELF objects. Please compile with debugging information! 056-debuginfo.brp: WARNING: An excerpt from the list of affected files follows: ./usr/bin/opentyrian Verifying ELF objects in /usr/src/tmp/opentyrian-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: opentyrian-2.1-alt2.rev628c01aadaa7 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.9035 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd opentyrian + DOCDIR=/usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + export DOCDIR + rm -rf /usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + /bin/mkdir -p /usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + cp -prL COPYING README CREDITS NEWS /usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + chmod -R go-w /usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + chmod -R a+rX /usr/src/tmp/opentyrian-buildroot/usr/share/doc/opentyrian-2.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JSCPsb find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vqhAjc find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: mkdir rm sed tr unzip Requires: /bin/sh, /lib64/ld-linux-x86-64.so.2, coreutils, libSDL-1.2.so.0()(64bit) >= set:lfgVbdN5vJbZeUQWKZEeZbGvQMmfC6qBrhP3VNe9SsSsKIQfaZpDDY8uN1gonR7o2ZLyEFrGkPsazBJIoHzt0eeM5WVV956bqnM3bzoOJHxURDII, libSDL_net-1.2.so.0()(64bit) >= set:jfOuTlYo6Xc6xCT2FkvN8De, 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.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libm.so.6(GLIBC_2.2.5)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), rtld(GNU_HASH), sed, unzip Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3q8tBg Wrote: /usr/src/RPM/RPMS/x86_64/opentyrian-2.1-alt2.rev628c01aadaa7.x86_64.rpm (w2.lzdio) 12.18user 1.20system 0:15.84elapsed 84%CPU (0avgtext+0avgdata 455720maxresident)k 0inputs+0outputs (0major+620584minor)pagefaults 0swaps 16.45user 3.80system 0:22.15elapsed 91%CPU (0avgtext+0avgdata 455720maxresident)k 56inputs+0outputs (34392major+878820minor)pagefaults 0swaps --- opentyrian-2.1-alt2.rev628c01aadaa7.x86_64.rpm.repo 2012-05-28 02:05:09.000000000 +0000 +++ opentyrian-2.1-alt2.rev628c01aadaa7.x86_64.rpm.hasher 2021-10-31 04:17:41.897049985 +0000 @@ -15,2 +15,3 @@ Requires: libSDL_net-1.2.so.0()(64bit) >= set:jfOuTlYo6Xc6xCT2FkvN8De +Requires: libc.so.6(GLIBC_2.14)(64bit) Requires: libc.so.6(GLIBC_2.2.5)(64bit) @@ -27,3 +28,3 @@ Provides: opentyrian = 2.1-alt2.rev628c01aadaa7 -File: /usr/bin/opentyrian 100755 root:root 871bd200239abebfab99ea8274ca17b6 +File: /usr/bin/opentyrian 100755 root:root fb69589620a847125312634155fae70a File: /usr/bin/opentyrian-installer 100755 root:root 1d1e9decf0ab4625d326f74d6ebe9352 @@ -36,2 +37,2 @@ File: /usr/share/icons/hicolor/48x48/apps/opentyrian.png 100644 root:root d4cab80f1a6ff8acab38f8b5949214ea -RPMIdentity: 9c72a3150d3d255936dc6d47abd03395e27bf3b069dbc2f31534162442072b8e29743ce2fe523362086cca0e494e88be3f376f24e9e8df427d4da34fb2ade1f6 +RPMIdentity: ef8a0b7e3f388d56f333d083549552b4ed5bc32a8f76d93c7b18b1ac929f001ade964f2ef93579072bb0f99255e3ba1d1538a01689e352a202bc75667d9776ac