Bug 2346251 - gcc-gnat is not installable due to newer gcc in main repos
Summary: gcc-gnat is not installable due to newer gcc in main repos
Keywords:
Status: CLOSED ERRATA
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-02-18 13:46 UTC by Endre Aalrust Kristoffersen
Modified: 2025-03-01 02:01 UTC (History)
1 user (show)

Fixed In Version: gcc-epel-11.5.0-6.el9
Clone Of:
Environment:
Last Closed: 2025-03-01 02:01:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2283622 0 unspecified CLOSED gcc-gnat is not installable due to newer gcc in main repos 2025-02-18 13:46:10 UTC
Red Hat Bugzilla 2329043 0 unspecified CLOSED RHEL 9.5/AlmaLinux 9.5 updated gcc from 11.4.1 to 11.5.0 and epel-gcc does not match anymore 2025-02-18 13:46:10 UTC

Internal Links: 2362147

Description Endre Aalrust Kristoffersen 2025-02-18 13:46:11 UTC
Description of problem:

Our systems updated gcc from gcc-11.5.0-2.el9 to gcc-11.5.0-5.el9 yesterday, and it obsoleted the following package: 

gcc-gnat-11.5.0-3.el9.x86_64

Version-Release number of selected component (if applicable):
gcc-11.5.0-5.el9.x86_64
gcc-gnat-11.5.0-3.el9.x86_64

How reproducible:
Always!

Steps to Reproduce:
1. Install gcc-gnat-11.5.0-3.el9.x86_64 (or earlier, I suppose)
2. dnf -y upgrade
3. gcc-gnat has been obsoleted

Actual results:
# dnf install gcc-gnat
[...]  
Package gcc-11.5.0-5.el9_5.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
# rpm -q gcc-gnat
package gcc-gnat is not installed

Expected results:
gcc-gnat should be installed.

Additional info:
This bug seems to be a recurring problem when gcc is updated, it has been reported twice in the previous year: 
https://bugzilla.redhat.com/show_bug.cgi?id=2329043
https://bugzilla.redhat.com/show_bug.cgi?id=2283622

Comment 1 Robert Scheck 2025-02-18 20:21:41 UTC
(In reply to Endre Aalrust Kristoffersen from comment #0)
> This bug seems to be a recurring problem when gcc is updated, it has been
> reported twice in the previous year: 
> https://bugzilla.redhat.com/show_bug.cgi?id=2329043
> https://bugzilla.redhat.com/show_bug.cgi?id=2283622

Yes, and this recurring problem won't change ever, especially not if no paying Red Hat customer forces Red Hat to remove "Obsoletes: gcc-gnat < %{version}-%{release}" from their gcc.spec in Red Hat Enterprise Linux. Just bumping the version in EPEL endless high isn't an option, given there are sometimes changes the RHEL gcc package that need to be reflected in gcc-epel. An alternative could be to not use a programming language that Red Hat does not consider relevant for their target audience aka paying customers.

Comment 2 Fedora Update System 2025-02-20 08:32:42 UTC
FEDORA-EPEL-2025-6a3d409c66 (gcc-epel-11.5.0-6.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-6a3d409c66

Comment 3 Fedora Update System 2025-02-21 03:28:58 UTC
FEDORA-EPEL-2025-6a3d409c66 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-6a3d409c66

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

Comment 4 Fedora Update System 2025-03-01 02:01:47 UTC
FEDORA-EPEL-2025-6a3d409c66 (gcc-epel-11.5.0-6.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.


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