Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 706716

Summary: games-puzzle/mures-0.5-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-puzzle:mures-0.5-r1:20200127-145659.log
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-27 17:39:48 UTC
sim.c:779:7: warning: variable ‘rocket’ set but not used [-Wunused-but-set-variable]
  779 |   int rocket;
      |       ^~~~~~
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_GL -Wall -ansi -pedantic  -Wl,-O1 -Wl,--as-needed -o mures SDL_rotozoom.o ai.o anim.o audio.o audio_sdl.o client.o game.o game_input.o game_output.o gi_sdl.o go_gl.o go_sdl.o gui.o input_queue.o lib.o lua.o main.o map.o menu.o net_common.o output.o pregame.o server.o sim.o -llua -L./lua  -lm -lSDL_ttf -lSDL_net -lSDL_image  -lSDL -lpthread -lSDL_image -lSDL_net -lSDL_ttf -lGL
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client.o:(.bss+0x178): multiple definition of `game_output_exit'; audio_sdl.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client.o:(.bss+0x180): multiple definition of `game_output_bigchange'; audio_sdl.o:(.bss+0x8): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200125-232521

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7 (uninstalled)
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 13:46:17 +0000

emerge -qpvO games-puzzle/mures
[ebuild  N    ] games-puzzle/mures-0.5-r1  USE="opengl"
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:39:51 UTC
Created attachment 605536 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:39:54 UTC
Created attachment 605538 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:39:57 UTC
Created attachment 605540 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:40:00 UTC
Created attachment 605542 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:40:03 UTC
Created attachment 605544 [details]
games-puzzle:mures-0.5-r1:20200127-145659.log
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:40:07 UTC
Created attachment 605546 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-27 17:40:11 UTC
Created attachment 605548 [details]
temp.tbz2
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2020-05-21 12:07:55 UTC
*** Bug 720972 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2020-06-21 19:59:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f7dd61886b3dc3fe878a0671af551d3b2caa060

commit 5f7dd61886b3dc3fe878a0671af551d3b2caa060
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-06-21 19:59:22 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-06-21 19:59:22 +0000

    games-puzzle/mures: Fix building against GCC 10
    
    Closes: https://bugs.gentoo.org/706716
    Package-Manager: Portage-2.3.101, Repoman-2.3.22
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../mures/files/mures-0.5-fix-fno-common.patch     | 114 +++++++++++++++++++++
 games-puzzle/mures/mures-0.5-r1.ebuild             |   2 +
 2 files changed, 116 insertions(+)