Build error for 1.26.1
Ke Shen
kshen at sovato.com
Fri May 23 05:33:14 UTC 2025
Here is my solution to my problem.
I went into ~/.cargo directory and edited registry/src/index.crates.io-6f17d22bba15001f/native-tls-0.2.14/build.rs. I commented the following line
` println!("cargo::rustc-check-cfg=cfg(have_min_max_version)") `
The build went past the previous stop point. But at the end, it gave me the following error:
Compiling gst-plugin-rtp v0.12.1 (gstreamer/subprojects/gst-plugins-rs/net/rtp)
warning: use of deprecated field `livekit_protocol::AddTrackRequest::disable_dtx`
--> net/webrtc/src/livekit_signaller/imp.rs:413:29
|
413 | ... disable_dtx: true,
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
error[E0063]: missing field `final` in initializer of `TrickleRequest`
--> net/webrtc/src/livekit_signaller/imp.rs:476:37
|
476 | ... proto::TrickleRequest {
| ^^^^^^^^^^^^^^^^^^^^^ missing `final`
error[E0063]: missing field `final` in initializer of `TrickleRequest`
--> net/webrtc/src/livekit_signaller/imp.rs:525:25
|
525 | proto::TrickleRequest {
| ^^^^^^^^^^^^^^^^^^^^^ missing `final`
error: could not compile `gst-plugin-webrtc` (lib) due to 2 previous errors; 1 warning emitted
Any suggestions?
Thanks,
Ke
From: Ke Shen <kshen at sovato.com>
Date: Thursday, May 22, 2025 at 3:04 PM
To: gstreamer-devel at lists.freedesktop.org <gstreamer-devel at lists.freedesktop.org>
Subject: Build error for 1.26.1
Hi,
I’m trying to build 1.26.1 on Ubuntu linux, and got the following error.
error: unsupported output in build script of `native-tls v0.2.14`: `cargo::rustc-check-cfg=cfg(have_min_max_version)`
Found a `cargo::key=value` build directive which is reserved for future use.
Either change the directive to `cargo:key=value` syntax (note the single `:`) or upgrade your version of Rust.
See https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script for more information about build script outputs.
warning: build failed, waiting for other jobs to finish...
Error: CliError { error: Some(1 job failed), exit_code: 101 }
I’m using version 1.87 of Cargo and rustc.
Thanks,
Ke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20250523/beb95649/attachment-0001.htm>
More information about the gstreamer-devel
mailing list