Created
May 21, 2025 15:40
-
-
Save G36maid/f101a86efd36d9c7129fcdb444c45d7c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error: failed to run custom build command for `webrtc-sys v0.3.7 (https://github.com/zed-industries/livekit-rust-sdks?rev=80bb8f4c9112789f7c24cc98d8423010977806a6#80bb8f4c)` | |
Caused by: | |
process didn't exit successfully: `/home/g36maid/zed/target/debug/build/webrtc-sys-b3ef226b7c3de47b/build-script-build` (exit status: 101) | |
--- stdout | |
cargo:rerun-if-env-changed=LK_DEBUG_WEBRTC | |
cargo:rerun-if-env-changed=LK_CUSTOM_WEBRTC | |
cargo:CXXBRIDGE_PREFIX=webrtc-sys | |
cargo:CXXBRIDGE_DIR0=/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/include | |
cargo:CXXBRIDGE_DIR1=/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/crate | |
--- stderr | |
CXX include path: | |
/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/include | |
/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/crate | |
thread 'main' panicked at /home/g36maid/.cargo/git/checkouts/livekit-rust-sdks-d281d0d44fd23f40/80bb8f4/webrtc-sys/build.rs:89:45: | |
called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("github.com")), port: None, path: "/livekit/client-sdk-rust/releases/download/webrtc-b99fd2c-6/webrtc-freebsd-x64-release.zip", query: None, fragment: None }, source: hyper::Error(Connect, Custom { kind: Other, error: Custom { kind: InvalidData, error: InvalidCertificate(UnknownIssuer) } }) } | |
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace | |
warning: build failed, waiting for other jobs to finish... | |
warning: `gpui` (lib) generated 1 warning | |
[g36maid@freebsd-test ~/zed]$ vim .cargo/config.toml | |
[g36maid@freebsd-test ~/zed]$ vim .cargo/config.toml | |
[g36maid@freebsd-test ~/zed]$ cargo test | |
warning: method `update_drawable_size_even_if_unchanged` is never used | |
--> crates/gpui/src/platform/blade/blade_renderer.rs:425:12 | |
| | |
328 | impl BladeRenderer { | |
| ------------------ method in this implementation | |
... | |
425 | pub fn update_drawable_size_even_if_unchanged(&mut self, size: Size<DevicePixels>) { | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | |
= note: `#[warn(dead_code)]` on by default | |
warning: `gpui` (lib) generated 1 warning | |
ude/third_party/libyuv/include/" "-I" "/home/g36maid/linux-x64-release/include/third_party/libc++/" "-I" "/home/g36maid/linux-x64-release/include/sdk/objc" "-I" "/home/g36maid/linux-x64-release/include/sdk/objc/base" "-std=c++2a" "-DWEBRTC_APM_DEBUG_DUMP=0" "-DUSE_UDEV" "-DUSE_AURA=1" "-DUSE_GLIB=1" "-DUSE_OZONE=1" "-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D_FORTIFY_SOURCE=2" "-D_FILE_OFFSET_BITS=64" "-D_LARGEFILE_SOURCE" "-D_LARGEFILE64_SOURCE" "-D_GNU_SOURCE" "-DCR_SYSROOT_KEY=20230329T085712Z-1" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_USE_LIBAOM_AV1_ENCODER" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_POSIX" "-DWEBRTC_LINUX" "-DABSL_ALLOCATOR_NOTHROW=1" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-o" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/0602fb52cb66f316-video_encoder_factory.o" "-c" "src/video_encoder_factory.cpp"cargo:warning=In file included from src/video_decoder_factory.cpp:17: | |
cargo:warning=./include/livekit/video_decoder_factory.h:34:21: error: no type named 'Environment' in namespace 'webrtc' | |
cargo:warning= 34 | const webrtc::Environment& env, const webrtc::SdpVideoFormat& format) override; | |
cargo:warning= | ~~~~~~~~^ | |
cargo:warning=src/video_decoder_factory.cpp:20:10: fatal error: 'api/environment/environment.h' file not found | |
cargo:warning= 20 | #include "api/environment/environment.h" | |
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
cargo:warning=2 errors generated. | |
exit status: 1 | |
cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-stdlib=libc++" "--target=x86_64-unknown-freebsd" "-I" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/include" "-I" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/crate" "-I" "./include" "-I" "/home/g36maid/linux-x64-release/include" "-I" "/home/g36maid/linux-x64-release/include/third_party/abseil-cpp/" "-I" "/home/g36maid/linux-x64-release/include/third_party/libyuv/include/" "-I" "/home/g36maid/linux-x64-release/include/third_party/libc++/" "-I" "/home/g36maid/linux-x64-release/include/sdk/objc" "-I" "/home/g36maid/linux-x64-release/include/sdk/objc/base" "-std=c++2a" "-DWEBRTC_APM_DEBUG_DUMP=0" "-DUSE_UDEV" "-DUSE_AURA=1" "-DUSE_GLIB=1" "-DUSE_OZONE=1" "-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D_FORTIFY_SOURCE=2" "-D_FILE_OFFSET_BITS=64" "-D_LARGEFILE_SOURCE" "-D_LARGEFILE64_SOURCE" "-D_GNU_SOURCE" "-DCR_SYSROOT_KEY=20230329T085712Z-1" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_USE_LIBAOM_AV1_ENCODER" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_POSIX" "-DWEBRTC_LINUX" "-DABSL_ALLOCATOR_NOTHROW=1" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-o" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/0602fb52cb66f316-video_decoder_factory.o" "-c" "src/video_decoder_factory.cpp"cargo:warning=In file included from src/audio_resampler.cpp:17: | |
cargo:warning=In file included from ./include/livekit/audio_resampler.h:24: | |
cargo:warning=In file included from ./include/livekit/webrtc.h:26: | |
cargo:warning=/home/g36maid/linux-x64-release/include/rtc_base/physical_socket_server.h:19:10: fatal error: 'sys/epoll.h' file not found | |
cargo:warning= 19 | #include <sys/epoll.h> | |
cargo:warning= | ^~~~~~~~~~~~~ | |
cargo:warning=1 error generated. | |
exit status: 0 | |
exit status: 1 | |
cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-stdlib=libc++" "--target=x86_64-unknown-freebsd" "-I" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/include" "-I" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/crate" "-I" "./include" "-I" "/home/g36maid/linux-x64-release/include" "-I" "/home/g36maid/linux-x64-release/include/third_party/abseil-cpp/" "-I" "/home/g36maid/linux-x64-release/include/third_party/libyuv/include/" "-I" "/home/g36maid/linux-x64-release/include/third_party/libc++/" "-I" "/home/g36maid/linux-x64-release/include/sdk/objc" "-I" "/home/g36maid/linux-x64-release/include/sdk/objc/base" "-std=c++2a" "-DWEBRTC_APM_DEBUG_DUMP=0" "-DUSE_UDEV" "-DUSE_AURA=1" "-DUSE_GLIB=1" "-DUSE_OZONE=1" "-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D_FORTIFY_SOURCE=2" "-D_FILE_OFFSET_BITS=64" "-D_LARGEFILE_SOURCE" "-D_LARGEFILE64_SOURCE" "-D_GNU_SOURCE" "-DCR_SYSROOT_KEY=20230329T085712Z-1" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_USE_LIBAOM_AV1_ENCODER" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_POSIX" "-DWEBRTC_LINUX" "-DABSL_ALLOCATOR_NOTHROW=1" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-o" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/0602fb52cb66f316-audio_resampler.o" "-c" "src/audio_resampler.cpp"cargo:warning=In file included from src/frame_cryptor.cpp:17: | |
cargo:warning=In file included from ./include/livekit/frame_cryptor.h:27: | |
cargo:warning=In file included from ./include/livekit/peer_connection.h:23: | |
cargo:warning=In file included from ./include/livekit/data_channel.h:23: | |
cargo:warning=In file included from ./include/livekit/webrtc.h:26: | |
cargo:warning=/home/g36maid/linux-x64-release/include/rtc_base/physical_socket_server.h:19:10: fatal error: 'sys/epoll.h' file not found | |
cargo:warning= 19 | #include <sys/epoll.h> | |
cargo:warning= | ^~~~~~~~~~~~~ | |
cargo:warning=1 error generated. | |
exit status: 0 | |
exit status: 0 | |
exit status: 1 | |
cargo:warning=ToolExecError: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-stdlib=libc++" "--target=x86_64-unknown-freebsd" "-I" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/include" "-I" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/crate" "-I" "./include" "-I" "/home/g36maid/linux-x64-release/include" "-I" "/home/g36maid/linux-x64-release/include/third_party/abseil-cpp/" "-I" "/home/g36maid/linux-x64-release/include/third_party/libyuv/include/" "-I" "/home/g36maid/linux-x64-release/include/third_party/libc++/" "-I" "/home/g36maid/linux-x64-release/include/sdk/objc" "-I" "/home/g36maid/linux-x64-release/include/sdk/objc/base" "-std=c++2a" "-DWEBRTC_APM_DEBUG_DUMP=0" "-DUSE_UDEV" "-DUSE_AURA=1" "-DUSE_GLIB=1" "-DUSE_OZONE=1" "-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D_FORTIFY_SOURCE=2" "-D_FILE_OFFSET_BITS=64" "-D_LARGEFILE_SOURCE" "-D_LARGEFILE64_SOURCE" "-D_GNU_SOURCE" "-DCR_SYSROOT_KEY=20230329T085712Z-1" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_USE_LIBAOM_AV1_ENCODER" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_POSIX" "-DWEBRTC_LINUX" "-DABSL_ALLOCATOR_NOTHROW=1" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-o" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/0602fb52cb66f316-frame_cryptor.o" "-c" "src/frame_cryptor.cpp" | |
exit status: 0 | |
exit status: 0 | |
--- stderr | |
CXX include path: | |
/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/include | |
/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/crate | |
error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-stdlib=libc++" "--target=x86_64-unknown-freebsd" "-I" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/include" "-I" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/cxxbridge/crate" "-I" "./include" "-I" "/home/g36maid/linux-x64-release/include" "-I" "/home/g36maid/linux-x64-release/include/third_party/abseil-cpp/" "-I" "/home/g36maid/linux-x64-release/include/third_party/libyuv/include/" "-I" "/home/g36maid/linux-x64-release/include/third_party/libc++/" "-I" "/home/g36maid/linux-x64-release/include/sdk/objc" "-I" "/home/g36maid/linux-x64-release/include/sdk/objc/base" "-std=c++2a" "-DWEBRTC_APM_DEBUG_DUMP=0" "-DUSE_UDEV" "-DUSE_AURA=1" "-DUSE_GLIB=1" "-DUSE_OZONE=1" "-D__STDC_CONSTANT_MACROS" "-D__STDC_FORMAT_MACROS" "-D_FORTIFY_SOURCE=2" "-D_FILE_OFFSET_BITS=64" "-D_LARGEFILE_SOURCE" "-D_LARGEFILE64_SOURCE" "-D_GNU_SOURCE" "-DCR_SYSROOT_KEY=20230329T085712Z-1" "-DNDEBUG" "-DNVALGRIND" "-DDYNAMIC_ANNOTATIONS_ENABLED=0" "-DWEBRTC_ENABLE_PROTOBUF=0" "-DWEBRTC_STRICT_FIELD_TRIALS=0" "-DWEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" "-DRTC_USE_LIBAOM_AV1_ENCODER" "-DRTC_ENABLE_VP9" "-DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY" "-DWEBRTC_HAVE_SCTP" "-DWEBRTC_USE_H264" "-DWEBRTC_LIBRARY_IMPL" "-DWEBRTC_ENABLE_AVX2" "-DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0" "-DWEBRTC_POSIX" "-DWEBRTC_LINUX" "-DABSL_ALLOCATOR_NOTHROW=1" "-DLIBYUV_DISABLE_NEON" "-DLIVEKIT_TEST" "-o" "/home/g36maid/zed/target/debug/build/webrtc-sys-c9cafc2f893ef5b4/out/0602fb52cb66f316-frame_cryptor.o" "-c" "src/frame_cryptor.cpp" | |
warning: build failed, waiting for other jobs to finish.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment