Created attachment 260157 [details] 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