Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.26.0

Bug #10280 go-pear tries to install Console_Getopt twice
Submitted: 2007-03-06 06:43 UTC Modified: 2007-03-17 16:30 UTC
From: rosier Assigned: rosier
Status: Closed Package: pearweb
PHP Version: Irrelevant OS: Linux
Roadmaps: 1.10.4    
Subscription  


 [2007-03-06 06:43 UTC] rosier (Jan Rosier)
Description: ------------ I did a fresh install of PEAR and got the following error: PHP Warning: mkdir(): File exists in /home/rosier/- on line 716 Looking at the code of go-pear. I see that bootstrapping of Console_Getopt is done twice. Test script: --------------- lynx -source http://go-pear.org/ | php Expected result: ---------------- Loading zlib: ok Downloading package: PEAR-stable......ok Downloading package: Archive_Tar-stable....ok Downloading package: Console_Getopt-stable....ok Downloading package: Structures_Graph-stable....ok Bootstrapping: PEAR...................(remote) ok Bootstrapping: Archive_Tar............(remote) ok Bootstrapping: Console_Getopt.........(remote) ok Extracting installer..................ok warning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.1) warning: pear/PEAR requires package "pear/Console_Getopt" (version >= 1.2) warning: pear/PEAR requires package "pear/Structures_Graph" (version >= 1.0.2) pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0) pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version >= 0.5.0) pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version >= 0.4.0) install ok: channel://pear.php.net/PEAR-1.5.1 install ok: channel://pear.php.net/Archive_Tar-1.3.2 install ok: channel://pear.php.net/Console_Getopt-1.2.2 install ok: channel://pear.php.net/Structures_Graph-1.0.2 Actual result: -------------- Loading zlib: ok Downloading package: PEAR-stable......ok Downloading package: Archive_Tar-stable....ok Downloading package: Console_Getopt-stable....ok Downloading package: Structures_Graph-stable....ok Bootstrapping: PEAR...................(remote) ok Bootstrapping: Archive_Tar............(remote) ok Bootstrapping: Console_Getopt.........(remote) ok Bootstrapping: Console_Getopt.........PHP Warning: mkdir(): File exists in /home/rosier/- on line 716 (remote) ok Extracting installer..................ok warning: pear/PEAR requires package "pear/Archive_Tar" (version >= 1.3.1) warning: pear/PEAR requires package "pear/Console_Getopt" (version >= 1.2) warning: pear/PEAR requires package "pear/Structures_Graph" (version >= 1.0.2) pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0) pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version >= 0.5.0) pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version >= 0.4.0) install ok: channel://pear.php.net/PEAR-1.5.1 install ok: channel://pear.php.net/Archive_Tar-1.3.2 install ok: channel://pear.php.net/Console_Getopt-1.2.2 install ok: channel://pear.php.net/Structures_Graph-1.0.2

Comments

 [2007-03-17 16:30 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. 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.