Fails to build on Mac OS
When building libpeas with cerbero, meson fails:
Running command '/Users/cerbero-pitivi/build/build-tools/bin/meson --prefix=/Users/cerbero-pitivi/build/dist/darwin_x86_64 --libdir=lib --default-library=both --buildtype=debugoptimized --backend=ninja --wrap-mode=nodownload --native-file /Users/cerbero-pitivi/build/sources/darwin_x86_64/libpeas-1.26.0/_builddir/meson-native-file.txt -Dintrospection=true -Dgtk_doc=false'
The Meson build system
Version: 0.49.2
Source dir: /Users/cerbero-pitivi/build/sources/darwin_x86_64/libpeas-1.26.0
Build dir: /Users/cerbero-pitivi/build/sources/darwin_x86_64/libpeas-1.26.0/_builddir
Build type: native build
Project name: libpeas
Project version: 1.25.0
Appending CFLAGS from environment: ' -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/cerbero-pitivi/build/dist/darwin_x86_64/include -mmacosx-version-min=10.11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk '
Appending LDFLAGS from environment: ' -headerpad_max_install_names -Wl,-headerpad_max_install_names -Wno-error=unused-command-line-argument -arch x86_64 -m64 -Wl,-arch,x86_64 -mmacosx-version-min=10.11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/cerbero-pitivi/build/dist/darwin_x86_64/lib '
Appending CPPFLAGS from environment: ' -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -mmacosx-version-min=10.11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk '
Native C compiler: clang (clang 11.0.0 "Apple clang version 11.0.0 (clang-1100.0.33.12)")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /Users/cerbero-pitivi/build/build-tools/bin/pkg-config (0.29.2)
Dependency glib-2.0 found: YES 2.56.1
Dependency gobject-2.0 found: YES 2.56.1
Dependency gmodule-2.0 found: YES 2.56.1
Dependency gio-2.0 found: YES 2.56.1
Dependency gobject-introspection-1.0 found: YES 1.56.1
Dependency gtk+-3.0 found: YES 3.24.10
Found CMake: /Users/cerbero-pitivi/build/build-tools/bin/cmake (3.7.1)
Dependency gtk-doc found: NO (tried pkgconfig, cmake and framework)
Dependency gladeui-2.0 found: NO (tried pkgconfig, cmake and framework)
Dependency python3-embed found: NO (tried pkgconfig, cmake and framework)
Dependency python3 found: YES 3.6
Dependency python2 found: NO (tried pkgconfig, cmake and framework)
Dependency pygobject-3.0 found: YES 3.31.2
Dependency lua51 found: NO (tried pkgconfig and framework)
Dependency luajit found: NO (tried pkgconfig, cmake and framework)
Program lua5.1 found: YES (/usr/local/bin/lua5.1)
Program luajit found: NO
Program xmllint found: YES (/Users/cerbero-pitivi/build/dist/darwin_x86_64/bin/xmllint)
Appending OBJCFLAGS from environment: ' -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -I/Users/cerbero-pitivi/build/dist/darwin_x86_64/include -mmacosx-version-min=10.11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk '
Appending LDFLAGS from environment: ' -headerpad_max_install_names -Wl,-headerpad_max_install_names -Wno-error=unused-command-line-argument -arch x86_64 -m64 -Wl,-arch,x86_64 -mmacosx-version-min=10.11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/cerbero-pitivi/build/dist/darwin_x86_64/lib '
Appending CPPFLAGS from environment: ' -Wall -g -O2 -arch x86_64 -m64 -Wno-error=format-nonliteral -mmacosx-version-min=10.11 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk '
Native Objective-C compiler: clang (clang 11.0.0)
Compiler for C supports arguments -fvisibility=hidden: YES
Configuring config.h using configuration
Configuring peas-version.h using configuration
libpeas-gtk/meson.build:55:0: ERROR: Tried to create target "peas-gtk-1.0", but a target of that name already exists.