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

Bug 707136

Summary: games-arcade/xrick-021212-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    
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-arcade:xrick-021212-r2:20200128-225659.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 17:39:24 UTC
cc -O2 -pipe -march=native -fno-common -I /var/tmp/portage/games-arcade/xrick-021212-r2/work/xrick-021212/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c syssnd.c -o syssnd.o
cc -O2 -pipe -march=native -fno-common -I /var/tmp/portage/games-arcade/xrick-021212-r2/work/xrick-021212/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c sysjoy.c -o sysjoy.o
cc -O2 -pipe -march=native -fno-common -I /var/tmp/portage/games-arcade/xrick-021212-r2/work/xrick-021212/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c dat_snd.c -o dat_snd.o
cc unzip.o data.o scr_xrick.o scr_pause.o scr_imain.o scr_imap.o scr_gameover.o scr_getname.o dat_picsPC.o dat_picsST.o dat_screens.o dat_tilesPC.o dat_tilesST.o dat_maps.o dat_ents.o dat_spritesST.o dat_spritesPC.o ents.o e_bullet.o e_bomb.o e_rick.o e_sbonus.o e_them.o e_bonus.o e_box.o rects.o util.o game.o xrick.o draw.o maps.o sysvid.o syskbd.o control.o system.o scroller.o sysevt.o sysarg.o syssnd.o sysjoy.o dat_snd.o  -Wl,-O1 -Wl,--as-needed -lz -lSDL -lpthread -o ../xrick
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: scr_xrick.o:(.data.rel.local+0x18): multiple definition of `IMG_SPLASH'; data.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: scr_pause.o:(.bss+0x0): multiple definition of `IMG_SPLASH'; data.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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 21:46:57 +0000

emerge -qpvO games-arcade/xrick
[ebuild  N    ] games-arcade/xrick-021212-r2
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:39:27 UTC
Created attachment 607432 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:39:30 UTC
Created attachment 607434 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:39:33 UTC
Created attachment 607436 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:39:36 UTC
Created attachment 607438 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:39:39 UTC
Created attachment 607440 [details]
games-arcade:xrick-021212-r2:20200128-225659.log
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:39:41 UTC
Created attachment 607442 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-11-22 16:44:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1073cfb79d527a47ad80625bfd1460e438da6685

commit 1073cfb79d527a47ad80625bfd1460e438da6685
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-22 16:43:53 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-22 16:43:53 +0000

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

 .../xrick/files/xrick-021212-Makefile.patch        | 30 ++++++++++++++++
 .../xrick/files/xrick-021212-fno-common.patch      | 34 ++++++++++++++++++
 games-arcade/xrick/xrick-021212-r2.ebuild          | 42 +++++++++++++---------
 3 files changed, 89 insertions(+), 17 deletions(-)