Skip to content

Conversation

@namenu
Copy link
Contributor

@namenu namenu commented Oct 9, 2025

Fix Vercel builds by reducing glibc requirement

Problem

PPX binary built on ubuntu-24.04 requires glibc 2.39, but Vercel (Amazon Linux 2023) only has glibc 2.34.

Solution

Build in Debian 11 container (glibc 2.31) instead of ubuntu-latest for broader compatibility.

Changes

  • Use debian:bullseye container for Linux PPX builds
  • Install system dependencies before opam setup
  • Update cache prefix to v2-bullseye

Supports Amazon Linux 2023, Ubuntu 20.04+, Debian 11+, RHEL 9+.

@namenu namenu changed the title Build PPX binary in Debian 11 container to improve compatibility Build PPX binary in Debian 11 container to improve Vercel compatibility Oct 9, 2025
@zth
Copy link
Owner

zth commented Oct 9, 2025

@namenu awesome! Care to add a changelog as well? I can release this right away.

@namenu
Copy link
Contributor Author

namenu commented Oct 10, 2025

@zth sure. I've added this to the top of the CHANGELOG under the 'master' section since I'm not sure which version number this will be released as.

@zth zth merged commit c7bffd6 into zth:master Oct 10, 2025
@zth
Copy link
Owner

zth commented Oct 10, 2025

@namenu will be out in 3.5.1 shortly.

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