<html><head>
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:"Times New Roman \(Body CS\)";
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#467886;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
<style>pre,code,address {
margin: 0px;
}
h1,h2,h3,h4,h5,h6 {
margin-top: 0.2em;
margin-bottom: 0.2em;
}
ol,ul {
margin-top: 0em;
margin-bottom: 0em;
}
blockquote {
margin-top: 0em;
margin-bottom: 0em;
}
</style></head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word"><div>Hi,</div><div><br></div><div>Best to file an issue in GitLab if it's something that needs fixing :)</div><div><br></div><div><a href="https://gitlab.freedesktop.org/gstreamer/gstreamer/">https://gitlab.freedesktop.org/gstreamer/gstreamer/</a></div><div><br></div><div>Cheers</div><div> Tim</div><div><br></div><div>On Fri, 2025-05-23 at 05:33 +0000, Ke Shen via gstreamer-devel wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt">Here is my solution to my problem.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">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<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">`</span> <span style="font-size:12.0pt">println!("cargo::rustc-check-cfg=cfg(have_min_max_version)") `<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">The build went past the previous stop point. But at the end, it gave me the following error:<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> Compiling gst-plugin-rtp v0.12.1 (gstreamer/subprojects/gst-plugins-rs/net/rtp)<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">warning: use of deprecated field `livekit_protocol::AddTrackRequest::disable_dtx`<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> --> net/webrtc/src/livekit_signaller/imp.rs:413:29<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> |<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">413 | ... disable_dtx: true,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> | ^^^^^^^^^^^^^^^^^<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> |<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> = note: `#[warn(deprecated)]` on by default<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">error[E0063]: missing field `final` in initializer of `TrickleRequest`<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> --> net/webrtc/src/livekit_signaller/imp.rs:476:37<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> |<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">476 | ... proto::TrickleRequest {<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> | ^^^^^^^^^^^^^^^^^^^^^ missing `final`<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">error[E0063]: missing field `final` in initializer of `TrickleRequest`<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> --> net/webrtc/src/livekit_signaller/imp.rs:525:25<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> |<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">525 | proto::TrickleRequest {<o:p></o:p></span></p><p class="MsoNormal" style="text-indent:9.75pt"><span style="font-size:12.0pt">| ^^^^^^^^^^^^^^^^^^^^^ missing `final`<o:p></o:p></span></p><p class="MsoNormal" style="text-indent:9.75pt"><span style="font-size:12.0pt"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">error: could not compile `gst-plugin-webrtc` (lib) due to 2 previous errors; 1 warning emitted<o:p></o:p></span></p><p class="MsoNormal" style="text-indent:9.75pt"><span style="font-size:12.0pt"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">Any suggestions?<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">Thanks,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">Ke<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p><div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:</span></b><span style="font-size:12.0pt;color:black">Ke Shen <kshen@sovato.com><br><b>Date: </b>Thursday, May 22, 2025 at 3:04</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span><span style="font-size:12.0pt;color:black">PM<br><b>To: </b>gstreamer-devel@lists.freedesktop.org <gstreamer-devel@lists.freedesktop.org><br><b>Subject: </b>Build error for 1.26.1<o:p></o:p></span></p></div><div>
<p class="MsoNormal"><span style="font-size:12.0pt">Hi,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">I’m trying to build 1.26.1 on Ubuntu linux, and got the following error.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> <o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">error: unsupported output in build script of `native-tls v0.2.14`: `cargo::rustc-check-cfg=cfg(have_min_max_version)`<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">Found a `cargo::key=value` build directive which is reserved for future use.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">Either change the directive to `cargo:key=value` syntax (note the single `:`) or upgrade your version of Rust.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">See <a href="https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script">https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script</a> for more information about build script outputs.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">warning: build failed, waiting for other jobs to finish...<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">Error: CliError { error: Some(1 job failed), exit_code: 101 }<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> <o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">I’m using version 1.87 of Cargo and rustc.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt"> <o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">Thanks,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:12.0pt">Ke<o:p></o:p></span></p></div></div></div></div></div></blockquote><div><br></div><div><span></span></div></body></html>