Date: Fri, 25 Oct 2024 20:48:43 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282323] Mk/Uses/cargo.mk: The [patch.crates-io.xx] section causes build failure: failed to resolve patches for `https://github.com/rust-lang/crates.io-index` Message-ID: <bug-282323-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282323 Bug ID: 282323 Summary: Mk/Uses/cargo.mk: The [patch.crates-io.xx] section causes build failure: failed to resolve patches for `https://github.com/rust-lang/crates.io-index` Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: yuri@freebsd.org Created attachment 254514 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D254514&action= =3Dedit patch I am attempting to update the port lang/pomsky with the attached patch. The Cargo.toml file has this section: [patch.crates-io.onig_sys] git =3D "https://github.com/rust-onig/rust-onig" revision =3D "fa90c0e97e90a056af89f183b23cd417b59ee6a2" This section resulted in CARGO_CRATES having this line: onig_sys@git+https://github.com/rust-onig/rust-onig\#fa90c0e97e90a056af89f1= 83b23cd417b59ee6a2 However, the build fails: > warning: profiles for the non root package will be ignored, specify profi= les at the workspace root: > package: /usr/ports/lang/pomsky/work/pomsky-0dc518f/pomsky-bin/Cargo.to= ml > workspace: /usr/ports/lang/pomsky/work/pomsky-0dc518f/Cargo.toml > error: failed to resolve patches for `https://github.com/rust-lang/crates= .io-index` >=20 > Caused by: > patch for `onig_sys` in `https://github.com/rust-lang/crates.io-index` = failed to resolve >=20 > Caused by: > The patch location `https://github.com/rust-onig/rust-onig` does not ap= pear to contain any packages matching the name `onig_sys`. > *** Error code 101 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282323-7788>