From b7a9b17e1de2add4ff612a193fe19ed8b8f4bc9c Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 17 Feb 2026 17:36:27 +0100 Subject: [PATCH] skip installing rpmlint on RHEL8, 9 in upstream CI, we don't use a licensed RHEL, but the UBI image, which doesn't come with the dependencies required by rpmlint; Red Hat Universal Base Image 9 (RPMs) - CodeRea 3.8 MB/s | 288 kB 00:00 Error: Problem: package groff-base-1.22.4-10.el9.x86_64 from ubi-9-baseos-rpms requires libc.so.6()(64bit), but none of the providers can be installed - package groff-base-1.22.4-10.el9.x86_64 from ubi-9-baseos-rpms requires libc.so.6(GLIBC_2.14)(64bit), but none of the providers can be installed - package groff-base-1.22.4-10.el9.x86_64 from ubi-9-baseos-rpms requires libc.so.6(GLIBC_2.2.5)(64bit), but none of the providers can be installed - package groff-base-1.22.4-10.el9.x86_64 from ubi-9-baseos-rpms requires libc.so.6(GLIBC_2.3)(64bit), but none of the providers can be installed - package groff-base-1.22.4-10.el9.x86_64 from ubi-9-baseos-rpms requires libc.so.6(GLIBC_2.3.4)(64bit), but none of the providers can be installed - package groff-base-1.22.4-10.el9.x86_64 from ubi-9-baseos-rpms requires libc.so.6(GLIBC_2.34)(64bit), but none of the providers can be installed - package groff-base-1.22.4-10.el9.x86_64 from ubi-9-baseos-rpms requires libc.so.6(GLIBC_2.4)(64bit), but none of the providers can be installed - package groff-base-1.22.4-10.el9.x86_64 from ubi-9-baseos-rpms requires libc.so.6(GLIBC_2.7)(64bit), but none of the providers can be installed - package groff-base-1.22.4-10.el9.x86_64 from ubi-9-baseos-rpms requires libm.so.6()(64bit), but none of the providers can be installed - package groff-base-1.22.4-10.el9.x86_64 from ubi-9-baseos-rpms requires libm.so.6(GLIBC_2.2.5)(64bit), but none of the providers can be installed - package groff-base-1.22.4-10.el9.x86_64 from ubi-9-baseos-rpms requires libm.so.6(GLIBC_2.29)(64bit), but none of the providers can be installed - package glibc-2.34-231.el9_7.2.x86_64 from @System requires (glibc-gconv-extra(x86-64) = 2.34-231.el9_7.2 if redhat-rpm-config), but none of the providers can be installed - package glibc-2.34-231.el9_7.2.x86_64 from ubi-9-baseos-rpms requires (glibc-gconv-extra(x86-64) = 2.34-231.el9_7.2 if redhat-rpm-config), but none of the providers can be installed - package rpmlint-1.11-19.el9.noarch from ubi-9-appstream-rpms requires /usr/bin/groff, but none of the providers can be installed - package rpmlint-1.11-19.el9.noarch from ubi-9-appstream-rpms requires /usr/bin/gtbl, but none of the providers can be installed - package rpm-build-4.16.1.3-39.el9.x86_64 from ubi-9-appstream-rpms requires system-rpm-config, but none of the providers can be installed - conflicting requests Signed-off-by: Sebastiaan van Stijn --- hack/scripts/rpm-init.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hack/scripts/rpm-init.sh b/hack/scripts/rpm-init.sh index 9057e980..826842b8 100755 --- a/hack/scripts/rpm-init.sh +++ b/hack/scripts/rpm-init.sh @@ -73,10 +73,8 @@ case "$pkgrelease" in dnf install -y git rpm-build rpmlint dnf-plugins-core epel-release dnf config-manager --set-enabled crb ;; - rhel8|rhel9) - dnf install -y git rpm-build rpmlint dnf-plugins-core - ;; rhel*) + # skipping rpmlint as it requires dependencies not available in ubi images dnf install -y git rpm-build dnf-plugins-core ;; esac