[Bug 286584] lang/rust-nightly: When CARGO_CRATES contains the GitHub revision the build fails: error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index`
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 May 2025 19:21:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286584
Bug ID: 286584
Summary: lang/rust-nightly: When CARGO_CRATES contains the
GitHub revision the build fails: error: 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: rust@FreeBSD.org
Reporter: yuri@freebsd.org
Flags: maintainer-feedback?(rust@FreeBSD.org)
Assignee: rust@FreeBSD.org
Created attachment 260157
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260157&action=edit
testcase.shar
See the attached port as a testcase.
The log:
===> Configuring for py311-polars-1.29.0
===> Additional optimization to port applied
===> Cargo config:
[source.cargo]
directory =
'/usr/ports/misc/py-polars/work-py311/polars-py-1.29.0/py-polars/cargo-crates'
[source.crates-io]
replace-with = 'cargo'
[patch.'https://github.com/pola-rs/jemallocator']
tikv-jemalloc-sys = { path =
'/usr/ports/misc/py-polars/work-py311/jemallocator-c7991e5bb6b3e9f79db6b0f48dcda67c5c3d2936/jemalloc-sys'
}
tikv-jemallocator = { path =
'/usr/ports/misc/py-polars/work-py311/jemallocator-c7991e5bb6b3e9f79db6b0f48dcda67c5c3d2936/jemallocator'
}
===> Updating Cargo.lock
warning: profiles for the non root package will be ignored, specify profiles at
the workspace root:
package:
/usr/ports/misc/py-polars/work-py311/polars-py-1.29.0/py-polars/Cargo.toml
workspace: /usr/ports/misc/py-polars/work-py311/polars-py-1.29.0/Cargo.toml
error: failed to resolve patches for
`https://github.com/rust-lang/crates.io-index`
Caused by:
patch for `tikv-jemallocator` in
`https://github.com/rust-lang/crates.io-index` failed to resolve
Caused by:
The patch location
`https://github.com/pola-rs/jemallocator?rev=c7991e5bb6b3e9f79db6b0f48dcda67c5c3d2936`
does not appear to contain any packages matching the name `tikv-jemallocator`.
*** Error code 101
--
You are receiving this mail because:
You are the assignee for the bug.