Bug 2419136

Summary: gcc-gnat is not installable in epel9 due to latest gcc version
Product: [Fedora] Fedora EPEL Reporter: Juan <hariseld>
Component: gcc-epelAssignee: Robert Scheck <redhat-bugzilla>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: carl, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Juan 2025-12-05 10:13:35 UTC
Description of problem:

When trying to install package gcc-gnat from EPEL9 this cannot be completed as the latest gcc package obsoletes it.

It seems this is a recurring issue that needs to be patched manually (see https://bugzilla.redhat.com/show_bug.cgi?id=2346251)


Version-Release number of selected component (if applicable):

gcc-gnat-11.5.0-6.el9.x86_64


How reproducible:

Always.

Steps to Reproduce:
Example using Rocky9 (podman run -it --rm podman run -it --rm docker.io/rockylinux/rockylinux:9)

1. dnf install epel-release
2. crb enable
3. dnf install gcc-gnat-11.5.0-6.el9.x86_64

Actual results:

Error:
 Problem: package gcc-gnat-11.5.0-6.el9.x86_64 from epel requires gcc(major) = 11, but none of the providers can be installed
  - package gcc-11.5.0-11.el9.x86_64 from appstream obsoletes gcc-gnat < 11.5.0-11.el9 provided by gcc-gnat-11.5.0-6.el9.x86_64 from epel
  - conflicting requests

Expected results:

gcc-gnat package can be installed

Additional info:

See also https://bugzilla.redhat.com/show_bug.cgi?id=2346251