build fails due folder name is incorrect. build expect: ...work/spl_types-0.4.0 actual folder: ...work/SPL_Types-0.4.0 folder in .tar archive is with uppercase leters. Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~amd64" emerge -v dev-php/pecl-spl_types 2. fail to build 3. Actual Results: copy-paste of error: * spl_types-0.4.0.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking spl_types-0.4.0.tgz to /var/tmp/portage/dev-php/pecl-spl_types-0.4.0/work cp: cannot stat '/var/tmp/portage/dev-php/pecl-spl_types-0.4.0/work/spl_types-0.4.0': No such file or directory * ERROR: dev-php/pecl-spl_types-0.4.0::gentoo failed (unpack phase): * Failed to copy source /var/tmp/portage/dev-php/pecl-spl_types-0.4.0/work/spl_types-0.4.0 to PHP target directory Expected Results: build correctly
i made it to build with this changes to ebuild --- pecl-spl_types-0.4.0.ebuild 2013-09-10 05:31:13.000000000 +0200 +++ /tmp/pecl-spl_types-0.4.0.ebuild 2014-07-15 12:52:33.000000000 +0200 @@ -11 +11 @@ -USE_PHP="php5-3 php5-4" +USE_PHP="php5-3 php5-4 php5-5" @@ -14,0 +15 @@ + @@ -23,0 +25,7 @@ + + +src_unpack() { + unpack ${A} + mv "SPL_Types-${PV}" "${S}" + } + after this it still complain something about some php5.4 folder, but looks that works.
+*pecl-spl_types-0.4.0-r1 (30 Sep 2014) + + 30 Sep 2014; Brian Evans <grknight@gentoo.org> + +pecl-spl_types-0.4.0-r1.ebuild, -pecl-spl_types-0.4.0.ebuild: + Revbump; fix download location wrt bug 517146; Drop support for PHP 5.3; Add + support for PHP 5.{5,6}