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

Bug 795078

Summary: games-puzzle/biniax2-1.30-r1: -fno-common build failure
Product: Gentoo Linux Reporter: Samuel Bauer <samuel.bauer>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: ionen
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: biniax2-1.30-fno-common.patch
biniax2-1.30-r1.ebuild.patch

Description Samuel Bauer 2021-06-09 09:52:52 UTC
Created attachment 714897 [details, diff]
biniax2-1.30-fno-common.patch

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/cc7FIvy0.o:(.bss+0x200): multiple definition of `_Inp'; /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/cc5bVXtp.o:(.bss+0x80): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/ccWMZYxd.o:(.bss+0x10): multiple definition of `_Inp'; /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/cc5bVXtp.o:(.bss+0x80): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/ccpmACl2.o:(.bss+0x590): multiple definition of `_Inp'; /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/cc5bVXtp.o:(.bss+0x80): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/cckaF68u.o:(.bss+0x80): multiple definition of `_Inp'; /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/cc5bVXtp.o:(.bss+0x80): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/cc4bKWJB.o:(.bss+0x0): multiple definition of `_Inp'; /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/cc5bVXtp.o:(.bss+0x80): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/ccBfcwIb.o:(.bss+0x0): multiple definition of `_Inp'; /var/tmp/portage/games-puzzle/biniax2-1.30-r1/temp/cc5bVXtp.o:(.bss+0x80): first defined here
Comment 1 Samuel Bauer 2021-06-09 09:54:27 UTC
Created attachment 714900 [details, diff]
biniax2-1.30-r1.ebuild.patch

patch for the ebuild
Comment 2 Larry the Git Cow gentoo-dev 2021-06-09 11:27:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c717da145549d35dd267860e242bff77ade4780

commit 1c717da145549d35dd267860e242bff77ade4780
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-06-09 11:18:33 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-06-09 11:26:34 +0000

    games-puzzle/biniax2: fix -fno-common, EAPI-7 bump
    
    Also:
     - update SRC_URI
     - don't call gcc directly
     - revbump for [sound,video] to libsdl (game crashes without both)
    
    Thanks to Samuel Bauer for -fno-common fix
    
    Closes: https://bugs.gentoo.org/795078
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-puzzle/biniax2/biniax2-1.30-r2.ebuild        | 49 ++++++++++++++++++++++
 .../biniax2/files/biniax2-1.30-build.patch         |  9 ----
 .../biniax2/files/biniax2-1.30-fno-common.patch    | 17 ++++++++
 3 files changed, 66 insertions(+), 9 deletions(-)