-
Notifications
You must be signed in to change notification settings - Fork 28
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
libc incompatibility causing debian run failures #706
Comments
jb55
added a commit
that referenced
this issue
Feb 4, 2025
From guythatsits: > Not sure if this is helpful but the reason it isn't installing in any of the debian based is the libc6 dependency(requires 2.39, these are both on 2.35). Looks like popos alpha apparently includes the updated library. Had the same issue on just a barebone debian system as well. By default, GitHub Actions uses the latest Ubuntu runner (e.g., ubuntu-latest), which has glibc 2.39+. Instead, we can explicitly use ubuntu-20.04, which has glibc 2.31. Reported-by: guythatsits Fixes: #706 Changelog-Fixed: Fixed issue running binary on older debian distros Signed-off-by: William Casarin <[email protected]>
The ci is not happy when i do this: |
llm suggestion: 1. Ensure Cargo.lock is committed locally and not modified in CI. 2. Use Cargo caching properly (Swatinem/rust-cache@v2). 3. Explicitly fetch dependencies (cargo fetch) before building. 4. Manually clear cargo cache (cargo clean) if necessary. |
jb55
added a commit
that referenced
this issue
Feb 4, 2025
From guythatsits: > Not sure if this is helpful but the reason it isn't installing in any of the debian based is the libc6 dependency(requires 2.39, these are both on 2.35). Looks like popos alpha apparently includes the updated library. Had the same issue on just a barebone debian system as well. By default, GitHub Actions uses the latest Ubuntu runner (e.g., ubuntu-latest), which has glibc 2.39+. Instead, we can explicitly use ubuntu-20.04, which has glibc 2.31. Reported-by: guythatsits Fixes: #706 Changelog-Fixed: Fixed issue running binary on older debian distros Signed-off-by: William Casarin <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The fix for this should be pretty simple, we just need to choose an older github action runner instead of latest:
Modify your .github/workflows/build.yml file:
name: Build Rust Binary
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04 # Use an older runner with glibc 2.31
Fixes #701
The text was updated successfully, but these errors were encountered: