Created attachment 465418 [details, diff] patch to fix rust installation on prefix installs I'm running a Gentoo prefix install and current dev-lang/rust doesn't merge for me, because some install statements don't respect the prefix. I've created and tested a patch that you can find here: https://github.com/mgerstner/gentoo/commit/239c64629320ab9fa2dd8e33a472fdf3727901c7 I'll also attach the patch.
One more thing: The change of LDPATH and MANPATH in my patch are necessary during runtime for rust to work correctly. Without the LDPATH change 'rustc' will complain about not finding 'librustc_driver-570da8f8.so'.
Can anyone confirm whether this is still an issue on recent Rust builds?
(In reply to Dirkjan Ochtman from comment #2) > Can anyone confirm whether this is still an issue on recent Rust builds? I recently stopped using the prefix installation so I can't easily test this anymore. Sorry.
(In reply to Dirkjan Ochtman from comment #2) > Can anyone confirm whether this is still an issue on recent Rust builds? Still seeing this with rust-1.28.0-r1: > mv: cannot stat '/.../gentoo/var/tmp/portage/dev-lang/rust-1.28.0-r1/image//usr/bin/rustc': No such file or directory Cheers,
(In reply to Emil Medve from comment #4) > Still seeing this with rust-1.28.0-r1: I just hit this on dev-lang/rust-1.34.0-r1.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=798aac56ff17973cdf1343e9f1d088b499c49074 commit 798aac56ff17973cdf1343e9f1d088b499c49074 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2019-04-14 09:20:42 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2019-04-14 09:22:29 +0000 dev-lang/rust: fix for Prefix, based on patch by Matthias Gerstner Closes: https://bugs.gentoo.org/611118 Signed-off-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-lang/rust/rust-1.34.0-r1.ebuild | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-)
*** Bug 673710 has been marked as a duplicate of this bug. ***