[Bug 781148] gst-build does not work on macOS

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Feb 19 06:57:49 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=781148

--- Comment #13 from Justin J. Kim <justin.joy.9to5 at gmail.com> ---
Another problem with gat-build on macosx is a type mismatched error in glib.

In file included from
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/galloca.h:32:
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gtypes.h:423:3: error:
'_GStaticAssertCompileTimeAssertion_0' declared as an array with a negative
size
  G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64));
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/glib/2.54.3/include/glib-2.0/glib/gmacros.h:232:103: note:
expanded from macro 'G_STATIC_ASSERT'
#define G_STATIC_ASSERT(expr) typedef char G_PASTE
(_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
G_GNUC_UNUSED
                                                                               
                      ^~~~~~~~~~~~~~~
1 error generated.
Traceback (most recent call last):
  File "/usr/local/bin/g-ir-scanner", line 66, in <module>
    sys.exit(scanner_main(sys.argv))


For me, it works around by using 'ARCHFLAGS="-arch x86_64"'

 $ ARCHFLAGS="-arch x86_64" ninja -C build


should this flag be in meson.build ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list