after successful compilation net-misc/vinagre-3.10.2 dies during installation phase rm: cannot remove ‘/var/tmp/portage/net-misc/vinagre-3.10.2/image//usr/share/doc /vinagre’: No such file or directory * ERROR: net-misc/vinagre-3.10.2::gnome failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 3200: Called die * The specific snippet of code: * rm -r "${ED}"/usr/share/doc/vinagre || die and indeed /usr/share/doc/vinagre without version is not present. I removed the last lines from the ebuild "# Remove its own installation of DOCS that go to $PN instead of $P and aren't ecompressed rm -r "${ED}"/usr/share/doc/vinagre || die" and after running "ebuild vinagre-3.10.2 install" "ls /var/tmp/portage/net-misc/vinagre/image/usr/share/doc" shows only a vinagre-3.10.2 directory and the contained docs get properly ecompressed. Thus, emerging vinagre-3.10.2 after removal of the last lines gets built and installed successfully. BTW, the net-misc/vinagre ebuilds in official portage 3.6.2, and 3.8.3 do not install their DOCS in an unversioned directory either. However, they do not fail during installation because in they use rm -rf note: the differenc is "rm -f" Obviously forcing the removal does not return an error code when the target to be removed is not present at all.
commit aafe1077e992c1470149706763778dc859be5aac Author: Gilles Dartiguelongue <eva@gentoo.org> Date: Thu Dec 12 23:45:39 2013 +0100 net-misc/vinagre: fix src_install, bug #493816 Upstream apparently stopped installing doc files on their own. Thanks for reporting.