Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 706948

Summary: games-mud/tf-50_beta8-r2 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: contyk
Priority: Normal Keywords: PATCH, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/17545
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-mud:tf-50_beta8-r2:20200128-130354.log
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-28 18:46:17 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -DDATADIR=/usr/share   -c -o util.o util.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -DDATADIR=/usr/share   -c -o variable.o variable.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -DDATADIR=/usr/share   -c -o world.o world.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed  -o tf attr.o command.o dstring.o expand.o expr.o help.o history.o keyboard.o macro.o main.o malloc.o output.o pattern.o process.o search.o signals.o socket.o tfio.o tty.o util.o variable.o world.o  -lz -lm -lnet  -lssl -lcrypto -lpcre
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: expand.o:(.bss+0x50): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: expr.o:(.bss+0x1008): multiple definition of `world_decl'; command.o:(.bss+0x8): first defined here

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

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

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

  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.6
  [3]   python3.7 (fallback)
  [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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 12:06:25 +0000

emerge -qpvO games-mud/tf
[ebuild  N    ] games-mud/tf-50_beta8-r2  USE="atcp gmcp ipv6 option102 ssl -debug -doc"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:46:20 UTC
Created attachment 606768 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:46:23 UTC
Created attachment 606770 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:46:26 UTC
Created attachment 606772 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:46:29 UTC
Created attachment 606774 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:46:32 UTC
Created attachment 606776 [details]
games-mud:tf-50_beta8-r2:20200128-130354.log
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:46:35 UTC
Created attachment 606778 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:46:38 UTC
Created attachment 606780 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-15 20:03:33 UTC
The bug has been closed via the following commit(s):

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

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

    games-mud/tf: fix build, fix version number
    
    * Use debian patches
    * Fix usage of ncurses (thanks Petr Šabata)
    * Remove debug USE flag which only was adding -g
    
    Closes: https://bugs.gentoo.org/710070
    Closes: https://bugs.gentoo.org/706948
    Package-Manager: Portage-3.0.4, Repoman-2.3.23
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: David Seifert <soap@gentoo.org>

 games-mud/tf/Manifest               |  1 +
 games-mud/tf/tf-5.0_beta8_p8.ebuild | 79 +++++++++++++++++++++++++++++++++++++
 2 files changed, 80 insertions(+)