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

Bug 708664

Summary: games-action/luola-1.3.2-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: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sources.debian.org/patches/luola/1.3.2-13/gcc10-ftbfs/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-action:luola-1.3.2-r1:20200207-220206.log
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-07 22:15:25 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -DPACKAGE_DATA_DIR="\"/usr/share/luola\""    -O2 -pipe -march=native -fno-common -c -o lconf.o lconf.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -DPACKAGE_DATA_DIR="\"/usr/share/luola\""    -O2 -pipe -march=native -fno-common -c -o lcmap.o lcmap.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -g -DPACKAGE_DATA_DIR="\"/usr/share/luola\""    -O2 -pipe -march=native -fno-common -c -o main.o main.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o luola console.o list.o parser.o fs.o SFont.o level.o player.o ship.o physics.o animation.o particle.o projectile.o bullet.o weapon.o intro.o game.o levelfile.o special.o walker.o flyer.o critter.o pilot.o spring.o decor.o audio.o font.o menu.o hotseat.o selection.o startup.o demo.o ldat.o lconf.o lcmap.o main.o -lSDL -lpthread -lm -lz -lSDL_image -lSDL_gfx -lSDL_ttf -lSDL_mixer -lSDL_image 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: level.o:/var/tmp/portage/games-action/luola-1.3.2-r1/work/luola-1.3.2/src/pilot.h:48: multiple definition of `Pilot'; console.o:/var/tmp/portage/games-action/luola-1.3.2-r1/work/luola-1.3.2/src/pilot.h:48: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: player.o:/var/tmp/portage/games-action/luola-1.3.2-r1/work/luola-1.3.2/src/pilot.h:48: multiple definition of `Pilot'; console.o:/var/tmp/portage/games-action/luola-1.3.2-r1/work/luola-1.3.2/src/pilot.h:48: first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-abi32+64-20200203-051815

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

  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.41.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 07 Feb 2020 20:47:51 +0000

emerge -qpvO games-action/luola
[ebuild  N    ] games-action/luola-1.3.2-r1
Comment 1 Toralf Förster gentoo-dev 2020-02-07 22:15:27 UTC
Created attachment 612616 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-07 22:15:30 UTC
Created attachment 612618 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-07 22:15:33 UTC
Created attachment 612620 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-07 22:15:36 UTC
Created attachment 612622 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-07 22:15:39 UTC
Created attachment 612624 [details]
games-action:luola-1.3.2-r1:20200207-220206.log
Comment 6 Toralf Förster gentoo-dev 2020-02-07 22:15:41 UTC
Created attachment 612626 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-07 22:15:44 UTC
Created attachment 612628 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-21 20:39:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9212c96c491976f079b128f9c5e43bc285c564b9

commit 9212c96c491976f079b128f9c5e43bc285c564b9
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-21 20:37:55 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-21 20:37:55 +0000

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

 .../luola/files/luola-1.3.2-fno-common.patch       | 33 ++++++++++++++++++++++
 games-action/luola/luola-1.3.2-r1.ebuild           | 32 ++++++++-------------
 2 files changed, 45 insertions(+), 20 deletions(-)