Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 433393 - app-i18n/ibus-1.4.2[-gconf]: * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: /usr/portage/app-i18n/ibus/files/ibus-1.4.2-no-gconf.patch
Summary: app-i18n/ibus-1.4.2[-gconf]: * Cannot find $EPATCH_SOURCE! Value for $EPATCH...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-30 02:03 UTC by Tomoh K.
Modified: 2012-10-08 01:08 UTC (History)
0 users

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


Attachments
build.log for app-i18n/ibus-1.4.2 (ibus-1.4.2.build.log,1.93 KB, text/plain)
2012-08-30 02:03 UTC, Tomoh K.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomoh K. 2012-08-30 02:03:11 UTC
Created attachment 322537 [details]
build.log for app-i18n/ibus-1.4.2

Step to reproduce:
1) USE="dconf -gconf" emerge =app-i18n/ibus-1.4.2

Actual result:
emerge failed due to following error.
>>> Preparing source in /var/tmp/portage/app-i18n/ibus-1.4.2/work/ibus-1.4.2 ...
 * Applying ibus-gconf-2.m4.patch ...                                                        [ ok ]

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/app-i18n/ibus/files/ibus-1.4.2-no-gconf.patch
 *   ( ibus-1.4.2-no-gconf.patch )

 * ERROR: app-i18n/ibus-1.4.2 failed (prepare phase):
 *   Cannot find $EPATCH_SOURCE!

build.log is attached.

Proposed patch for ibus-1.4.2.ebuild.

--- ibus-1.4.2.ebuild_
+++ ibus-1.4.2.ebuild
@@ -68,7 +68,7 @@ src_prepare() {
 	epatch \
 		"${FILESDIR}"/${PN}-gconf-2.m4.patch
 
-	use gconf || epatch "${FILESDIR}"/${P}-no-gconf.patch
+	use gconf || epatch "${FILESDIR}"/${PN}-1.4.1-no-gconf.patch
 
 	eautoreconf
 }
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-03 10:17:32 UTC
This is why we shouldn't use conditional patching a la use foo || epatch ...
Comment 2 Naohiro Aota gentoo-dev 2012-10-08 01:08:36 UTC
Actually, files/ibus-gconf-2.m4.patch resolves the ibus-1.4.1-no-gconf.patch try to solve. I just dropped the patch line.