Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517146 - dev-php/pecl-spl_types-0.4.0 - incorrect ${S} (should be uppercase)
Summary: dev-php/pecl-spl_types-0.4.0 - incorrect ${S} (should be uppercase)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-15 10:11 UTC by Zdravko Spoljar
Modified: 2014-09-30 00:33 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zdravko Spoljar 2014-07-15 10:11:15 UTC
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
Comment 1 Zdravko Spoljar 2014-07-15 10:53:46 UTC
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.
Comment 2 Brian Evans (RETIRED) gentoo-dev 2014-09-30 00:33:51 UTC
+*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}