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

Bug 707654

Summary: games-arcade/ninvaders-0.1.1-r1 : 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 Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16002
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-arcade:ninvaders-0.1.1-r1:20200131-164815.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-31 17:47:36 UTC
x86_64-pc-linux-gnu-gcc -c  -I. -O2 -pipe -march=native -fno-common  ufo.c
x86_64-pc-linux-gnu-gcc -c  -I. -O2 -pipe -march=native -fno-common  player.c
x86_64-pc-linux-gnu-gcc -c  -I. -O2 -pipe -march=native -fno-common  nInvaders.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -onInvaders globals.o view.o aliens.o ufo.o player.o nInvaders.o -lncurses -ltinfo 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ufo.o:(.bss+0x6d0): multiple definition of `aliens'; aliens.o:(.bss+0x6d0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ufo.o:(.bss+0x0): multiple definition of `skill_level'; aliens.o:(.bss+0x0): 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
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 15:29:11 +0000

emerge -qpvO games-arcade/ninvaders
[ebuild  N    ] games-arcade/ninvaders-0.1.1-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:47:39 UTC
Created attachment 609950 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:47:42 UTC
Created attachment 609952 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:47:45 UTC
Created attachment 609954 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:47:48 UTC
Created attachment 609956 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:47:51 UTC
Created attachment 609958 [details]
games-arcade:ninvaders-0.1.1-r1:20200131-164815.log
Comment 6 Toralf Förster gentoo-dev 2020-01-31 17:47:54 UTC
Created attachment 609960 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-05-30 13:14:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78663bfd1a057dd8a69fc981dba05501a9702c3b

commit 78663bfd1a057dd8a69fc981dba05501a9702c3b
Author:     Azamat H. Hackimov <azamat.hackimov@gmail.com>
AuthorDate: 2020-05-29 16:30:50 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2020-05-30 13:12:41 +0000

    games-arcade/ninvaders: update to 0.1.2
    
    Closes: https://bugs.gentoo.org/707654
    Closes: https://bugs.gentoo.org/721184
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 games-arcade/ninvaders/Manifest               |  1 +
 games-arcade/ninvaders/metadata.xml           |  1 +
 games-arcade/ninvaders/ninvaders-0.1.2.ebuild | 16 ++++++++++++++++
 3 files changed, 18 insertions(+)