-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
This is the error that I am getting when compiling from source:
(base) marcodotio@Marcuss-MacBook-Pro python-webrtc % PARALLELISM=4 pip install -e .
Obtaining file:///Users/marcodotio/python-webrtc
Preparing metadata (setup.py) ... done
Installing collected packages: wrtc
Running setup.py develop for wrtc
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [276 lines of output]
running develop
/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running egg_info
writing python-webrtc/python/wrtc.egg-info/PKG-INFO
writing dependency_links to python-webrtc/python/wrtc.egg-info/dependency_links.txt
writing top-level names to python-webrtc/python/wrtc.egg-info/top_level.txt
reading manifest file 'python-webrtc/python/wrtc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
adding license file 'LICENSE.md'
writing manifest file 'python-webrtc/python/wrtc.egg-info/SOURCES.txt'
running build_ext
CMake Deprecation Warning at third_party/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- pybind11 v2.8.1
CMake Warning (dev) at third_party/pybind11/tools/FindPythonLibsNew.cmake:98 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/pybind11/tools/pybind11Tools.cmake:50 (find_package)
third_party/pybind11/tools/pybind11Common.cmake:206 (include)
third_party/pybind11/CMakeLists.txt:198 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/marcodotio/python-webrtc/build/temp.macosx-15.3-arm64-cpython-311
[ 1%] Performing update step for 'project_depot_tools'
-- Already at requested ref: cb340f5b7bbdcaba0fad346b08db91538619a531
[ 3%] No patch step for 'project_depot_tools'
[ 5%] No configure step for 'project_depot_tools'
[ 7%] No build step for 'project_depot_tools'
[ 9%] No install step for 'project_depot_tools'
[ 10%] Completed 'project_depot_tools'
[ 14%] Built target project_depot_tools
[ 16%] Performing build step for 'project_libwebrtc'
export PATH=$DEPOT_TOOLS:$PATH
export TARGETS="webrtc libjingle_peerconnection"
if [[ "$(uname)" == "Linux" && "$TARGET_ARCH" == arm* ]]; then
export TARGETS="$TARGETS pc:peerconnection libc++ libc++abi"
fi
uname
if [[ "$(uname)" == "Darwin" ]]; then
export TARGETS="$TARGETS libc++"
fi
uname
if [ -z "$PARALLELISM" ]; then
ninja $TARGETS
else
ninja $TARGETS -j $PARALLELISM
fi
[1/691] STAMP obj/third_party/abseil-cpp/absl/hash/city.stamp
[2/691] STAMP obj/third_party/abseil-cpp/absl/functional/function_ref.stamp
[3/691] STAMP obj/modules/audio_processing/agc2/common.stamp
[4/691] CXX obj/modules/audio_processing/agc2/biquad_filter/biquad_filter.o
[5/691] CXX obj/modules/audio_processing/agc2/cpu_features/cpu_features.o
[6/691] CXX obj/modules/audio_processing/agc2/fixed_digital/interpolated_gain_curve.o
[7/691] CXX obj/third_party/abseil-cpp/absl/hash/hash/hash.o
[8/691] STAMP obj/third_party/abseil-cpp/absl/hash/hash.stamp
[9/691] CXX obj/modules/audio_processing/agc2/gain_applier/gain_applier.o
[10/691] CXX obj/modules/audio_processing/agc2/fixed_digital/limiter.o
[11/691] CXX obj/modules/audio_processing/agc2/fixed_digital/fixed_digital_level_estimator.o
[12/691] CXX obj/modules/audio_processing/agc2/noise_level_estimator/down_sampler.o
[13/691] CXX obj/modules/audio_device/audio_device_impl/file_audio_device_factory.o
[14/691] STAMP obj/modules/audio_device/audio_device_impl_frameworks.stamp
[15/691] STAMP obj/rtc_base/system/ignore_warnings.stamp
[16/691] STAMP obj/rtc_base/system/inline.stamp
[17/691] STAMP obj/rtc_base/system/no_unique_address.stamp
[18/691] CXX obj/modules/audio_device/audio_device_impl/audio_mixer_manager_mac.o
FAILED: obj/modules/audio_device/audio_device_impl/audio_mixer_manager_mac.o
../../download/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/modules/audio_device/audio_device_impl/audio_mixer_manager_mac.o.d -D_LIBCPP_HAS_NO_ALIGNED_ALLOCATION -DCR_XCODE_VERSION=1620 -DCR_CLANG_REVISION=\"llvmorg-13-init-10392-gd3676d4b-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=8fa87946779682841e21e2da977eccfb6cb3bded -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DWEBRTC_HAVE_SCTP -DWEBRTC_ARCH_ARM64 -DWEBRTC_HAS_NEON -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_POSIX -DWEBRTC_MAC -DABSL_ALLOCATOR_NOTHROW=1 -I../../download/src -Igen -I../../download/src/third_party/abseil-cpp -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../download/src/tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -arch arm64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-omit-frame-pointer -gdwarf-4 -g2 -isysroot ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -mmacosx-version-min=10.11.0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wc++11-narrowing -Wimplicit-fallthrough -Wthread-safety -Winconsistent-missing-override -Wundef -Wunused-lambda-capture -Wno-shorten-64-to-32 -std=c++14 -fno-trigraphs -Wno-trigraphs -stdlib=libc++ -fno-exceptions -nostdinc++ -isystem../../download/src/buildtools/third_party/libc++/trunk/include -isystem../../download/src/buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -Wnon-virtual-dtor -Woverloaded-virtual -c ../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc -o obj/modules/audio_device/audio_device_impl/audio_mixer_manager_mac.o
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:106:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:119:5: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:144:3: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:158:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:168:3: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:190:3: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:221:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:237:14: error: use of undeclared identifier 'noErr'
if (err == noErr && isSettable) {
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:239:5: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectSetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:251:16: error: use of undeclared identifier 'noErr'
if (err == noErr && isSettable) {
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:253:7: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectSetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:273:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:287:5: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:301:9: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:356:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:365:14: error: use of undeclared identifier 'noErr'
if (err == noErr && isSettable) {
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:376:16: error: use of undeclared identifier 'noErr'
if (err != noErr || !isSettable) {
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:394:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:403:14: error: use of undeclared identifier 'noErr'
if (err == noErr && isSettable) {
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[19/691] STAMP obj/rtc_base/system/rtc_export.stamp
[20/691] CXX obj/modules/audio_device/audio_device_impl/audio_device_impl.o
FAILED: obj/modules/audio_device/audio_device_impl/audio_device_impl.o
../../download/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/modules/audio_device/audio_device_impl/audio_device_impl.o.d -D_LIBCPP_HAS_NO_ALIGNED_ALLOCATION -DCR_XCODE_VERSION=1620 -DCR_CLANG_REVISION=\"llvmorg-13-init-10392-gd3676d4b-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=8fa87946779682841e21e2da977eccfb6cb3bded -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DWEBRTC_HAVE_SCTP -DWEBRTC_ARCH_ARM64 -DWEBRTC_HAS_NEON -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_POSIX -DWEBRTC_MAC -DABSL_ALLOCATOR_NOTHROW=1 -I../../download/src -Igen -I../../download/src/third_party/abseil-cpp -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../download/src/tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -arch arm64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-omit-frame-pointer -gdwarf-4 -g2 -isysroot ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -mmacosx-version-min=10.11.0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wc++11-narrowing -Wimplicit-fallthrough -Wthread-safety -Winconsistent-missing-override -Wundef -Wunused-lambda-capture -Wno-shorten-64-to-32 -std=c++14 -fno-trigraphs -Wno-trigraphs -stdlib=libc++ -fno-exceptions -nostdinc++ -isystem../../download/src/buildtools/third_party/libc++/trunk/include -isystem../../download/src/buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -Wnon-virtual-dtor -Woverloaded-virtual -c ../../download/src/modules/audio_device/audio_device_impl.cc -o obj/modules/audio_device/audio_device_impl/audio_device_impl.o
In file included from ../../download/src/modules/audio_device/audio_device_impl.cc:49:
../../download/src/modules/audio_device/mac/audio_device_mac.h:283:5: error: '__MAC_OS_X_VERSION_MAX_ALLOWED' is not defined, evaluates to 0 [-Werror,-Wundef]
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
^
1 error generated.
[21/691] CXX obj/modules/audio_device/audio_device_impl/audio_device_mac.o
FAILED: obj/modules/audio_device/audio_device_impl/audio_device_mac.o
../../download/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/modules/audio_device/audio_device_impl/audio_device_mac.o.d -D_LIBCPP_HAS_NO_ALIGNED_ALLOCATION -DCR_XCODE_VERSION=1620 -DCR_CLANG_REVISION=\"llvmorg-13-init-10392-gd3676d4b-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=8fa87946779682841e21e2da977eccfb6cb3bded -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DWEBRTC_HAVE_SCTP -DWEBRTC_ARCH_ARM64 -DWEBRTC_HAS_NEON -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_POSIX -DWEBRTC_MAC -DABSL_ALLOCATOR_NOTHROW=1 -I../../download/src -Igen -I../../download/src/third_party/abseil-cpp -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../download/src/tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -arch arm64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-omit-frame-pointer -gdwarf-4 -g2 -isysroot ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -mmacosx-version-min=10.11.0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wc++11-narrowing -Wimplicit-fallthrough -Wthread-safety -Winconsistent-missing-override -Wundef -Wunused-lambda-capture -Wno-shorten-64-to-32 -std=c++14 -fno-trigraphs -Wno-trigraphs -stdlib=libc++ -fno-exceptions -nostdinc++ -isystem../../download/src/buildtools/third_party/libc++/trunk/include -isystem../../download/src/buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -Wnon-virtual-dtor -Woverloaded-virtual -c ../../download/src/modules/audio_device/mac/audio_device_mac.cc -o obj/modules/audio_device/audio_device_impl/audio_device_mac.o
In file included from ../../download/src/modules/audio_device/mac/audio_device_mac.cc:13:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:26:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h:21:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h:20:
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h:140:5: error: unknown type name 'CFAttributedStringRef'; did you mean 'CFMutableStringRef'?
CFAttributedStringRef attrString ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:511:70: note: 'CFMutableStringRef' declared here
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableString) __CFString * CFMutableStringRef;
^
In file included from ../../download/src/modules/audio_device/mac/audio_device_mac.cc:13:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:26:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h:21:
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h:104:5: error: unknown type name 'CFAttributedStringRef'; did you mean 'CFMutableStringRef'?
CFAttributedStringRef string ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:511:70: note: 'CFMutableStringRef' declared here
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableString) __CFString * CFMutableStringRef;
^
In file included from ../../download/src/modules/audio_device/mac/audio_device_mac.cc:13:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:26:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h:21:
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h:132:5: error: unknown type name 'CFAttributedStringRef'; did you mean 'CFMutableStringRef'?
CFAttributedStringRef string,
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:511:70: note: 'CFMutableStringRef' declared here
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableString) __CFString * CFMutableStringRef;
^
In file included from ../../download/src/modules/audio_device/mac/audio_device_mac.cc:13:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:26:
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h:85:5: error: unknown type name 'CFAttributedStringRef'; did you mean 'CFMutableStringRef'?
CFAttributedStringRef attrString ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:511:70: note: 'CFMutableStringRef' declared here
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableString) __CFString * CFMutableStringRef;
^
../../download/src/modules/audio_device/mac/audio_device_mac.cc:1716:5: error: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror,-Wdeprecated-declarations]
sprintf(name, "default (%s)", devName);
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
5 errors generated.
ninja: build stopped: subcommand failed.
make[2]: *** [/Users/marcodotio/python-webrtc/third_party/libwebrtc/stamp/project_libwebrtc-build] Error 1
make[1]: *** [CMakeFiles/project_libwebrtc.dir/all] Error 2
make: *** [all] Error 2
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/Users/marcodotio/python-webrtc/setup.py", line 138, in <module>
setup(
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
self.build_extensions()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 466, in build_extensions
self._build_extensions_serial()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 492, in _build_extensions_serial
self.build_extension(ext)
File "/Users/marcodotio/python-webrtc/setup.py", line 124, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [276 lines of output]
running develop
/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running egg_info
writing python-webrtc/python/wrtc.egg-info/PKG-INFO
writing dependency_links to python-webrtc/python/wrtc.egg-info/dependency_links.txt
writing top-level names to python-webrtc/python/wrtc.egg-info/top_level.txt
reading manifest file 'python-webrtc/python/wrtc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.py[cod]' found anywhere in distribution
adding license file 'LICENSE.md'
writing manifest file 'python-webrtc/python/wrtc.egg-info/SOURCES.txt'
running build_ext
CMake Deprecation Warning at third_party/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- pybind11 v2.8.1
CMake Warning (dev) at third_party/pybind11/tools/FindPythonLibsNew.cmake:98 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
third_party/pybind11/tools/pybind11Tools.cmake:50 (find_package)
third_party/pybind11/tools/pybind11Common.cmake:206 (include)
third_party/pybind11/CMakeLists.txt:198 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done (0.2s)
-- Generating done (0.0s)
-- Build files have been written to: /Users/marcodotio/python-webrtc/build/temp.macosx-15.3-arm64-cpython-311
[ 1%] Performing update step for 'project_depot_tools'
-- Already at requested ref: cb340f5b7bbdcaba0fad346b08db91538619a531
[ 3%] No patch step for 'project_depot_tools'
[ 5%] No configure step for 'project_depot_tools'
[ 7%] No build step for 'project_depot_tools'
[ 9%] No install step for 'project_depot_tools'
[ 10%] Completed 'project_depot_tools'
[ 14%] Built target project_depot_tools
[ 16%] Performing build step for 'project_libwebrtc'
export PATH=$DEPOT_TOOLS:$PATH
export TARGETS="webrtc libjingle_peerconnection"
if [[ "$(uname)" == "Linux" && "$TARGET_ARCH" == arm* ]]; then
export TARGETS="$TARGETS pc:peerconnection libc++ libc++abi"
fi
uname
if [[ "$(uname)" == "Darwin" ]]; then
export TARGETS="$TARGETS libc++"
fi
uname
if [ -z "$PARALLELISM" ]; then
ninja $TARGETS
else
ninja $TARGETS -j $PARALLELISM
fi
[1/691] STAMP obj/third_party/abseil-cpp/absl/hash/city.stamp
[2/691] STAMP obj/third_party/abseil-cpp/absl/functional/function_ref.stamp
[3/691] STAMP obj/modules/audio_processing/agc2/common.stamp
[4/691] CXX obj/modules/audio_processing/agc2/biquad_filter/biquad_filter.o
[5/691] CXX obj/modules/audio_processing/agc2/cpu_features/cpu_features.o
[6/691] CXX obj/modules/audio_processing/agc2/fixed_digital/interpolated_gain_curve.o
[7/691] CXX obj/third_party/abseil-cpp/absl/hash/hash/hash.o
[8/691] STAMP obj/third_party/abseil-cpp/absl/hash/hash.stamp
[9/691] CXX obj/modules/audio_processing/agc2/gain_applier/gain_applier.o
[10/691] CXX obj/modules/audio_processing/agc2/fixed_digital/limiter.o
[11/691] CXX obj/modules/audio_processing/agc2/fixed_digital/fixed_digital_level_estimator.o
[12/691] CXX obj/modules/audio_processing/agc2/noise_level_estimator/down_sampler.o
[13/691] CXX obj/modules/audio_device/audio_device_impl/file_audio_device_factory.o
[14/691] STAMP obj/modules/audio_device/audio_device_impl_frameworks.stamp
[15/691] STAMP obj/rtc_base/system/ignore_warnings.stamp
[16/691] STAMP obj/rtc_base/system/inline.stamp
[17/691] STAMP obj/rtc_base/system/no_unique_address.stamp
[18/691] CXX obj/modules/audio_device/audio_device_impl/audio_mixer_manager_mac.o
FAILED: obj/modules/audio_device/audio_device_impl/audio_mixer_manager_mac.o
../../download/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/modules/audio_device/audio_device_impl/audio_mixer_manager_mac.o.d -D_LIBCPP_HAS_NO_ALIGNED_ALLOCATION -DCR_XCODE_VERSION=1620 -DCR_CLANG_REVISION=\"llvmorg-13-init-10392-gd3676d4b-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=8fa87946779682841e21e2da977eccfb6cb3bded -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DWEBRTC_HAVE_SCTP -DWEBRTC_ARCH_ARM64 -DWEBRTC_HAS_NEON -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_POSIX -DWEBRTC_MAC -DABSL_ALLOCATOR_NOTHROW=1 -I../../download/src -Igen -I../../download/src/third_party/abseil-cpp -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../download/src/tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -arch arm64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-omit-frame-pointer -gdwarf-4 -g2 -isysroot ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -mmacosx-version-min=10.11.0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wc++11-narrowing -Wimplicit-fallthrough -Wthread-safety -Winconsistent-missing-override -Wundef -Wunused-lambda-capture -Wno-shorten-64-to-32 -std=c++14 -fno-trigraphs -Wno-trigraphs -stdlib=libc++ -fno-exceptions -nostdinc++ -isystem../../download/src/buildtools/third_party/libc++/trunk/include -isystem../../download/src/buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -Wnon-virtual-dtor -Woverloaded-virtual -c ../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc -o obj/modules/audio_device/audio_device_impl/audio_mixer_manager_mac.o
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:106:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:119:5: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:144:3: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:158:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:168:3: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:190:3: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:221:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:237:14: error: use of undeclared identifier 'noErr'
if (err == noErr && isSettable) {
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:239:5: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectSetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:251:16: error: use of undeclared identifier 'noErr'
if (err == noErr && isSettable) {
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:253:7: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectSetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:273:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:287:5: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:301:9: error: use of undeclared identifier 'noErr'
WEBRTC_CA_RETURN_ON_ERR(AudioObjectGetPropertyData(
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:22:16: note: expanded from macro 'WEBRTC_CA_RETURN_ON_ERR'
if (err != noErr) { \
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:356:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:365:14: error: use of undeclared identifier 'noErr'
if (err == noErr && isSettable) {
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:376:16: error: use of undeclared identifier 'noErr'
if (err != noErr || !isSettable) {
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:394:18: error: use of undeclared identifier 'noErr'
OSStatus err = noErr;
^
../../download/src/modules/audio_device/mac/audio_mixer_manager_mac.cc:403:14: error: use of undeclared identifier 'noErr'
if (err == noErr && isSettable) {
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[19/691] STAMP obj/rtc_base/system/rtc_export.stamp
[20/691] CXX obj/modules/audio_device/audio_device_impl/audio_device_impl.o
FAILED: obj/modules/audio_device/audio_device_impl/audio_device_impl.o
../../download/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/modules/audio_device/audio_device_impl/audio_device_impl.o.d -D_LIBCPP_HAS_NO_ALIGNED_ALLOCATION -DCR_XCODE_VERSION=1620 -DCR_CLANG_REVISION=\"llvmorg-13-init-10392-gd3676d4b-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=8fa87946779682841e21e2da977eccfb6cb3bded -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DWEBRTC_HAVE_SCTP -DWEBRTC_ARCH_ARM64 -DWEBRTC_HAS_NEON -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_POSIX -DWEBRTC_MAC -DABSL_ALLOCATOR_NOTHROW=1 -I../../download/src -Igen -I../../download/src/third_party/abseil-cpp -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../download/src/tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -arch arm64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-omit-frame-pointer -gdwarf-4 -g2 -isysroot ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -mmacosx-version-min=10.11.0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wc++11-narrowing -Wimplicit-fallthrough -Wthread-safety -Winconsistent-missing-override -Wundef -Wunused-lambda-capture -Wno-shorten-64-to-32 -std=c++14 -fno-trigraphs -Wno-trigraphs -stdlib=libc++ -fno-exceptions -nostdinc++ -isystem../../download/src/buildtools/third_party/libc++/trunk/include -isystem../../download/src/buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -Wnon-virtual-dtor -Woverloaded-virtual -c ../../download/src/modules/audio_device/audio_device_impl.cc -o obj/modules/audio_device/audio_device_impl/audio_device_impl.o
In file included from ../../download/src/modules/audio_device/audio_device_impl.cc:49:
../../download/src/modules/audio_device/mac/audio_device_mac.h:283:5: error: '__MAC_OS_X_VERSION_MAX_ALLOWED' is not defined, evaluates to 0 [-Werror,-Wundef]
#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1050
^
1 error generated.
[21/691] CXX obj/modules/audio_device/audio_device_impl/audio_device_mac.o
FAILED: obj/modules/audio_device/audio_device_impl/audio_device_mac.o
../../download/src/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/modules/audio_device/audio_device_impl/audio_device_mac.o.d -D_LIBCPP_HAS_NO_ALIGNED_ALLOCATION -DCR_XCODE_VERSION=1620 -DCR_CLANG_REVISION=\"llvmorg-13-init-10392-gd3676d4b-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_ABI_UNSTABLE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCPP_ENABLE_NODISCARD -D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=8fa87946779682841e21e2da977eccfb6cb3bded -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=0 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DWEBRTC_HAVE_SCTP -DWEBRTC_ARCH_ARM64 -DWEBRTC_HAS_NEON -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_POSIX -DWEBRTC_MAC -DABSL_ALLOCATOR_NOTHROW=1 -I../../download/src -Igen -I../../download/src/third_party/abseil-cpp -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../download/src/tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers -arch arm64 -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes -Wall -Werror -Wextra -Wimplicit-fallthrough -Wunreachable-code -Wthread-safety -Wextra-semi -Wunguarded-availability -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-psabi -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-final-dtor-non-final-class -Wno-builtin-assume-aligned-alignment -Wno-deprecated-copy -Wno-non-c-typedef-for-linkage -Wno-max-tokens -O2 -fno-omit-frame-pointer -gdwarf-4 -g2 -isysroot ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk -mmacosx-version-min=10.11.0 -ftrivial-auto-var-init=pattern -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wc++11-narrowing -Wimplicit-fallthrough -Wthread-safety -Winconsistent-missing-override -Wundef -Wunused-lambda-capture -Wno-shorten-64-to-32 -std=c++14 -fno-trigraphs -Wno-trigraphs -stdlib=libc++ -fno-exceptions -nostdinc++ -isystem../../download/src/buildtools/third_party/libc++/trunk/include -isystem../../download/src/buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -Wnon-virtual-dtor -Woverloaded-virtual -c ../../download/src/modules/audio_device/mac/audio_device_mac.cc -o obj/modules/audio_device/audio_device_impl/audio_device_mac.o
In file included from ../../download/src/modules/audio_device/mac/audio_device_mac.cc:13:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:26:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h:21:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h:20:
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h:140:5: error: unknown type name 'CFAttributedStringRef'; did you mean 'CFMutableStringRef'?
CFAttributedStringRef attrString ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:511:70: note: 'CFMutableStringRef' declared here
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableString) __CFString * CFMutableStringRef;
^
In file included from ../../download/src/modules/audio_device/mac/audio_device_mac.cc:13:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:26:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h:21:
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h:104:5: error: unknown type name 'CFAttributedStringRef'; did you mean 'CFMutableStringRef'?
CFAttributedStringRef string ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:511:70: note: 'CFMutableStringRef' declared here
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableString) __CFString * CFMutableStringRef;
^
In file included from ../../download/src/modules/audio_device/mac/audio_device_mac.cc:13:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:26:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h:21:
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h:132:5: error: unknown type name 'CFAttributedStringRef'; did you mean 'CFMutableStringRef'?
CFAttributedStringRef string,
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:511:70: note: 'CFMutableStringRef' declared here
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableString) __CFString * CFMutableStringRef;
^
In file included from ../../download/src/modules/audio_device/mac/audio_device_mac.cc:13:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:39:
In file included from ../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h:26:
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h:85:5: error: unknown type name 'CFAttributedStringRef'; did you mean 'CFMutableStringRef'?
CFAttributedStringRef attrString ) CT_AVAILABLE(macos(10.5), ios(3.2), watchos(2.0), tvos(9.0));
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:511:70: note: 'CFMutableStringRef' declared here
typedef struct CF_BRIDGED_MUTABLE_TYPE(NSMutableString) __CFString * CFMutableStringRef;
^
../../download/src/modules/audio_device/mac/audio_device_mac.cc:1716:5: error: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Werror,-Wdeprecated-declarations]
sprintf(name, "default (%s)", devName);
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/_stdio.h:274:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/sys/cdefs.h:218:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
5 errors generated.
ninja: build stopped: subcommand failed.
make[2]: *** [/Users/marcodotio/python-webrtc/third_party/libwebrtc/stamp/project_libwebrtc-build] Error 1
make[1]: *** [CMakeFiles/project_libwebrtc.dir/all] Error 2
make: *** [all] Error 2
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/Users/marcodotio/python-webrtc/setup.py", line 138, in <module>
setup(
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/command/develop.py", line 34, in run
self.install_for_development()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/command/develop.py", line 114, in install_for_development
self.run_command('build_ext')
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
self.build_extensions()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 466, in build_extensions
self._build_extensions_serial()
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 492, in _build_extensions_serial
self.build_extension(ext)
File "/Users/marcodotio/python-webrtc/setup.py", line 124, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/Users/marcodotio/.pyenv/versions/3.11.6/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
[notice] A new release of pip is available: 23.0.1 -> 24.3.1
[notice] To update, run: pip install --upgrade pip
Metadata
Metadata
Assignees
Labels
No labels