Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706390 - games-util/qstat-2.14 : fails to build with -fno-common or gcc-10
Summary: games-util/qstat-2.14 : 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: https://github.com/multiplay/qstat/pu...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-26 08:28 UTC by Toralf Förster
Modified: 2020-01-26 11:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.88 KB, text/plain)
2020-01-26 08:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,59.55 KB, text/plain)
2020-01-26 08:28 UTC, Toralf Förster
Details
environment (environment,56.86 KB, text/plain)
2020-01-26 08:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.65 KB, application/x-bzip)
2020-01-26 08:28 UTC, Toralf Förster
Details
games-util:qstat-2.14:20200126-012338.log (games-util:qstat-2.14:20200126-012338.log,22.79 KB, text/plain)
2020-01-26 08:28 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.77 KB, application/x-bzip)
2020-01-26 08:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.00 KB, application/x-bzip)
2020-01-26 08: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-26 08:28:21 UTC
      |                ^~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.   -Dsysconfdir=\"/etc\"  -DENABLE_DUMP  -O2 -pipe -march=native -fno-common -Wall -c -o starmade.o starmade.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.   -Dsysconfdir=\"/etc\"  -DENABLE_DUMP  -O2 -pipe -march=native -fno-common -Wall -c -o farmsim.o farmsim.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall  -Wl,-O1 -Wl,--as-needed -o qstat xform.o config.o debug.o utils.o hcache.o md5.o qserver.o qstat.o template.o a2s.o packet_manip.o ut2004.o doom3.o gps.o gs2.o gs3.o ts2.o tm.o haze.o ottd.o wic.o fl.o tee.o cube2.o ts3.o bfbc2.o ventrilo.o mumble.o terraria.o crysis.o dirtybomb.o starmade.o farmsim.o  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: hcache.o:(.bss+0x0): multiple definition of `do_dump'; debug.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: qserver.o:(.bss+0x0): multiple definition of `do_dump'; debug.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 26 Jan 2020 00:46:11 +0000

emerge -qpvO games-util/qstat
[ebuild  N    ] games-util/qstat-2.14  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2020-01-26 08:28:23 UTC
Created attachment 604442 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-26 08:28:26 UTC
Created attachment 604444 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-26 08:28:29 UTC
Created attachment 604446 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-26 08:28:32 UTC
Created attachment 604448 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-26 08:28:34 UTC
Created attachment 604450 [details]
games-util:qstat-2.14:20200126-012338.log
Comment 6 Toralf Förster gentoo-dev 2020-01-26 08:28:37 UTC
Created attachment 604452 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-26 08:28:40 UTC
Created attachment 604454 [details]
temp.tbz2
Comment 8 Sergei Trofimovich gentoo-dev 2020-01-26 11:18:28 UTC
Proposed fix upstream as https://github.com/multiplay/qstat/pull/92
Comment 9 Larry the Git Cow gentoo-dev 2020-01-26 11:25:06 UTC
The bug has been closed via the following commit(s):

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

commit 17a74b14df557a6431e1b57dd4afdeb58717b030
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-01-26 11:24:35 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-01-26 11:24:58 +0000

    games-util/qstat: tweak for gcc-10, bug #706390
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/706390
    Package-Manager: Portage-2.3.85, Repoman-2.3.20
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 games-util/qstat/files/qstat-2.14-gcc-10.patch | 51 ++++++++++++++++++++++++++
 games-util/qstat/qstat-2.14.ebuild             |  6 ++-
 2 files changed, 56 insertions(+), 1 deletion(-)