Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706518 - games-misc/typespeed-0.6.5-r1 : fails to build with -fno-common or gcc-10
Summary: games-misc/typespeed-0.6.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: PATCH, PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-26 17:59 UTC by Toralf Förster
Modified: 2020-11-15 20:03 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.20 KB, text/plain)
2020-01-26 17:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,105.39 KB, text/plain)
2020-01-26 17:59 UTC, Toralf Förster
Details
environment (environment,57.72 KB, text/plain)
2020-01-26 17:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.63 KB, application/x-bzip)
2020-01-26 17:59 UTC, Toralf Förster
Details
games-misc:typespeed-0.6.5-r1:20200126-170033.log (games-misc:typespeed-0.6.5-r1:20200126-170033.log,15.57 KB, text/plain)
2020-01-26 18:00 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.57 KB, application/x-bzip)
2020-01-26 18:00 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.16 KB, application/x-bzip)
2020-01-26 18:00 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 17:59:48 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -DTVERSION=\"v0.6.5\" -DCONFIGFILE=\"/etc/typespeedrc\" -DHIGHFILE=\"/var/lib/games/typespeed.score\" -DWORDDIR=\"/usr/share/typespeed/words\" -DRULEDIR=\"/usr/share/typespeed/rules\"  -Wall -W -pedantic -std=c99 -O2 -pipe -march=native -fno-common -c -o typespeed-misc.o `test -f 'misc.c' || echo './'`misc.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -DTVERSION=\"v0.6.5\" -DCONFIGFILE=\"/etc/typespeedrc\" -DHIGHFILE=\"/var/lib/games/typespeed.score\" -DWORDDIR=\"/usr/share/typespeed/words\" -DRULEDIR=\"/usr/share/typespeed/rules\"  -Wall -W -pedantic -std=c99 -O2 -pipe -march=native -fno-common -c -o typespeed-network.o `test -f 'network.c' || echo './'`network.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/usr/share/locale\" -DTVERSION=\"v0.6.5\" -DCONFIGFILE=\"/etc/typespeedrc\" -DHIGHFILE=\"/var/lib/games/typespeed.score\" -DWORDDIR=\"/usr/share/typespeed/words\" -DRULEDIR=\"/usr/share/typespeed/rules\"  -Wall -W -pedantic -std=c99 -O2 -pipe -march=native -fno-common -c -o typespeed-typespeed.o `test -f 'typespeed.c' || echo './'`typespeed.c
x86_64-pc-linux-gnu-gcc -Wall -W -pedantic -std=c99 -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o typespeed typespeed-file.o typespeed-menu.o typespeed-misc.o typespeed-network.o typespeed-typespeed.o  -lncurses 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: typespeed-menu.o:(.bss+0x40): multiple definition of `rules'; typespeed-file.o:(.bss+0x2020): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: typespeed-menu.o:(.bss+0x10e0): multiple definition of `now'; typespeed-file.o:(.bss+0x30c0): 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.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 *



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

emerge -qpvO games-misc/typespeed
[ebuild  N    ] games-misc/typespeed-0.6.5-r1  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2020-01-26 17:59:51 UTC
Created attachment 604746 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-26 17:59:53 UTC
Created attachment 604748 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-26 17:59:56 UTC
Created attachment 604750 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-26 17:59:59 UTC
Created attachment 604752 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-26 18:00:05 UTC
Created attachment 604754 [details]
games-misc:typespeed-0.6.5-r1:20200126-170033.log
Comment 6 Toralf Förster gentoo-dev 2020-01-26 18:00:08 UTC
Created attachment 604756 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-26 18:00:11 UTC
Created attachment 604758 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-15 20:03:30 UTC
The bug has been closed via the following commit(s):

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

commit 0fc243064474c8e4d688e7d59e5423fe0a931840
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2020-11-15 20:02:50 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-15 20:02:50 +0000

    games-misc/typespeed: fix build
    
    Closes: https://bugs.gentoo.org/694840
    Closes: https://bugs.gentoo.org/691256
    Closes: https://bugs.gentoo.org/706518
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/typespeed-0.6.5-link-tinfo.patch         |  35 +++++++
 .../files/typespeed-0.6.5-use-extern.patch         | 116 +++++++++++++++++++++
 games-misc/typespeed/typespeed-0.6.5-r2.ebuild     |  47 +++++++++
 3 files changed, 198 insertions(+)