Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269826 - net-wireless/kdebluetooth-1.0_beta8-r2 fails to emerge: Cannot find $EPATCH_SOURCE
Summary: net-wireless/kdebluetooth-1.0_beta8-r2 fails to emerge: Cannot find $EPATCH_S...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-05-14 11:56 UTC by Mariusz Pękala
Modified: 2009-05-14 16:02 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info,3.79 KB, text/plain)
2009-05-14 11:58 UTC, Mariusz Pękala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz Pękala 2009-05-14 11:56:49 UTC
This is (I believe) connected to bug #269602

>>> Unpacking source...
>>> Unpacking kdebluetooth-1.0_beta8.tar.bz2 to /var/tmp/portage/net-wireless/kdebluetooth-1.0_beta8-r2/work

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /usr/portage/net-wireless/kdebluetooth/files/kdebluetooth-1.0_beta8-gcc43.patch /usr/portage/net-wireless/kdebluetooth/files/kdebluetooth-1.0_beta8-bashism.patch
 *   ( kdebluetooth-1.0_beta8-bashism.patch )

 *
 * ERROR: net-wireless/kdebluetooth-1.0_beta8-r2 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_unpack
 *             environment, line 4282:  Called kde_src_unpack
 *             environment, line 3279:  Called base_src_unpack 'autopatch'
 *             environment, line  666:  Called base_src_util 'autopatch'
 *             environment, line  694:  Called epatch '/usr/portage/net-wireless/kdebluetooth/files/kdebluetooth-1.0_beta8-gcc43.patch /usr/portage/net-wireless/kdebluetooth/files/kdebluetooth-1.0_beta8-bashism.patch'
 *             environment, line 2112:  Called die
 * The specific snippet of code:
 *                   die "Cannot find $EPATCH_SOURCE!";
Comment 1 Mariusz Pękala 2009-05-14 11:58:40 UTC
Created attachment 191250 [details]
emerge --info
Comment 2 Sven Wehner 2009-05-14 13:47:16 UTC
There is just a small typo in the ebuild.
Change:
PATCHES=(
	"${FILESDIR}/${P}-gcc43.patch ${FILESDIR}/${P}-bashism.patch"
	"${FILESDIR}/${P}-kbluelock.diff"
)

to:
PATCHES=(
	"${FILESDIR}/${P}-gcc43.patch"
	"${FILESDIR}/${P}-bashism.patch"
	"${FILESDIR}/${P}-kbluelock.diff"
)

execute "ebuild /usr/portage/net-wireless/kdebluetooth/kdebluetooth-1.0_beta8-r2.ebuild digest" and you should be able to emerge the package.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-14 16:02:24 UTC
Khtx for report. I tested only beta2 so beta8 slipped.
Script adjusted to avoid this happening again.