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

Bug #12162 config-create doesn't work after installing custom roles
Submitted: 2007-10-01 10:33 UTC
From: yunosh Assigned: cellog
Status: Closed Package: PEAR (version 1.6.2)
PHP Version: Irrelevant OS:
Roadmaps: 1.7.0    
Subscription  


 [2007-10-01 10:33 UTC] yunosh (Jan Schneider)
Description: ------------ When trying to create a fresh PEAR configuration file with 'pear config-create', I get the following error message: Configuration variable "horde_dir" already exists This configuration variable had been created by a custom role. This is the backtrace to the line in Config.php that raises the error message: array(4) { [0]=> array(6) { ["file"]=> string(38) "/usr/share/php/PEAR/Installer/Role.php" ["line"]=> int(57) ["function"]=> string(14) "_addconfigvars" ["class"]=> string(11) "pear_config" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &array(1) { ["horde_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(9) "@php_dir@" ["doc"]=> string(59) "The document root for Horde files served by the web server." ["prompt"]=> string(24) "Horde web root directory" ["group"]=> string(14) "File Locations" } } } } [1]=> array(6) { ["file"]=> string(30) "/usr/share/php/PEAR/Config.php" ["line"]=> int(566) ["function"]=> string(16) "initializeconfig" ["class"]=> string(19) "pear_installer_role" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> &object(pear_config)(18) { ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(10) "PEAR_Error" ["_expected_errors"]=> array(0) { } ["files"]=> array(2) { ["system"]=> string(0) "" ["user"]=> string(0) "" } ["layers"]=> array(0) { } ["configuration"]=> array(3) { ["user"]=> array(0) { } ["system"]=> array(0) { } ["default"]=> array(0) { } } ["_channelConfigInfo"]=> array(14) { [0]=> string(7) "php_dir" [1]=> string(7) "ext_dir" [2]=> string(7) "doc_dir" [3]=> string(7) "bin_dir" [4]=> string(8) "data_dir" [5]=> string(8) "test_dir" [6]=> string(7) "php_bin" [7]=> string(8) "username" [8]=> string(8) "password" [9]=> string(7) "verbose" [10]=> string(15) "preferred_state" [11]=> string(5) "umask" [12]=> string(16) "preferred_mirror" [13]=> string(9) "horde_dir" } ["_channels"]=> array(3) { [0]=> string(12) "pear.php.net" [1]=> string(12) "pecl.php.net" [2]=> string(5) "__uri" } ["_installRoot"]=> bool(false) ["_registry"]=> array(0) { } ["_regInitialized"]=> array(0) { } ["_noRegistry"]=> bool(false) ["_errorsFound"]=> int(0) ["_lastError"]=> NULL ["configuration_info"]=> array(28) { ["default_channel"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(12) "pear.php.net" ["doc"]=> string(56) "the default channel to use for all non explicit commands" ["prompt"]=> string(15) "Default Channel" ["group"]=> string(15) "Internet Access" } ["preferred_mirror"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(12) "pear.php.net" ["doc"]=> string(55) "the default server or mirror to use for channel actions" ["prompt"]=> string(22) "Default Channel Mirror" ["group"]=> string(15) "Internet Access" } ["remote_config"]=> array(5) { ["type"]=> string(8) "password" ["default"]=> string(0) "" ["doc"]=> string(68) "ftp url of remote configuration file to use for synchronized install" ["prompt"]=> string(25) "Remote Configuration File" ["group"]=> string(15) "Internet Access" } ["auto_discover"]=> array(5) { ["type"]=> string(7) "integer" ["default"]=> int(0) ["doc"]=> string(46) "whether to automatically discover new channels" ["prompt"]=> string(26) "Auto-discover new Channels" ["group"]=> string(15) "Internet Access" } ["master_server"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(12) "pear.php.net" ["doc"]=> string(55) "name of the main PEAR server [NOT USED IN THIS VERSION]" ["prompt"]=> string(24) "PEAR server [DEPRECATED]" ["group"]=> string(15) "Internet Access" } ["http_proxy"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(0) "" ["doc"]=> string(55) "HTTP proxy (host:port) to use when downloading packages" ["prompt"]=> string(25) "HTTP Proxy Server Address" ["group"]=> string(15) "Internet Access" } ["php_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(14) "/usr/share/php" ["doc"]=> string(40) "directory where .php files are installed" ["prompt"]=> string(14) "PEAR directory" ["group"]=> string(14) "File Locations" } ["ext_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(44) "/usr/share/extensions/debug-non-zts-20020429" ["doc"]=> string(49) "directory where loadable extensions are installed" ["prompt"]=> string(23) "PHP extension directory" ["group"]=> string(14) "File Locations" } ["doc_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(19) "/usr/share/php/docs" ["doc"]=> string(42) "directory where documentation is installed" ["prompt"]=> string(28) "PEAR documentation directory" ["group"]=> string(14) "File Locations" } ["bin_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(8) "/usr/bin" ["doc"]=> string(41) "directory where executables are installed" ["prompt"]=> string(26) "PEAR executables directory" ["group"]=> string(14) "File Locations" } ["data_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(19) "/usr/share/php/data" ["doc"]=> string(40) "directory where data files are installed" ["prompt"]=> string(19) "PEAR data directory" ["group"]=> string(25) "File Locations (Advanced)" } ["test_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(20) "/usr/share/php/tests" ["doc"]=> string(46) "directory where regression tests are installed" ["prompt"]=> string(19) "PEAR test directory" ["group"]=> string(25) "File Locations (Advanced)" } ["cache_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(15) "/tmp/pear/cache" ["doc"]=> string(40) "directory which is used for XMLRPC cache" ["prompt"]=> string(30) "PEAR Installer cache directory" ["group"]=> string(25) "File Locations (Advanced)" } ["temp_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(14) "/tmp/pear/temp" ["doc"]=> string(42) "directory which is used for all temp files" ["prompt"]=> string(29) "PEAR Installer temp directory" ["group"]=> string(25) "File Locations (Advanced)" } ["download_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(18) "/tmp/pear/download" ["doc"]=> string(48) "directory which is used for all downloaded files" ["prompt"]=> string(33) "PEAR Installer download directory" ["group"]=> string(25) "File Locations (Advanced)" } ["php_bin"]=> array(5) { ["type"]=> string(4) "file" ["default"]=> string(12) "/usr/bin/php" ["doc"]=> string(40) "PHP CLI/CGI binary for executing scripts" ["prompt"]=> string(18) "PHP CLI/CGI binary" ["group"]=> string(25) "File Locations (Advanced)" } ["php_ini"]=> array(5) { ["type"]=> string(4) "file" ["default"]=> string(0) "" ["doc"]=> string(65) "location of php.ini in which to enable PECL extensions on install" ["prompt"]=> string(16) "php.ini location" ["group"]=> string(25) "File Locations (Advanced)" } ["username"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(0) "" ["doc"]=> string(36) "(maintainers) your PEAR account name" ["prompt"]=> string(31) "PEAR username (for maintainers)" ["group"]=> string(11) "Maintainers" } ["password"]=> array(5) { ["type"]=> string(8) "password" ["default"]=> string(0) "" ["doc"]=> string(40) "(maintainers) your PEAR account password" ["prompt"]=> string(31) "PEAR password (for maintainers)" ["group"]=> string(11) "Maintainers" } ["verbose"]=> array(5) { ["type"]=> string(7) "integer" ["default"]=> int(1) ["doc"]=> string(69) "verbosity level 0: really quiet 1: somewhat quiet 2: verbose 3: debug" ["prompt"]=> string(15) "Debug Log Level" ["group"]=> string(8) "Advanced" } ["preferred_state"]=> array(6) { ["type"]=> string(3) "set" ["default"]=> string(6) "stable" ["doc"]=> string(112) "the installer will prefer releases with this state when installing packages without a version or state specified" ["valid_set"]=> array(5) { [0]=> string(6) "stable" [1]=> string(4) "beta" [2]=> string(5) "alpha" [3]=> string(5) "devel" [4]=> string(8) "snapshot" } ["prompt"]=> string(23) "Preferred Package State" ["group"]=> string(8) "Advanced" } ["umask"]=> array(5) { ["type"]=> string(4) "mask" ["default"]=> string(2) "22" ["doc"]=> string(55) "umask used when creating files (Unix-like systems only)" ["prompt"]=> string(14) "Unix file mask" ["group"]=> string(8) "Advanced" } ["cache_ttl"]=> array(5) { ["type"]=> string(7) "integer" ["default"]=> int(3600) ["doc"]=> string(60) "amount of secs where the local cache is used and not updated" ["prompt"]=> string(16) "Cache TimeToLive" ["group"]=> string(8) "Advanced" } ["sig_type"]=> array(6) { ["type"]=> string(3) "set" ["default"]=> string(3) "gpg" ["doc"]=> string(40) "which package signature mechanism to use" ["valid_set"]=> array(1) { [0]=> string(3) "gpg" } ["prompt"]=> string(22) "Package Signature Type" ["group"]=> string(11) "Maintainers" } ["sig_bin"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(12) "/usr/bin/gpg" ["doc"]=> string(40) "which package signature mechanism to use" ["prompt"]=> string(26) "Signature Handling Program" ["group"]=> string(11) "Maintainers" } ["sig_keyid"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(0) "" ["doc"]=> string(33) "which key to use for signing with" ["prompt"]=> string(16) "Signature Key Id" ["group"]=> string(11) "Maintainers" } ["sig_keydir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(13) "/etc/pearkeys" ["doc"]=> string(42) "directory where signature keys are located" ["prompt"]=> string(23) "Signature Key Directory" ["group"]=> string(11) "Maintainers" } ["horde_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(21) "/srv/www/htdocs/horde" ["doc"]=> string(59) "The document root for Horde files served by the web server." ["prompt"]=> string(24) "Horde web root directory" ["group"]=> string(14) "File Locations" } } } } } [2]=> array(6) { ["file"]=> string(30) "/usr/share/php/PEAR/Config.php" ["line"]=> int(645) ["function"]=> string(11) "pear_config" ["class"]=> string(11) "pear_config" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> &string(0) "" [1]=> &string(0) "" [2]=> &bool(false) [3]=> &bool(true) } } [3]=> array(6) { ["file"]=> string(26) "/usr/share/php/pearcmd.php" ["line"]=> int(120) ["function"]=> string(9) "singleton" ["class"]=> string(11) "pear_config" ["type"]=> string(2) "::" ["args"]=> array(2) { [0]=> &string(0) "" [1]=> &string(0) "" } } } array(5) { [0]=> array(6) { ["file"]=> string(38) "/usr/share/php/PEAR/Installer/Role.php" ["line"]=> int(57) ["function"]=> string(14) "_addconfigvars" ["class"]=> string(11) "pear_config" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &array(1) { ["horde_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(9) "@php_dir@" ["doc"]=> string(59) "The document root for Horde files served by the web server." ["prompt"]=> string(24) "Horde web root directory" ["group"]=> string(14) "File Locations" } } } } [1]=> array(6) { ["file"]=> string(30) "/usr/share/php/PEAR/Config.php" ["line"]=> int(566) ["function"]=> string(16) "initializeconfig" ["class"]=> string(19) "pear_installer_role" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> &object(pear_config)(18) { ["_debug"]=> bool(false) ["_default_error_mode"]=> NULL ["_default_error_options"]=> NULL ["_default_error_handler"]=> string(0) "" ["_error_class"]=> string(10) "PEAR_Error" ["_expected_errors"]=> array(0) { } ["files"]=> array(2) { ["system"]=> string(0) "" ["user"]=> string(0) "" } ["layers"]=> array(0) { } ["configuration"]=> array(3) { ["user"]=> array(0) { } ["system"]=> array(0) { } ["default"]=> array(0) { } } ["_channelConfigInfo"]=> array(14) { [0]=> string(7) "php_dir" [1]=> string(7) "ext_dir" [2]=> string(7) "doc_dir" [3]=> string(7) "bin_dir" [4]=> string(8) "data_dir" [5]=> string(8) "test_dir" [6]=> string(7) "php_bin" [7]=> string(8) "username" [8]=> string(8) "password" [9]=> string(7) "verbose" [10]=> string(15) "preferred_state" [11]=> string(5) "umask" [12]=> string(16) "preferred_mirror" [13]=> string(9) "horde_dir" } ["_channels"]=> array(3) { [0]=> string(12) "pear.php.net" [1]=> string(12) "pecl.php.net" [2]=> string(5) "__uri" } ["_installRoot"]=> bool(false) ["_registry"]=> array(0) { } ["_regInitialized"]=> array(0) { } ["_noRegistry"]=> bool(false) ["_errorsFound"]=> int(0) ["_lastError"]=> NULL ["configuration_info"]=> array(28) { ["default_channel"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(12) "pear.php.net" ["doc"]=> string(56) "the default channel to use for all non explicit commands" ["prompt"]=> string(15) "Default Channel" ["group"]=> string(15) "Internet Access" } ["preferred_mirror"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(12) "pear.php.net" ["doc"]=> string(55) "the default server or mirror to use for channel actions" ["prompt"]=> string(22) "Default Channel Mirror" ["group"]=> string(15) "Internet Access" } ["remote_config"]=> array(5) { ["type"]=> string(8) "password" ["default"]=> string(0) "" ["doc"]=> string(68) "ftp url of remote configuration file to use for synchronized install" ["prompt"]=> string(25) "Remote Configuration File" ["group"]=> string(15) "Internet Access" } ["auto_discover"]=> array(5) { ["type"]=> string(7) "integer" ["default"]=> int(0) ["doc"]=> string(46) "whether to automatically discover new channels" ["prompt"]=> string(26) "Auto-discover new Channels" ["group"]=> string(15) "Internet Access" } ["master_server"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(12) "pear.php.net" ["doc"]=> string(55) "name of the main PEAR server [NOT USED IN THIS VERSION]" ["prompt"]=> string(24) "PEAR server [DEPRECATED]" ["group"]=> string(15) "Internet Access" } ["http_proxy"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(0) "" ["doc"]=> string(55) "HTTP proxy (host:port) to use when downloading packages" ["prompt"]=> string(25) "HTTP Proxy Server Address" ["group"]=> string(15) "Internet Access" } ["php_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(14) "/usr/share/php" ["doc"]=> string(40) "directory where .php files are installed" ["prompt"]=> string(14) "PEAR directory" ["group"]=> string(14) "File Locations" } ["ext_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(44) "/usr/share/extensions/debug-non-zts-20020429" ["doc"]=> string(49) "directory where loadable extensions are installed" ["prompt"]=> string(23) "PHP extension directory" ["group"]=> string(14) "File Locations" } ["doc_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(19) "/usr/share/php/docs" ["doc"]=> string(42) "directory where documentation is installed" ["prompt"]=> string(28) "PEAR documentation directory" ["group"]=> string(14) "File Locations" } ["bin_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(8) "/usr/bin" ["doc"]=> string(41) "directory where executables are installed" ["prompt"]=> string(26) "PEAR executables directory" ["group"]=> string(14) "File Locations" } ["data_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(19) "/usr/share/php/data" ["doc"]=> string(40) "directory where data files are installed" ["prompt"]=> string(19) "PEAR data directory" ["group"]=> string(25) "File Locations (Advanced)" } ["test_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(20) "/usr/share/php/tests" ["doc"]=> string(46) "directory where regression tests are installed" ["prompt"]=> string(19) "PEAR test directory" ["group"]=> string(25) "File Locations (Advanced)" } ["cache_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(15) "/tmp/pear/cache" ["doc"]=> string(40) "directory which is used for XMLRPC cache" ["prompt"]=> string(30) "PEAR Installer cache directory" ["group"]=> string(25) "File Locations (Advanced)" } ["temp_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(14) "/tmp/pear/temp" ["doc"]=> string(42) "directory which is used for all temp files" ["prompt"]=> string(29) "PEAR Installer temp directory" ["group"]=> string(25) "File Locations (Advanced)" } ["download_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(18) "/tmp/pear/download" ["doc"]=> string(48) "directory which is used for all downloaded files" ["prompt"]=> string(33) "PEAR Installer download directory" ["group"]=> string(25) "File Locations (Advanced)" } ["php_bin"]=> array(5) { ["type"]=> string(4) "file" ["default"]=> string(12) "/usr/bin/php" ["doc"]=> string(40) "PHP CLI/CGI binary for executing scripts" ["prompt"]=> string(18) "PHP CLI/CGI binary" ["group"]=> string(25) "File Locations (Advanced)" } ["php_ini"]=> array(5) { ["type"]=> string(4) "file" ["default"]=> string(0) "" ["doc"]=> string(65) "location of php.ini in which to enable PECL extensions on install" ["prompt"]=> string(16) "php.ini location" ["group"]=> string(25) "File Locations (Advanced)" } ["username"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(0) "" ["doc"]=> string(36) "(maintainers) your PEAR account name" ["prompt"]=> string(31) "PEAR username (for maintainers)" ["group"]=> string(11) "Maintainers" } ["password"]=> array(5) { ["type"]=> string(8) "password" ["default"]=> string(0) "" ["doc"]=> string(40) "(maintainers) your PEAR account password" ["prompt"]=> string(31) "PEAR password (for maintainers)" ["group"]=> string(11) "Maintainers" } ["verbose"]=> array(5) { ["type"]=> string(7) "integer" ["default"]=> int(1) ["doc"]=> string(69) "verbosity level 0: really quiet 1: somewhat quiet 2: verbose 3: debug" ["prompt"]=> string(15) "Debug Log Level" ["group"]=> string(8) "Advanced" } ["preferred_state"]=> array(6) { ["type"]=> string(3) "set" ["default"]=> string(6) "stable" ["doc"]=> string(112) "the installer will prefer releases with this state when installing packages without a version or state specified" ["valid_set"]=> array(5) { [0]=> string(6) "stable" [1]=> string(4) "beta" [2]=> string(5) "alpha" [3]=> string(5) "devel" [4]=> string(8) "snapshot" } ["prompt"]=> string(23) "Preferred Package State" ["group"]=> string(8) "Advanced" } ["umask"]=> array(5) { ["type"]=> string(4) "mask" ["default"]=> string(2) "22" ["doc"]=> string(55) "umask used when creating files (Unix-like systems only)" ["prompt"]=> string(14) "Unix file mask" ["group"]=> string(8) "Advanced" } ["cache_ttl"]=> array(5) { ["type"]=> string(7) "integer" ["default"]=> int(3600) ["doc"]=> string(60) "amount of secs where the local cache is used and not updated" ["prompt"]=> string(16) "Cache TimeToLive" ["group"]=> string(8) "Advanced" } ["sig_type"]=> array(6) { ["type"]=> string(3) "set" ["default"]=> string(3) "gpg" ["doc"]=> string(40) "which package signature mechanism to use" ["valid_set"]=> array(1) { [0]=> string(3) "gpg" } ["prompt"]=> string(22) "Package Signature Type" ["group"]=> string(11) "Maintainers" } ["sig_bin"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(12) "/usr/bin/gpg" ["doc"]=> string(40) "which package signature mechanism to use" ["prompt"]=> string(26) "Signature Handling Program" ["group"]=> string(11) "Maintainers" } ["sig_keyid"]=> array(5) { ["type"]=> string(6) "string" ["default"]=> string(0) "" ["doc"]=> string(33) "which key to use for signing with" ["prompt"]=> string(16) "Signature Key Id" ["group"]=> string(11) "Maintainers" } ["sig_keydir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(13) "/etc/pearkeys" ["doc"]=> string(42) "directory where signature keys are located" ["prompt"]=> string(23) "Signature Key Directory" ["group"]=> string(11) "Maintainers" } ["horde_dir"]=> array(5) { ["type"]=> string(9) "directory" ["default"]=> string(21) "/srv/www/htdocs/horde" ["doc"]=> string(59) "The document root for Horde files served by the web server." ["prompt"]=> string(24) "Horde web root directory" ["group"]=> string(14) "File Locations" } } } } } [2]=> array(6) { ["file"]=> string(38) "/usr/share/php/PEAR/Command/Config.php" ["line"]=> int(346) ["function"]=> string(11) "pear_config" ["class"]=> string(11) "pear_config" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> &string(48) "/home/jan/headhorde/groupware/pear/groupware.ini" [1]=> &string(18) "#no#system#config#" [2]=> &bool(false) [3]=> &bool(false) } } [3]=> array(6) { ["file"]=> string(38) "/usr/share/php/PEAR/Command/Common.php" ["line"]=> int(285) ["function"]=> string(14) "doconfigcreate" ["class"]=> string(19) "pear_command_config" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> &string(13) "config-create" [1]=> &array(0) { } [2]=> &array(2) { [0]=> string(45) "/home/jan/headhorde/groupware/scripts/../pear" [1]=> string(59) "/home/jan/headhorde/groupware/scripts/../pear/groupware.ini" } } } [4]=> array(6) { ["file"]=> string(26) "/usr/share/php/pearcmd.php" ["line"]=> int(312) ["function"]=> string(3) "run" ["class"]=> string(19) "pear_command_config" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> &string(13) "config-create" [1]=> &array(0) { } [2]=> &array(2) { [0]=> string(45) "/home/jan/headhorde/groupware/scripts/../pear" [1]=> string(59) "/home/jan/headhorde/groupware/scripts/../pear/groupware.ini" } } } }

Comments

 [2007-10-01 10:44 UTC] yunosh (Jan Schneider)
Hm, I first though I did an error when pasting the backtrace, but this line is really called two times. Once through PEAR_Config::singleton(), once through PEAR_Comman_Config::run().
 [2007-10-28 05:11 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.