Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 795078 - games-puzzle/biniax2-1.30-r1: -fno-common build failure
Summary: games-puzzle/biniax2-1.30-r1: -fno-common build failure
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: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2021-06-09 09:52 UTC by Samuel Bauer
Modified: 2021-06-09 11:27 UTC (History)
1 user (show)

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


Attachments
biniax2-1.30-fno-common.patch (biniax2-1.30-fno-common.patch,766 bytes, patch)
2021-06-09 09:52 UTC, Samuel Bauer
Details | Diff
biniax2-1.30-r1.ebuild.patch (biniax2-1.30-r1.ebuild.patch,526 bytes, patch)
2021-06-09 09:54 UTC, Samuel Bauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)