mirror of
https://github.com/sotashimozono/obsidian-remote-ssh.git
synced 2026-07-22 06:52:07 +00:00
Dogfooding root cause: the released linux/amd64 daemon crashed on the remote with `libc.so.6: version GLIBC_2.34 not found` (arch was correct — x86-64 on x86_64). `make -C server cross` runs on ubuntu-latest (glibc 2.35+); Go builds the host-native linux/amd64 target with CGO auto-ENABLED, so it links dynamically against the runner's newer glibc and dies on older hosts. The daemon never wrote its token, RPC timed out, and connect fell back to SFTP. - server/Makefile: `export CGO_ENABLED := 0` -> fully static binaries, no libc dependency, run on any Linux glibc. (arm64/darwin were already CGO-off as cross targets; this makes amd64 consistent. Mirrors build-server.mjs.) - release.yml: assert the linux/amd64 binary is not dynamically linked after build, so a CGO regression fails the release loudly instead of shipping a daemon that only starts on new distros. Ships as beta.13; the daemon (RPC + fast walk / live watch / thumbnails) will come up on older-glibc hosts like the reporter's. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ISSUE_TEMPLATE | ||
| workflows | ||
| dependabot.yml | ||
| FUNDING.yml | ||
| labeler-config.yml | ||
| pull_request_template.md | ||
| replay-skip.txt | ||