Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 685642

Summary: cargo.eclass fails install phase with latest stable rust/cargo
Product: Gentoo Linux Reporter: Timo Rothenpieler <timo>
Component: EclassesAssignee: Gentoo Rust Project <rust>
Status: RESOLVED INVALID    
Severity: major CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=703590
Whiteboard:
Package list:
Runtime testing required: ---

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.