* Package: games-strategy/galaxyhack-1.74 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Applying galaxyhack-1.74-destdirs.patch ... [ ok ] * Applying galaxyhack-1.74-boost.patch ... [ ok ] * Applying galaxyhack-1.74-gcc43.patch ... [ ok ] * Applying galaxyhack-1.74-boost-1.50.patch ... [ ok ] * Applying galaxyhack-1.74-gentoo.patch ... [ ok ] x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c AIInterpreter.cpp -o AIInterpreter.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c AutoFireUnit.cpp -o AutoFireUnit.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c BCCompiler.cpp -o BCCompiler.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c DerivedGroups.cpp -o DerivedGroups.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c DragWindow.cpp -o DragWindow.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ForceSelect.cpp -o ForceSelect.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c ForceSelectWin.cpp -o ForceSelectWin.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c GenWindow.cpp -o GenWindow.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c GenWindow_Base.cpp -o GenWindow_Base.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c GFX.cpp -o GFX.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c Globals.cpp -o Globals.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c Group.cpp -o Group.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c Group_Base.cpp -o Group_Base.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c JSDL.cpp -o JSDL.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c Logging.cpp -o Logging.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c LookupTables.cpp -o LookupTables.o JSDL.cpp: In member function ‘void JamesSDL::Init()’: JSDL.cpp:50:34: error: format not a string literal and no format arguments [-Werror=format-security] sprintf(output, SDL_GetError()); ^ JSDL.cpp:57:34: error: format not a string literal and no format arguments [-Werror=format-security] sprintf(error, SDL_GetError()); ^ JSDL.cpp:84:34: error: format not a string literal and no format arguments [-Werror=format-security] sprintf(output, Mix_GetError()); ^ JSDL.cpp: In member function ‘void JamesSDL::ResetVideo()’: JSDL.cpp:104:33: error: format not a string literal and no format arguments [-Werror=format-security] sprintf(output, SDL_GetError()); ^ JSDL.cpp: In member function ‘void JamesSDL::BitmapHDtoFile(const string&)’: JSDL.cpp:117:33: error: format not a string literal and no format arguments [-Werror=format-security] sprintf(output, IMG_GetError()); ^ JSDL.cpp: In member function ‘void JamesSDL::LoadMusic(const string&)’: JSDL.cpp:311:33: error: format not a string literal and no format arguments [-Werror=format-security] sprintf(output, Mix_GetError()); ^ JSDL.cpp: In member function ‘void JamesSDL::PlayMusic()’: JSDL.cpp:322:33: error: format not a string literal and no format arguments [-Werror=format-security] sprintf(output, Mix_GetError()); ^ x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c Main.cpp -o Main.o x86_64-pc-linux-gnu-g++ -march=native -Wformat -Werror=format-security -g0 -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c MainMenu.cpp -o MainMenu.o cc1plus: some warnings being treated as errors Makefile:45: recipe for target 'JSDL.o' failed make: *** [JSDL.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: games-strategy/galaxyhack-1.74::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-strategy/galaxyhack-1.74::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-strategy/galaxyhack-1.74::gentoo'`. * The complete build log is located at '/var/log/log/build/games-strategy/galaxyhack-1.74:20160103-102734.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-strategy/galaxyhack-1.74/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-strategy/galaxyhack-1.74/temp/environment'. * Working directory: '/var/tmp/portage/games-strategy/galaxyhack-1.74/work/galaxyhack/src' * S: '/var/tmp/portage/games-strategy/galaxyhack-1.74/work/galaxyhack/src'