* Package: games-arcade/moleinvasion-0.4-r2 * 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 MoleInvasion-0.4.tar.bz2 to /var/tmp/portage/games-arcade/moleinvasion-0.4-r2/work >>> Source unpacked in /var/tmp/portage/games-arcade/moleinvasion-0.4-r2/work >>> Preparing source in /var/tmp/portage/games-arcade/moleinvasion-0.4-r2/work/moleinvasion-0.4/src ... * Applying moleinvasion-0.4-opengl.patch ... [ ok ] * Applying moleinvasion-0.4-underlink.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-arcade/moleinvasion-0.4-r2/work/moleinvasion-0.4/src ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-arcade/moleinvasion-0.4-r2/work/moleinvasion-0.4/src ... make -j1 cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o graphics.o graphics.c graphics.c: In function ‘coef_frame_rate’: graphics.c:24:30: warning: variable ‘before’ set but not used [-Wunused-but-set-variable] 24 | Uint32 interval,currentTime,before; | ^~~~~~ graphics.c: In function ‘OGLloadSurface’: graphics.c:526:4: warning: ‘truePixel’ may be used uninitialized in this function [-Wmaybe-uninitialized] 526 | SDL_GetRGBA(truePixel, sdlimage->format, &(dstPixel[0]), &(dstPixel[1]), & (dstPixel[2]), &(dstPixel[3])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o font.o font.c cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o list.o list.c cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o sprite.o sprite.c sprite.c: In function ‘commonMounvingSpriteBehaviour’: sprite.c:971:14: warning: variable ‘sposY’ set but not used [-Wunused-but-set-variable] 971 | { long sposX,sposY; | ^~~~~ sprite.c:971:8: warning: variable ‘sposX’ set but not used [-Wunused-but-set-variable] 971 | { long sposX,sposY; | ^~~~~ cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o events.o events.c cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o editor_texts.o editor_texts.c cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o Splayer.o Splayer.c cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o Sother.o Sother.c Sother.c: In function ‘giveRandomBonus’: Sother.c:28:9: warning: ‘id’ may be used uninitialized in this function [-Wmaybe-uninitialized] 28 | return id; | ^~ Sother.c: In function ‘performBonusTile’: Sother.c:415:4: warning: ‘id’ may be used uninitialized in this function [-Wmaybe-uninitialized] 415 | createNewSpriteNear(player,giveRandomBonus(),POS_UP,level_walls,level_motionless_sprites,level_sprites); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sother.c: In function ‘performOther’: Sother.c:861:5: warning: ‘id’ may be used uninitialized in this function [-Wmaybe-uninitialized] 861 | { changeSpriteToId(player,giveRandomBonus(),level_walls,level_motionless_sprites,level_sprites,1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o background.o background.c background.c: In function ‘readAllBacks’: background.c:148:42: warning: ‘_’ directive output may be truncated writing 1 byte into a region of size between 0 and 254 [-Wformat-truncation=] 148 | { snprintf(buffer,sizeof(buffer),"%s/%s_%d.png",dir,name,seq); | ^ background.c:148:36: note: using the range [-2147483648, 2147483647] for directive argument 148 | { snprintf(buffer,sizeof(buffer),"%s/%s_%d.png",dir,name,seq); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from graphics.h:11, from sprite.h:11, from background.h:11, from background.c:9: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 262) into a destination of size 255 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 -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o video.o video.c cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o tool.o tool.c cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o mixer.o mixer.c mixer.c: In function ‘giveRandomFile’: mixer.c:47:36: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] 47 | snprintf(buff,sizeof(buff),"%s/%s",dir,myfile->d_name); | ^~ In file included from /usr/include/stdio.h:867, from mixer.h:11, from mixer.c:9: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 2 or more bytes (assuming 257) into a destination of size 255 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 -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o level_file.o level_file.c level_file.c: In function ‘load_levelfile’: level_file.c:112:20: warning: variable ‘player_init’ set but not used [-Wunused-but-set-variable] 112 | { char buffer[256],player_init; | ^~~~~~~~~~~ In file included from /usr/include/string.h:495, from graphics.h:13, from sprite.h:11, from Sother.h:11, from level_file.h:14, from level_file.c:8: In function ‘strncpy’, inlined from ‘load_worldfile’ at level_file.c:392:5: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o level.o level.c cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o worldmap.o worldmap.c worldmap.c: In function ‘change_level_status’: worldmap.c:138:14: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 138 | {case OPEN:if(lvlst == CLOSE) | ^~ worldmap.c:139:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 139 | level_read->level_status=newstatus;break; | ^~~~~ worldmap.c:140:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 140 | case DONE:if(lvlst == CLOSE || lvlst == OPEN || lvlst == MODIFY) | ^~ worldmap.c:141:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 141 | level_read->level_status=newstatus;break; | ^~~~~ cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o edit_keys.o edit_keys.c cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o menu.o menu.c cc -O2 -pipe -march=native -fno-common -Wall $(sdl-config --cflags) -DHAVE_OPENGL -DDATADIR='"/usr/share/moleinvasion"' -c -o MoleInvasion.o MoleInvasion.c MoleInvasion.c: In function ‘main’: MoleInvasion.c:70:3: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 70 | chdir("../"); | ^~~~~~~~~~~~ cc -Wl,-O1 -Wl,--as-needed graphics.o font.o list.o sprite.o events.o editor_texts.o Splayer.o Sother.o background.o video.o tool.o mixer.o level_file.o level.o worldmap.o edit_keys.o menu.o MoleInvasion.o $(sdl-config --libs) -lSDL_image -lSDL_mixer -lSDL_ttf -lGL -ldl -o ../lin/moleinvasion /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: level.o:(.bss+0x8): multiple definition of `static_world_datas'; Splayer.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: MoleInvasion.o:(.bss+0x0): multiple definition of `static_world_datas'; Splayer.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:68: ../lin/moleinvasion] Error 1 * ERROR: games-arcade/moleinvasion-0.4-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-arcade/moleinvasion-0.4-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-arcade/moleinvasion-0.4-r2::gentoo'`. * The complete build log is located at '/var/log/portage/games-arcade:moleinvasion-0.4-r2:20200212-214143.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-arcade/moleinvasion-0.4-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/moleinvasion-0.4-r2/temp/environment'. * Working directory: '/var/tmp/portage/games-arcade/moleinvasion-0.4-r2/work/moleinvasion-0.4/src' * S: '/var/tmp/portage/games-arcade/moleinvasion-0.4-r2/work/moleinvasion-0.4/src'