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

Bug 671260

Summary: www-client/firefox-63.0.3 fails to build : ERROR: Cargo package manager not found
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: klaus818, xaviermiller
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Helmut Jarausch 2018-11-16 11:00:02 UTC
I have dev-lang/rust-1.30.1-r1 and virtual/cargo-1.30.1 installed here.
Installing firefox and thunderbird both fail with

 0:04.77 checking rustc version... 1.30.1
 0:04.77 ERROR: Cargo package manager not found.


qlist dev-lang/rust showed that there is (only) the binary /usr/bin/cargo-1.30.1

By adding a symlink in /usr/bin
ln -s cargo-1.30.1 cargo

I could fix the problem.
Probably, that's a bug in dev-lang/cargo.
Comment 1 josef.95 2018-11-16 11:08:04 UTC
Yes, it is already reported in Bug 671182
Comment 2 josef.95 2018-11-16 11:14:35 UTC
Set the rust version new via `eselect rust set rust-1.30.1`
fixed the issue :)
Comment 3 Arfrever Frehtes Taifersar Arahesis 2018-11-16 20:52:12 UTC

*** This bug has been marked as a duplicate of bug 671182 ***
Comment 4 Gary E. Miller 2018-11-16 20:52:59 UTC
Same problem here.  On several up to date Gentoo unstable amd64.

This did not help, as it was already set:

eselect rust set rust-1.30.1

But this worked for me:

ln -s cargo-1.30.1 cargo