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

Bug 924250

Summary: games-emulation/ppsspp-1.17.1 fails to compile: SDLVulkanGraphicsContext.cpp:117:81: error: union SDL_SysWMinfo::<unnamed> has no member named wl
Product: Gentoo Linux Reporter: franklyfrank
Component: Current packagesAssignee: Maciej Barć <xgqt>
Status: RESOLVED FIXED    
Severity: normal CC: franklyfrank, xgqt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
output of emerge --info
simple ebuild fix

Description franklyfrank 2024-02-11 03:35:18 UTC
#914161 didn't really address this build failure.
PPSSPP build system defaults to enabling wayland support via -DUSE_WAYLAND_WSI=ON CMAKE variable and fails building when libsdl2 is built without wayland support via its wayland USE flag.

Reproducible: Always

Steps to Reproduce:
1. have media-libs/libsdl2 emerged without wayland USE flag set
2. emerge games-emulation/ppsspp-1.17.1
Actual Results:  
build fails

Expected Results:  
add a wayland USE flag to games-emulation/ppsspp-1.17.1 and conditionally enable wayland on the dependent media-libs/libsdl2 library when the user wants wayland support enabled in ppsspp
Comment 1 franklyfrank 2024-02-11 03:35:52 UTC
Created attachment 884700 [details]
build.log
Comment 2 franklyfrank 2024-02-11 03:36:21 UTC
Created attachment 884701 [details]
output of emerge --info
Comment 3 franklyfrank 2024-02-11 03:37:10 UTC
Created attachment 884702 [details, diff]
simple ebuild fix
Comment 4 Maciej Barć gentoo-dev 2024-02-14 15:35:31 UTC
Thanks a lot but dependnecy specification is wrong, it will be fixed in my commit.
Comment 5 Larry the Git Cow gentoo-dev 2024-02-14 17:01:40 UTC
The bug has been closed via the following commit(s):

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

commit e7d033b43628ae8594b76cf42ad3e5bd8c149c60
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2024-02-14 15:36:00 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2024-02-14 17:01:36 +0000

    games-emulation/ppsspp: put wayland_wsi behind wayland USE
    
    Bug: https://bugs.gentoo.org/914161
    Closes: https://bugs.gentoo.org/924250
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 .../ppsspp/{ppsspp-1.17.1.ebuild => ppsspp-1.17.1-r1.ebuild}       | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)