From: Casey Bodley Date: Tue, 4 Nov 2025 16:27:22 +0000 (-0500) Subject: install-deps: warn about gcc older than 13 for el9 and later X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=99e02980341a08f1cf00a1e0680ee88c11c5c974;p=ceph.git install-deps: warn about gcc older than 13 for el9 and later function ensure_decent_gcc_on_rh() is supposed to log a warning when it finds the default gcc version is older than the gcc toolset version installed by ceph.spec.in > Your GCC is too old. Please run following command to add DTS to your environment: however, this function is only called if the dts_ver variable is initialized, so set it to 13 for centos/rocky 9 and later to match ceph.spec.in Signed-off-by: Casey Bodley --- diff --git a/install-deps.sh b/install-deps.sh index 003867351330..0d509d980144 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -536,6 +536,7 @@ else $SUDO dnf config-manager --setopt=apt-mirror.front.sepia.ceph.com_lab-extras_8_.gpgcheck=0 --save $SUDO dnf -y module enable javapackages-tools elif { [ "$ID" = centos ] || [ "$ID" = rocky ]; } && [ "$MAJOR_VERSION" -ge 9 ]; then + dts_ver=13 $SUDO dnf config-manager --set-enabled crb if [ "$MAJOR_VERSION" -eq 10 ]; then setup_lab_extras_repo