From 1c1b69959852d664fafb25a299f5c0c387926d14 Mon Sep 17 00:00:00 2001 From: tydude001 Date: Wed, 14 Oct 2026 13:35:50 -0500 Subject: [PATCH] packaging: RPM declares the glibc 2.35 floor, so RHEL 9 refuses it FigCraft's RPM declares no glibc floor, though the deb has `libc6 (>= 2.35)`. On Rocky Linux 9 (glibc 2.34) the RPM installs, and then `figcraft-cli` fails with ``/lib64/libm.so.6: version `GLIBC_2.35' not found``. Co-Authored-By: Claude Opus 5.5 --- packaging/linux/nfpm.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/linux/nfpm.yaml b/packaging/linux/nfpm.yaml index 69667a2b5..0adbfb04e 100644 --- a/packaging/linux/nfpm.yaml +++ b/packaging/linux/nfpm.yaml @@ -51,7 +51,11 @@ overrides: rpm: # Soname provides rather than package names, so the same requirements resolve on Fedora/RHEL # (libxkbcommon-x11, libX11-xcb, ...) and openSUSE (libxkbcommon-x11-0, libX11-xcb1, ...). + # The glibc floor matches the deb's libc6 (>= 2.35). It names libm because the binaries' + # GLIBC_2.35 symbols (hypot, hypotf) are libm's: RHEL 9's glibc 2.34 provides + # libc.so.6(GLIBC_2.35) through backports, but not this, so it refuses the install. depends: + - libm.so.6(GLIBC_2.35)(64bit) - libxkbcommon.so.0()(64bit) - libxkbcommon-x11.so.0()(64bit) - libwayland-client.so.0()(64bit)