Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 398054 Details for
Bug 542124
=games-arcade/njam-1.25: fails to compile with format-security
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
emerge log
games-arcade-njam-1.25-20150304-040659.log (text/plain), 11.83 KB, created by
Toralf Förster
on 2015-03-04 15:36:59 UTC
(
hide
)
Description:
emerge log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2015-03-04 15:36:59 UTC
Size:
11.83 KB
patch
obsolete
> * Package: games-arcade/njam-1.25 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: preserve-libs sandbox userpriv usersandbox > * Applying njam-1.25-gcc45.patch ... > [ ok ] >checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking whether make sets $(MAKE)... yes >checking for working aclocal-1.4... missing >checking for working autoconf... found >checking for working automake-1.4... missing >checking for working autoheader... found >checking for working makeinfo... found >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking for C compiler default output file name... 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 x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c >checking whether make sets $(MAKE)... (cached) yes >checking for dirent.h that defines DIR... yes >checking for library containing opendir... none required >checking for egrep... grep -E >checking for ANSI C header files... yes >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking limits.h usability... yes >checking limits.h presence... yes >checking for limits.h... yes >checking malloc.h usability... yes >checking malloc.h presence... yes >checking for malloc.h... yes >checking for strings.h... (cached) yes >checking sys/ioctl.h usability... yes >checking sys/ioctl.h presence... yes >checking for sys/ioctl.h... yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking for unistd.h... (cached) yes >checking for sdl-config... yes >checking for SDL_Init in -lSDL... yes >checking SDL/SDL.h usability... yes >checking SDL/SDL.h presence... yes >checking for SDL/SDL.h... yes >checking for IMG_Load in -lSDL_image... yes >checking for Mix_OpenAudio in -lSDL_mixer... yes >checking for SDLNet_TCP_Open in -lSDL_net... yes > > njam version 0.1.25 configured successfully. > >Using '/usr/games' for installation. >Using '/usr/share/games' for installation libraries. >Using 'x86_64-pc-linux-gnu-g++' for C++ compiler. >Building with '-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT' for C++ compiler flags. >Building with '-lSDL -lpthread -lSDL_image -lSDL_mixer -lSDL_net' for linker flags. > >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating config.h >config.status: executing default-1 commands >make: Circular aclocal.m4 <- aclocal.m4 dependency dropped. >make all-recursive >make[1]: Entering directory '/var/tmp/portage/games-arcade/njam-1.25/work/njam-1.25-src' >make[1]: Circular aclocal.m4 <- aclocal.m4 dependency dropped. >Making all in src >make[2]: Entering directory '/var/tmp/portage/games-arcade/njam-1.25/work/njam-1.25-src/src' >make[2]: Circular defaults.h <- Makefile dependency dropped. >echo '// This file is generated from makefile. Do not edit!' > defaults.h >echo '#define DEFAULT_PREFIX "/usr/games"' >> defaults.h >echo '#define DEFAULT_LIBDIR "/usr/share/games"' >> defaults.h >echo '#define PACKAGE "njam"' >> defaults.h >cd .. \ > && CONFIG_FILES=src/Makefile CONFIG_HEADERS= /bin/sh ./config.status >config.status: creating src/Makefile >config.status: executing default-1 commands >make[2]: Circular defaults.h <- Makefile dependency dropped. >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -march=native -O2 -pipe -Wformat -Werror=format-security -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njam.cpp >[01m[Knjam.cpp:[m[K In member function â[01m[Kbool NjamEngine::Init(bool, bool, bool)[m[Kâ: >[01m[Knjam.cpp:339:35:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(linux_sdl_driver, "x11\0"); >[01;32m[K ^[m[K >[01m[Knjam.cpp:342:48:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(linux_sdl_driver, "%s\0", driver_name); >[01;32m[K ^[m[K >[01m[Knjam.cpp:347:31:[m[K [01;35m[Kwarning: [m[Kdeprecated conversion from string constant to â[01m[Kchar*[m[Kâ [-Wwrite-strings] > putenv("SDL_VIDEODRIVER=dga"); >[01;32m[K ^[m[K >[01m[Knjam.cpp:571:60:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(Filename, "skins/Back%03d.bmp\0", m_NumberOfSkins); >[01;32m[K ^[m[K >[01m[Knjam.cpp:586:46:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(Filename, "skins/Back%03d.bmp\0", i); >[01;32m[K ^[m[K >[01m[Knjam.cpp:663:56:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(TopTenScores[i].name, "%s\0", DefaultNames[i]); >[01;32m[K ^[m[K >[01m[Knjam.cpp:[m[K In member function â[01m[Kvoid NjamEngine::Start()[m[Kâ: >[01m[Knjam.cpp:959:104:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > d %5d\0", TopTenScores[i].name, TopTenScores[i].level, TopTenScores[i].points); >[01;32m[K ^[m[K >[01m[Knjam.cpp:[m[K In function â[01m[Kint main(int, char**)[m[Kâ: >[01m[Knjam.cpp:105:13:[m[K [01;35m[Kwarning: [m[Kignoring return value of â[01m[Kint chdir(const char*)[m[Kâ, declared with attribute warn_unused_result [-Wunused-result] > chdir(path); >[01;32m[K ^[m[K >[01m[Knjam.cpp:[m[K In member function â[01m[Kvoid NjamEngine::DoScript()[m[Kâ: >[01m[Knjam.cpp:284:39:[m[K [01;35m[Kwarning: [m[Kignoring return value of â[01m[Kchar* fgets(char*, int, FILE*)[m[Kâ, declared with attribute warn_unused_result [-Wunused-result] > fgets(buffer, 79, script_file); >[01;32m[K ^[m[K >[01m[Knjam.cpp:[m[K In member function â[01m[Kbool NjamEngine::Init(bool, bool, bool)[m[Kâ: >[01m[Knjam.cpp:624:23:[m[K [01;35m[Kwarning: [m[Kignoring return value of â[01m[Kchar* fgets(char*, int, FILE*)[m[Kâ, declared with attribute warn_unused_result [-Wunused-result] > fgets(buff, 20, fp); >[01;32m[K ^[m[K >[01m[Knjam.cpp:676:23:[m[K [01;35m[Kwarning: [m[Kignoring return value of â[01m[Kchar* fgets(char*, int, FILE*)[m[Kâ, declared with attribute warn_unused_result [-Wunused-result] > fgets(buff, 40, fp); >[01;32m[K ^[m[K >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -march=native -O2 -pipe -Wformat -Werror=format-security -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c njamgame.cpp >[01m[Knjamgame.cpp:[m[K In member function â[01m[Kvoid NjamEngine::StartGame(GameType)[m[Kâ: >[01m[Knjamgame.cpp:231:25:[m[K [01;31m[Kerror: [m[Kformat not a string literal and no format arguments [-Werror=format-security] > printf(SDL_GetError()); >[01;32m[K ^[m[K >[01m[Knjamgame.cpp:[m[K In member function â[01m[Kvoid NjamEngine::RenderGameScreen()[m[Kâ: >[01m[Knjamgame.cpp:530:52:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(buff, "%d\0", p->GamePoints); >[01;32m[K ^[m[K >[01m[Knjamgame.cpp:584:48:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(buff, "%d\0", p->Juice / 20); >[01;32m[K ^[m[K >[01m[Knjamgame.cpp:601:56:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(buff, "LEVEL: %02d\0", m_CurrentMap + 1); >[01;32m[K ^[m[K >[01m[Knjamgame.cpp:607:59:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(buff, "PTS: %4d\0", m_Player[0].GamePoints); >[01;32m[K ^[m[K >[01m[Knjamgame.cpp:611:39:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(buff, "%2.0f FPS\0", m_fps); >[01;32m[K ^[m[K >[01m[Knjamgame.cpp:[m[K In member function â[01m[Kvoid NjamEngine::DrawGameStats()[m[Kâ: >[01m[Knjamgame.cpp:1545:60:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(points, " (%3d)\0", m_Player[i].MapPoints); >[01;32m[K ^[m[K >[01m[Knjamgame.cpp:1547:87:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(points, "%01d (%3d)\0", m_Player[i].GamePoints, m_Player[i].MapPoints); >[01;32m[K ^[m[K >[01m[Knjamgame.cpp:1552:63:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(points, "%4d\0", m_Player[i].stats.data[j]); >[01;32m[K ^[m[K >[01m[Knjamgame.cpp:1559:57:[m[K [01;35m[Kwarning: [m[Kembedded â[01m[K\0[m[Kâ in format [-Wformat-contains-nul] > sprintf(points, "POINTS: %d\0", m_Player[0].GamePoints); >[01;32m[K ^[m[K >cc1plus: some warnings being treated as errors >Makefile:262: recipe for target 'njamgame.o' failed >make[2]: *** [njamgame.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/games-arcade/njam-1.25/work/njam-1.25-src/src' >Makefile:154: recipe for target 'all-recursive' failed >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory '/var/tmp/portage/games-arcade/njam-1.25/work/njam-1.25-src' >Makefile:304: recipe for target 'all-recursive-am' failed >make: *** [all-recursive-am] Error 2 > * ERROR: games-arcade/njam-1.25::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-arcade/njam-1.25::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-arcade/njam-1.25::gentoo'`. > * The complete build log is located at '/var/log/portage/games-arcade:njam-1.25:20150304-040659.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/njam-1.25/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-arcade/njam-1.25/temp/environment'. > * Working directory: '/var/tmp/portage/games-arcade/njam-1.25/work/njam-1.25-src' > * S: '/var/tmp/portage/games-arcade/njam-1.25/work/njam-1.25-src'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 542124
: 398054