Red Hat Bugzilla – Bug 151565
gfortran should build netcdf
Last modified: 2007-11-30 17:11:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.7.2) Gecko/20040804
Description of problem:
There is a buildrequire for gcc-g77 although netcdf can also be built with gcc-gfortran. I don't know how this could be solved (is there a possibility to do a buildrequire gcc-g77 or gcc-gfortran?).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install gcc-gfortran but not gcc-g77
2. download netcdf srpm, and do a rpmbuild
Actual Results: An error about missing build require, gcc-g77 is required.
Expected Results: A build.
After I change the buildrequires line to
and comment out the FC setting:
the build seems file.
Thank you for the bug report. It took a while for me to get
access to a machine running all the latest devel packages to
confirm. But in any case, its now fixed in Fedora Extras
It works for me. It seems that gcc-g77 won't be shipped, so it is not a real
issue if the build requirement is not gcc-g77 or gcc-gfortran, but only
gcc-gfortran. Moreover this could be imposible to achieve.