-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Linux build no longer runs on Debian due to missing glibc versions #64210
Comments
Change Linux release build environment to Ubuntu 20.04 and compile with a GCC version <=10 should fix this. |
I see now, yes that's my mistake, I should not have bumped the release builds all the way to -latest. In fact we need to double check if we can use a non default older gcc and glibc for release builds. |
GCC and glibc versions should be mostly independent (although maybe not entirely so). It would be nice if we could still use a newer GCC with the older glibc for release builds, because newer GCC will presumably have better optimisations. |
The GCC version we can use is limited by the version of |
Indeed, we certainly don't want to risk undefined symbols in libstdc++. Given that the |
OP has encountered the issue:
|
Oh, and I just updated from Fedora 30 to 37 in order to satisfy the "GLIBCXX_3.4.29" requirement. Well, it should happen sooner or later… |
Fix CleverRaven#64210 Linux release builds had been set to target ubuntu-latest. This picked up ubuntu 22.10, which requires glibc 2.34, resulting in missing symbols which prevented the game from running on the current, stable release of other Linux distributions such as Debian 11. Targeting ubutnu 20.04 should avoid breaking compatibility, and also matches the OS settings configured for the rest of the build matrix.
Fix #64210 Linux release builds had been set to target ubuntu-latest. This picked up ubuntu 22.10, which requires glibc 2.34, resulting in missing symbols which prevented the game from running on the current, stable release of other Linux distributions such as Debian 11. Targeting ubutnu 20.04 should avoid breaking compatibility, and also matches the OS settings configured for the rest of the build matrix.
Describe the bug
I suspect this is caused by #64011.
I run CDDA on a Debian machine - specifically
Debian GNU/Linux 11 (bullseye)
via crostini on ChromeOS. This has worked seamlessly until now (just untar the Linux build and you're good to go). Since the above commit, the game fails to launch with the error messages:This makes sense, as the most recent Debian stable release (11.5 in December 2022) only supports glibc 2.31-13 (you can find that information here: https://tracker.debian.org/pkg/glibc).
Just to be specific: my glibc version is as up-to-date as I'm able to make it and is:
What are the dev team's thoughts on Debian support? Is there any way to estimate how many users might be impacted? While I don't want to stand in the way of modern compiler support, and can definitely resolve this on my end by changing my personal distro, rebuilding my machine is a pain. So I thought I'd raise the issue here.
Attach save file
N/A
Steps to reproduce
Download the most recent cdda-linux-tiles-x64 build and untar on a Debian machine. Attempt to run cataclysm-launcher.
Expected behavior
N/A the error is expected.
Screenshots
No response
Versions and configuration
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: Linux 5.10.159-20950-g3963226d9eb4
Architecture: x86-64
Any build after #64011 was merged.
Additional context
No response
The text was updated successfully, but these errors were encountered: