Ebuild stops with the following error. * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /usr/portage/dev-php5/php-gtk/files/php-gtk-2.0.0-no-cli-check.patch * ( php-gtk-2.0.0-no-cli-check.patch ) * * ERROR: dev-php5/php-gtk-2.0.0 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 3626: Called epatch 'src_unpack' * environment, line 1607: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!"; * The die message: * Cannot find $EPATCH_SOURCE! Upon further inspection, the directory at /usr/portage/dev-php5/php-gtk/files contains one file: no-cli-check.patch. Reproducible: Always
jokey, your script fails... :P http://overlays.gentoo.org/proj/php/browser/migration/dev-php5/php-gtk/files/php-gtk-2.0.0-no-cli-check.patch?rev=3315&format=raw
Patch should read as follows: --- config.m4.old 2007-06-17 09:27:39.000000000 +0530 +++ config.m4 2007-06-17 09:27:47.000000000 +0530 @@ -27,11 +27,6 @@ AC_MSG_ERROR(Could not locate PHP executable) fi - PHP_SAPI=`$PHP --version | head -1 | sed -n 's/.*(\(...\)).*/\1/p'` - if test "$PHP_SAPI" != "cli" ; then - AC_MSG_ERROR(PHP CLI version is required[,] $PHP_SAPI found) - fi - AC_PROG_AWK PHP_SUBST(AWK)
Also need to change ebuild line 69 to read: epatch "${FILESDIR}"/no-cli-check.patch
new issue see Bug 212595 http://bugs.gentoo.org/show_bug.cgi?id=212595
InCVS.