Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951452 - net-misc/freerdp-3.14.0: build fail with media-libs/libsdl3-3.2.8
Summary: net-misc/freerdp-3.14.0: build fail with media-libs/libsdl3-3.2.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-16 10:47 UTC by 123485k
Modified: 2025-03-25 16:41 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,17.92 KB, text/x-log)
2025-03-16 10:50 UTC, 123485k
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 123485k 2025-03-16 10:47:10 UTC
freerdp build fail with libsdl3, It seems to be because of the lack of sdl3-ttf
```
Building both, SDL2 and SDL3 clients, forcing WITH_CLIENT_SDL_VERSIONED=ON
add_executable(sdl2-freerdp) []
CMake Error at client/SDL/SDL3/dialogs/CMakeLists.txt:48 (find_package):
  By not providing "FindSDL3_ttf.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "SDL3_ttf",
  but CMake did not find one.

  Could not find a package configuration file provided by "SDL3_ttf" with any
  of the following names:

    SDL3_ttfConfig.cmake
    sdl3_ttf-config.cmake

  Add the installation prefix of "SDL3_ttf" to CMAKE_PREFIX_PATH or set
  "SDL3_ttf_DIR" to a directory containing one of the above files.  If
  "SDL3_ttf" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  client/SDL/SDL3/dialogs/CMakeLists.txt:59 (find_sdl_component)

```

Reproducible: Always
Comment 1 123485k 2025-03-16 10:50:44 UTC
Created attachment 920904 [details]
build.log
Comment 2 123485k 2025-03-17 06:45:27 UTC
Can add -DWITH_CLIENT_SDL3=off in configure,before sdl3-ttf add to repo
Comment 3 123485k 2025-03-17 06:47:25 UTC
diff --git a/net-misc/freerdp/freerdp-3.14.0.ebuild b/net-misc/freerdp/freerdp-3.14.0.ebuild
index 71f7479a9..5d0eb441e 100644
--- a/net-misc/freerdp/freerdp-3.14.0.ebuild
+++ b/net-misc/freerdp/freerdp-3.14.0.ebuild
@@ -146,6 +146,7 @@ freerdp_configure() {
                -DWITH_CCACHE=OFF
                -DWITH_CLIENT=$(option client)
                -DWITH_CLIENT_SDL=$(option sdl)
+               -DWITH_CLIENT_SDL3=OFF
                -DWITH_SAMPLE=OFF
                -DWITH_CUPS=$(option cups)
                -DWITH_DEBUG_ALL=$(option debug)
Comment 4 Larry the Git Cow gentoo-dev 2025-03-25 16:41:03 UTC
The bug has been closed via the following commit(s):

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

commit 25072176988b24f4c113cb050427995edb0f61f9
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2025-03-25 16:33:28 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2025-03-25 16:34:20 +0000

    net-misc/freerdp: disable SDL3
    
    Closes: https://bugs.gentoo.org/951452
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-misc/freerdp/freerdp-3.14.0-r1.ebuild | 4 ++++
 net-misc/freerdp/freerdp-3.6.3-r1.ebuild  | 4 ++++
 net-misc/freerdp/freerdp-3.9.0-r1.ebuild  | 4 ++++
 net-misc/freerdp/freerdp-9999.ebuild      | 4 ++++
 4 files changed, 16 insertions(+)