[MacPorts] #63110: clang-12 build error

MacPorts noreply at macports.org
Thu Jun 17 04:33:57 UTC 2021


#63110: clang-12 build error
----------------------+----------------------
  Reporter:  blair    |      Owner:  kencu
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  llvm-12  |
----------------------+----------------------

Comment (by kencu):

 Yeah -- this is broken because the cmake portgroup recently started
 setting C & CXX standards for the builds depending on what is set in the
 Portfiles
 {{{
 compiler.cxx_standard

 and

 compiler.c_standard
 }}}
 and then if the Portfile isn't setting any standard (and the llvm
 Portfiles don't, because I set the compiler directly for the build) then
 the PortGroup helpfully adds a really really old one:

 https://github.com/macports/macports-
 ports/commit/0113e7d7fe225d85d250556a5340d97a70a2649e


 I'm not sure what the right move is here, but IMHO --- the cmake PG
 shouldn't be doing that.

 Otherwise, what I will have to do is see which one it is setting and strip
 that out with with a

 configure.preargs-delete XYX bit

 YUK. So nothing to do with llvm or clang, but whose lap this lands on
 remains to be seen :>

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


More information about the macports-tickets mailing list