Skip to content

ci: bump test-portability runners to Ubuntu 26.04 - #2335

Closed
brainrake wants to merge 1 commit into
developfrom
fix/portability-test-runner-ubuntu-26
Closed

ci: bump test-portability runners to Ubuntu 26.04#2335
brainrake wants to merge 1 commit into
developfrom
fix/portability-test-runner-ubuntu-26

Conversation

@brainrake

Copy link
Copy Markdown
Collaborator

Summary

  • chore: update flake.lock (monthly) #2328's nixpkgs bump moves the nixpkgs_2 lock node (what root.inputs.nixpkgs actually resolves to) to a pin whose pkgs.glibc is 2.42, up from 2.40. The portable CLI bundle (nix/packages/postgres-portable.nix) deliberately excludes glibc/ld-linux/etc. from the bundle and relies on the host's own glibc at runtime — so this broke linux-arm64 without Nix / linux-x64 without Nix with GLIBC_2.42' not found.
  • Considered vendoring glibc into the bundle instead, but rejected it: nixpkgs' glibc bakes in nix-store paths for NSS modules and gconv/locale data that the existing portability checks (dynamic-section-only readelf -d) wouldn't catch — trading one loud failure for a class of silent ones.
  • The correct fix is restoring the invariant the bundle already assumes: host glibc ≥ nixpkgs' glibc. Ubuntu 26.04 LTS ships glibc 2.43 and GitHub Actions now has ubuntu-26.04/ubuntu-26.04-arm runner labels.
  • Only bumped the test-portability job's matrix (the one that runs bundled binaries against host glibc) — build-native builds everything inside Nix's own sandbox, so host glibc doesn't matter there.

Test plan

Ubuntu 24.04's glibc 2.39 is older than what nixpkgs' bumped glibc (2.42)
now builds bundled libraries against, breaking the "without Nix"
portability tests. Ubuntu 26.04 ships glibc 2.43, restoring the
host-glibc-ahead-of-nixpkgs invariant the portable bundle relies on.
@brainrake

Copy link
Copy Markdown
Collaborator Author

Wrong approach — this makes CI pass without validating the platform we actually claim to support (Ubuntu 24.04 per README). Reverting; investigating the actual dependency that needs glibc 2.42.

@brainrake brainrake closed this Jul 31, 2026
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.

1 participant