See https://bugzilla.redhat.com/show_bug.cgi?id=660035 for the spark for this.
Apparently there is a "GFORTRAN module version" number assigned to Fortran
modules created by gfortran:
==> /usr/lib/gfortran/modules/hdf5.mod <==
GFORTRAN module version '4' created from ../../../fortran/src/HDF5.f90 on Thu
Oct 28 14:43:23 2010
==> /usr/lib/gfortran/modules/netcdf.mod <==
GFORTRAN module version '0' created from netcdf4.f90 on Mon Apr 19 20:30:19 2010
Now, apparently from gcc 4.4.3 -> 4.5.1 this changed from 0 to 4, and
apparently there is no backwards compatibility:
Fatal Error: Wrong module version '0' (expected '4') for file 'netcdf.mod'
opened at (1)
So, it makes sense to me to encode this into the rpm dependencies somehow.
Perhaps gcc-gfortran can provides a gfortran-abi(VERSION) and the gfortran
module packages can require it. rpm would need to automatically generate the
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane firstname.lastname@example.org
Boulder, CO 80301 http://www.cora.nwra.com
packaging mailing list