Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744745 - games-sports/gracer-0.1.5-r1 : fails to build with -fno-common or gcc-10
Summary: games-sports/gracer-0.1.5-r1 : 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: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-09-26 07:01 UTC by Toralf Förster
Modified: 2020-10-09 18:42 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.09 KB, text/plain)
2020-09-26 07:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,198.90 KB, text/plain)
2020-09-26 07:01 UTC, Toralf Förster
Details
environment (environment,16.83 KB, text/plain)
2020-09-26 07:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.86 KB, application/x-bzip)
2020-09-26 07:01 UTC, Toralf Förster
Details
games-sports:gracer-0.1.5-r1:20200925-215219.log (games-sports:gracer-0.1.5-r1:20200925-215219.log,30.34 KB, text/plain)
2020-09-26 07:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.10 KB, application/x-bzip)
2020-09-26 07:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,10.87 KB, application/x-bzip)
2020-09-26 07:01 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-09-26 07:01:22 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gr_world.o:/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/src/vehicle.h:73: multiple definition of `GrBreak'; glutgame.o:/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/src/vehicle.h:73: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: vehicle.o:/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/src/vehicle.h:73: multiple definition of `GrBreak'; glutgame.o:/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/src/vehicle.h:73: first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-abi32+64-20200919-231901

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.46.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-8]
2)	IcedTea JDK 3.16.0 [icedtea-bin-8]
*)	AdoptOpenJDK 8.265_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8 
  [3]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Sep 25 09:06:24 PM UTC 2020

emerge -qpvO games-sports/gracer
[ebuild  N    ] games-sports/gracer-0.1.5-r1  USE="-joystick"
Comment 1 Toralf Förster gentoo-dev 2020-09-26 07:01:24 UTC
Created attachment 662521 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-09-26 07:01:25 UTC
Created attachment 662524 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-09-26 07:01:27 UTC
Created attachment 662527 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-09-26 07:01:28 UTC
Created attachment 662530 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-09-26 07:01:30 UTC
Created attachment 662533 [details]
games-sports:gracer-0.1.5-r1:20200925-215219.log
Comment 6 Toralf Förster gentoo-dev 2020-09-26 07:01:31 UTC
Created attachment 662536 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-09-26 07:01:32 UTC
Created attachment 662539 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-10-03 13:16:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5320229523ad830f0410b30a44475e32edb6a372

commit 5320229523ad830f0410b30a44475e32edb6a372
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2020-10-03 12:49:03 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2020-10-03 13:14:07 +0000

    games-sports/gracer: fix build with gcc10
    
    Bug: https://bugs.gentoo.org/744745
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-sports/gracer/files/gracer-0.1.5-gcc10.patch | 14 ++++++
 games-sports/gracer/gracer-0.1.5-r2.ebuild         | 51 ++++++++++++++++++++++
 2 files changed, 65 insertions(+)