with USE="-doc" $ ls /usr/share/doc/rust-1.23.0* /usr/share/doc/rust-1.23.0: COPYRIGHT.bz2 LICENSE-APACHE.bz2 LICENSE-MIT.bz2 README.md.bz2 /usr/share/doc/rust-1.23.0-r1: COPYRIGHT.bz2 Fixed for me by: @@ -101,7 +101,7 @@ [install] prefix = "${EPREFIX}/usr" libdir = "$(get_libdir)" - docdir = "share/doc/${P}" + docdir = "share/doc/${PF}" mandir = "share/${P}/man" [rust] optimize = $(toml_usex !debug)
Still happening with dev-lang/rust-1.30.1-r1.
Interestingly, COPYRIGHT.bz2 gets installed in two locations. I don't care much about $P vs $PF, but having both is quite confusing. # ls -lh /usr/share/doc/rust-1.30.1* /usr/share/doc/rust-1.30.1: total 44K -rw-r--r-- 1 root root 2.8K Dec 3 21:47 COPYRIGHT.bz2 -rw-r--r-- 1 root root 3.6K Dec 3 21:47 LICENSE-APACHE.bz2 -rw-r--r-- 1 root root 3.6K Dec 3 21:46 LICENSE-APACHE.old.bz2 -rw-r--r-- 1 root root 637 Dec 3 21:47 LICENSE-MIT.bz2 -rw-r--r-- 1 root root 637 Dec 3 21:46 LICENSE-MIT.old.bz2 -rw-r--r-- 1 root root 16K Dec 3 21:46 LICENSE-THIRD-PARTY.bz2 -rw-r--r-- 1 root root 3.7K Dec 3 21:47 README.md.bz2 -rw-r--r-- 1 root root 1.3K Dec 3 21:46 README.md.old.bz2 /usr/share/doc/rust-1.30.1-r1: total 4.0K -rw-r--r-- 1 root root 2.8K Dec 3 21:47 COPYRIGHT.bz2
I think current ebuilds fixed that. please reopen if you still see it.