Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696866 - games-emulation/pcsx2-9999 depends on x11-libs/wxGTK[-sdl] but dev-python/wxpython-4* depends on x11-libs/wxGTK[sdl]
Summary: games-emulation/pcsx2-9999 depends on x11-libs/wxGTK[-sdl] but dev-python/wxp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: nE0sIghT
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-10-06 18:54 UTC by miltenfiremage
Modified: 2019-10-16 05:22 UTC (History)
4 users (show)

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


Attachments
emerge.log (emerge.log,2.11 KB, text/plain)
2019-10-06 18:54 UTC, miltenfiremage
Details
emerge-info.log (emerge-info.log,19.78 KB, text/plain)
2019-10-06 18:57 UTC, miltenfiremage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description miltenfiremage 2019-10-06 18:54:59 UTC
Created attachment 592004 [details]
emerge.log

I'm unable to build pcsx2 and wxPython 4 at the same time.

PCSX2 requires wxGTK:3.0-gtk3 to be built without sdl use flag, whereas wxPython 4.0 requires the same package to be built with sdl use flag.

This is weird because PCSX2 has a dependency on libsdl2, and wxGTK builds with libsdl2 too if the flag is set, and there's a comment in PCSX2 ebuild, made in the same commit that added the conditional use flag:
        # wxGTK must be built against same sdl version

As I suspect, conditional sdl use flag in PCSX2 ebuild seems like it was once needed to get rid of conflicts between SDL and SDL2. If so, nowadays it it superfluous and stops me from using wxPython:4.0, which requires wxGTK:3.0-gtk3 with sdl use flag set.
If my train of thought is right, removing the conditional -sdl in wxGTK dependency in PCSX2 ebuild would allow the ebuild to coexist with wxPython and wouldn't break anything, since the use flag isn't actually needed.

Attachment is output of emerging pcsx2 to confirm that the packages can not coexist in the system at the moment.
Comment 1 miltenfiremage 2019-10-06 18:57:30 UTC
Created attachment 592006 [details]
emerge-info.log
Comment 2 nE0sIghT 2019-10-09 17:17:29 UTC
> wxGTK builds with libsdl2 too

wxGTK-3.0.3-r300[sdl] and wxGTK-3.0.4-r300[sdl] builds against libsdl
wxGTK-3.0.4-r301[sdl] and wxGTK-3.0.4-r302[sdl] builds against libsdl2

I will unban newer revisions of wxGTK[sdl] in pcsx2 ebuilds
Comment 3 miltenfiremage 2019-10-11 16:31:47 UTC
Also, while we're at it, though maybe this should be an additional bug, is there any deeper meaning to live ebuild depending on gtk+-2 at the same time as wxGTK-gtk3?
This seems weird, but not sure if intentional.
I can make a bug report if needed.
Comment 4 nE0sIghT 2019-10-11 17:52:53 UTC
You are right. I changed PR
Comment 5 Larry the Git Cow gentoo-dev 2019-10-16 05:22:21 UTC
The bug has been closed via the following commit(s):

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

commit a61920a613743a40d9bfe6f6285b7d59b5fdc521
Author:     Yuri Konotopov <ykonotopov@gnome.org>
AuthorDate: 2019-10-11 16:03:28 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-10-16 05:22:01 +0000

    games-emulation/pcsx2: fix dependencies on -9999
    
    1. Don't block recent x11-libs/wxGTK[sdl]
    2. Depend on x11-libs/gtk+:3
    
    Closes: https://bugs.gentoo.org/696866
    Package-Manager: Portage-2.3.76, Repoman-2.3.16
    Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
    Closes: https://github.com/gentoo/gentoo/pull/13258
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 games-emulation/pcsx2/pcsx2-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)