pear cannot be run after installing dev-php/PEAR-PEAR #pear Warning: require_once(Console/Getopt.php): failed to open stream: No such file or directory in System.php on line 21 PHP Warning: require_once(Console/Getopt.php): failed to open stream: No such file or directory in /usr/share/php/System.php on line 21 Warning: require_once(Console/Getopt.php): failed to open stream: No such file or directory in /usr/share/php/System.php on line 21 PHP Fatal error: require_once(): Failed opening required 'Console/Getopt.php' (include_path='/usr/share/php') in /usr/share/php/System.php on line 21 Fatal error: require_once(): Failed opening required 'Console/Getopt.php' (include_path='/usr/share/php') in /usr/share/php/System.php on line 21 Should depend on dev-php/PEAR-Console_Getopt Reproducible: Always
As a workaround, use dev-php/pear. It depends on Console_GetOpt and is meant to give you a full pear setup.
We fixed the deps on this a while ago, so it should not longer be a problem to install PEAR-PEAR instead of pear.