Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708388 - games-arcade/sdlroids-1.3.4-r4 : fails to build with -fno-common or gcc-10
Summary: games-arcade/sdlroids-1.3.4-r4 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-05 18:14 UTC by Toralf Förster
Modified: 2020-11-22 14:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.12 KB, text/plain)
2020-02-05 18:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,106.54 KB, text/plain)
2020-02-05 18:14 UTC, Toralf Förster
Details
environment (environment,25.49 KB, text/plain)
2020-02-05 18:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.74 KB, application/x-bzip)
2020-02-05 18:14 UTC, Toralf Förster
Details
games-arcade:sdlroids-1.3.4-r4:20200205-164802.log (games-arcade:sdlroids-1.3.4-r4:20200205-164802.log,9.13 KB, text/plain)
2020-02-05 18:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,1.90 KB, application/x-bzip)
2020-02-05 18:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,9.16 KB, application/x-bzip)
2020-02-05 18:14 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-05 18:14:00 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall 	-Wcast-align -DDATADIR=\"/usr/share/sdlroids/\"    -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c petopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall 	-Wcast-align -DDATADIR=\"/usr/share/sdlroids/\"    -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c getargs.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall 	-Wcast-align -DDATADIR=\"/usr/share/sdlroids/\"    -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rand.c
gcc  -O2 -pipe -march=native -fno-common -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wl,-O1 -Wl,--as-needed -o sdlroids  hyperoid.o roidsupp.o sdlsound.o sdl.o petopt.o getargs.o rand.o  -lm -lSDL_mixer  -lSDL -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sdl.o:(.bss+0xc0): multiple definition of `flagargs'; hyperoid.o:(.bss+0x98e0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: getargs.o:(.bss+0x0): multiple definition of `flagargs'; hyperoid.o:(.bss+0x98e0): first defined here

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

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

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

  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.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 05 Feb 2020 15:32:28 +0000

emerge -qpvO games-arcade/sdlroids
[ebuild  N    ] games-arcade/sdlroids-1.3.4-r4
Comment 1 Toralf Förster gentoo-dev 2020-02-05 18:14:03 UTC
Created attachment 611942 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-05 18:14:06 UTC
Created attachment 611944 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-05 18:14:09 UTC
Created attachment 611946 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-05 18:14:11 UTC
Created attachment 611948 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-05 18:14:14 UTC
Created attachment 611950 [details]
games-arcade:sdlroids-1.3.4-r4:20200205-164802.log
Comment 6 Toralf Förster gentoo-dev 2020-02-05 18:14:17 UTC
Created attachment 611952 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-05 18:14:20 UTC
Created attachment 611954 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-22 14:38:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39ff15626bbf6ce5bf0bf9af6baec95e6f67b8d4

commit 39ff15626bbf6ce5bf0bf9af6baec95e6f67b8d4
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-22 14:37:43 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-22 14:37:43 +0000

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

 .../sdlroids/files/sdlroids-1.3.4-Makefile.patch   |  15 +++
 .../sdlroids/files/sdlroids-1.3.4-fno-common.patch | 140 +++++++++++++++++++++
 ....3.4-sound.patch => sdlroids-1.3.4-sound.patch} |   0
 games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild     |  30 +++--
 4 files changed, 172 insertions(+), 13 deletions(-)