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

Bug 707266

Summary: games-arcade/spout-1.3-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 CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957838
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-arcade:spout-1.3-r1:20200129-161035.log
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 18:18:01 UTC
  361 |   pceAppExit ();
      |   ^~~~~~~~~~
      |   pceAppReqExit
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -std=gnu99 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -Wl,-O1 -Wl,--as-needed -o spout  spout.o piece.o  -lSDL -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: piece.o:(.bss+0x3c): multiple definition of `zoom'; spout.o:(.bss+0x29854): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: piece.o:(.bss+0x38): multiple definition of `fullscreen'; spout.o:(.bss+0x29850): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  Please see the tracker bug for details.

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

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 15:46:26 +0000

emerge -qpvO games-arcade/spout
[ebuild  N    ] games-arcade/spout-1.3-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:18:05 UTC
Created attachment 608298 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:18:09 UTC
Created attachment 608300 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:18:12 UTC
Created attachment 608302 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:18:15 UTC
Created attachment 608304 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:18:20 UTC
Created attachment 608306 [details]
games-arcade:spout-1.3-r1:20200129-161035.log
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:18:23 UTC
Created attachment 608308 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-29 18:18:26 UTC
Created attachment 608310 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-21 20:38:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e425bad1f85cff1d86e657e630c9b1d687bc7ec

commit 8e425bad1f85cff1d86e657e630c9b1d687bc7ec
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-21 20:38:01 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-21 20:38:01 +0000

    games-arcade/spout: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/707266
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../spout/files/spout-1.3-fno-common.patch         | 18 ++++++++++++
 games-arcade/spout/spout-1.3-r1.ebuild             | 34 ++++++++++++----------
 2 files changed, 36 insertions(+), 16 deletions(-)