Bug 246823 - lang/rust: Fails to build the Rust-based port: error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index`
Summary: lang/rust: Fails to build the Rust-based port: error: failed to resolve patch...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Rust Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-29 05:08 UTC by Yuri Victorovich
Modified: 2020-05-30 17:46 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (rust)


Attachments
testcase.shar (88.29 KB, text/plain)
2020-05-29 05:08 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2020-05-29 05:08:31 UTC
Created attachment 214997 [details]
testcase.shar
Comment 1 Tobias Kortkamp freebsd_committer 2020-05-30 17:46:28 UTC
Cargo [workspace] support is lackluster in the ports framework.
Provide some hints with the appropriate subdirs via CARGO_GIT_SUBDIR
to allow it to patch the git dependencies correctly (read ports r517982).

Please remove the bogus patch-Cargo.toml and patch-Cargo.lock before
committing anything.