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

Bug 663652

Summary: media-libs/libsfml: Build fails with conflicting declarations
Product: Gentoo Linux Reporter: Christian Widmer <cwidmer>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: major CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/SFML/SFML/issues/1472
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
Build log for version 2.4.2
Build log for version 2.5.0

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(+)