[MacPorts] #57523: ctlang: fatal error: 'mutex' file not found

MacPorts noreply at macports.org
Tue Nov 6 11:10:30 UTC 2018


#57523: ctlang: fatal error: 'mutex' file not found
------------------------+---------------------------------
 Reporter:  ryandesign  |      Owner:  MarcusCalhoun-Lopez
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  ctlang openexr
------------------------+---------------------------------
 [https://build.macports.org/builders/ports-10.8_x86_64_legacy-
 builder/builds/77511/steps/install-dependencies/logs/stdio ctlang fails to
 build] on libstdc++ systems:

 {{{
 /opt/local/include/OpenEXR/IlmThreadMutex.h:84:13: fatal error: 'mutex'
 file not found
 #   include <mutex>
             ^
 1 error generated.
 }}}

 mutex is C++11... openexr uses the cxx11 1.1 portgroup and imposes a
 further requirement of C++14, but ctlang doesn't. I wonder if everything
 that uses openexr now needs to use that portgroup and impose the C++14
 requirement as well.

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


More information about the macports-tickets mailing list