From 2c748e3df03f59de51ae7fb60c54e2376969128a Mon Sep 17 00:00:00 2001 From: Matthew John Cheetham Date: Mon, 9 Nov 2026 15:03:03 +0000 Subject: [PATCH] install: restore source builds on Fedora 45 Fedora's floating container image now points to Fedora 45, whose openssl-libs package supplies OpenSSL 4. The portable .NET 10 SDK still needs libssl.so.3, so source installation aborts before GCM can be built. Use Fedora's OpenSSL 3 compatibility package rather than downgrading the system libraries or pinning validation to an older release. Limit the extra dependency to Fedora 45 and later, since older Fedora and the other Red Hat-family distributions do not need it. Validate Fedora 44 alongside the latest image to cover both sides of the OpenSSL transition. Assisted-by: GPT-6.1 Sol Signed-off-by: Matthew John Cheetham --- .github/workflows/validate-install-from-source.yml | 1 + build/install-from-source.sh | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/validate-install-from-source.yml b/.github/workflows/validate-install-from-source.yml index 8b2ab197e8..0531b0e170 100644 --- a/.github/workflows/validate-install-from-source.yml +++ b/.github/workflows/validate-install-from-source.yml @@ -22,6 +22,7 @@ jobs: - image: ubuntu - image: debian:bookworm - image: fedora + - image: fedora:44 # Centos no longer officially maintains images on Docker Hub. However, # tgagor is a contributor who pushes updated images weekly, which should # be sufficient for our validation needs. diff --git a/build/install-from-source.sh b/build/install-from-source.sh index 167e3b37ed..76acf52ef6 100755 --- a/build/install-from-source.sh +++ b/build/install-from-source.sh @@ -220,6 +220,11 @@ case "$os" in # Install dotnet/GCM dependencies. install_packages dnf install "curl git krb5-libs libicu openssl-libs zlib findutils which bash" + # Fedora 45+ ships OpenSSL 4, but .NET still needs the OpenSSL 3 ABI. + if [ "$distribution" = fedora ] && version_at_least "45" "$version"; then + install_packages dnf install "openssl3-libs" + fi + ensure_dotnet_installed if [ -n "$aot" ]; then