Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2019 21:07:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240003] Mk/Uses/cargo.mk: USES=cargo requires crates that are irrelevant to FreeBSD, ex. Windows-specific crates like winapi and wincolor in FreeBSD ports
Message-ID:  <bug-240003-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240003

            Bug ID: 240003
           Summary: Mk/Uses/cargo.mk: USES=3Dcargo requires crates that are
                    irrelevant to FreeBSD, ex. Windows-specific crates
                    like winapi and wincolor in FreeBSD ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: yuri@freebsd.org
                CC: ports-bugs@FreeBSD.org

Testcase: devel/cargo-tree

Remove winapi* and you will see it fail:
> =3D=3D=3D>  Configuring for cargo-tree-0.26.0
> =3D=3D=3D>   FreeBSD 10 autotools fix applied to /usr/ports/devel/cargo-t=
ree/work/cargo-tree-0.26.0/cargo-crates/backtrace-sys-0.1.28/src/libbacktra=
ce/config/libtool.m4
> =3D=3D=3D>   FreeBSD 10 autotools fix applied to /usr/ports/devel/cargo-t=
ree/work/cargo-tree-0.26.0/cargo-crates/libssh2-sys-0.2.11/libssh2/config.r=
path
> 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/car=
go-tree/work/cargo-tree-0.26.0)`

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240003-7788>