Bug 240003 - Mk/Uses/cargo.mk: USES=cargo requires crates that are irrelevant to FreeBSD, ex. Windows-specific crates like winapi and wincolor
Summary: Mk/Uses/cargo.mk: USES=cargo requires crates that are irrelevant to FreeBSD, ...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: FreeBSD Rust Team
URL: https://github.com/rust-lang/cargo/is...
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-20 21:07 UTC by Yuri Victorovich
Modified: 2019-08-20 21:08 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2019-08-20 21:07:02 UTC
Testcase: devel/cargo-tree

Remove winapi* and you will see it fail:
> ===>  Configuring for cargo-tree-0.26.0
> ===>   FreeBSD 10 autotools fix applied to /usr/ports/devel/cargo-tree/work/cargo-tree-0.26.0/cargo-crates/backtrace-sys-0.1.28/src/libbacktrace/config/libtool.m4
> ===>   FreeBSD 10 autotools fix applied to /usr/ports/devel/cargo-tree/work/cargo-tree-0.26.0/cargo-crates/libssh2-sys-0.2.11/libssh2/config.rpath
> error: no matching package named `winapi` found
> location searched: registry `https://github.com/rust-lang/crates.io-index`
> required by package `cargo v0.35.0`
>     ... which is depended on by `cargo-tree v0.26.0 (/usr/ports/devel/cargo-tree/work/cargo-tree-0.26.0)`