Skip to content

Fix publish-deb glibc mismatch (run on ubuntu-24.04)#14

Merged
johnpmitsch merged 1 commit into
mainfrom
fix/publish-deb-glibc-mismatch
Jun 11, 2026
Merged

Fix publish-deb glibc mismatch (run on ubuntu-24.04)#14
johnpmitsch merged 1 commit into
mainfrom
fix/publish-deb-glibc-mismatch

Conversation

@johnpmitsch

Copy link
Copy Markdown
Collaborator

Summary

custom-publish-deb has been failing on every release since the job was added (v0.1.3, v0.1.2, v0.1.1 — see release run 27030643090). The job dies after ~6 seconds with:

cargo-deb: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by cargo-deb)

taiki-e/install-action pulls a prebuilt cargo-deb that's linked against glibc 2.39, but ubuntu-22.04 ships glibc 2.35. ubuntu-24.04 ships 2.39, matching.

This is isolated to the publish-deb workflow — cargo-dist's own cross-compile matrix is fine on 22.04 because it uses zig + manylinux2014 to target an older glibc by design.

Test plan

  • Diff is one line: runs-on: ubuntu-22.04ubuntu-24.04 (plus a comment explaining why).
  • After merge, the next release run attaches qn_X.Y.Z_amd64.deb and qn_X.Y.Z_arm64.deb to the GitHub Release page.
  • dpkg --info qn_X.Y.Z_amd64.deb on the downloaded asset shows clean metadata (Package: qn, correct version, /usr/bin/qn).

The publish-deb workflow has been failing on every release since the
job was added: `taiki-e/install-action` pulls a prebuilt cargo-deb
binary that's linked against glibc 2.39, but ubuntu-22.04 ships glibc
2.35. The job dies in the "Install cargo-deb" step with:

    cargo-deb: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39'
    not found (required by cargo-deb)

ubuntu-24.04 ships glibc 2.39, matching what cargo-deb expects.
Bumping the runner is the smallest fix; we don't have to coordinate
with cargo-dist's separate build matrix (which is fine on
ubuntu-22.04 because cargo-dist's own cross-compile uses an older
glibc by design via the manylinux2014 zig setup).

Affects only the publish-deb workflow. After this merges, the next
release will attach qn_X.Y.Z_amd64.deb and qn_X.Y.Z_arm64.deb to the
GitHub Release.
@johnpmitsch johnpmitsch merged commit d724621 into main Jun 11, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants