Support RHEL/Rocky/AlmaLinux 9 & 10 and Fedora via the Debian 12 binary#197
Open
vliggio wants to merge 2 commits into
Open
Support RHEL/Rocky/AlmaLinux 9 & 10 and Fedora via the Debian 12 binary#197vliggio wants to merge 2 commits into
vliggio wants to merge 2 commits into
Conversation
RHEL 9/10 and their clones (Rocky, AlmaLinux, Oracle Linux, CentOS Stream), plus modern Fedora, ship OpenSSL 3 and a newer glibc. The Debian 12 binary links libssl.so.3 and runs on them, whereas the CentOS 8 binary links the now-absent libssl.so.1.1. Map these distros to the Debian 12 binary and add Docker-based tests for Rocky/AlmaLinux 9 & 10 and Fedora. Fixes zakird#191 (Rocky/RHEL/AlmaLinux 9), zakird#169 (CentOS Stream 9), zakird#182 (Fedora). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author
|
@unixmonkey please take a look and see if this works for a new version of this gem. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds support for RHEL 9/10 and clones, plus Fedora, by mapping them to the existing Debian 12 binary. No new binaries are bundled — this follows the same approach as the recent "Debian 13 → Debian 12" change.
Fixes #191 (Rocky/RHEL/AlmaLinux 9 — also covers 10), #169 (CentOS Stream 9), and #182 (Fedora).
Why the Debian 12 binary (not CentOS 8)?
The RHEL-8 family already maps to the CentOS 8 binary. But RHEL 9/10 and their clones (Rocky, AlmaLinux, Oracle Linux, CentOS Stream), as well as modern Fedora, ship OpenSSL 3 + a newer glibc:
libssl.so.1.1, which is absent on these systems;libssl.so.3, which is present.This matches the
lddoutput the reporter posted in #191 confirming the Debian 12 binary resolves cleanly on Rocky Linux 9.6.Changes
bin/wkhtmltopdf— maprocky_9/10,rhel_9./10.,ol_9./10.,almalinux_9/10,centos_9/10, andfedora*→debian_12; update the platform error message..docker/— new Dockerfiles forrockylinux_9,almalinux_9,rockylinux_10,almalinux_10, andfedora.docker-compose.yml+test/test_with_docker.rb— services and tests for the above.Supersedes #186
Open PR #186 ("support centos 9") also targets the CentOS 9 case (#169), but maps
centos_9→ the centos_8 binary. That binary linkslibssl.so.1.1, which is absent on CentOS Stream 9 (OpenSSL 3), so it would still fail at runtime. This PR mapscentos_9→debian_12(OpenSSL 3) instead, which is the working fix — so #186 can be closed in favor of this.Issues reviewed but not changed
almalinux_8 → centos_8mapping (0.12.6.8); verified no regression.Notes
fedora*match — correct for every in-support Fedora (all ship OpenSSL 3). Pre-OpenSSL-3 Fedora (≤35, all EOL) can still useWKHTMLTOPDF_HOST_SUFFIX.fedora:42(a supported release) rather than the EOLfedora:40from not working on fedora 40 #182, since EOL tags breakdnf installagainst archived mirrors. The mapping covers 40 regardless.🤖 Generated with Claude Code