Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706880 - games-arcade/cavezofphear-0.5.1 : fails to build with -fno-common or gcc-10
Summary: games-arcade/cavezofphear-0.5.1 : 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-01-28 18:30 UTC by Toralf Förster
Modified: 2020-10-18 14:06 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.99 KB, text/plain)
2020-01-28 18:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,68.05 KB, text/plain)
2020-01-28 18:30 UTC, Toralf Förster
Details
environment (environment,99.07 KB, text/plain)
2020-01-28 18:30 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.19 KB, application/x-bzip)
2020-01-28 18:30 UTC, Toralf Förster
Details
games-arcade:cavezofphear-0.5.1:20200128-060617.log (games-arcade:cavezofphear-0.5.1:20200128-060617.log,3.20 KB, text/plain)
2020-01-28 18:30 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.59 KB, application/x-bzip)
2020-01-28 18:30 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-01-28 18:30:10 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -c splash.c -o splash.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -c chk.c -o chk.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -c editor.c -o editor.o
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -o phear main.o frame.o isready.o loadmap.o misc.o gplot.o splash.o chk.o editor.o -Wl,-O1 -Wl,--as-needed `pkg-config ncurses --libs`
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: frame.o:(.bss+0x0): multiple definition of `need_refresh'; main.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: editor.o:(.bss+0x20): multiple definition of `map'; main.o:(.bss+0x800): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 03:26:40 +0000

emerge -qpvO games-arcade/cavezofphear
[ebuild  N    ] games-arcade/cavezofphear-0.5.1
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:30:12 UTC
Created attachment 606312 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:30:15 UTC
Created attachment 606314 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:30:18 UTC
Created attachment 606316 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:30:21 UTC
Created attachment 606318 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:30:24 UTC
Created attachment 606320 [details]
games-arcade:cavezofphear-0.5.1:20200128-060617.log
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:30:27 UTC
Created attachment 606322 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-10-18 14:06:08 UTC
The bug has been closed via the following commit(s):

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

commit 5d8bf83756a2536d0b445f49066de3708fa93fee
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-10-18 14:05:50 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-10-18 14:06:03 +0000

    games-arcade/cavezofphear: tweak for -fno-common
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/706880
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 .../cavezofphear/cavezofphear-0.5.1.ebuild         |  3 ++-
 .../files/cavezofphear-0.5.1-no-common.patch       | 23 ++++++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)