[MacPorts] #57615: p5-wx uses libc++ when it shouldn't, resulting in fatal error: 'tr1/type_traits' file not found

MacPorts noreply at macports.org
Fri Nov 16 10:28:54 UTC 2018


#57615: p5-wx uses libc++ when it shouldn't, resulting in fatal error:
'tr1/type_traits' file not found
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  mojca
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  p5-wx       |
-------------------------+----------------------

Comment (by mojca):

 I need to check. Is this flag hardcoded in p5-wx sources? Are you using
 the default installation or the one with `libc++` default?

 I just need to add that while I agree with you, the port absolutely needs
 to be compiled with the same `cxx_stdlib` as wxWidgets and this often gets
 pretty tricky, there are still issues with some Python ports and upstream
 told me to specify the compiler with `CXX=/path/to/clang -stdlib=libc++`
 if I want the python modules to be compiled correctly on `libc++` setups
 on older machines. (The port should not hardcode the stdlib flag in any
 case though.)

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


More information about the macports-tickets mailing list