n0-computer / n0-computer/dumbpipe
Linux release requires GLibc 2.34
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 782
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Description
I have tried to run Linux x86_64 release, and it failed on a system with glibc 2.31:
$ ./dumbpipe
./dumbpipe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./dumbpipe)
./dumbpipe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./dumbpipe)
./dumbpipe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./dumbpipe)
Maybe build with cargo-zigbuild to get a static binary?
Otherwise at least build in an Ubuntu 18.04 container or something like this, but then it would not be runnable in Alpine Linux containers with musl libc.
I am using zig toolchain here without cargo-zigbuild, works pretty well and runs on any Linux:
https://github.com/deltachat/deltachat-core-rust/blob/280f13b8cf85e933c994f819ad6fae2823a563a0/scripts/zig-rpc-server.sh
https://github.com/deltachat/deltachat-core-rust/blob/280f13b8cf85e933c994f819ad6fae2823a563a0/scripts/zig-cc
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting how the Linux x86_64 release is built, then compare it with scripts/zig-rpc-server.sh and scripts/zig-cc referenced in the issue. Reproduce the failure on glibc 2.31 and verify that the resulting release runs on the supported Linux environments, including the stated Alpine/musl consideration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, rust, zig
- Domain
- build-system, operating-systems, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100