Trying to emerge app-emulation/open-vm-tools-kmod-2013.04.16.1098359 against gentoo-sources-3.10.9 results in: >>> Preparing source in /var/tmp/portage/app-emulation/open-vm-tools-kmod-2013.04.16.1098359/work/open-vm-tools-2013.04.16-1098359 ... * Applying frozen.patch ... [ ok ] * Applying putname.patch ... [ ok ] * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/app-emulation/open-vm-tools-kmod/files/1098359-3.10.0.patch * ( 1098359-3.10.0.patch ) * ERROR: app-emulation/open-vm-tools-kmod-2013.04.16.1098359::gentoo failed (prepare phase): * Cannot find $EPATCH_SOURCE! * * Call stack: * ebuild.sh, line 93: Called src_prepare * environment, line 3185: Called epatch '/usr/portage/app-emulation/open-vm-tools-kmod/files/1098359-3.10.0.patch' * environment, line 1062: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!"; * * If you need support, post the output of `emerge --info '=app-emulation/open-vm-tools-kmod-2013.04.16.1098359::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/open-vm-tools-kmod-2013.04.16.1098359::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2013.04.16.1098359/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2013.04.16.1098359/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2013.04.16.1098359/work/open-vm-tools-2013.04.16-1098359' * S: '/var/tmp/portage/app-emulation/open-vm-tools-kmod-2013.04.16.1098359/work/open-vm-tools-2013.04.16-1098359' Look like the name of the patch is wrong, the ebuild is doing: src_prepare() { sed -i.bak -e '/\smake\s/s/make/$(MAKE)/g' modules/linux/{vmblock,vmci,vmhgfs,vmsync,vmxnet,vsock}/Makefile\ || die "Sed failed." epatch "${FILESDIR}/frozen.patch" epatch "${FILESDIR}/putname.patch" epatch "${FILESDIR}/1098359-3.10.0.patch" epatch_user } But FILESDIR has: # ls /usr/portage/app-emulation/open-vm-tools-kmod/files/ 1098359-vmblock-3.10.0.patch fragsize.patch frozen.patch putname.patch Reproducible: Always