Mock Version: 1.3.3 Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/Maelstrom.spec'], timeout=172800gid=425chrootPath='/var/lib/mock/f26-build-7587668-693985/root'shell=Falselogger=printOutput=Falseenv={'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}user='mockbuild'uid=1000) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/Maelstrom.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/Maelstrom-3.0.6-31.fc26.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/Maelstrom.spec'], timeout=172800gid=425chrootPath='/var/lib/mock/f26-build-7587668-693985/root'shell=Falselogger=private_network=Trueenv={'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}user='mockbuild'printOutput=Falseuid=1000) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/Maelstrom.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.DjRz46 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Maelstrom-3.0.6 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/Maelstrom-3.0.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Maelstrom-3.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (Maelstrom-3.0.6-setgid.patch):' Patch #0 (Maelstrom-3.0.6-setgid.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .setgid --fuzz=0 patching file main.cpp patching file scores.cpp patching file scores.h + echo 'Patch #1 (Maelstrom-3.0.6-gcc34.patch):' Patch #1 (Maelstrom-3.0.6-gcc34.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc34 --fuzz=0 patching file buttonlist.h + echo 'Patch #2 (Maelstrom-3.0.6-64bit.patch):' Patch #2 (Maelstrom-3.0.6-64bit.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .64bit --fuzz=0 patching file screenlib/SDL_FrameBuf.cpp + echo 'Patch #3 (Maelstrom-3.0.6-install.patch):' Patch #3 (Maelstrom-3.0.6-install.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .install --fuzz=0 patching file configure + echo 'Patch #4 (Maelstrom-open.patch):' Patch #4 (Maelstrom-open.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .open --fuzz=0 patching file scores.cpp + echo 'Patch #5 (Maelstrom-3.0.6-DESTDIR.patch):' Patch #5 (Maelstrom-3.0.6-DESTDIR.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .destdir --fuzz=0 patching file Makefile.am patching file Makefile.in + echo 'Patch #6 (Maelstrom-3.0.6-gcc5.patch):' Patch #6 (Maelstrom-3.0.6-gcc5.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file netlogic/protocol.h + cp /builddir/build/SOURCES/Maelstrom-Content-License.txt . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1gW93Z + umask 022 + cd /builddir/build/BUILD + cd Maelstrom-3.0.6 + export 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings' + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking target system type... i686-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking whether make sets ${MAKE}... (cached) yes checking for i686-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for i686-redhat-linux-gnu-g++... no checking for i686-redhat-linux-gnu-c++... no checking for i686-redhat-linux-gnu-gpp... no checking for i686-redhat-linux-gnu-aCC... no checking for i686-redhat-linux-gnu-CC... no checking for i686-redhat-linux-gnu-cxx... no checking for i686-redhat-linux-gnu-cc++... no checking for i686-redhat-linux-gnu-cl... no checking for i686-redhat-linux-gnu-FCC... no checking for i686-redhat-linux-gnu-KCC... no checking for i686-redhat-linux-gnu-RCC... no checking for i686-redhat-linux-gnu-xlC_r... no checking for i686-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for i686-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking for sdl-config... /usr/bin/sdl-config checking for SDL - version >= 1.2.0... yes checking for SDLNet_Init in -lSDL_net... yes checking for RSA checksum authentication... no configure: creating ./config.status config.status: creating Makefile config.status: creating netlogic/Makefile config.status: creating screenlib/Makefile config.status: creating maclib/Makefile config.status: creating Images/Makefile config.status: creating Docs/Makefile config.status: creating Maelstrom.spec + make -j6 Making all in netlogic make[1]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6/netlogic' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c about.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c blit.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c game.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c logic.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c make.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c netplay.cpp In file included from game.cpp:7:0: ../load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ In file included from about.cpp:4:0: ../load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ In file included from /usr/include/SDL/SDL_audio.h:33:0, from /usr/include/SDL/SDL.h:32, from /usr/include/SDL/SDL_net.h:27, from netplay.cpp:6: netplay.cpp: In function 'int SyncNetwork()': /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:196:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^~~~~~~~~~~~~~~~~~~~ netplay.cpp:368:11: note: in expansion of macro 'SDLNet_Read32' frame = SDLNet_Read32(&buf[1]); ^~~~~~~~~~~~~ /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:196:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^~~~~~~~~~~~~~~~~~~~ netplay.cpp:395:20: note: in expansion of macro 'SDLNet_Read32' Uint32 newseed = SDLNet_Read32(&buf[1+sizeof(frame)]); ^~~~~~~~~~~~~ netplay.cpp: In function 'int AlertServer(int*, int*, int*)': /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:196:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^~~~~~~~~~~~~~~~~~~~ netplay.cpp:580:13: note: in expansion of macro 'SDLNet_Read32' *Wave = SDLNet_Read32(&netbuf[len]); ^~~~~~~~~~~~~ /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:196:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^~~~~~~~~~~~~~~~~~~~ netplay.cpp:582:13: note: in expansion of macro 'SDLNet_Read32' lives = SDLNet_Read32(&netbuf[len]); ^~~~~~~~~~~~~ /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:196:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^~~~~~~~~~~~~~~~~~~~ netplay.cpp:588:12: note: in expansion of macro 'SDLNet_Read32' seed = SDLNet_Read32(&netbuf[len]); ^~~~~~~~~~~~~ blit.cpp: In function 'int RunFrame()': blit.cpp:93:7: warning: variable 'shakeV' set but not used [-Wunused-but-set-variable] int shakeV; ^~~~~~ netplay.cpp: In function 'int Await_NewGame(int*, int*, int*)': /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:196:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^~~~~~~~~~~~~~~~~~~~ netplay.cpp:795:11: note: in expansion of macro 'SDLNet_Read32' *Wave = SDLNet_Read32(&netbuf[len]); ^~~~~~~~~~~~~ /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:196:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^~~~~~~~~~~~~~~~~~~~ netplay.cpp:797:11: note: in expansion of macro 'SDLNet_Read32' lives = SDLNet_Read32(&netbuf[len]); ^~~~~~~~~~~~~ /usr/include/SDL/SDL_stdinc.h:84:81: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] #define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) ^ /usr/include/SDL/SDL_endian.h:196:36: note: in definition of macro 'SDL_SwapBE32' #define SDL_SwapBE32(X) SDL_Swap32(X) ^ /usr/include/SDL/SDL_net.h:433:17: note: in expansion of macro 'SDL_reinterpret_cast' (SDL_SwapBE32(*SDL_reinterpret_cast(Uint32 *, areap))) ^~~~~~~~~~~~~~~~~~~~ netplay.cpp:803:10: note: in expansion of macro 'SDLNet_Read32' seed = SDLNet_Read32(&netbuf[len]); ^~~~~~~~~~~~~ logic.cpp: In function 'int LogicParseArgs(char***, int*)': logic.cpp:33:9: warning: unused variable 'argc' [-Wunused-variable] int argc = *argcptr; ^~~~ make.cpp: In function 'void MakeGravity()': make.cpp:223:20: warning: variable 'rx' set but not used [-Wunused-but-set-variable] int newsprite, i, rx; ^~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c object.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c objects.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c player.cpp rm -f liblogic.a ar cru liblogic.a about.o blit.o game.o logic.o make.o netplay.o object.o objects.o player.o ranlib liblogic.a make[1]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6/netlogic' Making all in screenlib make[1]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6/screenlib' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c SDL_FrameBuf.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c pixel.cpp SDL_FrameBuf.cpp: In member function 'SDL_Surface* FrameBuf::LoadImage(Uint16, Uint16, Uint8*, Uint8*)': SDL_FrameBuf.cpp:681:22: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size] memset(used, 0, 256); ^ SDL_FrameBuf.cpp:706:7: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] m <<= 1; ~~^~~~~ rm -f libSDLscreen.a ar cru libSDLscreen.a SDL_FrameBuf.o pixel.o ranlib libSDLscreen.a make[1]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6/screenlib' Making all in maclib make[1]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6/maclib' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c Mac_FontServ.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c Mac_Resource.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c Mac_Sound.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c Mac_Wave.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c macres.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c playwave.cpp In file included from Mac_Resource.cpp:45:0: applefile.h:78:32: warning: "/*" within comment [-Wcomment] /* 0x0010 /* reserved (System 7) */ applefile.h:83:33: warning: "/*" within comment [-Wcomment] /* 0x0200 /* reserved (System 7) */ applefile.h:142:33: warning: "/*" within comment [-Wcomment] /* 7 /* not used */ applefile.h:333:33: warning: "/*" within comment [-Wcomment] /* Uint8 filedata[]; /* followed by rest of file */ Mac_Resource.cpp: In constructor 'Mac_Resource::Mac_Resource(const char*)': Mac_Resource.cpp:357:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&name_len, 1, 1, filep); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp:359:10: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(Resources[i].list[n].name, ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1, name_len, filep); ~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp: In function 'void CheckAppleFile(FILE*, Uint32*)': Mac_Resource.cpp:129:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&header.versionNum, ~~~~~^~~~~~~~~~~~~~~~~~~~ sizeof(header.versionNum), 1, resfile); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp:132:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&header.filler, ~~~~~^~~~~~~~~~~~~~~~ sizeof(header.filler), 1, resfile); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp:134:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&header.numEntries, ~~~~~^~~~~~~~~~~~~~~~~~~~ sizeof(header.numEntries), 1, resfile); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp: In member function 'Mac_ResData* Mac_Resource::Resource(const char*, Uint16)': Mac_Resource.cpp:476:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&d->length, 4, 1, filep); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Resource.cpp: In member function 'Mac_ResData* Mac_Resource::Resource(const char*, const char*)': Mac_Resource.cpp:513:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&d->length, 4, 1, filep); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ Mac_Wave.cpp: In member function 'int Wave::Load(Mac_ResData*, Uint16)': Mac_Wave.cpp:236:10: warning: variable 'freq_base' set but not used [-Wunused-but-set-variable] Uint8 freq_base; ^~~~~~~~~ playwave.cpp: In function 'int main(int, char**)': playwave.cpp:162:57: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'Uint32 {aka unsigned int}' [-Wformat=] wave->Stereo() ? "stereo" : "mono", wave->Frequency()); ~~~~~~~~~~~~~~~~~^ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c snd2wav.cpp rm -f libSDLmac.a ar cru libSDLmac.a Mac_FontServ.o Mac_Resource.o Mac_Sound.o Mac_Wave.o ranlib libSDLmac.a g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o macres macres.o libSDLmac.a -lSDL -lpthread -lSDL_net g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o playwave playwave.o libSDLmac.a -lSDL -lpthread -lSDL_net g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.. -I../netlogic -I../screenlib -I../maclib -DLIBDIR=\"/usr/share/Maelstrom\" -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o snd2wav snd2wav.o libSDLmac.a -lSDL -lpthread -lSDL_net make[1]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6/maclib' make[1]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6' g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c checksum.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c controls.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c dialog.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c fastrand.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c init.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c load.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c main.cpp In file included from controls.cpp:9:0: load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ controls.cpp:86:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(datafile, "%s"DIR_SEP"%s", home, MAELSTROM_DATA); ^ In file included from load.cpp:7:0: load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ load.cpp:84:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(file, "Images"DIR_SEP"Maelstrom_Titles#%d.bmp", title_id); ^ load.cpp:106:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(file, "Images"DIR_SEP"Maelstrom_Icon#%hd.cicn", cicn_id); ^ In file included from main.cpp:15:0: load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ In file included from init.cpp:11:0: load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ In file included from dialog.cpp:2:0: dialog.h: In member function 'virtual void Mac_RadioList::Add_Radio(int, int, char*)': dialog.h:405:43: warning: declaration 'struct Mac_RadioList::radio' does not declare anything radio->next = new struct Mac_RadioList::radio; ^~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c myerror.cpp In file included from controls.cpp:10:0: dialog.h: In member function 'virtual void Mac_RadioList::Add_Radio(int, int, char*)': dialog.h:405:43: warning: declaration 'struct Mac_RadioList::radio' does not declare anything radio->next = new struct Mac_RadioList::radio; ^~~~~ controls.cpp: In function 'void LoadControls()': controls.cpp:110:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&gSoundLevel, sizeof(gSoundLevel), 1, data); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.cpp:111:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&controls, sizeof(controls), 1, data); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ controls.cpp:112:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(&gGammaCorrect, sizeof(gGammaCorrect), 1, data); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c netscore.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c rect.cpp g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c scores.cpp In file included from scores.cpp:17:0: load.h:109:18: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] sprintf(path, "%s"DIR_SEP"%s", directory, filename); ^ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Maelstrom\" -DVERSION=\"3.0.6\" -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -c Maelstrom-netd.c In file included from scores.cpp:18:0: dialog.h: In member function 'virtual void Mac_RadioList::Add_Radio(int, int, char*)': dialog.h:405:43: warning: declaration 'struct Mac_RadioList::radio' does not declare anything radio->next = new struct Mac_RadioList::radio; ^~~~~ Maelstrom-netd.c: In function 'DisconnectPlayer': Maelstrom-netd.c:48:10: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] (void) free(players[which].packet); ^~~~ Maelstrom-netd.c:48:10: warning: incompatible implicit declaration of built-in function 'free' Maelstrom-netd.c:48:10: note: include '' or provide a declaration of 'free' Maelstrom-netd.c: In function 'SendError': Maelstrom-netd.c:62:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(3); ^~~~ Maelstrom-netd.c:62:3: warning: incompatible implicit declaration of built-in function 'exit' Maelstrom-netd.c:62:3: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c: In function 'Fatal': Maelstrom-netd.c:82:2: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^~~~ Maelstrom-netd.c:82:2: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c: In function 'CheckPlayers': Maelstrom-netd.c:91:8: warning: implicit declaration of function 'time'; did you mean 'nice'? [-Wimplicit-function-declaration] now = time(NULL); ^~~~ nice Maelstrom-netd.c: In function 'CheckNewGame': Maelstrom-netd.c:127:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buffer, ^~~~~~ In file included from /usr/include/features.h:410:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from Maelstrom-netd.c:4: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ Maelstrom-netd.c:157:24: warning: implicit declaration of function 'inet_ntoa' [-Wimplicit-function-declaration] strcpy(ptr, (char *)inet_ntoa(player->raddr.sin_addr)); ^~~~~~~~~ Maelstrom-netd.c: In function 'I_Crashed': Maelstrom-netd.c:181:2: warning: incompatible implicit declaration of built-in function 'exit' exit(sig); ^~~~ Maelstrom-netd.c:181:2: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c: At top level: Maelstrom-netd.c:184:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char *argv[]) ^~~~ Maelstrom-netd.c: In function 'main': Maelstrom-netd.c:198:3: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^~~~ Maelstrom-netd.c:198:3: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:207:3: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^~~~ Maelstrom-netd.c:207:3: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:211:3: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^~~~ Maelstrom-netd.c:211:3: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:250:5: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^~~~ Maelstrom-netd.c:250:5: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:266:5: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^~~~ Maelstrom-netd.c:266:5: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:272:28: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] &players[slot].raddr, &clilen)) < 0 ) { ^ In file included from Maelstrom-netd.c:10:0: /usr/include/sys/socket.h:237:12: note: expected 'socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' extern int accept (int __fd, __SOCKADDR_ARG __addr, ^~~~~~ Maelstrom-netd.c:274:5: warning: incompatible implicit declaration of built-in function 'exit' exit(3); ^~~~ Maelstrom-netd.c:274:5: note: include '' or provide a declaration of 'exit' Maelstrom-netd.c:367:34: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] printf(" the remote address is %s:%lu\n", ~^ %d inet_ntoa(players[slot].raddr.sin_addr), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Maelstrom-netd.c:367:38: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] printf(" the remote address is %s:%lu\n", ~~^ %u Maelstrom-netd.c: In function 'SendError': Maelstrom-netd.c:68:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(players[which].sockfd, mesgbuf, mesglen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Maelstrom-netd.c: In function 'CheckNewGame': Maelstrom-netd.c:169:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void) write(players[positions[i]].sockfd, buffer, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o Maelstrom-netd Maelstrom-netd.o -lSDL -lpthread -lSDL_net g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -Wno-write-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -fasynchronous-unwind-tables -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I. -I./netlogic -I./screenlib -I./maclib -DLIBDIR=\"/usr/share/Maelstrom\" -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o Maelstrom checksum.o controls.o dialog.o fastrand.o init.o load.o main.o myerror.o netscore.o rect.o scores.o netlogic/liblogic.a screenlib/libSDLscreen.a maclib/libSDLmac.a -lm -lSDL -lpthread -lSDL_net make[1]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NX103l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386 ++ dirname /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386 + cd Maelstrom-3.0.6 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386 Making install in netlogic make[1]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6/netlogic' make[2]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6/netlogic' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6/netlogic' make[1]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6/netlogic' Making install in screenlib make[1]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6/screenlib' make[2]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6/screenlib' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6/screenlib' make[1]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6/screenlib' Making install in maclib make[1]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6/maclib' make[2]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6/maclib' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6/maclib' make[1]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6/maclib' make[1]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6' make[2]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/bin mkdir /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr mkdir /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/bin /usr/bin/install -c Maelstrom /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/bin/Maelstrom /usr/bin/install -c Maelstrom-netd /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/bin/Maelstrom-netd make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6' make[1]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6' make install_gamedata target=/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom make[1]: Entering directory '/builddir/build/BUILD/Maelstrom-3.0.6' sh mkinstalldirs /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/ mkdir /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share mkdir /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom cp -rv Images \ Maelstrom_Fonts \ Maelstrom_Sounds \ Maelstrom_Sprites \ Maelstrom-Scores \ icon.bmp icon.xpm /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/ 'Images' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images' 'Images/Makefile' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Makefile' 'Images/Maelstrom_Icon#101.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#101.cicn' 'Images/Maelstrom_Icon#102.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#102.cicn' 'Images/Maelstrom_Icon#103.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#103.cicn' 'Images/Maelstrom_Icon#104.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#104.cicn' 'Images/Maelstrom_Titles#999.bmp' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Titles#999.bmp' 'Images/Maelstrom_Icon#110.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#110.cicn' 'Images/Maelstrom_Icon#128.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#128.cicn' 'Images/Maelstrom_Icon#129.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#129.cicn' 'Images/Maelstrom_Icon#130.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#130.cicn' 'Images/Maelstrom_Icon#131.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#131.cicn' 'Images/Maelstrom_Icon#132.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#132.cicn' 'Images/Maelstrom_Icon#133.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#133.cicn' 'Images/Maelstrom_Icon#134.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#134.cicn' 'Images/Maelstrom_Icon#135.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#135.cicn' 'Images/Maelstrom_Icon#136.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#136.cicn' 'Images/Makefile.in' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Makefile.in' 'Images/Maelstrom_Icon#137.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#137.cicn' 'Images/Maelstrom_Titles#100.bmp' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Titles#100.bmp' 'Images/Maelstrom_Titles#101.bmp' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Titles#101.bmp' 'Images/Maelstrom_Titles#102.bmp' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Titles#102.bmp' 'Images/Maelstrom_Titles#128.bmp' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Titles#128.bmp' 'Images/Maelstrom_Titles#129.bmp' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Titles#129.bmp' 'Images/Maelstrom_Titles#130.bmp' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Titles#130.bmp' 'Images/Maelstrom_Titles#133.bmp' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Titles#133.bmp' 'Images/Maelstrom_Titles#134.bmp' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Titles#134.bmp' 'Images/Maelstrom_Titles#135.bmp' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Titles#135.bmp' 'Images/Maelstrom_Icon#100.cicn' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Images/Maelstrom_Icon#100.cicn' 'Maelstrom_Fonts' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Maelstrom_Fonts' 'Maelstrom_Sounds' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Maelstrom_Sounds' 'Maelstrom_Sprites' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Maelstrom_Sprites' 'Maelstrom-Scores' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Maelstrom-Scores' 'icon.bmp' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/icon.bmp' 'icon.xpm' -> '/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/icon.xpm' chmod 666 /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Maelstrom-Scores make[1]: Leaving directory '/builddir/build/BUILD/Maelstrom-3.0.6' + mkdir -p /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/applications /builddir/build/SOURCES/Maelstrom.desktop /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/applications/Maelstrom.desktop: error: (will be fatal in the future): value "maelstrom.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path + rm -f /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/bin/Maelstrom-netd /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/bin/macres /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/bin/playwave /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/bin/snd2wav + mkdir -p -m 755 /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/icons/hicolor/48x48/apps + install -m 644 /builddir/build/SOURCES/maelstrom.png /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/icons/hicolor/48x48/apps + mkdir -p -m 755 /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/var/lib/games + mv /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/Maelstrom/Maelstrom-Scores /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/var/lib/games + mkdir -p -m 755 /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/appdata + install -m 644 /builddir/build/SOURCES/Maelstrom.appdata.xml /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/appdata + find /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386 -name 'Makefile*' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/Maelstrom-3.0.6 extracting debug info from /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/bin/Maelstrom dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 901 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: Maelstrom-3.0.6-31.fc26.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IC7dzO + umask 022 + cd /builddir/build/BUILD + cd Maelstrom-3.0.6 + DOCDIR=/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/doc/Maelstrom + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/doc/Maelstrom + cp -pr CREDITS /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/doc/Maelstrom + cp -pr README README.joystick README.network README.options /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/doc/Maelstrom + cp -pr Changelog /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/doc/Maelstrom + cp -pr Docs /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/doc/Maelstrom + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QEPn9g + umask 022 + cd /builddir/build/BUILD + cd Maelstrom-3.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/licenses/Maelstrom + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/licenses/Maelstrom + cp -pr Maelstrom-Content-License.txt /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/licenses/Maelstrom + cp -pr COPYING COPYING.GPL /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386/usr/share/licenses/Maelstrom + exit 0 Provides: Maelstrom = 3.0.6-31.fc26 Maelstrom(x86-32) = 3.0.6-31.fc26 appdata() appdata(Maelstrom.appdata.xml) application() application(Maelstrom.desktop) config(Maelstrom) = 3.0.6-31.fc26 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh coreutils Requires(postun): /bin/sh coreutils Requires(posttrans): /bin/sh Requires: libSDL-1.2.so.0 libSDL_net-1.2.so.0 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libm.so.6 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.8) libstdc++.so.6(CXXABI_1.3.9) libstdc++.so.6(GLIBCXX_3.4) rtld(GNU_HASH) Processing files: Maelstrom-debuginfo-3.0.6-31.fc26.i686 Provides: Maelstrom-debuginfo = 3.0.6-31.fc26 Maelstrom-debuginfo(x86-32) = 3.0.6-31.fc26 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386 Wrote: /builddir/build/RPMS/Maelstrom-3.0.6-31.fc26.i686.rpm Wrote: /builddir/build/RPMS/Maelstrom-debuginfo-3.0.6-31.fc26.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pJEwQN + umask 022 + cd /builddir/build/BUILD + cd Maelstrom-3.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/Maelstrom-3.0.6-31.fc26.i386 + exit 0 Child return code was: 0