* Package: games-arcade/nibbles-0.0.4-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 nibbles-v0.0.4.tar.gz to /var/tmp/portage/games-arcade/nibbles-0.0.4-r1/work >>> Source unpacked in /var/tmp/portage/games-arcade/nibbles-0.0.4-r1/work >>> Preparing source in /var/tmp/portage/games-arcade/nibbles-0.0.4-r1/work/nibbles-v0.0.4 ... * Applying nibbles-0.0.4-as-needed.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-arcade/nibbles-0.0.4-r1/work/nibbles-v0.0.4 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-arcade/nibbles-0.0.4-r1/work/nibbles-v0.0.4 ... make -j1 cc -O2 -pipe -march=native -fno-common -c -o player.o player.c cc -O2 -pipe -march=native -fno-common -c -o main.o main.c cc -O2 -pipe -march=native -fno-common -c -o loadMap.o loadMap.c cc -O2 -pipe -march=native -fno-common -c -o cmdline.o cmdline.c cmdline.c: In function ‘cmdline’: cmdline.c:43:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 43 | fprintf(stderr," with arg %d",(int)optarg); | ^ cc -O2 -pipe -march=native -fno-common -c -o ncdrawlib.o ncdrawlib.c cc -O2 -pipe -march=native -fno-common -c -o scoring.o scoring.c scoring.c: In function ‘get_high_scores’: scoring.c:32:2: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] 32 | fread(*highscores, 1, filelen, scorefile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wl,-O1 -Wl,--as-needed player.o main.o loadMap.o cmdline.o ncdrawlib.o scoring.o -lncurses -ltinfo -o nibbles /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cmdline.o:(.bss+0x0): multiple definition of `highscoref'; main.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: scoring.o:(.bss+0x0): multiple definition of `highscoref'; main.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:11: nibbles] Error 1 * ERROR: games-arcade/nibbles-0.0.4-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-arcade/nibbles-0.0.4-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-arcade/nibbles-0.0.4-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-arcade:nibbles-0.0.4-r1:20200126-140804.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/nibbles-0.0.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/nibbles-0.0.4-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-arcade/nibbles-0.0.4-r1/work/nibbles-v0.0.4' * S: '/var/tmp/portage/games-arcade/nibbles-0.0.4-r1/work/nibbles-v0.0.4'