Bug 2419136 - gcc-gnat is not installable in epel9 due to latest gcc version
Summary: gcc-gnat is not installable in epel9 due to latest gcc version
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: gcc-epel
Version: epel9
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Robert Scheck
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-05 10:13 UTC by Juan
Modified: 2025-12-06 00:30 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2346251 0 unspecified CLOSED gcc-gnat is not installable due to newer gcc in main repos 2025-12-05 10:13:35 UTC

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


Note You need to log in before you can comment on or make changes to this bug.