Build Linux app in the oldest Ubuntu for better compatibility #1102
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The current Linux CI builds can't run on older but still-supported distros (for me, that's Debian 12 1).
Switching to Ubuntu 22.04 will solve this problem because Ubuntu 22.04 has "GLIBC_2.35" and GLIB 2.72.4. 5
Ref:
g_once_init_enter_pointer
cirruslabs/docker-images-flutter#337.
Footnotes
https://wiki.debian.org/LTS ↩
"libc6 (>= 2.38)" in https://packages.ubuntu.com/noble/libstdc++6 ↩
"libglib2.0-0 (2.74.6..." in https://packages.debian.org/bookworm/libglib2.0-0 ↩
"Available since: 2.80" in https://docs.gtk.org/glib/type_func.Once.init_enter_pointer.html ↩
https://packages.ubuntu.com/jammy/libc6; https://packages.ubuntu.com/jammy/libglib2.0-0 ↩