Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601640 - app-emulation/open-vm-tools-10.1.0[-pam] - install failed: rm: cannot remove '/var/tmp/portage/app-emulation/open-vm-tools-10.1.0/image/etc/pam.d/vmtoolsd': No such file or directory
Summary: app-emulation/open-vm-tools-10.1.0[-pam] - install failed: rm: cannot remove ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-05 06:12 UTC by MarcusX
Modified: 2016-12-05 15:37 UTC (History)
1 user (show)

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 MarcusX 2016-12-05 06:12:09 UTC
I have this problem on all my Gentoo machines alike (servers, laptops, VMs, hardened, etc)


When "-pam" is used for USE flags, app-emulation/open-vm-tools-10.1.0 fails to compile with the below error.
Note: I didn't have this problem with version 10.0.7


rm: cannot remove '/var/tmp/portage/app-emulation/open-vm-tools-10.1.0/image/etc/pam.d/vmtoolsd': No such file or directory
 * ERROR: app-emulation/open-vm-tools-10.1.0::gentoo failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_install
 *   environment, line 4813:  Called die
 * The specific snippet of code:
 *       rm "${ED%/}"/etc/pam.d/vmtoolsd || die;
 *
 * If you need support, post the output of `emerge --info '=app-emulation/open-vm-tools-10.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/open-vm-tools-10.1.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/open-vm-tools-10.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/open-vm-tools-10.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/open-vm-tools-10.1.0/work/open-vm-tools-10.1.0-4449150/open-vm-tools'
 * S: '/var/tmp/portage/app-emulation/open-vm-tools-10.1.0/work/open-vm-tools-10.1.0-4449150/open-vm-tools'

>>> Failed to emerge app-emulation/open-vm-tools-10.1.0, Log file:

>>>  '/var/tmp/portage/app-emulation/open-vm-tools-10.1.0/temp/build.log'

 * Messages for package app-emulation/open-vm-tools-10.1.0:

 * ERROR: app-emulation/open-vm-tools-10.1.0::gentoo failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_install
 *   environment, line 4813:  Called die
 * The specific snippet of code:
 *       rm "${ED%/}"/etc/pam.d/vmtoolsd || die;
 *
 * If you need support, post the output of `emerge --info '=app-emulation/open-vm-tools-10.1.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/open-vm-tools-10.1.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/open-vm-tools-10.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/open-vm-tools-10.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/open-vm-tools-10.1.0/work/open-vm-tools-10.1.0-4449150/open-vm-tools'
 * S: '/var/tmp/portage/app-emulation/open-vm-tools-10.1.0/work/open-vm-tools-10.1.0-4449150/open-vm-tools'
Comment 1 Mike Gilbert gentoo-dev 2016-12-05 15:37:51 UTC
commit 89f57861f1c77e7ef625456b037742d9f213666a
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Mon Dec 5 10:35:46 2016 -0500

    app-emulation/open-vm-tools: fix install with pam disabled
    
    Bug: https://bugs.gentoo.org/601640
    Package-Manager: portage-2.3.2_p13

 app-emulation/open-vm-tools/open-vm-tools-10.1.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)