From b4907e28dbb1802b78c24ce0e52d832665d157e8 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Tue, 4 Nov 2025 11:27:22 -0500 Subject: [PATCH] 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 --- install-deps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install-deps.sh b/install-deps.sh index 00386735133..0d509d98014 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 -- 2.39.5