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 }
This is why we shouldn't use conditional patching a la use foo || epatch ...
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.