[MacPorts] #65296: ecCodes @2.26.0 +debug+memfs+openmp: The Fortran compiler "/opt/local/bin/gfortran-mp-11" is not able to compile a simple test program.

MacPorts noreply at macports.org
Mon Jun 6 20:39:13 UTC 2022


#65296: ecCodes @2.26.0 +debug+memfs+openmp: The Fortran compiler "/opt/local/bin
/gfortran-mp-11" is not able to compile a simple test program.
--------------------------+--------------------
  Reporter:  cooljeanius  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.2
Resolution:               |   Keywords:
      Port:  ecCodes      |
--------------------------+--------------------

Comment (by cooljeanius):

 Replying to [comment:2 kencu]:
 > surprisingly, it's the {{{+debug}}} variant that kills the build. huh.
 >
 > you'll have to do one of these:
 >
 > 1. fix the debug variant
 > 2. don't use the debug variant

 OK I have removed the debug variant for now and it works again.

 Replying to [comment:3 remkos]:
 > The error message:
 > {{{
 > clang (LLVM option parsing): Unknown command line argument '-x86-pad-
 for-align=false'.  Try: 'clang (LLVM option parsing) --help'
 >     clang (LLVM option parsing): Did you mean '--stackrealign=false'?
 > }}}
 > has all the hallmarks of a bad {{{configure}}} script, at least one that
 is not adapted to MacOS.
 >
 > I am not sure that it is worthwhile to try to make this work just for a
 {{{+debug}}} variant. Maybe we should remove that variant?

 Isn't the `+debug` variant added by the cmake portgroup?

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


More information about the macports-tickets mailing list