Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493816 - [gnome-overlay] net-misc/vinagre-3.10.2.ebuild fails to install
Summary: [gnome-overlay] net-misc/vinagre-3.10.2.ebuild fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.10
  Show dependency tree
 
Reported: 2013-12-10 07:31 UTC by Walter Meinl
Modified: 2013-12-12 23:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Meinl 2013-12-10 07:31:00 UTC
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.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-12-12 23:27:15 UTC
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.