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

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


Attachments
emerge-info.txt (emerge-info.txt,15.84 KB, text/plain)
2020-01-28 18:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,115.67 KB, text/plain)
2020-01-28 18:28 UTC, Toralf Förster
Details
environment (environment,76.45 KB, text/plain)
2020-01-28 18:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.71 KB, application/x-bzip)
2020-01-28 18:28 UTC, Toralf Förster
Details
games-board:xgammon-0.98-r1:20200128-053730.log (games-board:xgammon-0.98-r1:20200128-053730.log,30.29 KB, text/plain)
2020-01-28 18:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.71 KB, application/x-bzip)
2020-01-28 18:28 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:28:15 UTC
  185 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
rm -f xgammon
x86_64-pc-linux-gnu-gcc -o xgammon -O2 -pipe -march=native -fno-common   -Wl,-O1 -Wl,--as-needed   -L/usr/lib64   allow.o      drawing.o    load.o    rollout.o         decision.o   edit.o       misc.o    save.o            diawin.o     filemenu.o   popup.o   xgammon.o -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11 -lfl -lm      
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: drawing.o:(.bss+0xfc40): multiple definition of `Player'; allow.o:(.bss+0xfc80): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: drawing.o:(.bss+0xfb40): multiple definition of `Pin'; allow.o:(.bss+0xfb80): first defined here

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

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

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

  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 (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 <==
Tue, 28 Jan 2020 03:26:40 +0000

emerge -qpvO games-board/xgammon
[ebuild  N    ] games-board/xgammon-0.98-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:28:18 UTC
Created attachment 606258 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:28:21 UTC
Created attachment 606260 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:28:23 UTC
Created attachment 606262 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:28:26 UTC
Created attachment 606264 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:28:29 UTC
Created attachment 606266 [details]
games-board:xgammon-0.98-r1:20200128-053730.log
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:28:32 UTC
Created attachment 606268 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-08-26 22:07:45 UTC
The bug has been closed via the following commit(s):

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

commit e83b529b07bb3c1a07692dcb78d02f68822a9288
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-26 22:07:22 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-26 22:07:22 +0000

    games-board/xgammon: Fix building with -fno-common
    
    Closes: https://bugs.gentoo.org/706872
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../xgammon/files/xgammon-0.98-fno-common.patch    | 97 ++++++++++++++++++++++
 games-board/xgammon/xgammon-0.98-r1.ebuild         |  1 +
 2 files changed, 98 insertions(+)