Bug 1554621 - nf-config reports the wrong location of netcdf.mod
Summary: nf-config reports the wrong location of netcdf.mod
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: netcdf-fortran
Version: 26
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-13 02:40 UTC by Michael
Modified: 2019-01-08 09:08 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-05-29 11:25:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael 2018-03-13 02:40:33 UTC
Description of problem:

The nf-config utility (provided by package netcdf-fortran-devel) is supposed to return the path where netcdf.mod is found when specifying the --fflags. On Fedora 26, it returns /usr/include, however netcdf.mod is found in a different directory, /usr/lib64/gfortran/modules. Thus when compiling software that queries nf-config to find the module include path, it gets a path that doesn't have netcdf.mod, and compilation fails when it does not find netcdf.mod


Version-Release number of selected component (if applicable):

$ rpm -qa | grep netcdf-fortran
netcdf-fortran-4.4.4-6.fc26.x86_64
netcdf-fortran-devel-4.4.4-6.fc26.x86_64
netcdf-fortran-debuginfo-4.4.4-6.fc26.x86_64


How reproducible:

Always

Steps to Reproduce:
1. nf-config --fflags
2. 
3. 

Actual results:

It returns a path that does not include netcdf.mod (/usr/include)

Expected results:

a) It should return the path that does contain netcdf.mod
or
b) netcdf.mod should be moved to /usr/include

Additional info:

Comment 1 Fedora End Of Life 2018-05-03 08:51:59 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. 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 '26'.

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 26 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.

Comment 2 Fedora End Of Life 2018-05-29 11:25:58 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
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 3 Gunnar Örvarsson 2019-01-08 09:08:21 UTC
This is still problem in Fedora 29:

nf-config --version --fflags
netCDF-Fortran 4.4.4
-I/usr/include

netcdf.inc is located in /usr/include but netcdf.mod (and several other .mod files)
are located in /usr/lib64/gfortran/modules which is missing from the include path.


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