Summary: | games-board/pioneers-15.5 - driver.c:(.text+<snip>): multiple definition of set_ui_driver; libpioneers.a(libpioneers_a-driver.o):d | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, orbea, rclobus, sam |
Priority: | Normal | Keywords: | PATCH, UPSTREAM |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://sourceforge.net/p/pio/patches/680/ | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=808444 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 765709 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 games-board:pioneers-15.5:20210325-201547.log logs.tar.bz2 temp.tar.bz2 Build fix for slibtool |
Description
Toralf Förster
![]() Created attachment 693699 [details]
emerge-info.txt
Created attachment 693702 [details]
emerge-history.txt
Created attachment 693705 [details]
environment
Created attachment 693708 [details]
etc.portage.tar.bz2
Created attachment 693711 [details]
games-board:pioneers-15.5:20210325-201547.log
Created attachment 693714 [details]
logs.tar.bz2
Created attachment 693717 [details]
temp.tar.bz2
Not sure if -fno-common blocker is right here, using -fcommon doesn't fix this and also only happens with slibtool. Created attachment 706545 [details, diff]
Build fix for slibtool
This happens because the build tries to link against libpioneers.a and libpioneers_a-driver.o even though the former already provides against the latter. I am not sure what bug upstream was trying to fix, but their fix is not correct.
I attached a patch that fixes the build.
I reported this upstream with the attached patch. https://sourceforge.net/p/pio/patches/680/ Upstream reporting: the issue has been fixed with the proposed patch by orbea. It will be part of the next release (15.7). PS: Gentoo only has 15.5 (from 2018-03-14), the latest release of Pioneers is 15.6 from 2020-08-02 Keywords: PATCH UPSTREAM The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25e9ca17fb3b7e7c9f2554e642614b83330fda9b commit 25e9ca17fb3b7e7c9f2554e642614b83330fda9b Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-05-14 14:22:55 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-05-14 15:37:51 +0000 games-board/pioneers: Version bump to 15.6 Upstream-PR: https://sourceforge.net/p/pio/patches/680/ Thanks-to: orbea <orbea@riseup.net> Closes: https://bugs.gentoo.org/778248 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> games-board/pioneers/Manifest | 1 + .../pioneers/files/pioneers-15.6-slibtool.patch | 27 ++++++++++++ games-board/pioneers/pioneers-15.6.ebuild | 48 ++++++++++++++++++++++ 3 files changed, 76 insertions(+) |