[MacPorts] #71441: glib2+quartz: 'type_traits' file not found

MacPorts noreply at macports.org
Mon Dec 2 21:11:19 UTC 2024


#71441: glib2+quartz: 'type_traits' file not found
--------------------------+--------------------
 Reporter:  chaochinyang  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:
 Keywords:                |       Port:  glib2
--------------------------+--------------------
 I am trying to install port `glib2` with my [https://www.xquartz.org
 XQuartz 2.8.5] instead of X11:
 {{{
 sudo port install glib2 -x11 +quartz
 }}}
 The process failed at the building stage.  The final error in the log
 shows:
 {{{
 :info:build In file included from ../glib-2.78.4/glib/gatomic.h:30:
 :info:build ../glib-2.78.4/glib/glib-typeof.h:43:10: fatal error:
 'type_traits' file not found
 :info:build    43 | #include <type_traits>
 :info:build       |          ^~~~~~~~~~~~~
 :info:build 1 error generated.
 }}}

 The full log will be attached.

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


More information about the macports-tickets mailing list