Edit report at http://pear.php.net/bugs/bug.php?id=18211&edit=1
ID: 18211
Updated by: helgith@gmail.com
Reported By: bulk at janoszen dot hu
Summary: go-pear.php fails due to permission problems
-Status: Open
+Status: Closed
Type: Bug
Package: pearweb_gopear
Operating System: Windows 7 64 bit
Package Version: 1.1.4
PHP Version: 5.3.5
-Assigned To:
+Assigned To: dufuz
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: dufuz
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2011-01-25 14:10:08] tyrael
janoszen, please read the issue, that I've linked in my previous
comment, I've mentioned that also.
Tyrael
------------------------------------------------------------------------
[2011-01-25 09:08:40] janoszen
In that case please remove go-pear.php alltogether.
------------------------------------------------------------------------
[2011-01-24 20:35:25] tyrael
As Helgi Ãormar Ãorbjörnsson pointed out on twitter, go-pear.php
isn't supported anymore, so maybe we don't want to fix this.
But in this case, we have to update the documentation to reflect the
current situation, and suggest the go-pear.phar for setting up pear, not
the go-pear.php.
I created a separate ticket for that issue:
http://pear.php.net/bugs/bug.php?id=18217
------------------------------------------------------------------------
[2011-01-23 16:33:34] tyrael
After some debuging, I've figured out, that this can be fixed with
updating the 'Archive/Tar.php' to the current version in the
$bootstrap_files.
the same issue was mentioned before multiple times:
http://pear.php.net/bugs/bug.php?id=18201
http://pear.php.net/bugs/bug.php?id=18132 (the same solution was
suggested here)
I think fixing the Archive/Tar.php would be a quick fix, but on the long
run, some refactoring is really needed in the pearweb_gopear package.
it seems that the package maintainers abadoned this package. :(
here is a patch:
$bootstrap_files = array(
'PEAR.php' =>
'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/PEAR.php?view=co',
- 'Archive/Tar.php' =>
'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/RELEASE_1_3_2/Archive/Tar.php?view=co',
+ 'Archive/Tar.php' =>
'http://svn.php.net/viewvc/pear/packages/Archive_Tar/tags/Archive_Tar-1.3.7/Archive/Tar.php?view=co',
'Console/Getopt.php' =>
'http://svn.php.net/viewvc/pear/pear-core/branches/PEAR_1_4/Console/Getopt.php?view=co',
);
------------------------------------------------------------------------
[2011-01-23 09:37:54] janoszen
Description:
------------
go-pear.php fails due to permission problem on Structures_Graph
Expected result:
----------------
PEAR install correclly
Actual result:
--------------
Downloading package: Structures_Graph....PHP Deprecated: Function
eregi() is deprecated in go-pear.php on line 1081
Error while opening
{temp/docs/html/Structures_Graph/Structures_Graph_Manipulator_TopologicalSorter.html
} in write binary mode
PHP Warning: unlink(temp\Structures_Graph-1.0.4.tgz): Permission denied
in go-pear.php on line 1231
PHP Warning: rmdir(temp): Directory not empty in go-pear.php on line
1238
Note: after TopologicalSorter.html there are several line breaks and
tabs, I'm not sure if that's a part of the filename.
------------------------------------------------------------------------