You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
# Run unit tests on simulator. Return True if all tests are passed.defruntest(ssl_root):
print('Start running unit tests.')
# Build app targets checks link issue.ifnotninjabuild(TEST_ARCH, TEST_SCHEME, SDK_TARGETS+APP_TARGETS+TEST_TARGETS):
returnFalsefortest_targetinTEST_TARGETS:
ifsubprocess.call(['./iossim', '-d', TEST_SIMULATOR_DEVICE, '-s',
getsdkversion(), '%s.app'%test_target],
cwd=getoutputpath(TEST_ARCH, TEST_SCHEME)):
returnFalsereturnTrue
causing these errors:
FAILED: obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/dtls_transport_unittest.o
clang++ -MMD -MF obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/dtls_transport_unittest.o.d -DCR_XCODE_VERSION=1250 -DCR_CLANG_REVISION=\"llvmorg-12-init-11060-g118c3f3c-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWEBRTC_ENABLE_PROTOBUF=1 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DHAVE_SCTP -DHAVE_WEBRTC_VIDEO -DLOGGING_INSIDE_WEBRTC -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_POSIX -DWEBRTC_MAC -DWEBRTC_IOS -DABSL_ALLOCATOR_NOTHROW=1 -DABSL_FLAGS_STRIP_NAMES=0 -DGTEST_API_= -DGTEST_HAS_POSIX_RE=0 -DGTEST_LANG_CXX11=1 -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_HAS_ABSL=1 -DHAVE_SCTP -DUNIT_TEST -DPACKAGE_STRING=\"libsrtp2\ 2.1.0-pre\" -DPACKAGE_VERSION=\"2.1.0-pre\" -DHAVE_CONFIG_H -DOPENSSL -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_INT16_T -DHAVE_INT32_T -DHAVE_INT8_T -DHAVE_UINT16_T -DHAVE_UINT32_T -DHAVE_UINT64_T -DHAVE_UINT8_T -DHAVE_ARPA_INET_H -DHAVE_NETINET_IN_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DOPENSSL_NO_ASM -I../../third_party/libsrtp/srtp -I../.. -Igen -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abseil-cpp -I../../third_party/libyuv/include -I../../third_party/googletest/custom -I../../third_party/googletest/src/googlemock/include -I../../third_party/googletest/custom -I../../third_party/googletest/src/googletest/include -I../../third_party/abseil-cpp -I../../third_party/libsrtp -I../../third_party/libsrtp/config -I../../third_party/libsrtp/include -I../../third_party/libsrtp/crypto/include -I../../third_party/boringssl/src/include -fno-delete-null-pointer-checks -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fcolor-diagnostics -fmerge-all-constants -target x86_64-apple-ios9.0-simulator -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 -Wundeclared-selector -Wno-range-loop-analysis -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -O0 -fno-omit-frame-pointer -g2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-shorten-64-to-32 -Wno-inconsistent-missing-override -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -c ../../third_party/webrtc/pc/dtls_transport_unittest.cc -o obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/dtls_transport_unittest.o
In file included from ../../third_party/webrtc/pc/dtls_transport_unittest.cc:11:
In file included from ../../third_party/webrtc/pc/dtls_transport.h:19:
In file included from ../../third_party/webrtc/p2p/base/dtls_transport.h:19:
In file included from ../../third_party/webrtc/p2p/base/dtls_transport_internal.h:23:
In file included from ../../third_party/webrtc/p2p/base/ice_transport_internal.h:22:
In file included from ../../third_party/webrtc/p2p/base/connection.h:26:
In file included from ../../third_party/webrtc/p2p/base/transport_description.h:22:
../../third_party/webrtc/rtc_base/ssl_fingerprint.h:60:3: error: definition of implicit copy assignment operator for 'SSLFingerprint' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy]
SSLFingerprint(const SSLFingerprint& from);
^
../../third_party/webrtc/p2p/base/fake_dtls_transport.h:139:23: note: in implicit copy assignment operator for 'rtc::SSLFingerprint' first required here
dtls_fingerprint_ =
^
In file included from ../../third_party/webrtc/pc/dtls_transport_unittest.cc:11:
In file included from ../../third_party/webrtc/pc/dtls_transport.h:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/memory:2755:32: error: no matching constructor for initialization of 'cricket::FakeIceTransport'
return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../third_party/webrtc/p2p/base/fake_dtls_transport.h:59:32: note: in instantiation of function template specialization 'std::__1::make_unique<cricket::FakeIceTransport, const std::__1::basic_string<char> &, int &>' requested here
: FakeDtlsTransport(std::make_unique<FakeIceTransport>(name, component)) {
^
../../third_party/webrtc/p2p/base/fake_ice_transport.h:28:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
class FakeIceTransport : public IceTransportInternal {
^
../../third_party/webrtc/p2p/base/fake_ice_transport.h:30:12: note: candidate constructor not viable: requires at least 3 arguments, but 2 were provided
explicit FakeIceTransport(const std::string& name,
^
In file included from ../../third_party/webrtc/pc/dtls_transport_unittest.cc:11:
In file included from ../../third_party/webrtc/pc/dtls_transport.h:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/memory:2755:32: error: allocating an object of abstract class type 'cricket::FakeDtlsTransport'
return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
^
../../third_party/webrtc/pc/dtls_transport_unittest.cc:59:35: note: in instantiation of function template specialization 'std::__1::make_unique<cricket::FakeDtlsTransport, char const (&)[6], const int &>' requested here
auto cricket_transport = std::make_unique<FakeDtlsTransport>(
^
../../third_party/webrtc/p2p/base/packet_transport_internal.h:34:30: note: unimplemented pure virtual method 'media_type' in 'FakeDtlsTransport'
virtual cricket::MediaType media_type() const = 0;
^
3 errors generated.
[6/26] CXX obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/ice_transport_unittest.o
FAILED: obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/ice_transport_unittest.o
clang++ -MMD -MF obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/ice_transport_unittest.o.d -DCR_XCODE_VERSION=1250 -DCR_CLANG_REVISION=\"llvmorg-12-init-11060-g118c3f3c-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWEBRTC_ENABLE_PROTOBUF=1 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DHAVE_SCTP -DHAVE_WEBRTC_VIDEO -DLOGGING_INSIDE_WEBRTC -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_POSIX -DWEBRTC_MAC -DWEBRTC_IOS -DABSL_ALLOCATOR_NOTHROW=1 -DABSL_FLAGS_STRIP_NAMES=0 -DGTEST_API_= -DGTEST_HAS_POSIX_RE=0 -DGTEST_LANG_CXX11=1 -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_HAS_ABSL=1 -DHAVE_SCTP -DUNIT_TEST -DPACKAGE_STRING=\"libsrtp2\ 2.1.0-pre\" -DPACKAGE_VERSION=\"2.1.0-pre\" -DHAVE_CONFIG_H -DOPENSSL -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_INT16_T -DHAVE_INT32_T -DHAVE_INT8_T -DHAVE_UINT16_T -DHAVE_UINT32_T -DHAVE_UINT64_T -DHAVE_UINT8_T -DHAVE_ARPA_INET_H -DHAVE_NETINET_IN_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DOPENSSL_NO_ASM -I../../third_party/libsrtp/srtp -I../.. -Igen -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abseil-cpp -I../../third_party/libyuv/include -I../../third_party/googletest/custom -I../../third_party/googletest/src/googlemock/include -I../../third_party/googletest/custom -I../../third_party/googletest/src/googletest/include -I../../third_party/abseil-cpp -I../../third_party/libsrtp -I../../third_party/libsrtp/config -I../../third_party/libsrtp/include -I../../third_party/libsrtp/crypto/include -I../../third_party/boringssl/src/include -fno-delete-null-pointer-checks -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fcolor-diagnostics -fmerge-all-constants -target x86_64-apple-ios9.0-simulator -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 -Wundeclared-selector -Wno-range-loop-analysis -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -O0 -fno-omit-frame-pointer -g2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-shorten-64-to-32 -Wno-inconsistent-missing-override -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -c ../../third_party/webrtc/pc/ice_transport_unittest.cc -o obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/ice_transport_unittest.o
In file included from ../../third_party/webrtc/pc/ice_transport_unittest.cc:11:
In file included from ../../third_party/webrtc/pc/ice_transport.h:14:
In file included from ../../third_party/webrtc/api/ice_transport_interface.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/string:506:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/string_view:175:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/__string:57:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/algorithm:643:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/memory:2755:32: error: no matching constructor for initialization of 'cricket::FakeIceTransport'
return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../third_party/webrtc/pc/ice_transport_unittest.cc:30:12: note: in instantiation of function template specialization 'std::__1::make_unique<cricket::FakeIceTransport, char const (&)[5], int, nullptr_t>' requested here
std::make_unique<cricket::FakeIceTransport>("name", 0, nullptr);
^
../../third_party/webrtc/p2p/base/fake_ice_transport.h:30:12: note: candidate constructor not viable: no known conversion from 'int' to 'cricket::MediaType' for 2nd argument
explicit FakeIceTransport(const std::string& name,
^
../../third_party/webrtc/p2p/base/fake_ice_transport.h:28:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
class FakeIceTransport : public IceTransportInternal {
^
1 error generated.
[7/26] CXX obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/rtp_transport_unittest.o
FAILED: obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/rtp_transport_unittest.o
clang++ -MMD -MF obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/rtp_transport_unittest.o.d -DCR_XCODE_VERSION=1250 -DCR_CLANG_REVISION=\"llvmorg-12-init-11060-g118c3f3c-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWEBRTC_ENABLE_PROTOBUF=1 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DHAVE_SCTP -DHAVE_WEBRTC_VIDEO -DLOGGING_INSIDE_WEBRTC -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_POSIX -DWEBRTC_MAC -DWEBRTC_IOS -DABSL_ALLOCATOR_NOTHROW=1 -DABSL_FLAGS_STRIP_NAMES=0 -DGTEST_API_= -DGTEST_HAS_POSIX_RE=0 -DGTEST_LANG_CXX11=1 -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_HAS_ABSL=1 -DHAVE_SCTP -DUNIT_TEST -DPACKAGE_STRING=\"libsrtp2\ 2.1.0-pre\" -DPACKAGE_VERSION=\"2.1.0-pre\" -DHAVE_CONFIG_H -DOPENSSL -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_INT16_T -DHAVE_INT32_T -DHAVE_INT8_T -DHAVE_UINT16_T -DHAVE_UINT32_T -DHAVE_UINT64_T -DHAVE_UINT8_T -DHAVE_ARPA_INET_H -DHAVE_NETINET_IN_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DOPENSSL_NO_ASM -I../../third_party/libsrtp/srtp -I../.. -Igen -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abseil-cpp -I../../third_party/libyuv/include -I../../third_party/googletest/custom -I../../third_party/googletest/src/googlemock/include -I../../third_party/googletest/custom -I../../third_party/googletest/src/googletest/include -I../../third_party/abseil-cpp -I../../third_party/libsrtp -I../../third_party/libsrtp/config -I../../third_party/libsrtp/include -I../../third_party/libsrtp/crypto/include -I../../third_party/boringssl/src/include -fno-delete-null-pointer-checks -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fcolor-diagnostics -fmerge-all-constants -target x86_64-apple-ios9.0-simulator -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 -Wundeclared-selector -Wno-range-loop-analysis -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -O0 -fno-omit-frame-pointer -g2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-shorten-64-to-32 -Wno-inconsistent-missing-override -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -c ../../third_party/webrtc/pc/rtp_transport_unittest.cc -o obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/rtp_transport_unittest.o
../../third_party/webrtc/pc/rtp_transport_unittest.cc:86:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtcp("fake_rtcp");
^
../../third_party/webrtc/p2p/base/packet_transport_internal.h:34:30: note: unimplemented pure virtual method 'media_type' in 'FakePacketTransport'
virtual cricket::MediaType media_type() const = 0;
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:88:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtp("fake_rtp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:100:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtcp("fake_rtcp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:102:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtp("fake_rtp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:114:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtp("fake_rtp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:124:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtp("fake_rtp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:137:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtp("fake_rtp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:151:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtp("fake_rtp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:180:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtcp("fake_rtcp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:212:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtcp("fake_rtcp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:213:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtp("fake_rtp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:235:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtp("fake_rtp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:259:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtp("fake_rtp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:282:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtp("fake_rtp");
^
../../third_party/webrtc/pc/rtp_transport_unittest.cc:306:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport fake_rtp("fake_rtp");
^
15 errors generated.
[8/26] CXX obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/composite_rtp_transport_test.o
FAILED: obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/composite_rtp_transport_test.o
clang++ -MMD -MF obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/composite_rtp_transport_test.o.d -DCR_XCODE_VERSION=1250 -DCR_CLANG_REVISION=\"llvmorg-12-init-11060-g118c3f3c-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWEBRTC_ENABLE_PROTOBUF=1 -DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE -DRTC_ENABLE_VP9 -DHAVE_SCTP -DHAVE_WEBRTC_VIDEO -DLOGGING_INSIDE_WEBRTC -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=1 -DWEBRTC_POSIX -DWEBRTC_MAC -DWEBRTC_IOS -DABSL_ALLOCATOR_NOTHROW=1 -DABSL_FLAGS_STRIP_NAMES=0 -DGTEST_API_= -DGTEST_HAS_POSIX_RE=0 -DGTEST_LANG_CXX11=1 -DGTEST_HAS_TR1_TUPLE=0 -DGTEST_HAS_ABSL=1 -DHAVE_SCTP -DUNIT_TEST -DPACKAGE_STRING=\"libsrtp2\ 2.1.0-pre\" -DPACKAGE_VERSION=\"2.1.0-pre\" -DHAVE_CONFIG_H -DOPENSSL -DHAVE_STDLIB_H -DHAVE_STRING_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DHAVE_INT16_T -DHAVE_INT32_T -DHAVE_INT8_T -DHAVE_UINT16_T -DHAVE_UINT32_T -DHAVE_UINT64_T -DHAVE_UINT8_T -DHAVE_ARPA_INET_H -DHAVE_NETINET_IN_H -DHAVE_SYS_TYPES_H -DHAVE_UNISTD_H -DOPENSSL_NO_ASM -I../../third_party/libsrtp/srtp -I../.. -Igen -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abseil-cpp -I../../third_party/libyuv/include -I../../third_party/googletest/custom -I../../third_party/googletest/src/googlemock/include -I../../third_party/googletest/custom -I../../third_party/googletest/src/googletest/include -I../../third_party/abseil-cpp -I../../third_party/libsrtp -I../../third_party/libsrtp/config -I../../third_party/libsrtp/include -I../../third_party/libsrtp/crypto/include -I../../third_party/boringssl/src/include -fno-delete-null-pointer-checks -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fcolor-diagnostics -fmerge-all-constants -target x86_64-apple-ios9.0-simulator -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 -Wundeclared-selector -Wno-range-loop-analysis -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -O0 -fno-omit-frame-pointer -g2 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-shorten-64-to-32 -Wno-inconsistent-missing-override -Wno-undefined-bool-conversion -Wno-tautological-undefined-compare -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -c ../../third_party/webrtc/pc/composite_rtp_transport_test.cc -o obj/third_party/webrtc/pc/rtc_pc_unittests_arch_executable_sources/composite_rtp_transport_test.o
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:261:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport remote("remote");
^
../../third_party/webrtc/p2p/base/packet_transport_internal.h:34:30: note: unimplemented pure virtual method 'media_type' in 'FakePacketTransport'
virtual cricket::MediaType media_type() const = 0;
^
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:272:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport remote("remote");
^
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:285:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport remote("remote");
^
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:298:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport remote("remote");
^
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:309:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport remote("remote");
^
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:322:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport remote("remote");
^
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:335:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport remote("remote");
^
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:349:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport remote("remote");
^
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:363:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport remote("remote");
^
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:377:28: error: variable type 'rtc::FakePacketTransport' is an abstract class
rtc::FakePacketTransport remote("remote");
^
In file included from ../../third_party/webrtc/pc/composite_rtp_transport_test.cc:11:
In file included from ../../third_party/webrtc/pc/composite_rtp_transport.h:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/memory:2755:32: error: allocating an object of abstract class type 'rtc::FakePacketTransport'
return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
^
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:36:18: note: in instantiation of function template specialization 'std::__1::make_unique<rtc::FakePacketTransport, char const (&)[15]>' requested here
std::make_unique<rtc::FakePacketTransport>(kTransportName)),
^
In file included from ../../third_party/webrtc/pc/composite_rtp_transport_test.cc:11:
In file included from ../../third_party/webrtc/pc/composite_rtp_transport.h:14:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/usr/include/c++/v1/memory:2755:32: error: allocating an object of abstract class type 'rtc::FakePacketTransport'
return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
^
../../third_party/webrtc/pc/composite_rtp_transport_test.cc:40:18: note: in instantiation of function template specialization 'std::__1::make_unique<rtc::FakePacketTransport, char const (&)[20]>' requested here
std::make_unique<rtc::FakePacketTransport>(kRtcpTransportName)),
^
12 errors generated.
(and others)
The text was updated successfully, but these errors were encountered:
Based on #514 (comment) there are several errors that stop building for iOS.
Changes go back to commit open-webrtc-toolkit/owt-deps-webrtc@535f946 from @taste1981
@taste1981 can you have a look?
/cc @jianjunz belveder79
Build details
python3 scripts/build.py
Error
Called by the build.py script in this area:
causing these errors:
(and others)
The text was updated successfully, but these errors were encountered: