the SDL3.spec file has the line BuildRequires: gcc-c++ but SDL3 is a pure C project. I think this can be dropped. Another issue is that libXtst-devel is not pulled in. This has been added recently to the main SDL branch. Looks like it has been an oversight not to include libXtst as a build requirement. see https://github.com/libsdl-org/SDL/pull/14389 add 'BuildRequires: libXtst-devel' to SDL3.spec file. Reproducible: Always
Fixed in rawhide (3.3.2-2). While there are technically some C++ files in SDL3, none of them are used on the Linux build.