Bug 2335512

Summary: [gcc-gfortran] directory /usr/lib64/gfortran is not owned by any package
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: dmalcolm, fweimer, jakub, jlaw, josmyers, jwakely, mcermak, mpolacek, msebor, nickc, nixuser, sipoyare
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
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 Joachim Frieben 2025-01-04 00:36:54 UTC
Description of problem:
The directory /usr/lib64/gfortran is not owned by gcc-gfortran. 

Version-Release number of selected component (if applicable):
gcc-gfortran-14.2.1-6.fc42

How reproducible:
Always

Steps to Reproduce:
1. Install gcc-gfortran by executing 'dnf install gcc-gfortran' on a system where directory /usr/lib64/gfortran is absent.
2. Execute 'rpm -qf /usr/lib64/gfortran'.

Actual results:
The system returns "file /usr/lib64/gfortran is not owned by any package"

Expected results:
The system returns "gcc-gfortran-14.2.1-6.fc42.x86_64"

Additional info:
The also created directory /usr/lib64/gfortran/modules is correctly owned by gcc-gfortran.

Comment 1 Aoife Moloney 2025-02-26 13:21:05 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 2 Joachim Frieben 2025-04-12 12:05:45 UTC
This issue still affects current 'rawhide' but e.g. also the very recent gcc-gfortran-8.5.0-26.el8_10. This issue should be easy to fix, shouldn't it?