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

Bug 707434

Summary: games-util/fteqcc-2501 : 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: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-util:fteqcc-2501:20200130-040005.log
logs.tbz2

Description Toralf Förster gentoo-dev 2020-01-30 19:12:39 UTC
  145 |   !pr_progstate[prnum].progs->secondaryversion != PROG_SECONDARYVERSION32)
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   (                                           )
cc -O2 -pipe -march=native -fno-common -DQCCONLY -Wall -Wl,-O1 -Wl,--as-needed -o fteqcc.bin qccmain.o qcc_cmdlib.o qcc_pr_comp.o qcc_pr_lex.o comprout.o hash.o qcd_main.o
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: qcc_cmdlib.o:(.bss+0x56c): multiple definition of `numfiles'; qccmain.o:(.bss+0x41a60): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: qcc_cmdlib.o:(.bss+0x570): multiple definition of `precache_files_block'; qccmain.o:(.bss+0x41a68): first defined here

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

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

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

  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)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 02:49:59 +0000

emerge -qpvO games-util/fteqcc
[ebuild  N    ] games-util/fteqcc-2501
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:12:42 UTC
Created attachment 608890 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:12:45 UTC
Created attachment 608892 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:12:48 UTC
Created attachment 608894 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:12:51 UTC
Created attachment 608896 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:12:54 UTC
Created attachment 608898 [details]
games-util:fteqcc-2501:20200130-040005.log
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:12:56 UTC
Created attachment 608900 [details]
logs.tbz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-31 05:54:48 UTC
I think this just needs a bump.

Latest Revision: 5776 - 2020-10-06
Current Release: 5529 - 2019-09-03
Comment 8 Larry the Git Cow gentoo-dev 2020-11-21 20:39:03 UTC
The bug has been closed via the following commit(s):

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

commit 493e624738974512a14a9eef9391f4c9340f659d
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-21 20:37:58 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-21 20:37:58 +0000

    games-util/fteqcc: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/707434
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 games-util/fteqcc/files/fteqcc-2501-Makefile.patch |  61 ++++++
 .../fteqcc/files/fteqcc-2501-cleanup-source.patch  | 205 +++++++++++++++++----
 games-util/fteqcc/fteqcc-2501.ebuild               |  31 ++--
 3 files changed, 240 insertions(+), 57 deletions(-)