[MacPorts] #67307: glib2 compilation issues with clang

MacPorts noreply at macports.org
Sun May 14 02:42:34 UTC 2023


#67307: glib2 compilation issues with clang
-----------------------+----------------------
  Reporter:  rmottola  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard
      Port:  glib2     |
-----------------------+----------------------

Comment (by evanmiller):

 The missing {{{_close$NOCANCEL$UNIX2003}}} symbol is declared explicitly
 in {{{glib/gstdioprivate.h}}} in order to access a hidden Darwin API which
 apparently is not present on 64-bit Leopard (or on Tiger). Commenting out
 the {{{#define close close$NOCANCEL$UNIX2003}}} in that file should be
 sufficient to get things to compile, with the minor side-effect that calls
 to {{{close}}} will be cancellable from other threads.

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


More information about the macports-tickets mailing list