Skip to content

fix(release): build host Linux binaries with glibc floor#1490

Draft
pimlock wants to merge 3 commits into
mainfrom
1456-portable-host-linux-binaries/pmlocek
Draft

fix(release): build host Linux binaries with glibc floor#1490
pimlock wants to merge 3 commits into
mainfrom
1456-portable-host-linux-binaries/pmlocek

Conversation

@pimlock
Copy link
Copy Markdown
Collaborator

@pimlock pimlock commented May 21, 2026

Summary

Build host-executed Linux gateway and VM driver artifacts with an explicit glibc 2.31 floor, and fail installer package installs early on unsupported libc environments.

Related Issue

Closes #1456

Changes

  • Build openshell-gateway and openshell-driver-vm Linux artifacts with cargo zigbuild targets pinned to glibc 2.31.
  • Verify uploaded host ELF binaries do not reference GLIBC_* symbols newer than 2.31.
  • Make Debian, RPM, and gateway image staging consume the same portable host gateway binary.
  • Add install.sh glibc detection and preflight errors before package downloads.
  • Add release artifact smoke tests for Ubuntu 20.04, Ubuntu 22.04, and Rocky Linux 9 on amd64 and arm64.
  • Document Linux artifact compatibility and the package glibc requirement.

Testing

  • mise run test:install-sh
  • sh -n install.sh
  • bash -n tasks/scripts/verify-glibc-symbols.sh tasks/scripts/test-install-sh.sh tasks/scripts/stage-prebuilt-binaries.sh
  • Modified GitHub workflow YAML parsed with Ruby YAML parser
  • git diff --check
  • mise run docs
  • mise run pre-commit passes

mise run pre-commit ran Rust tests successfully but failed license:check because unrelated untracked test-policy.yaml in the local worktree is missing an SPDX header. That file is not part of this PR.

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 21, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions
Copy link
Copy Markdown

pimlock added 2 commits May 20, 2026 21:56
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
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.

feat(release): publish a portable Linux build of openshell-gateway compatible with glibc 2.35 (Ubuntu 22.04, Debian 12, RHEL 9)

1 participant