src_install deletes the installed doc directory, so docs are missing regardless of the flag. Subsequently src_install tries to move the docs into a versioned folder, which fails (but doesn't die) because the source directory is missing. Patches are attached with the fix. Reproducible: Always Steps to Reproduce: 1. Enable doc use flag for dev-lang/rust 2. build rust Actual Results: No docs are installed. The error is in the console from src_install: install: creating uninstall script at /var/tmp/portage/dev-lang/rust-1.0.0_beta/image/usr/lib/rust-1.0.0_beta/rustlib/uninstall.sh install: installing component 'rust-docs' Rust documentation is installed. install: creating uninstall script at /var/tmp/portage/dev-lang/rust-1.0.0_beta/image/usr/lib/rust-1.0.0_beta/rustlib/uninstall.sh install: installing component 'rustc' Rust is ready to roll. mv: cannot stat ‘/var/tmp/portage/dev-lang/rust-1.0.0_beta/image//usr/share/doc/rust/*’: No such file or directory rmdir: failed to remove ‘/var/tmp/portage/dev-lang/rust-1.0.0_beta/image//usr/share/doc/rust/’: No such file or directory Expected Results: docs are installed to /usr/share/doc/rust-${PV} No install errors.
Created attachment 403080 [details, diff] beta2
Created attachment 403082 [details, diff] beta3
Thanks for reporting. I'll handle it with 1.0 release (should be moved to tree this week).