Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685642 - cargo.eclass fails install phase with latest stable rust/cargo
Summary: cargo.eclass fails install phase with latest stable rust/cargo
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Rust Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-11 17:35 UTC by Timo Rothenpieler
Modified: 2019-12-23 03:59 UTC (History)
1 user (show)

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 Timo Rothenpieler 2019-05-11 17:35:45 UTC
After todays round of updates, which included the now stable rust-1.34.1 and its cargo, I can no longer install packages which use the cargo eclass:

"error: Using `cargo install` to install the binaries for the package in current working directory is no longer supported, use `cargo install --path .` instead. Use `cargo build` if you want to simply build the package."

Just adding exactly that, "--path .", to the cargo install invocation in the eclass fixes the issue for me, but I have no idea how backwards compatible that is.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2019-05-11 18:28:19 UTC
Which packages fail for you? I need a list.
Something from overlays or something in gentoo repo?
Currently it’s handled on ebuild level, because no everything declares Rust-2018 rules in cargo.toml

You can call “cargo_src_install —path=.” In the ebuild.