Bug 2252062

Summary: gcc-epel out of date compared to gcc
Product: [Fedora] Fedora EPEL Reporter: haydn.reysenbach
Component: gcc-epelAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: epel8CC: redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gcc-epel-8.5.0-21.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2423179 (view as bug list) Environment:
Last Closed: 2023-12-03 01:58:04 UTC 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 haydn.reysenbach 2023-11-29 10:05:40 UTC
Description of problem:
gcc-epel is version 8.5.0-19.el8 while in the main repos gcc is 8.5.0-20.el8. 
Due to the difference in version numbers, I can't install gcc-gnat because it conflicts with gcc

Version-Release number of selected component (if applicable):
8.5.0-19.el8

How reproducible:
Always

Steps to Reproduce:
1. sudo dnf install gcc
2. sudo dnf install gcc-gnat

Actual results:
gcc-gnat is not installed (missing libgnat.so, etc)

Expected results:
gcc-gnat is installed 

Additional info:

Comment 1 Fedora Update System 2023-11-29 23:55:32 UTC
FEDORA-EPEL-2023-2462751ea6 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-2462751ea6

Comment 2 Fedora Update System 2023-11-30 04:53:11 UTC
FEDORA-EPEL-2023-2462751ea6 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-2462751ea6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 haydn.reysenbach 2023-11-30 09:55:23 UTC
Thanks for the update. 

I can confirm that this has fixed the issue. 
I did have to specifically request libgnat-8.5.0 and gcc-gnat-8.5.0 to be installed. If I use `dnf install gcc-gnat` it will tell me that `Package gcc-8.5.0-20.el8.x86_64 is already installed.` similarly for libgnat and libgcc. 

Is this normal behaviour?

Thanks,
Haydn

Comment 4 Robert Scheck 2023-11-30 10:41:38 UTC
> Is this normal behaviour?

Unfortunately, yes:

$ rpm -q --obsoletes gcc
gcc-gnat < 8.5.0-20.el8
gcc-java < 8.5.0-20.el8
libcilkrts
libcilkrts-static
$ 

$ rpm -q --obsoletes libgcc
libgcj < 8.5.0-20.el8
libgcj-devel < 8.5.0-20.el8
libgcj-src < 8.5.0-20.el8
libgnat < 8.5.0-20.el8
libmudflap
libmudflap-devel
libmudflap-static
$ 

Red Hat decided to retire the support for Ada/GNAT with RHEL 8 and the observed behaviour seems to be part of their in-line upgrade path for at least RHEL 7 to 8.

Comment 5 Fedora Update System 2023-12-03 01:58:04 UTC
FEDORA-EPEL-2023-2462751ea6 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.