Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707590 - games-board/gnushogi-1.4.1-r1 : fails to build with -fno-common or gcc-10
Summary: games-board/gnushogi-1.4.1-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-31 17:32 UTC by Toralf Förster
Modified: 2020-10-29 22:09 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.61 KB, text/plain)
2020-01-31 17:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,228.67 KB, text/plain)
2020-01-31 17:32 UTC, Toralf Förster
Details
environment (environment,78.61 KB, text/plain)
2020-01-31 17:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.24 KB, application/x-bzip)
2020-01-31 17:32 UTC, Toralf Förster
Details
games-board:gnushogi-1.4.1-r1:20200130-221100.log (games-board:gnushogi-1.4.1-r1:20200130-221100.log,28.76 KB, text/plain)
2020-01-31 17:32 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,18.27 KB, application/x-bzip)
2020-01-31 17:32 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.30 KB, application/x-bzip)
2020-01-31 17:32 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-31 17:32:25 UTC
main.c:260:21: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
  260 |                     fread(&n, sizeof(struct fileentry), 1, hashfile);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DHASHFILE=\""lib64"/gnushogi.hsh\" -fsigned-char -funroll-loops -Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic -I. -I.. -I.. -o gnushogi globals.o init-common.o pattern-common.o attacks.o book.o commondsp.o dspwrappers.o eval.o genmove.o init.o pattern.o rawdsp.o search.o tcontrl.o util.o main.o -Wl,-O1 -Wl,--as-needed  -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: rawdsp.o:(.bss+0x0): multiple definition of `DRAW'; globals.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status

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

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

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

  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
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 21:13:03 +0000

emerge -qpvO games-board/gnushogi
[ebuild  N    ] games-board/gnushogi-1.4.1-r1  USE="-X"
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:32:28 UTC
Created attachment 609516 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:32:31 UTC
Created attachment 609518 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:32:33 UTC
Created attachment 609520 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:32:38 UTC
Created attachment 609522 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:32:40 UTC
Created attachment 609524 [details]
games-board:gnushogi-1.4.1-r1:20200130-221100.log
Comment 6 Toralf Förster gentoo-dev 2020-01-31 17:32:43 UTC
Created attachment 609526 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-31 17:32:46 UTC
Created attachment 609528 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-10-29 22:09:40 UTC
The bug has been closed via the following commit(s):

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

commit 5b788753c95e798530545d65475ea36c7cb450e6
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-29 22:09:07 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-29 22:09:07 +0000

    games-board/gnushogi: Fix -fno-common
    
    * Also port to EAPI 7
    
    Closes: https://bugs.gentoo.org/707590
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../gnushogi/files/gnushogi-1.4.1-fno-common.patch  | 20 ++++++++++++++++++++
 games-board/gnushogi/gnushogi-1.4.1-r1.ebuild       | 21 ++++++++++++++-------
 2 files changed, 34 insertions(+), 7 deletions(-)