Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 613634 Details for
Bug 709502
games-arcade/moleinvasion-0.4-r2 : fails to build with -fno-common or gcc-10
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-arcade:moleinvasion-0.4-r2:20200212-214143.log
games-arcade:moleinvasion-0.4-r2:20200212-214143.log (text/plain), 10.76 KB, created by
Toralf Förster
on 2020-02-13 18:27:58 UTC
(
hide
)
Description:
games-arcade:moleinvasion-0.4-r2:20200212-214143.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-02-13 18:27:58 UTC
Size:
10.76 KB
patch
obsolete
> * 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'
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 709502
:
613626
|
613628
|
613630
|
613632
| 613634 |
614962