Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663652 - media-libs/libsfml: Build fails with conflicting declarations
Summary: media-libs/libsfml: Build fails with conflicting declarations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://github.com/SFML/SFML/issues/1472
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-15 00:10 UTC by Christian Widmer
Modified: 2018-10-20 18:51 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info.log,7.08 KB, text/plain)
2018-08-15 00:10 UTC, Christian Widmer
Details
Build log for version 2.4.2 (media-libs:libsfml-2.4.2:20180814-235911.log,51.14 KB, text/plain)
2018-08-15 00:10 UTC, Christian Widmer
Details
Build log for version 2.5.0 (media-libs:libsfml-2.5.0:20180815-000130.log,54.98 KB, text/plain)
2018-08-15 00:11 UTC, Christian Widmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Widmer 2018-08-15 00:10:02 UTC
Created attachment 543494 [details]
emerge --info

The compilation of libsfml 2.4.2 and 2.5.0 fail with several conflicting declaration errors.
Comment 1 Christian Widmer 2018-08-15 00:10:43 UTC
Created attachment 543496 [details]
Build log for version 2.4.2
Comment 2 Christian Widmer 2018-08-15 00:11:08 UTC
Created attachment 543498 [details]
Build log for version 2.5.0
Comment 3 Christian Widmer 2018-08-15 01:06:46 UTC
Because I could also reproduce the issue on a recent git version of SFML, I have opened a bug report upstream.
Comment 4 Christian Widmer 2018-08-29 09:59:14 UTC
This should be fixed upstream by commit [1]. It is now for the future package manager to decided if this change should be backported to 2.4.2 and 2.5.0 in Gentoo or if those packages should just block mesa versions greater than 18.2 as the header update is not in there and I doubt mesa upstream will backport it. This will probably only get an issue in version 18.3 onward.
I could make a pull request for any of the solutions, if so desired.

[1] https://github.com/SFML/SFML/commit/87aaa9e145659d6a8fc193ab8540cf847d4d0def
Comment 5 Larry the Git Cow gentoo-dev 2018-10-20 18:51:44 UTC
The bug has been closed via the following commit(s):

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

commit e6cef0093720f4e9ebbe835afc03ba3e364ef892
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-10-20 17:56:08 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-10-20 18:51:04 +0000

    media-libs/libsfml: Bump to 2.5.1
    
    Closes: https://bugs.gentoo.org/663652
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/libsfml/Manifest             |  1 +
 media-libs/libsfml/libsfml-2.5.1.ebuild | 76 +++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)