Without dev-util/cargo installed, building firefox-54.0 fails with ERROR: Cargo package manager not found. To compile Rust language sources, you must have 'cargo' in your path. See https://www.rust-lang.org/ for more information. You can install cargo by running './mach bootstrap' or by directly running the installer from https://rustup.rs/
firefox DEPENDs on dev-lang/rust and that PDEPENDs on dev-util/cargo. I have had similar issues with PDEPEND in the past. I would like some clarification on how strongly it is enforced, i.e. will Portage ever try to build firefox before cargo?
It certainly does not work in the intended way, because firefox now depends on virtual/rust to allow it to be build with either dev-lang/rust or dev-lang/rust-bin, but if dev-lang/rust-bin is pulled into the dependency-graph dev-util/cargo will not be pulled in and src_configure of firefox-55.0 ends up failing. Oddly the cargo ebuild pulls in rust again, so I doubt the sense of virtual/rust in the firefox ebuild.
Oddly the rust-bin prebuild package also has its own cargo. Is that a firefox upstream configure error not finding that prebuild cargo?
(In reply to Ulenrich from comment #3) > Oddly the rust-bin prebuild package also has its own cargo. > Is that a firefox upstream configure error not finding that prebuild cargo? I don't know if it's the case for older versions, but `qlist rust-bin-1.19.0` shows no trace of a cargo binary.
Same situation for me, firefox-55.0 build fails due to missing cargo. Rust used: dev-lang/rust-bin-1.15-1
Same here, trying to compile www-client/firefox-55.0.1. What's worse, I have problems compiling dev-lang/rust, see bug #628122.
Actually, to fully fix the compilation, two changes (both one liners) should be done: 1) firefox ebuild should depend on dev-util/cargo 2) dev-util/cargo should depend on virtual/rust instead of dev-lang/rust - so that it can be compiled also using rust-bin (works for me)
dev-util/cargo now depends on virtual/rust.
I think this bug can be closed. FF deps are sorted out since some time and FF 54 is no longer in tree.
I just ran into the same issue while installing firefox-63.0.3. Firefox build directly depends on cargo, and should declare it in the ebuild. Not mentioning direct dependencies because other dependencies should depend on them is a bad practice.
Obsolete, we don't have "www-client/firefox-54.0" in repository and >=60 depends on virtual/rust and virtual/cargo. The problem from Andrzej is bug 671182 and has nothing to do with this one.