Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708718 - games-action/0verkill-0.16-r4 : fails to build with -fno-common or gcc-10
Summary: games-action/0verkill-0.16-r4 : 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-02-08 13:16 UTC by Toralf Förster
Modified: 2020-11-21 21:02 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.33 KB, text/plain)
2020-02-08 13:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,183.04 KB, text/plain)
2020-02-08 13:16 UTC, Toralf Förster
Details
environment (environment,59.58 KB, text/plain)
2020-02-08 13:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.34 KB, application/x-bzip)
2020-02-08 13:16 UTC, Toralf Förster
Details
games-action:0verkill-0.16-r4:20200208-095724.log (games-action:0verkill-0.16-r4:20200208-095724.log,174.02 KB, text/plain)
2020-02-08 13:16 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.79 KB, application/x-bzip)
2020-02-08 13:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.73 KB, application/x-bzip)
2020-02-08 13:17 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-02-08 13:16:45 UTC
/usr/include/bits/string_fortified.h:126:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
  126 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src))
      | ^~~~~
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o server server.o data.o sprite.o blit.o console.o hash.o time.o kbd.o md5.o md5hl.o error.o net.o crc32.o -lm  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: data.o:(.bss+0x0): multiple definition of `last_obj'; server.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: data.o:(.data.rel.local+0x0): multiple definition of `weapon'; server.o:(.bss+0x320): first defined here

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

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

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

  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 Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 08 Feb 2020 08:27:09 +0000

emerge -qpvO games-action/0verkill
[ebuild  N    ] games-action/0verkill-0.16-r4  USE="-X"
Comment 1 Toralf Förster gentoo-dev 2020-02-08 13:16:48 UTC
Created attachment 612726 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-08 13:16:51 UTC
Created attachment 612728 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-08 13:16:54 UTC
Created attachment 612730 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-08 13:16:56 UTC
Created attachment 612732 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-08 13:16:59 UTC
Created attachment 612734 [details]
games-action:0verkill-0.16-r4:20200208-095724.log
Comment 6 Toralf Förster gentoo-dev 2020-02-08 13:17:02 UTC
Created attachment 612736 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-08 13:17:05 UTC
Created attachment 612738 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-21 21:02:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35ac0c893a3c15c90100033ed7962f63640b7fb7

commit 35ac0c893a3c15c90100033ed7962f63640b7fb7
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-21 21:01:48 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-21 21:01:48 +0000

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

 games-action/0verkill/0verkill-0.16-r4.ebuild      | 17 +++--
 .../0verkill/files/0verkill-0.16-fno-common.patch  | 87 ++++++++++++++++++++++
 2 files changed, 96 insertions(+), 8 deletions(-)