Created attachment 465510 [details, diff] patch to fix bash completion installation I'm running a Gentoo prefix install and current dev-util/cargo doesn't merge for me, because the bash_completion files are not at the expected place. I've created and tested a patch that you can find here: https://github.com/mgerstner/gentoo/commit/b13211b5b22690311af4e04be7efdfd061a8ea59 I'll also attach a patch. I'm not sure if this is the right solution, but it fixes the problem for me. I don't fully understand the cargo build system, why the bash_completion files go into usr/portage/etc. The SYSCONFDIR is correctly set to /etc in the cargo build system.
I think this should work with cargo-0.21.0, please reopen if it still fails for you.