gst-validate 1.16.0: compilation fails on macOS
I am observing the following linker error:
libtool: link: /usr/bin/nm -B .libs/libgstvalidatetracer_la-gst-validate-runner.o .libs/libgstvalidatetracer_la-gst-validate-reporter.o .libs/libgstvalidatetracer_la-gst-validate-mockdecryptor.o .libs/libgstvalidatetracer_la-gst-validate-monitor.o .libs/libgstvalidatetracer_la-gst-validate-element-monitor.o .libs/libgstvalidatetracer_la-gst-validate-bin-monitor.o .libs/libgstvalidatetracer_la-gst-validate-pipeline-monitor.o .libs/libgstvalidatetracer_la-gst-validate-pad-monitor.o .libs/libgstvalidatetracer_la-gst-validate-monitor-factory.o .libs/libgstvalidatetracer_la-gst-validate-report.o .libs/libgstvalidatetracer_la-gst-validate-scenario.o .libs/libgstvalidatetracer_la-gst-validate-override.o .libs/libgstvalidatetracer_la-gst-validate-utils.o .libs/libgstvalidatetracer_la-gst-validate-override-registry.o .libs/libgstvalidatetracer_la-media-descriptor.o .libs/libgstvalidatetracer_la-media-descriptor-writer.o .libs/libgstvalidatetracer_la-media-descriptor-parser.o .libs/libgstvalidatetracer_la-gst-validate-media-info.o .libs/libgstvalidatetracer_la-validate.o .libs/libgstvalidatetracer_la-gst-validate-enum-types.o | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' | /usr/local/Homebrew/Library/Homebrew/shims/mac/super/sed 's/.* //' | sort | uniq > .libs/libgstvalidatetracer.exp
libtool: link: /usr/bin/grep -E -e "^_*gst_plugin_.*" ".libs/libgstvalidatetracer.exp" > ".libs/libgstvalidatetracer.expT"
libtool: link: mv -f ".libs/libgstvalidatetracer.expT" ".libs/libgstvalidatetracer.exp"
libtool: link: sed -e 's|^|_|' < .libs/libgstvalidatetracer.exp > .libs/libgstvalidatetracer-symbols.expsym
libtool: link: clang -o .libs/libgstvalidatetracer.so -bundle .libs/libgstvalidatetracer_la-gst-validate-runner.o .libs/libgstvalidatetracer_la-gst-validate-reporter.o .libs/libgstvalidatetracer_la-gst-validate-mockdecryptor.o .libs/libgstvalidatetracer_la-gst-validate-monitor.o .libs/libgstvalidatetracer_la-gst-validate-element-monitor.o .libs/libgstvalidatetracer_la-gst-validate-bin-monitor.o .libs/libgstvalidatetracer_la-gst-validate-pipeline-monitor.o .libs/libgstvalidatetracer_la-gst-validate-pad-monitor.o .libs/libgstvalidatetracer_la-gst-validate-monitor-factory.o .libs/libgstvalidatetracer_la-gst-validate-report.o .libs/libgstvalidatetracer_la-gst-validate-scenario.o .libs/libgstvalidatetracer_la-gst-validate-override.o .libs/libgstvalidatetracer_la-gst-validate-utils.o .libs/libgstvalidatetracer_la-gst-validate-override-registry.o .libs/libgstvalidatetracer_la-media-descriptor.o .libs/libgstvalidatetracer_la-media-descriptor-writer.o .libs/libgstvalidatetracer_la-media-descriptor-parser.o .libs/libgstvalidatetracer_la-gst-validate-media-info.o .libs/libgstvalidatetracer_la-validate.o .libs/libgstvalidatetracer_la-gst-validate-enum-types.o -L/usr/local/Cellar/glib/2.60.1/lib -L/usr/local/opt/gettext/lib -L/usr/local/Cellar/gstreamer/1.16.0/lib -L/usr/local/Cellar/gst-plugins-base/1.16.0/lib -lgstpbutils-1.0 -lgstaudio-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 -L/usr/local/Cellar/json-glib/1.4.4/lib -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -g -O2 -Wl,-framework -Wl,CoreFoundation -Wl,-exported_symbols_list,.libs/libgstvalidatetracer-symbols.expsym
duplicate symbol __Q_VALIDATE_MONITOR in:
.libs/libgstvalidatetracer_la-gst-validate-runner.o
.libs/libgstvalidatetracer_la-gst-validate-reporter.o
duplicate symbol __Q_VALIDATE_MONITOR in:
.libs/libgstvalidatetracer_la-gst-validate-runner.o
.libs/libgstvalidatetracer_la-gst-validate-monitor.o
duplicate symbol __Q_VALIDATE_MONITOR in:
.libs/libgstvalidatetracer_la-gst-validate-runner.o
.libs/libgstvalidatetracer_la-gst-validate-element-monitor.o
duplicate symbol __Q_VALIDATE_MONITOR in:
.libs/libgstvalidatetracer_la-gst-validate-runner.o
.libs/libgstvalidatetracer_la-gst-validate-bin-monitor.o
duplicate symbol __Q_VALIDATE_MONITOR in:
.libs/libgstvalidatetracer_la-gst-validate-runner.o
.libs/libgstvalidatetracer_la-gst-validate-pipeline-monitor.o
duplicate symbol __Q_VALIDATE_MONITOR in:
.libs/libgstvalidatetracer_la-gst-validate-runner.o
.libs/libgstvalidatetracer_la-gst-validate-pad-monitor.o
duplicate symbol __Q_VALIDATE_MONITOR in:
.libs/libgstvalidatetracer_la-gst-validate-runner.o
.libs/libgstvalidatetracer_la-gst-validate-report.o
duplicate symbol __Q_VALIDATE_MONITOR in:
.libs/libgstvalidatetracer_la-gst-validate-runner.o
.libs/libgstvalidatetracer_la-gst-validate-scenario.o
duplicate symbol __Q_VALIDATE_MONITOR in:
.libs/libgstvalidatetracer_la-gst-validate-runner.o
.libs/libgstvalidatetracer_la-gst-validate-override.o
duplicate symbol __Q_VALIDATE_MONITOR in:
.libs/libgstvalidatetracer_la-gst-validate-runner.o
.libs/libgstvalidatetracer_la-gst-validate-override-registry.o
duplicate symbol __Q_VALIDATE_MONITOR in:
.libs/libgstvalidatetracer_la-gst-validate-runner.o
.libs/libgstvalidatetracer_la-validate.o
ld: 11 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libgstvalidatetracer.la] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2