Build error for 1.26.1

Ke Shen via gstreamer-devel <[email protected]> Thu, 22 May 2025 22:04:01 +0000
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <BN8PR04MB636923AC2B964E83ECE27CC1DE99A@BN8PR04MB6369.namprd04.prod.outlook.com>
--_000_BN8PR04MB636923AC2B964E83ECE27CC1DE99ABN8PR04MB6369namp_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi,
I=92m 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=3Dcfg(have_min_max_version)`
Found a `cargo::key=3Dvalue` build directive which is reserved for future u=
se.
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=
-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=92m using version 1.87 of Cargo and rustc.

Thanks,
Ke

--_000_BN8PR04MB636923AC2B964E83ECE27CC1DE99ABN8PR04MB6369namp_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of=
fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<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:12.0pt;
	font-family:"Aptos",sans-serif;
	mso-ligatures:standardcontextual;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#467886;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Aptos",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang=3D"EN-US" link=3D"#467886" vlink=3D"#96607D" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal">I=92m trying to build 1.26.1 on Ubuntu linux, and go=
t the following error.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">error: unsupported output in build script of `native=
-tls v0.2.14`: `cargo::rustc-check-cfg=3Dcfg(have_min_max_version)`<o:p></o=
:p></p>
<p class=3D"MsoNormal">Found a `cargo::key=3Dvalue` build directive which i=
s reserved for future use.<o:p></o:p></p>
<p class=3D"MsoNormal">Either change the directive to `cargo:key=3Dvalue` s=
yntax (note the single `:`) or upgrade your version of Rust.<o:p></o:p></p>
<p class=3D"MsoNormal">See <a href=3D"https://doc.rust-lang.org/cargo/refer=
ence/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></p>
<p class=3D"MsoNormal">warning: build failed, waiting for other jobs to fin=
ish...<o:p></o:p></p>
<p class=3D"MsoNormal">Error: CliError { error: Some(1 job failed), exit_co=
de: 101 }<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I=92m using version 1.87 of Cargo and rustc.<o:p></o=
:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal">Ke<o:p></o:p></p>
</div>
</body>
</html>

--_000_BN8PR04MB636923AC2B964E83ECE27CC1DE99ABN8PR04MB6369namp_--