Re: Build error for 1.26.1
Tim-Philipp Müller via gstreamer-devel <[email protected]> Fri, 23 May 2025 10:55:46 +0100
| Newsgroups | gmane.comp.video.gstreamer.devel |
|---|---|
| Message-ID | <[email protected]> |
--=-1B0nAqWAlTZ0Veqo073q
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi,
Best to file an issue in GitLab if it's something that needs fixing :)
https://gitlab.freedesktop.org/gstreamer/gstreamer/
Cheers
=C2=A0Tim
On Fri, 2025-05-23 at 05:33 +0000, Ke Shen via gstreamer-devel wrote:
>=20
>=20
> 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=3Dcfg(have_min_max_version)") `
> =C2=A0
> The build went past the previous stop point. But at the end, it gave
> me the following error:
> =C2=A0
> =C2=A0=C2=A0 Compiling gst-plugin-rtp v0.12.1 (gstreamer/subprojects/gst-
> plugins-rs/net/rtp)
> warning: use of deprecated field
> `livekit_protocol::AddTrackRequest::disable_dtx`
> =C2=A0=C2=A0 --> net/webrtc/src/livekit_signaller/imp.rs:413:29
> =C2=A0=C2=A0=C2=A0 |
> 413 | ...=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 disable_dtx: true,
> =C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 ^^^^^^^^^^^^^^^^^
> =C2=A0=C2=A0=C2=A0 |
> =C2=A0=C2=A0=C2=A0 =3D note: `#[warn(deprecated)]` on by default
> =C2=A0
> error[E0063]: missing field `final` in initializer of
> `TrickleRequest`
> =C2=A0=C2=A0 --> net/webrtc/src/livekit_signaller/imp.rs:476:37
> =C2=A0=C2=A0=C2=A0 |
> 476 | ...=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 proto::TrickleRequest {
> =C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 ^^^^^^^^^^^^^^^^^^^^^ missing `final`
> =C2=A0
> error[E0063]: missing field `final` in initializer of
> `TrickleRequest`
> =C2=A0=C2=A0 --> net/webrtc/src/livekit_signaller/imp.rs:525:25
> =C2=A0=C2=A0=C2=A0 |
> 525 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 proto::TrickleRequest {
> |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^^=
^^^^^^^^^^^^^^^^^^^ missing `final`
> =C2=A0
> error: could not compile `gst-plugin-webrtc` (lib) due to 2 previous
> errors; 1 warning emitted
> =C2=A0
> Any suggestions?
> Thanks,
> Ke
> =C2=A0
> =C2=A0
>=20
>=20
>=20
>=20
> From:Ke Shen <[email protected]>
> Date: Thursday, May 22, 2025 at 3:04=E2=80=AFPM
> To: [email protected] <gstreamer-
> [email protected]>
> Subject: Build error for 1.26.1
>=20
> Hi,
> I=E2=80=99m trying to build 1.26.1 on Ubuntu linux, and got the following
> error.
> =C2=A0
> error: unsupported output in build script of `native-tls v0.2.14`:
> `cargo::rustc-check-cfg=3Dcfg(have_min_max_version)`
> Found a `cargo::key=3Dvalue` build directive which is reserved for
> future use.
> Either change the directive to `cargo:key=3Dvalue` syntax (note the
> single `:`) or upgrade your version of Rust.
> See
> https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-t=
he-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 }
> =C2=A0
> I=E2=80=99m using version 1.87 of Cargo and rustc.
> =C2=A0
> Thanks,
> Ke
--=-1B0nAqWAlTZ0Veqo073q
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<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=3D"EN-US" link=3D"#467886" vlink=3D"#96607D" style=3D"word-wrap:=
break-word"><div>Hi,</div><div><br></div><div>Best to file an issue in GitL=
ab if it's something that needs fixing :)</div><div><br></div><div><a href=
=3D"https://gitlab.freedesktop.org/gstreamer/gstreamer/">https://gitlab.fre=
edesktop.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=3D"cite" style=3D"=
margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt">Here is my solution=
to my problem.<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"=
font-size:12.0pt">I went into ~/.cargo directory and edited registry/src/in=
dex.crates.io-6f17d22bba15001f/native-tls-0.2.14/build.rs. I commented the =
following line<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"f=
ont-size:12.0pt">`</span> <span style=3D"font-size:12.0pt">println!("cargo:=
:rustc-check-cfg=3Dcfg(have_min_max_version)") `<o:p></o:p></span></p><p cl=
ass=3D"MsoNormal"><span style=3D"font-size:12.0pt"><o:p> </o:p></span>=
</p><p class=3D"MsoNormal"><span style=3D"font-size:12.0pt">The build went =
past the previous stop point. But at the end, it gave me the following erro=
r:<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size:12.=
0pt"><o:p> </o:p></span></p><p class=3D"MsoNormal"><span style=3D"font=
-size:12.0pt"> Compiling gst-plugin-rtp v0.12.1 (gstreamer/subp=
rojects/gst-plugins-rs/net/rtp)<o:p></o:p></span></p><p class=3D"MsoNormal"=
><span style=3D"font-size:12.0pt">warning: use of deprecated field `livekit=
_protocol::AddTrackRequest::disable_dtx`<o:p></o:p></span></p><p class=3D"M=
soNormal"><span style=3D"font-size:12.0pt"> --> net/webrtc/s=
rc/livekit_signaller/imp.rs:413:29<o:p></o:p></span></p><p class=3D"MsoNorm=
al"><span style=3D"font-size:12.0pt"> |<o:p></o:p></span>=
</p><p class=3D"MsoNormal"><span style=3D"font-size:12.0pt">413 | ... =
&nb=
sp; disable_dtx: true,<o:p></o:p></span></p><p clas=
s=3D"MsoNormal"><span style=3D"font-size:12.0pt"> | =
&nb=
sp; ^^^^^^^^^^^^^^^^^<o:p><=
/o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size:12.0pt">&nb=
sp; |<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:12.0pt"> =3D note: `#[warn(deprecated)]` on=
by default<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font=
-size:12.0pt"><o:p> </o:p></span></p><p class=3D"MsoNormal"><span styl=
e=3D"font-size:12.0pt">error[E0063]: missing field `final` in initializer o=
f `TrickleRequest`<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:12.0pt"> --> net/webrtc/src/livekit_signaller/=
imp.rs:476:37<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"fo=
nt-size:12.0pt"> |<o:p></o:p></span></p><p class=3D"MsoNo=
rmal"><span style=3D"font-size:12.0pt">476 | ... &nb=
sp; =
proto::TrickleRequest {<o:p></o:p></span></p><p class=3D"MsoNormal">=
<span style=3D"font-size:12.0pt"> | &nbs=
p; &=
nbsp; ^^^^^^^^^^^^^^^^^^^^^ missing `final`<o=
:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size:12.0pt"=
><o:p> </o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-siz=
e:12.0pt">error[E0063]: missing field `final` in initializer of `TrickleReq=
uest`<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size:=
12.0pt"> --> net/webrtc/src/livekit_signaller/imp.rs:525:25<=
o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size:12.0pt=
"> |<o:p></o:p></span></p><p class=3D"MsoNormal"><span st=
yle=3D"font-size:12.0pt">525 | &nb=
sp; =
proto::TrickleRequest {<o:p></o:p></span></p><p cl=
ass=3D"MsoNormal" style=3D"text-indent:9.75pt"><span style=3D"font-size:12.=
0pt">| &nb=
sp; =
^^^^^^^^^^^^^^^^^^^^^ missing `final`<o:p></o:p></span></p><p class=3D"Mso=
Normal" style=3D"text-indent:9.75pt"><span style=3D"font-size:12.0pt"><o:p>=
</o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size:12.0=
pt">error: could not compile `gst-plugin-webrtc` (lib) due to 2 previous er=
rors; 1 warning emitted<o:p></o:p></span></p><p class=3D"MsoNormal" style=
=3D"text-indent:9.75pt"><span style=3D"font-size:12.0pt"><o:p> </o:p><=
/span></p><p class=3D"MsoNormal"><span style=3D"font-size:12.0pt">Any sugge=
stions?<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-siz=
e:12.0pt">Thanks,<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:12.0pt">Ke<o:p></o:p></span></p><p class=3D"MsoNormal"><span =
style=3D"font-size:12.0pt"><o:p> </o:p></span></p><p class=3D"MsoNorma=
l"><span style=3D"font-size:12.0pt"><o:p> </o:p></span></p><div id=3D"=
mail-editor-reference-message-container">
<div>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><b><span style=3D"fon=
t-size:12.0pt;color:black">From:</span></b><span style=3D"font-size:12.0pt;=
color:black">Ke Shen <[email protected]><br><b>Date: </b>Thursday, May=
22, 2025 at 3:04</span><span style=3D"font-size:12.0pt;font-family:"A=
rial",sans-serif;color:black">=E2=80=AF</span><span style=3D"font-size=
:12.0pt;color:black">PM<br><b>To: </b>[email protected]=
<[email protected]><br><b>Subject: </b>Build err=
or for 1.26.1<o:p></o:p></span></p></div><div>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt">Hi,<o:p></o:p></spa=
n></p><p class=3D"MsoNormal"><span style=3D"font-size:12.0pt">I=E2=80=99m t=
rying to build 1.26.1 on Ubuntu linux, and got the following error.<o:p></o=
:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size:12.0pt"> =
;<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-size:12.0=
pt">error: unsupported output in build script of `native-tls v0.2.14`: `car=
go::rustc-check-cfg=3Dcfg(have_min_max_version)`<o:p></o:p></span></p><p cl=
ass=3D"MsoNormal"><span style=3D"font-size:12.0pt">Found a `cargo::key=3Dva=
lue` build directive which is reserved for future use.<o:p></o:p></span></p=
><p class=3D"MsoNormal"><span style=3D"font-size:12.0pt">Either change the =
directive to `cargo:key=3Dvalue` syntax (note the single `:`) or upgrade yo=
ur version of Rust.<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=
=3D"font-size:12.0pt">See <a href=3D"https://doc.rust-lang.org/cargo/refere=
nce/build-scripts.html#outputs-of-the-build-script">https://doc.rust-lang.o=
rg/cargo/reference/build-scripts.html#outputs-of-the-build-script</a> for m=
ore information about build script outputs.<o:p></o:p></span></p><p class=
=3D"MsoNormal"><span style=3D"font-size:12.0pt">warning: build failed, wait=
ing for other jobs to finish...<o:p></o:p></span></p><p class=3D"MsoNormal"=
><span style=3D"font-size:12.0pt">Error: CliError { error: Some(1 job faile=
d), exit_code: 101 }<o:p></o:p></span></p><p class=3D"MsoNormal"><span styl=
e=3D"font-size:12.0pt"> <o:p></o:p></span></p><p class=3D"MsoNormal"><=
span style=3D"font-size:12.0pt">I=E2=80=99m using version 1.87 of Cargo and=
rustc.<o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D"font-siz=
e:12.0pt"> <o:p></o:p></span></p><p class=3D"MsoNormal"><span style=3D=
"font-size:12.0pt">Thanks,<o:p></o:p></span></p><p class=3D"MsoNormal"><spa=
n style=3D"font-size:12.0pt">Ke<o:p></o:p></span></p></div></div></div></di=
v></div></blockquote><div><br></div><div><span></span></div></body></html>
--=-1B0nAqWAlTZ0Veqo073q--