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'
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(-)