[MacPorts] #59795: ecCodes' gcc9 variant conflicts with gfortran

MacPorts noreply at macports.org
Mon Dec 2 18:32:18 UTC 2019


#59795: ecCodes' gcc9 variant conflicts with gfortran
---------------------------+--------------------
  Reporter:  thiagoveloso  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.2
Resolution:                |   Keywords:
      Port:  ecCodes       |
---------------------------+--------------------

Comment (by ryandesign):

 > I guess this causes ecCodes to be installed with the gcc9 variant as
 well.

 Yes, variant selections are passed down to any dependencies that have not
 yet been installed.

 > Any way to work around this error?

 The workaround is to add `-gfortran` to your port install line.

 Takeshi, the fix is to follow wiki:PortfileRecipes#default_variants
 (unless the compilers portgroup you're using has a way it to handle
 default_variants for you; I'm not familiar with the portgroup).

-- 
Ticket URL: <https://trac.macports.org/ticket/59795#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list