fix(runner-rust): use perl-core for vendored OpenSSL builds
Some checks failed
build / check (push) Successful in 2m40s
build / clippy (push) Successful in 2m41s
build / fmt (push) Successful in 37s
build / test (push) Successful in 2m44s
images / check-act-runner (push) Successful in 29s
images / build-fedora-44 (push) Successful in 7s
images / build-ubuntu-24.04 (push) Successful in 9s
images / build-rust-ubuntu (push) Successful in 2m10s
images / build-fedora-43 (push) Successful in 2m38s
images / build-deb (push) Successful in 1m14s
images / build-rust (push) Successful in 4m19s
images / build-rpm (push) Failing after 2s
images / build-rust-gtk3 (push) Successful in 3m6s
images / build-ffmpeg (push) Successful in 3m19s
images / build-cuda-13.0 (push) Successful in 20m29s

The partial perl-* list was incomplete: OpenSSL 3.6.2's configdata.pm also
needs File::Compare (and pulls in other standard modules). Install the
perl-core meta-package, which provides the full standard Perl module set
OpenSSL's Configure assumes, instead of chasing individual modules.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KLzpDUMcQg8KWBdTpw61eb
This commit is contained in:
2026-06-26 14:08:42 +03:00
parent 53009b91ba
commit 864f577dbc

View File

@@ -8,19 +8,16 @@ ARG SCCACHE_VERSION=0.15.0
# x86_64-unknown-linux-musl build is impossible with the packaged toolchain.
# rustup gives a toolchain whose musl std is built by the very same rustc.
#
# The perl-* packages are required by the openssl crate's `vendored` feature,
# which builds OpenSSL from source for static musl binaries: its Configure
# script pulls in Time::Piece, IPC::Cmd, FindBin and Pod::Html, none of which
# ship with the minimal perl-interpreter.
# perl-core is required by the openssl crate's `vendored` feature, which builds
# OpenSSL from source for static musl binaries. OpenSSL's Configure/configdata
# assumes a full standard Perl (File::Compare, File::Copy, Time::Piece,
# IPC::Cmd, FindBin, Pod::Html, ...); the minimal perl-interpreter ships none of
# these, so install the perl-core meta-package rather than chasing modules.
RUN dnf install -y --setopt=install_weak_deps=False \
gcc \
musl-gcc \
openssl-devel \
perl-FindBin \
perl-IPC-Cmd \
perl-Pod-Html \
perl-Time-Piece \
perl-interpreter \
perl-core \
pkg-config \
&& dnf clean all