Bug 983057

Summary: Provide rpm macros for handling Fortran modules
Product: [Fedora] Fedora Reporter: Susi Lehtola <susi.lehtola>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fweimer, jakub, law, orion, sipoyare
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 10:15:50 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:
Bug Depends On: 1192617    
Bug Blocks:    

Description Susi Lehtola 2013-07-10 11:56:48 UTC
As you are probably aware, the Fedora packaging guidelines state that Fortran modules must be installed in %{_fmoddir}, which currently evaluates to %{_libdir}/gfortran/modules.

However, the modules are inherently dependent on the version of gfortran used to generate them, and we are currently missing this dependency information. Also, the placement of the modules is not in touch with the gfortran version.

I have been previously alerted by the gcc maintainers that %{_libdir}/gfortran/modules is the wrong place to put the modules, they should go to the finclude directory instead.

For this reason I am hereby requesting that you add rpm macros to the gfortran package, which change %{_fmoddir} to the correct directory used internally by gfortran itself. (At the same time the definition needs to be removed from /usr/lib/rpm/redhat/macros provided by the redhat-rpm-config package.)

Also, it would be nice to solve the dependency question. As long as the dependencies are not automatically picked up by RPM, I ask that you add another RPM macro which gives the module compatibility version of gfortran, e.g.

%_gfortran_module_ver 4.8.1%{?_isa}

that can be Required by packages shipping fortran modules.

Comment 1 Susi Lehtola 2013-08-01 07:57:46 UTC
*** Bug 513985 has been marked as a duplicate of this bug. ***

Comment 2 Fedora End Of Life 2013-09-16 14:28:32 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle.
Changing version to '20'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20

Comment 3 Susi Lehtola 2015-02-15 19:42:14 UTC
See bug #1192617 for rpm part of problem.

Comment 4 Jaroslav Reznik 2015-03-03 14:58:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 5 Fedora End Of Life 2016-07-19 10:15:50 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 6 Susi Lehtola 2016-07-19 18:04:43 UTC
Issue still exists on rawhide.

Comment 7 Jan Kurik 2016-07-26 04:21:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 8 Fedora End Of Life 2017-11-16 19:05:18 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.