* Package: games-puzzle/rezerwar-0.4.2-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking rezerwar-0.4.2.tar.gz to /var/tmp/portage/games-puzzle/rezerwar-0.4.2-r1/work >>> Source unpacked in /var/tmp/portage/games-puzzle/rezerwar-0.4.2-r1/work >>> Preparing source in /var/tmp/portage/games-puzzle/rezerwar-0.4.2-r1/work/rezerwar-0.4.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-puzzle/rezerwar-0.4.2-r1/work/rezerwar-0.4.2 ... Target OS... Linux Checking for SDL_mixer... test_sdl_mixer.c:5:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 5 | main() { | ^~~~ found (1.2.12) Configured for 'Linux', run 'make' (or 'gmake') to compile. >>> Source configured. >>> Compiling source in /var/tmp/portage/games-puzzle/rezerwar-0.4.2-r1/work/rezerwar-0.4.2 ... make -j1 make -C src make[1]: Entering directory '/var/tmp/portage/games-puzzle/rezerwar-0.4.2-r1/work/rezerwar-0.4.2/src' cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c main.c main.c: In function ‘game_loop’: main.c:114:11: warning: variable ‘start’ set but not used [-Wunused-but-set-variable] 114 | uint32_t start, // when the game loop starts | ^~~~~ main.c: In function ‘main’: main.c:233:16: warning: variable ‘js’ set but not used [-Wunused-but-set-variable] 233 | SDL_Joystick *js; | ^~ cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c menus.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c events.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c level.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c hiscore.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c board.c board.c: In function ‘board_show_combo’: board.c:951:23: warning: ‘x combo!’ directive output may be truncated writing 8 bytes into a region of size between 6 and 15 [-Wformat-truncation=] 951 | snprintf(buf, 16, "%dx combo!", board->combo); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from board.c:28: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 10 and 19 bytes into a destination of size 16 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c cube.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c text.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c path.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c memory.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c fatal.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c gfx.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c strlcpy.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c chimneys.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c sky.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c mole.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c pipe.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c bomb.c cc -O2 -pipe -march=native -fno-common `sdl-config --cflags` -Wall -c sfx.c cc -Wl,-O1 -Wl,--as-needed main.o menus.o events.o level.o hiscore.o board.o cube.o text.o path.o memory.o fatal.o gfx.o strlcpy.o chimneys.o sky.o mole.o pipe.o bomb.o sfx.o -lSDL -lpthread -lSDL_mixer -o rezerwar /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: events.o:(.bss+0x8): multiple definition of `screen'; main.o:(.bss+0x10): first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:15: rezerwar] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-puzzle/rezerwar-0.4.2-r1/work/rezerwar-0.4.2/src' make: *** [Makefile:11: build] Error 2 * ERROR: games-puzzle/rezerwar-0.4.2-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-puzzle/rezerwar-0.4.2-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-puzzle/rezerwar-0.4.2-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-puzzle:rezerwar-0.4.2-r1:20200204-135711.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-puzzle/rezerwar-0.4.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-puzzle/rezerwar-0.4.2-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-puzzle/rezerwar-0.4.2-r1/work/rezerwar-0.4.2' * S: '/var/tmp/portage/games-puzzle/rezerwar-0.4.2-r1/work/rezerwar-0.4.2'