Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674744 - sys-apps/bat-0.9.0::gentoo Using `cargo install` ...is deprecated
Summary: sys-apps/bat-0.9.0::gentoo Using `cargo install` ...is deprecated
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-06 23:22 UTC by Jonas Stein
Modified: 2019-01-08 23:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2019-01-06 23:22:35 UTC
while emerging:

warning: Using `cargo install` to install the binaries for the package in current working directory is deprecated, use `cargo install --path .` instead. Use `cargo build` if you want to simply build the package.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2019-01-06 23:27:50 UTC
it's jsut a warning for now but it'll fail with future versions of rust/cargo.

I'm working on cargo.eclass changes.

https://github.com/gentoo/gentoo/pull/10725 (also posted on dev ml)

So we can pass extra opts to eclass function instead of writing own src_install

as soon as it hits the tree I'll fix this warning in the package.
Comment 2 Larry the Git Cow gentoo-dev 2019-01-08 23:40:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=620bec70447c7e4c3787737783f9715a969980ec

commit 620bec70447c7e4c3787737783f9715a969980ec
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-01-08 22:55:25 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-01-08 23:40:25 +0000

    sys-apps/bat: switch to cargo.eclass func args
    
    Closes: https://bugs.gentoo.org/674744
    Package-Manager: Portage-2.3.54, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 sys-apps/bat/bat-0.9.0.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)