gstreamer-full: build introspection fails on MacOS Catalina
Describe your issue
The gstreamer-full build fails if introspection is enabled (default)
Undefined symbols for architecture x86_64:
"_GSS_C_NT_HOSTBASED_SERVICE", referenced from:
_soup_gss_build_response in libsoup-2.4.a(soup-auth-negotiate.c.o)
"_gss_delete_sec_context", referenced from:
_soup_auth_negotiate_update_connection in libsoup-2.4.a(soup-auth-negotiate.c.o)
_soup_auth_negotiate_free_connection_state in libsoup-2.4.a(soup-auth-negotiate.c.o)
"_gss_display_status", referenced from:
_soup_gss_error in libsoup-2.4.a(soup-auth-negotiate.c.o)
"_gss_import_name", referenced from:
_soup_gss_build_response in libsoup-2.4.a(soup-auth-negotiate.c.o)
"_gss_init_sec_context", referenced from:
_soup_gss_client_step in libsoup-2.4.a(soup-auth-negotiate.c.o)
"_gss_release_buffer", referenced from:
_soup_gss_client_step in libsoup-2.4.a(soup-auth-negotiate.c.o)
_soup_gss_error in libsoup-2.4.a(soup-auth-negotiate.c.o)
"_gss_release_name", referenced from:
_soup_auth_negotiate_update_connection in libsoup-2.4.a(soup-auth-negotiate.c.o)
_soup_auth_negotiate_free_connection_state in libsoup-2.4.a(soup-auth-negotiate.c.o)
"_psl_is_public_suffix2", referenced from:
_soup_tld_get_base_domain in libsoup-2.4.a(soup-tld.c.o)
_soup_tld_domain_is_public_suffix in libsoup-2.4.a(soup-tld.c.o)
"_psl_latest", referenced from:
_soup_tld_get_base_domain in libsoup-2.4.a(soup-tld.c.o)
_soup_tld_domain_is_public_suffix in libsoup-2.4.a(soup-tld.c.o)
"_psl_registrable_domain", referenced from:
_soup_tld_get_base_domain in libsoup-2.4.a(soup-tld.c.o)
"_psl_unregistrable_domain", referenced from:
_soup_tld_get_base_domain in libsoup-2.4.a(soup-tld.c.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
linking of temporary binary failed: Command '['clang', '-o', '/Users/stephane/Documents/DEV/GStreamer/gstreamer/build-static/tmp-introspectieas4f8b/Soup-2.4', '/Users/stephane/Documents/DEV/GStreamer/gstreamer/build-static/tmp-introspectieas4f8b/Soup-2.4.o', '-L.', '-Wl,-rpath,.', '-L/usr/lib', '-Wl,-rpath,/usr/lib', '-L/usr/local/Cellar/glib/2.70.0_1/lib', '-Wl,-rpath,/usr/local/Cellar/glib/2.70.0_1/lib', '-L/usr/local/opt/gettext/lib', '-Wl,-rpath,/usr/local/opt/gettext/lib', '-L/usr/local/Cellar/brotli/1.0.9/lib', '-Wl,-rpath,/usr/local/Cellar/brotli/1.0.9/lib', '-L/usr/local/Cellar/gobject-introspection/1.70.0_1/lib', '-Wl,-rpath,/usr/local/Cellar/gobject-introspection/1.70.0_1/lib', '/Users/stephane/Documents/DEV/GStreamer/gstreamer/build-static/subprojects/libsoup/libsoup/libsoup-2.4.a', '-lglib-2.0', '-lintl', '-lgobject-2.0', '-lgio-2.0', '-lxml2', '-lsqlite3', '-lbrotlidec', '-lz', '-lgirepository-1.0', '-L/usr/local/Cellar/glib/2.70.0_1/lib', '-L/usr/local/opt/gettext/lib', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lglib-2.0', '-lintl']' returned non-zero exit status 1.
Expected Behavior
The build to continue
Observed Behavior
Build fails on this error
Setup
- Operating System: MacOS Catalina
- Device: Computer
- GStreamer Version: Gstreamer 1.19.2
- Command line: meson build-static --default-library=static
Steps to reproduce the bug
- open terminal
- type
command
How reproducible is the bug?
Always
Screenshots if relevant
Solutions you have tried
meson build-static --default-library=static -Dintrospection=disabled
Related non-duplicate issues
Additional Information
dv : YES
fdk-aac : NO Subproject exists but has no meson.build file
gl-headers : YES
gst-devtools : YES 5 warnings
gst-editing-services : YES 2 warnings
gst-examples : NO Feature 'gst-examples' disabled
gst-integration-testsuites: YES
gst-libav : YES 2 warnings
gst-omx : NO Feature 'omx' disabled
gst-plugins-bad : YES 2 warnings
gst-plugins-base : YES 7 warnings
gst-plugins-good : YES 2 warnings
gst-plugins-rs : NO Feature 'rs' disabled
gst-plugins-ugly : YES 2 warnings
gst-python : YES 3 warnings
gst-rtsp-server : YES 2 warnings
gstreamer : YES 5 warnings
gstreamer-sharp : NO Feature 'sharp' disabled
gstreamer-vaapi : NO Feature 'vaapi' disabled
json-glib : YES 1 warnings
libmicrodns : YES
libnice : YES
libpsl : YES
libsoup : YES 2 warnings
libsoup3 : NO Neither a subproject directory nor a libsoup3.wrap file was found.
macos-bison-binary : YES
openh264 : NO Program 'nasm nasm.exe' not found
orc : YES
pycairo : YES
pygobject : YES 2 warnings
tinyalsa : NO Neither a subproject directory nor a tinyalsa.wrap file was found.