ci: add glibc 2.41 prebuilds for Debian 13/Raspberry Pi OS#199
Open
xuy wants to merge 1 commit intodiscordjs:mainfrom
Open
ci: add glibc 2.41 prebuilds for Debian 13/Raspberry Pi OS#199xuy wants to merge 1 commit intodiscordjs:mainfrom
xuy wants to merge 1 commit intodiscordjs:mainfrom
Conversation
Adds a new build_glibc_241 job that uses Debian Trixie containers to produce prebuilt binaries for systems with glibc 2.41+. This enables @discordjs/opus to work out-of-the-box on: - Debian 13 (Trixie) - Raspberry Pi OS Trixie - Future Ubuntu releases with glibc 2.41+ The job builds for both x64 and arm64 architectures across Node.js versions 20, 22, 24, and 25.
Author
|
[Written by human] And to add some context on why it is valuable -- the latest openclaw package introduced dependencies on discordjs/opus (openclaw/openclaw@4ab946e), and this unblocks openclaw's deployment on RPi5. |
|
@xuy is the MVP on this, merge this asap please |
|
+1 to this, causing me problems updating openclaw |
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.
Summary
Adds CI jobs to build prebuilt binaries for glibc 2.41 (Debian Trixie) systems.
Problem
Currently,
@discordjs/opusprebuilt binaries are only available for:Users on Debian 13 (Trixie) and Raspberry Pi OS Trixie get glibc 2.41, which has no prebuilt binary. This causes npm install to:
glibc-2.41prebuiltSolution
Add a new
build_glibc_241job that usesdebian:trixieDocker containers to build prebuilts for glibc 2.41 systems.This covers:
Changes
build_glibc_241job for x64 and arm64 builds with Node 20, 22, 24, 25build_glibc_241job (limited to Node 22 for PR testing)Testing
I verified the build works on a Raspberry Pi 5 running Debian Trixie:
The produced binary is correctly named:
opus-v0.10.0-node-v127-napi-v3-linux-arm64-glibc-2.41.tar.gz