Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924250 - games-emulation/ppsspp-1.17.1 fails to compile: SDLVulkanGraphicsContext.cpp:117:81: error: union SDL_SysWMinfo::<unnamed> has no member named wl
Summary: games-emulation/ppsspp-1.17.1 fails to compile: SDLVulkanGraphicsContext.cpp:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-11 03:35 UTC by franklyfrank
Modified: 2024-02-14 17:01 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,295.16 KB, text/x-log)
2024-02-11 03:35 UTC, franklyfrank
Details
output of emerge --info (emerge_info.txt,6.31 KB, text/plain)
2024-02-11 03:36 UTC, franklyfrank
Details
simple ebuild fix (ppsspp-1.17.1-ebuild-fix.diff,802 bytes, patch)
2024-02-11 03:37 UTC, franklyfrank
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)