[MacPorts] #61692: clang invalid version number

MacPorts noreply at macports.org
Sat Nov 28 16:19:02 UTC 2020


#61692: clang invalid version number
-------------------------------------+-------------------------------------
 Reporter:  btywoniuk                |      Owner:  (none)
     Type:  defect                   |     Status:  new
 Priority:  Normal                   |  Milestone:
Component:  ports                    |    Version:  2.6.4
 Keywords:  BigSur; Gromacs; clang;  |       Port:  gromacs; gromacs-plumed
-------------------------------------+-------------------------------------
 When installing gromacs I'm getting:

 {{{
 :info:configure     /opt/local/bin/clang-mp-5.0   -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk  -arch
 x86_64 -o CMakeFiles/cmTC_da04d.dir/testCCompiler.c.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gromacs/gromacs/work/gromacs-2019.2/CMakeFiles/CMakeTmp/testCCompiler.c
 :info:configure     clang: error: invalid version number in '-mmacosx-
 version-min=11.0'
 :info:configure     make[1]: ***
 [CMakeFiles/cmTC_da04d.dir/testCCompiler.c.o] Error 1
 :info:configure     make: *** [cmTC_da04d/fast] Error 2
 }}}

 and:

 {{{
 Warning:
 -----------------------------------------------------------------------
 Warning: The port 'gromacs' uses the cxx11 PortGroup which is deprecated.
 Warning: Please instead specify the required c++ standard directly using
 Warning:     compiler.cxx_standard  2011
 Warning: replacing 2011 with newer standards (e.g. 2014, 2017) as
 required.
 Warning: For more details see
 https://trac.macports.org/wiki/CompilerSelection
 Warning:
 -----------------------------------------------------------------------
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61692>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list