Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950979 - app-emulation/faudio-25.03 - [ffmpeg] FAudio_internal.h: fatal error: SDL3/SDL_stdinc.h: No such file or directory
Summary: app-emulation/faudio-25.03 - [ffmpeg] FAudio_internal.h: fatal error: SDL3/SD...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-09 10:37 UTC by Toralf Förster
Modified: 2025-03-09 12:53 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.03 KB, text/plain)
2025-03-09 10:37 UTC, Toralf Förster
Details
app-emulation:faudio-25.03:20250309-044944.log (app-emulation:faudio-25.03:20250309-044944.log,9.85 KB, text/plain)
2025-03-09 10:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,165.30 KB, text/plain)
2025-03-09 10:37 UTC, Toralf Förster
Details
environment (environment,89.44 KB, text/plain)
2025-03-09 10:37 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.58 KB, application/x-xz)
2025-03-09 10:37 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,25.42 KB, application/x-xz)
2025-03-09 10:37 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,19.98 KB, application/x-xz)
2025-03-09 10:37 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,49.33 KB, application/x-xz)
2025-03-09 10:37 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.65 KB, application/x-xz)
2025-03-09 10:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-03-09 10:37:08 UTC
too long lines were shrinked:

ninja -v -j4 -l0
[1/22] /usr/bin/x86_64-pc-linux-gnu-gcc -DFAUDIO_SDL3_PLATFORM -DFAudio_shared_EXPORTS -I/var/tmp/portage/app-emulation/faudio-25.03/work/FAudio-25.03/src -I/var/tmp/portage/app-emulation/faudio-25.03/work/FAudio-25.03/include  -D_DEFAULT_SOURCE -DFAUDIO_DISABLE_DEBUGCONFIGURATION -O2 -pipe -march=n
FAILED: CMakeFiles/FAudio-shared.dir/src/FACT.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DFAUDIO_SDL3_PLATFORM -DFAudio_shared_EXPORTS -I/var/tmp/portage/app-emulation/faudio-25.03/work/FAudio-25.03/src -I/var/tmp/portage/app-emulation/faudio-25.03/work/FAudio-25.03/include  -D_DEFAULT_SOURCE -DFAUDIO_DISABLE_DEBUGCONFIGURATION -O2 -pipe -march=native -
In file included from /var/tmp/portage/app-emulation/faudio-25.03/work/FAudio-25.03/src/FACT_internal.h:29,
                 from /var/tmp/portage/app-emulation/faudio-25.03/work/FAudio-25.03/src/FACT.c:28:
/var/tmp/portage/app-emulation/faudio-25.03/work/FAudio-25.03/src/FAudio_internal.h:116:10: fatal error: SDL3/SDL_stdinc.h: No such file or directory
  116 | #include <SDL3/SDL_stdinc.h>
      |          ^~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20250306-135502

  UNMASKED:

  [ffmpeg] Requested by sam
  =media-video/ffmpeg-7*

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 20.1.0
llvm-config: 20.1.0
Python 3.12.9
go version go1.24.0 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.26_p4 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit d01e7a5ec1e20450c62b2b1f6801485bf26543a7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Mar 9 03:48:28 2025 +0000

    2025-03-09 03:48:27 UTC

emerge -qpvO =app-emulation/faudio-25.03
[ebuild  N    ] app-emulation/faudio-25.03  USE="-debug -dumpvoices -test"
Comment 1 Toralf Förster gentoo-dev 2025-03-09 10:37:09 UTC
Created attachment 920414 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-09 10:37:10 UTC
Created attachment 920415 [details]
app-emulation:faudio-25.03:20250309-044944.log
Comment 3 Toralf Förster gentoo-dev 2025-03-09 10:37:12 UTC
Created attachment 920416 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-03-09 10:37:13 UTC
Created attachment 920417 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-03-09 10:37:14 UTC
Created attachment 920418 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-09 10:37:15 UTC
Created attachment 920419 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-09 10:37:16 UTC
Created attachment 920420 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-09 10:37:17 UTC
Created attachment 920421 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-03-09 10:37:18 UTC
Created attachment 920422 [details]
temp.tar.xz
Comment 10 Kris Scott 2025-03-09 11:49:35 UTC
Seconding this. as of version 25.03 CmakeLists.txt now contains:

option(BUILD_SDL3 "Build against SDL 3.0" ON)

as a default. Looks like SDL2 support is deprecated upstream as well.
Comment 11 Kobboi 2025-03-09 12:41:58 UTC
This works for me:

diff --git a/app-emulation/faudio/faudio-25.03.ebuild b/app-emulation/faudio/faudio-25.03.ebuild
index dfce1c40eb5b..26d394ee27e3 100644
--- a/app-emulation/faudio/faudio-25.03.ebuild
+++ b/app-emulation/faudio/faudio-25.03.ebuild
@@ -13,10 +13,12 @@ S="${WORKDIR}/FAudio-${PV}"
 LICENSE="ZLIB"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="debug dumpvoices test"
+IUSE="debug dumpvoices test sdl3"
 RESTRICT="!test? ( test )"
 
-RDEPEND="media-libs/libsdl2[sound]"
+RDEPEND="!sdl3? ( media-libs/libsdl2[sound] )
+       sdl3? ( media-libs/libsdl3 )
+"
 DEPEND="${RDEPEND}"
 
 src_configure() {
@@ -26,6 +28,7 @@ src_configure() {
        local mycmakeargs=(
                -DBUILD_TESTS=$(usex test)
                -DDUMP_VOICES=$(usex dumpvoices)
+               -DBUILD_SDL3=$(usex sdl3)
        )

Not sure if we want to add a new USE flag just for this though
Comment 12 Kobboi 2025-03-09 12:42:38 UTC
(Works for both +sdl3 as well as -sdl3)
Comment 13 Larry the Git Cow gentoo-dev 2025-03-09 12:51:03 UTC
The bug has been closed via the following commit(s):

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

commit 81fd3bc9cf9cdcdb4560c156ecfb36b44ffa2ba6
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2025-03-09 12:31:32 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2025-03-09 12:50:41 +0000

    app-emulation/faudio: disable sdl3
    
    Will be added in future release, when more tested.
    
    Closes: https://bugs.gentoo.org/950979
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 app-emulation/faudio/faudio-25.03.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 14 Conrad Kostecki gentoo-dev 2025-03-09 12:53:47 UTC
@Kobboi: Thanks, I am planing to add sdl3 with 25.04, since I would like first to test that more.