Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on OpenSUSE Tumbleweed fails #652

Closed
1 task done
Patrock404 opened this issue Mar 9, 2025 · 6 comments
Closed
1 task done

Building on OpenSUSE Tumbleweed fails #652

Patrock404 opened this issue Mar 9, 2025 · 6 comments
Labels
bug Something isn't working

Comments

@Patrock404
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Affected Build(s)

Commit 6262dda

Description of Issue

Attempting to build from source in an OpenSUSE Tumbleweed container following the instructions found on the wiki fails. Following the same instructions in an Ubuntu Noble LTS container succeeds. The error in the OpenSUSE build seems to occur when building the external sdl2 library.

Expected Behavior

Builds should successfully complete.

Reproduction Steps

I followed the the instructions for installing dependencies for each distribution. However, in OpenSUSE, some of the qt6 packages had to be manually installed because packages listed in the build instructions could not be found.

Log File

I've attached the output for both attempts.

cmake_build_opensuse.txt
cmake_build_ubuntu.txt
cmake_config_opensuse.txt
cmake_config_ubuntu.txt

System Configuration

OpenSUSE container
Image

Ubuntu container

Image

@Patrock404 Patrock404 added the bug Something isn't working label Mar 9, 2025
@rtiangha
Copy link
Collaborator

rtiangha commented Mar 9, 2025

You need to install spirv-tools.

Related to #641

@Patrock404
Copy link
Author

Installing spirv-tools or spirv-tools-devel did not fix the issue.

@rtiangha
Copy link
Collaborator

rtiangha commented Mar 9, 2025

Repost your logs with spirv-tools installed.

@Patrock404
Copy link
Author

cmake_build_opensuse_spirv.txt
cmake_config_opensuse_spirv.txt

@rtiangha
Copy link
Collaborator

rtiangha commented Mar 10, 2025

Sorry; I was looking at the wrong file.

It's an upstream SDL bug with GCC 14.2. It should be fixed in the next release of SDL2. Or, you can cd externals/sdl2/SDL and run git checkout release-2.32.x && git pull and it will switch to SDL2 HEAD which has the fix applied, and then you can build as normal.

@Patrock404
Copy link
Author

Thanks, that worked!

I also had to install the qt6-base-private-devel package to resolve a missing header file. After that, everything built fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants