[MacPorts] #64377: GLib2 not working on Apple Silicon

MacPorts noreply at macports.org
Tue Feb 15 14:25:59 UTC 2022


#64377: GLib2 not working on Apple Silicon
---------------------------------+------------------------
  Reporter:  lb90                |      Owner:  ryandesign
      Type:  defect              |     Status:  assigned
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:
Resolution:                      |   Keywords:  arm64
      Port:  glib2, glib2-devel  |
---------------------------------+------------------------

Comment (by michaelld):

 This change is indeed what's causing the issue. I tested both with and
 without it (I have to rebuild glib2-devel and gtk3), and with it GTK3
 usage fails; removing it, and things work again. Admittedly I'm just using
 ARM64 native, not actual +universal.

 Replying to [comment:4 mituharu]:
 > The following hunk in universal.patch looks suspicious:
 >
 > {{{
 > @@ -114,7 +157,10 @@
 >
 >  @glib_os@
 >
 > - at glib_vacopy@
 > +#ifdef __LP64__
 > +#define G_VA_COPY_AS_ARRAY 1
 > +#endif
 > +
 >
 >  @g_have_iso_c_varargs@
 >  @g_have_iso_cxx_varargs@
 > }}}

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


More information about the macports-tickets mailing list