fix(ci): build linux-arm64 in Debian Buster container for GLIBC 2.28 compat#255
Merged
fix(ci): build linux-arm64 in Debian Buster container for GLIBC 2.28 compat#255
Conversation
…compat\n\nSplit linux-arm64 out of the build matrix into a dedicated job that\nruns inside a debian:buster container (GLIBC 2.28) on the ARM64 runner.\nThis ensures the compiled node-pty native module is compatible with\nolder distros like UOS/Deepin.\n\nCloses #253
…\n\nBuster's Python 3.7 is too old for node-gyp@11 (walrus operator).\nBullseye provides Python 3.9 and GLIBC 2.31 which is still below\nthe critical 2.34 boundary (libpthread merge into libc).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Netcatty 1.0.39 fails to run on UOS/Deepin (Debian 10 based) ARM64 systems:
The
node-ptynative module is compiled onubuntu-24.04-arm(GLIBC 2.39), producing binaries that require GLIBC ≥ 2.34 — but UOS only ships GLIBC 2.28.Solution
Split
linux-arm64out of the build matrix into a dedicated job that runs inside adebian:bullseyeDocker container (GLIBC 2.31) on the ARM64 runner. GLIBC < 2.34 avoids the libpthread-merge symbol requirement.Changes
linux-arm64from the matrix build jobbuild-linux-arm64job withcontainer: debian:bullseyereleasejob to depend on bothbuildandbuild-linux-arm64npm_config_archworkaround (now set directly in the dedicated job)Closes #253