Skip to content

fix: upgrade Dockerfile to debian:trixie-slim for libmvec.so.1 (v0.6.3) - #522

Merged
ajianaz merged 3 commits into
developfrom
fix/dockerfile-trixie-libmvec-v063
Jul 1, 2026
Merged

ajianaz merged 3 commits into
developfrom
fix/dockerfile-trixie-libmvec-v063

Conversation

@ajianaz

@ajianaz ajianaz commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Root Cause

ARM64 binaries built on ubuntu-24.04-arm (glibc 2.39) link libmvec.so.1 (ARM SVE math vector extension library). Debian Bookworm's glibc 2.36 does not include this library. The v0.6.2 fix (libgomp1) was incorrect — libmvec.so.1 is from libc6, not libgomp1.

Fix

Upgrade Dockerfile base image from debian:bookworm-slim (glibc 2.36) to debian:trixie-slim (glibc 2.41, stable since Jun 2025). Also adds libstdc++6 (required in slim images) and removes incorrect libgomp1.

Library Provided By Bookworm Trixie
libmvec.so.1 libc6 (glibc ≥2.38) ❌ ✅
libstdc++.so.6 libstdc++6 In slim? In slim
libssl3 libssl3 ✅ ✅

Files

  • Dockerfile — bookworm-slim → trixie-slim, libgomp1 → libstdc++6
  • Cargo.toml + Cargo.lock — v0.6.3
  • CHANGELOG.md — v0.6.3 entry
  • README.md / README.id.md — version badge
  • docs/docker.md — tag example

Root cause: ARM64 binaries built on ubuntu-24.04-arm (glibc 2.39) link
libmvec.so.1 (ARM SVE math library), which doesn't exist in Debian
Bookworm's glibc 2.36. Upgraded base image to trixie-slim (glibc 2.41).

- Dockerfile: bookworm-slim → trixie-slim (both stages)
- Dockerfile: remove libgomp1 (incorrect), add libstdc++6 (required by slim)
- Version bump 0.6.2 → 0.6.3
- CHANGELOG, README, docs updated
@github-actions

This comment was marked as resolved.

Comment thread Dockerfile Outdated

RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates libssl3 libgomp1 curl && \
ca-certificates libssl3 libstdc++6 curl && \
Debian Trixie renamed libssl3 to libssl3t64 (time64 transition).
Cora correctly flagged this.
@ajianaz
ajianaz merged commit 2bdb6c7 into develop Jul 1, 2026
9 of 10 checks passed
@ajianaz
ajianaz deleted the fix/dockerfile-trixie-libmvec-v063 branch July 1, 2026 16:49
ajianaz added a commit that referenced this pull request Aug 13, 2026
…c-v063

fix: upgrade Dockerfile to debian:trixie-slim for libmvec.so.1 (v0.6.3)
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.

2 participants