Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482342 - open-vm-tools-kmod-2013.04.16.1098359 emerge failure due to mismatched patch filename
Summary: open-vm-tools-kmod-2013.04.16.1098359 emerge failure due to mismatched patch ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-24 19:11 UTC by Mark R. Pariente
Modified: 2013-08-24 20:00 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 Mark R. Pariente 2013-08-24 19:11:58 UTC
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