<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=PEAR</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/23805" />
      <rdf:li rdf:resource="http://pear.php.net/bug/23777" />
      <rdf:li rdf:resource="http://pear.php.net/bug/23775" />
      <rdf:li rdf:resource="http://pear.php.net/bug/23774" />
      <rdf:li rdf:resource="http://pear.php.net/bug/23772" />
      <rdf:li rdf:resource="http://pear.php.net/bug/23760" />
      <rdf:li rdf:resource="http://pear.php.net/bug/21198" />
      <rdf:li rdf:resource="http://pear.php.net/bug/21171" />
      <rdf:li rdf:resource="http://pear.php.net/bug/21100" />
      <rdf:li rdf:resource="http://pear.php.net/bug/21054" />
      <rdf:li rdf:resource="http://pear.php.net/bug/21008" />
      <rdf:li rdf:resource="http://pear.php.net/bug/21007" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20996" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20995" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20988" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20970" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20560" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20559" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20529" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20517" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20478" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20445" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20383" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20371" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20347" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19650" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19460" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19407" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19282" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19248" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19153" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19150" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19138" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18970" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18888" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18786" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18666" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18616" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18485" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18467" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18464" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18463" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18462" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18461" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18460" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18450" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18363" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18321" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18320" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18309" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18307" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18278" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18029" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18004" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17797" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17715" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17640" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17595" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17535" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17479" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17387" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17127" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17081" />
      <rdf:li rdf:resource="http://pear.php.net/bug/17016" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16959" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16939" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16894" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16654" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16644" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16545" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16243" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16187" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15909" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15745" />
      <rdf:li rdf:resource="http://pear.php.net/bug/15098" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14842" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14387" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13648" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13563" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13346" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13256" />
      <rdf:li rdf:resource="http://pear.php.net/bug/12898" />
      <rdf:li rdf:resource="http://pear.php.net/bug/11641" />
      <rdf:li rdf:resource="http://pear.php.net/bug/11195" />
      <rdf:li rdf:resource="http://pear.php.net/bug/11190" />
      <rdf:li rdf:resource="http://pear.php.net/bug/10765" />
      <rdf:li rdf:resource="http://pear.php.net/bug/10667" />
      <rdf:li rdf:resource="http://pear.php.net/bug/10663" />
      <rdf:li rdf:resource="http://pear.php.net/bug/10626" />
      <rdf:li rdf:resource="http://pear.php.net/bug/10570" />
      <rdf:li rdf:resource="http://pear.php.net/bug/10524" />
      <rdf:li rdf:resource="http://pear.php.net/bug/4208" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/23805">
      <title>PEAR: Bug 23805 [Open] Stack pop should check to ensure stack is not empty</title>
      <link>http://pear.php.net/bugs/23805</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by happydog
2019-04-09T16:55:02+00:00
PHP: Irrelevant OS: All Package Version: 1.10.8

Description:
------------
PEAR::staticPopErrorHandling() and PEAR::popErrorHandling() do not perform any checks that the stack is non-empty and so may give unexpected results or PHP errors in this situation.

Most notably, on PHP 7.2 and above, the sizeof() calls will now throw warnings if it is passed a non-array, as will be the case if the stack is empty: Warning: sizeof(): Parameter must be an array or an object that implements Countable

At the very least, the code should bail-out if the stack is empty, however it may also be sensible to trigger some kind of error in this situation (though I don't know enough about the functions or how they are used to tell if this is appropriate).</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by happydog
2019-04-09T16:55:02+00:00
PHP: Irrelevant OS: All Package Version: 1.10.8

Description:
------------
PEAR::staticPopErrorHandling() and PEAR::popErrorHandling() do not perform any checks that the stack is non-empty and so may give unexpected results or PHP errors in this situation.

Most notably, on PHP 7.2 and above, the sizeof() calls will now throw warnings if it is passed a non-array, as will be the case if the stack is empty: Warning: sizeof(): Parameter must be an array or an object that implements Countable

At the very least, the code should bail-out if the stack is empty, however it may also be sensible to trigger some kind of error in this situation (though I don't know enough about the functions or how they are used to tell if this is appropriate).</pre>]]></description>
      <dc:date>2019-04-09T16:55:02+00:00</dc:date>
      <dc:creator>pear &amp;#x61;&amp;#116; kennel17 &amp;#x64;&amp;#111;&amp;#x74; co &amp;#x64;&amp;#111;&amp;#x74; uk</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/23777">
      <title>PEAR: Bug 23777 [Open] Faulty pecl script</title>
      <link>http://pear.php.net/bugs/23777</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by shea690901
2018-11-18T14:09:44+00:00
PHP: Irrelevant OS: Ubuntu 18.04.1 LTS Package Version: 1.10.6

Description:
------------
After fresh install of PEAR 1.10.6 (using go-pear.phar) the pecl script throws several messages and stops without producing the expected result while returning an actual error.

Using the 'help' command one get's at least a partial response, with no error return code.



This behavior can be corrected by removing the php option '-n' on the last line of the script, although I can't tell if the script then always works in the intended way...

Test script:
---------------
pecl [any command]

Expected result:
----------------
INSTALLED PACKAGES, CHANNEL PECL.PHP.NET:
=========================================
PACKAGE   VERSION STATE
libsodium 2.0.13  stable
mcrypt    1.0.1   snapshot


Actual result:
--------------
Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249
XML Extension not found</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by shea690901
2018-11-18T14:09:44+00:00
PHP: Irrelevant OS: Ubuntu 18.04.1 LTS Package Version: 1.10.6

Description:
------------
After fresh install of PEAR 1.10.6 (using go-pear.phar) the pecl script throws several messages and stops without producing the expected result while returning an actual error.

Using the 'help' command one get's at least a partial response, with no error return code.



This behavior can be corrected by removing the php option '-n' on the last line of the script, although I can't tell if the script then always works in the intended way...

Test script:
---------------
pecl [any command]

Expected result:
----------------
INSTALLED PACKAGES, CHANNEL PECL.PHP.NET:
=========================================
PACKAGE   VERSION STATE
libsodium 2.0.13  stable
mcrypt    1.0.1   snapshot


Actual result:
--------------
Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: honorsbaseinstall in Role.php on line 173

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: installable in Role.php on line 139

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: phpfile in Role.php on line 204

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Notice: Undefined index: config_vars in Role.php on line 46

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249

Warning: Invalid argument supplied for foreach() in /usr/share/pear/lib/PEAR/Command.php on line 249
XML Extension not found</pre>]]></description>
      <dc:date>2018-11-18T14:09:44+00:00</dc:date>
      <dc:creator>shea690901 &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/23775">
      <title>PEAR: Bug 23775 [Open] create_function is deprecated in PHP 7.2</title>
      <link>http://pear.php.net/bugs/23775</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by kna
2018-11-13T02:31:20+00:00
PHP: Irrelevant OS:  Package Version: 1.10.6

Description:
------------
https://wiki.php.net/rfc/deprecations_php_7_2

It should be replaced to anonymous functions.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by kna
2018-11-13T02:31:20+00:00
PHP: Irrelevant OS:  Package Version: 1.10.6

Description:
------------
https://wiki.php.net/rfc/deprecations_php_7_2

It should be replaced to anonymous functions.</pre>]]></description>
      <dc:date>2018-11-13T02:31:20+00:00</dc:date>
      <dc:creator>naoki-kawamukai &amp;#x61;&amp;#116; cybozu &amp;#x64;&amp;#111;&amp;#x74; co &amp;#x64;&amp;#111;&amp;#x74; jp</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/23774">
      <title>PEAR: Documentation Problem 23774 [Open] download go-pear.phar file error</title>
      <link>http://pear.php.net/bugs/23774</link>
      <content:encoded><![CDATA[<pre>PEAR Documentation Problem
Reported by samirparikh
2018-10-30T14:58:39+00:00
PHP: Irrelevant OS: window 7 Package Version: Unknown

Description:
------------
When i download go-pear.phar from http://pear.php.net/go-pear.phar this 
link, but file not properly download some text display after require_once 
'phar://go-pear.phar/index.php'; this line like 
__HALT_COMPILER();g??F??????????go-
pear.phar???????Archive/Tar.php%E??LRY%E??OQ-
m?????????Console/Getopt.php}4???LRY}4??e??om???
???	???index.php?????LRY????A?#m??????

and to long file max 100mb error display</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Documentation Problem
Reported by samirparikh
2018-10-30T14:58:39+00:00
PHP: Irrelevant OS: window 7 Package Version: Unknown

Description:
------------
When i download go-pear.phar from http://pear.php.net/go-pear.phar this 
link, but file not properly download some text display after require_once 
'phar://go-pear.phar/index.php'; this line like 
__HALT_COMPILER();g??F??????????go-
pear.phar???????Archive/Tar.php%E??LRY%E??OQ-
m?????????Console/Getopt.php}4???LRY}4??e??om???
???	???index.php?????LRY????A?#m??????

and to long file max 100mb error display</pre>]]></description>
      <dc:date>2018-10-30T14:58:39+00:00</dc:date>
      <dc:creator>samirvparikh &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Documentation Problem</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/23772">
      <title>PEAR: Bug 23772 [Open] Fatal error: Cannot make static method PEAR::isError() non static in class  Mai</title>
      <link>http://pear.php.net/bugs/23772</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by ahir_123
2018-10-04T07:02:35+00:00
PHP: HEAD SVN-2018-10-04 OS: windows 7 Package Version: 1.10.6

Description:
------------
 Deprecated: Methods with the same name as their class will not be 
constructors in a future version of PHP; Mail_Queue_Error has a deprecated 
constructor in C:\wamp64\www\biomatiqueserp\Mail\Queue\Error.php on line 
61


Fatal error: Cannot make static method PEAR::isError() non static in class 
Mail_Queue in C:\wamp64\www\biomatiqueserp\Mail\Queue.php on line 125

Test script:
---------------
Fatal error: Cannot make static method PEAR::isError() non static in class 
Mail_Queue in C:\wamp64\www\biomatiqueserp\Mail\Queue.php on line 125

Expected result:
----------------
Fatal error: Cannot make static method PEAR::isError() non static in class 
Mail_Queue in C:\wamp64\www\biomatiqueserp\Mail\Queue.php on line 125

Actual result:
--------------
Fatal error: Cannot make static method PEAR::isError() non static in class 
Mail_Queue in C:\wamp64\www\biomatiqueserp\Mail\Queue.php on line 125</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by ahir_123
2018-10-04T07:02:35+00:00
PHP: HEAD SVN-2018-10-04 OS: windows 7 Package Version: 1.10.6

Description:
------------
 Deprecated: Methods with the same name as their class will not be 
constructors in a future version of PHP; Mail_Queue_Error has a deprecated 
constructor in C:\wamp64\www\biomatiqueserp\Mail\Queue\Error.php on line 
61


Fatal error: Cannot make static method PEAR::isError() non static in class 
Mail_Queue in C:\wamp64\www\biomatiqueserp\Mail\Queue.php on line 125

Test script:
---------------
Fatal error: Cannot make static method PEAR::isError() non static in class 
Mail_Queue in C:\wamp64\www\biomatiqueserp\Mail\Queue.php on line 125

Expected result:
----------------
Fatal error: Cannot make static method PEAR::isError() non static in class 
Mail_Queue in C:\wamp64\www\biomatiqueserp\Mail\Queue.php on line 125

Actual result:
--------------
Fatal error: Cannot make static method PEAR::isError() non static in class 
Mail_Queue in C:\wamp64\www\biomatiqueserp\Mail\Queue.php on line 125</pre>]]></description>
      <dc:date>2018-10-04T07:02:35+00:00</dc:date>
      <dc:creator>brijeshahir13 &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/23760">
      <title>PEAR: Bug 23760 [Open] error installing PEAR using INSTALL_ROOT</title>
      <link>http://pear.php.net/bugs/23760</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by rbro
2018-07-29T16:53:32+00:00
PHP: Irrelevant OS: Linux Package Version: Unknown

Description:
------------
I am installing PHP 7.2.8 to a separate directory using:

INSTALL_ROOT=/tmp/test make install

While it's installing, there is a PHP notice:

Notice: Undefined variable: metadata_dir in phar:///tmp/php-7.2.8/pear/install-pear-nozlib.phar/index.php on line 255

Also, I noticed in /tmp/test, there are a few extra directories that normally don't appear t hat I believe should be in /tmp/test/usr/local/lib/php instead.

/tmp/test/.channels
/tmp/test/.depdb
/tmp/test/.depdblock
/tmp/test/.lock
/tmp/test/.registry

Is this something that could be fixed?  Thanks for your help.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by rbro
2018-07-29T16:53:32+00:00
PHP: Irrelevant OS: Linux Package Version: Unknown

Description:
------------
I am installing PHP 7.2.8 to a separate directory using:

INSTALL_ROOT=/tmp/test make install

While it's installing, there is a PHP notice:

Notice: Undefined variable: metadata_dir in phar:///tmp/php-7.2.8/pear/install-pear-nozlib.phar/index.php on line 255

Also, I noticed in /tmp/test, there are a few extra directories that normally don't appear t hat I believe should be in /tmp/test/usr/local/lib/php instead.

/tmp/test/.channels
/tmp/test/.depdb
/tmp/test/.depdblock
/tmp/test/.lock
/tmp/test/.registry

Is this something that could be fixed?  Thanks for your help.</pre>]]></description>
      <dc:date>2018-07-29T16:53:32+00:00</dc:date>
      <dc:creator>ryan &amp;#x64;&amp;#111;&amp;#x74; brothers &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/21198">
      <title>PEAR: Bug 21198 [Open] PackageFileManager2 on PHP7: syntax error</title>
      <link>http://pear.php.net/bugs/21198</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by cweiske
2017-03-30T19:44:52+00:00
PHP: Irrelevant OS:  Package Version: 1.10.3

Description:
------------
PHP Parse error:  syntax error, unexpected 'new' (T_NEW) in /usr/share/php/PEAR/PackageFileManager2.php on line 1740</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by cweiske
2017-03-30T19:44:52+00:00
PHP: Irrelevant OS:  Package Version: 1.10.3

Description:
------------
PHP Parse error:  syntax error, unexpected 'new' (T_NEW) in /usr/share/php/PEAR/PackageFileManager2.php on line 1740</pre>]]></description>
      <dc:date>2017-03-30T19:44:52+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/21171">
      <title>PEAR: Bug 21171 [Open] PECL Arbitrary File Download Vulnerability</title>
      <link>http://pear.php.net/bugs/21171</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by hyp3rlinx
2017-01-26T03:10:42+00:00
PHP: 5.6.30 OS:  Package Version: 1.10.1

Description:
------------
I sent initial report Jan 11, 2017, was informed to open a bug so users 
are aware, as nobody is avail to &quot;fix&quot; or maintain this package.

Security issue: pecl download &lt;http://file&gt;

1) PECL will follow redirects and download arbitrary files with completely 
different names of the initially requested target file (when files are sent 
in response from an attacker controlled position).

2) PECL does not rename the file to the originally requested (safe) 
filename.

3) Whatever file is downloaded will overwrite whats on users system, so 
attacker can overwrite files like &quot;.htaccess&quot; if request is from webroot 
etc..

4) PECL doesn't delete these invalid files on downloads.

Regards, hyp3rlinx</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by hyp3rlinx
2017-01-26T03:10:42+00:00
PHP: 5.6.30 OS:  Package Version: 1.10.1

Description:
------------
I sent initial report Jan 11, 2017, was informed to open a bug so users 
are aware, as nobody is avail to &quot;fix&quot; or maintain this package.

Security issue: pecl download &lt;http://file&gt;

1) PECL will follow redirects and download arbitrary files with completely 
different names of the initially requested target file (when files are sent 
in response from an attacker controlled position).

2) PECL does not rename the file to the originally requested (safe) 
filename.

3) Whatever file is downloaded will overwrite whats on users system, so 
attacker can overwrite files like &quot;.htaccess&quot; if request is from webroot 
etc..

4) PECL doesn't delete these invalid files on downloads.

Regards, hyp3rlinx</pre>]]></description>
      <dc:date>2017-01-26T03:10:42+00:00</dc:date>
      <dc:creator>apparitionsec &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/21100">
      <title>PEAR: Feature/Change Request 21100 [Open] Issues with 3rd party channels using self-signed certificates</title>
      <link>http://pear.php.net/bugs/21100</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by aaronp55426
2016-07-28T16:18:08+00:00
PHP: 5.6.24 OS: CentOS Linux release 7.2.1511 Package Version: 1.10.1

Description:
------------
The pear.horde.org server is using a self-signed certificate, and so it's 
causing &quot;pear upgrade-all&quot; to fail re: certificate verify failed. This is likely 
related to: http://php.net/manual/en/migration56.openssl.php.

Obviously this is not a pear problem, but as a feature request I'd like to 
be able to easily pass an argument and have pear skip verifying 
certificates. This can be done 
by using stream_socket_client(), stream_context_create(), and 
stream_context_set_option(), E.g.:

$context = stream_context_create();
stream_context_set_option($context, 'ssl', 'verify_peer', false);
stream_context_set_option($context, 'ssl', 'verify_peer_name', false);
$fp = @stream_socket_client($host, $errno, $errstr, 15, 
STREAM_CLIENT_CONNECT, $context);


Test script:
---------------
[root@www001 ~]# pear -V
PEAR Version: 1.10.1
PHP Version: 5.6.24
Zend Engine Version: 2.6.0
Running on: Linux www001 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12 11:03:55 UTC 2016 x86_64
[root@www001 ~]# pear -vvv upgrade-all



Expected result:
----------------
Success

Actual result:
--------------
...
Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error 
messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate 
verify failed in PEAR/REST.php on line 432

Warning: fsockopen(): Failed to enable crypto in PEAR/REST.php on line 
432

Warning: fsockopen(): unable to connect to ssl://pear.horde.org:443 
(Unknown error) in PEAR/REST.php on line 432
Error getting channel info from pear.horde.org: Connection to 
`ssl://pear.horde.org:443' failed:
...</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by aaronp55426
2016-07-28T16:18:08+00:00
PHP: 5.6.24 OS: CentOS Linux release 7.2.1511 Package Version: 1.10.1

Description:
------------
The pear.horde.org server is using a self-signed certificate, and so it's 
causing &quot;pear upgrade-all&quot; to fail re: certificate verify failed. This is likely 
related to: http://php.net/manual/en/migration56.openssl.php.

Obviously this is not a pear problem, but as a feature request I'd like to 
be able to easily pass an argument and have pear skip verifying 
certificates. This can be done 
by using stream_socket_client(), stream_context_create(), and 
stream_context_set_option(), E.g.:

$context = stream_context_create();
stream_context_set_option($context, 'ssl', 'verify_peer', false);
stream_context_set_option($context, 'ssl', 'verify_peer_name', false);
$fp = @stream_socket_client($host, $errno, $errstr, 15, 
STREAM_CLIENT_CONNECT, $context);


Test script:
---------------
[root@www001 ~]# pear -V
PEAR Version: 1.10.1
PHP Version: 5.6.24
Zend Engine Version: 2.6.0
Running on: Linux www001 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12 11:03:55 UTC 2016 x86_64
[root@www001 ~]# pear -vvv upgrade-all



Expected result:
----------------
Success

Actual result:
--------------
...
Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error 
messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate 
verify failed in PEAR/REST.php on line 432

Warning: fsockopen(): Failed to enable crypto in PEAR/REST.php on line 
432

Warning: fsockopen(): unable to connect to ssl://pear.horde.org:443 
(Unknown error) in PEAR/REST.php on line 432
Error getting channel info from pear.horde.org: Connection to 
`ssl://pear.horde.org:443' failed:
...</pre>]]></description>
      <dc:date>2016-07-28T16:18:08+00:00</dc:date>
      <dc:creator>aaronp &amp;#x61;&amp;#116; critd &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/21054">
      <title>PEAR: Feature/Change Request 21054 [Open] Composer: Make pear-core Composer Package replace/provide pear-core-minimal</title>
      <link>http://pear.php.net/bugs/21054</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by blackskyliner
2016-04-15T08:42:29+00:00
PHP: Irrelevant OS:  Package Version: 1.10.1

Description:
------------
Packages which want pear/pear will install the pear-core version.
But if you also got a package which just requires pear/pear-core-minimal you 
will get some Core stuff twice, resulting in &quot;doubling&quot; of code and so on.

So I would suggest setting the main core package to replacing the minimal 
package, so if there is an appropriate dependency tree built by composer the 
minimal package gets dropped in favor of the core one.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by blackskyliner
2016-04-15T08:42:29+00:00
PHP: Irrelevant OS:  Package Version: 1.10.1

Description:
------------
Packages which want pear/pear will install the pear-core version.
But if you also got a package which just requires pear/pear-core-minimal you 
will get some Core stuff twice, resulting in &quot;doubling&quot; of code and so on.

So I would suggest setting the main core package to replacing the minimal 
package, so if there is an appropriate dependency tree built by composer the 
minimal package gets dropped in favor of the core one.</pre>]]></description>
      <dc:date>2016-04-15T08:48:15+00:00</dc:date>
      <dc:creator>blackskyliner &amp;#x61;&amp;#116; googlemail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/21008">
      <title>PEAR: Feature/Change Request 21008 [Open] pecl install last compatible extension</title>
      <link>http://pear.php.net/bugs/21008</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by mabe
2015-12-21T10:34:30+00:00
PHP: Irrelevant OS: Linux Package Version: Unknown

Description:
------------
Currently it's not possible without resource to install the last compatible extension using pecl install as it always selects the last existing version.

With PHP 7 more and more extensions are going to drop support for older PHP versions in new major releases which breaks nearly all pecl install commands on PHP &lt; 7.

Test script:
---------------
&lt;PHP 5.6&gt;
pecl install apcu

Expected result:
----------------
Last stable version 4.0.8 should be installed

Actual result:
--------------
WARNING: channel &quot;pecl.php.net&quot; has updated its protocols, use &quot;pecl channel-update pecl.php.net&quot; to update

pecl/apcu requires PHP (version &gt;= 7.0.0-dev), installed version is 5.6.5

No valid packages found

install failed</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by mabe
2015-12-21T10:34:30+00:00
PHP: Irrelevant OS: Linux Package Version: Unknown

Description:
------------
Currently it's not possible without resource to install the last compatible extension using pecl install as it always selects the last existing version.

With PHP 7 more and more extensions are going to drop support for older PHP versions in new major releases which breaks nearly all pecl install commands on PHP &lt; 7.

Test script:
---------------
&lt;PHP 5.6&gt;
pecl install apcu

Expected result:
----------------
Last stable version 4.0.8 should be installed

Actual result:
--------------
WARNING: channel &quot;pecl.php.net&quot; has updated its protocols, use &quot;pecl channel-update pecl.php.net&quot; to update

pecl/apcu requires PHP (version &gt;= 7.0.0-dev), installed version is 5.6.5

No valid packages found

install failed</pre>]]></description>
      <dc:date>2015-12-21T10:39:36+00:00</dc:date>
      <dc:creator>marc &amp;#x61;&amp;#116; mabe &amp;#x64;&amp;#111;&amp;#x74; berlin</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/21007">
      <title>PEAR: Bug 21007 [Open] pecl install results in wrong order of extension= ini directives</title>
      <link>http://pear.php.net/bugs/21007</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by mabe
2015-12-21T10:26:27+00:00
PHP: Irrelevant OS: Linux Package Version: Unknown

Description:
------------
On installing PHP extensions using &quot;pecl install &lt;ext&gt;&quot; the extension will be automatically enabled in php.ini. This is fine but it results in a reverse order of &quot;extension=&lt;ext&gt;.so&quot; directive.

As &quot;apcu_bc&quot; (compiled as apc.so) depends on apcu which needs to be loaded first. In an own environment this is simply to fix but on others (like travis) this is very ugly-

-&gt; https://travis-ci.org/marc-mabe/zend-cache/jobs/98086337

Test script:
---------------
pecl install apcu
pecl install apcu_bc

Expected result:
----------------
&lt;php.ini&gt;
extension=&quot;apcu.so&quot;
extension=&quot;apc.so&quot;

Actual result:
--------------
&lt;php.ini&gt;
extension=&quot;apc.so&quot;
extension=&quot;apcu.so&quot;

&lt;php&gt;
PHP Warning:  PHP Startup: Unable to load dynamic library '/home/travis/.phpenv/versions/7.0.0/lib/php/extensions/no-debug-zts-20151012/apc.so' - /home/travis/.phpenv/versions/7.0.0/lib/php/extensions/no-debug-zts-20151012/apc.so: undefined symbol: zif_apcu_store in Unknown on line 0</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by mabe
2015-12-21T10:26:27+00:00
PHP: Irrelevant OS: Linux Package Version: Unknown

Description:
------------
On installing PHP extensions using &quot;pecl install &lt;ext&gt;&quot; the extension will be automatically enabled in php.ini. This is fine but it results in a reverse order of &quot;extension=&lt;ext&gt;.so&quot; directive.

As &quot;apcu_bc&quot; (compiled as apc.so) depends on apcu which needs to be loaded first. In an own environment this is simply to fix but on others (like travis) this is very ugly-

-&gt; https://travis-ci.org/marc-mabe/zend-cache/jobs/98086337

Test script:
---------------
pecl install apcu
pecl install apcu_bc

Expected result:
----------------
&lt;php.ini&gt;
extension=&quot;apcu.so&quot;
extension=&quot;apc.so&quot;

Actual result:
--------------
&lt;php.ini&gt;
extension=&quot;apc.so&quot;
extension=&quot;apcu.so&quot;

&lt;php&gt;
PHP Warning:  PHP Startup: Unable to load dynamic library '/home/travis/.phpenv/versions/7.0.0/lib/php/extensions/no-debug-zts-20151012/apc.so' - /home/travis/.phpenv/versions/7.0.0/lib/php/extensions/no-debug-zts-20151012/apc.so: undefined symbol: zif_apcu_store in Unknown on line 0</pre>]]></description>
      <dc:date>2015-12-21T10:26:27+00:00</dc:date>
      <dc:creator>marc &amp;#x61;&amp;#116; mabe &amp;#x64;&amp;#111;&amp;#x74; berlin</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20996">
      <title>PEAR: Bug 20996 [Open] PEAR 1.10.1 breaks packagingroot</title>
      <link>http://pear.php.net/bugs/20996</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by cweiske
2015-12-12T13:23:56+00:00
PHP: Irrelevant OS:  Package Version: 1.10.1

Description:
------------
(report on behalf of Ond?ej SurÃ½)

Current PEAR as packaged with PHP 5.6.16 breaks packagingroot, because
of later call to -&gt;setConfig that resets metadata_dir if called without
second option set to false.

Quick and dirty fix:

diff --git a/PEAR/Command/Install.php b/PEAR/Command/Install.php
index 9d572ed..3b1fec9 100644
--- a/PEAR/Command/Install.php
+++ b/PEAR/Command/Install.php
@@ -848,7 +848,7 @@ Run post-installation scripts in package &lt;package&gt;,
if any exist.
             $pkg = &amp;$instreg-&gt;getPackage($param-&gt;getPackage(),
             $param-&gt;getChannel());
             // $pkg may be NULL if install is a 'fake' install via
             --packagingroot
             if (is_object($pkg)) {
-                $pkg-&gt;setConfig($this-&gt;config);
+                $pkg-&gt;setConfig($this-&gt;config, false);
                 if ($list = $pkg-&gt;listPostinstallScripts()) {
                     $pn =
                     $reg-&gt;parsedPackageNameToString(array('channel' =&gt;
                        $param-&gt;getChannel(), 'package' =&gt;
                        $param-&gt;getPackage()), true);

But I have no idea whether this is a correct fix. Could you please look
at this ASAP as it breaks all packaging efforts of third party modules
(DEB and RPM).</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by cweiske
2015-12-12T13:23:56+00:00
PHP: Irrelevant OS:  Package Version: 1.10.1

Description:
------------
(report on behalf of Ond?ej SurÃ½)

Current PEAR as packaged with PHP 5.6.16 breaks packagingroot, because
of later call to -&gt;setConfig that resets metadata_dir if called without
second option set to false.

Quick and dirty fix:

diff --git a/PEAR/Command/Install.php b/PEAR/Command/Install.php
index 9d572ed..3b1fec9 100644
--- a/PEAR/Command/Install.php
+++ b/PEAR/Command/Install.php
@@ -848,7 +848,7 @@ Run post-installation scripts in package &lt;package&gt;,
if any exist.
             $pkg = &amp;$instreg-&gt;getPackage($param-&gt;getPackage(),
             $param-&gt;getChannel());
             // $pkg may be NULL if install is a 'fake' install via
             --packagingroot
             if (is_object($pkg)) {
-                $pkg-&gt;setConfig($this-&gt;config);
+                $pkg-&gt;setConfig($this-&gt;config, false);
                 if ($list = $pkg-&gt;listPostinstallScripts()) {
                     $pn =
                     $reg-&gt;parsedPackageNameToString(array('channel' =&gt;
                        $param-&gt;getChannel(), 'package' =&gt;
                        $param-&gt;getPackage()), true);

But I have no idea whether this is a correct fix. Could you please look
at this ASAP as it breaks all packaging efforts of third party modules
(DEB and RPM).</pre>]]></description>
      <dc:date>2015-12-12T13:24:03+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20995">
      <title>PEAR: Bug 20995 [Open] package files not downloaded from mirror server</title>
      <link>http://pear.php.net/bugs/20995</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by cweiske
2015-12-11T21:11:46+00:00
PHP: Irrelevant OS:  Package Version: 1.10.1

Description:
------------
When using a mirror server, the PEAR installer still downloads the package files from the main server because the REST XML files contain the full URI to the file.

This makes the mirror useless, since it cannot be used in case of a main server failure.

See http://de.pear.php.net/rest/r/console_commandline/1.2.0.xml for an example with a full URL.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by cweiske
2015-12-11T21:11:46+00:00
PHP: Irrelevant OS:  Package Version: 1.10.1

Description:
------------
When using a mirror server, the PEAR installer still downloads the package files from the main server because the REST XML files contain the full URI to the file.

This makes the mirror useless, since it cannot be used in case of a main server failure.

See http://de.pear.php.net/rest/r/console_commandline/1.2.0.xml for an example with a full URL.</pre>]]></description>
      <dc:date>2015-12-11T21:11:46+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20988">
      <title>PEAR: Bug 20988 [Open] custom pearrc is not passeed by bin/pear to pearcmd</title>
      <link>http://pear.php.net/bugs/20988</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by ale
2015-12-08T14:07:14+00:00
PHP: 5.6.14 OS: os x / homebrew Package Version: 1.10.1

Description:
------------
after having successfully completed a pear install local to a project, all ./bin/pear commands modify the system wide pear.

the peculiar part seem to be that i've set pearrc to be inside of the project's include file.

adding a -c option to the pearcmd exec command in ./bin/pear solves the issue:

exec $PHP -C -q $INCARG -d date.timezone=UTC -d output_buffering=1 -d variables_order=EGPCS -d open_basedir=&quot;&quot; -d safe_mode=0 -d register_argc_argv=&quot;On&quot; -d auto_prepend_file=&quot;&quot; -d auto_append_file=&quot;&quot; $INCDIR/pearcmd.php  -c /Users/ale/httpd/project_name/include/pear/pearrc &quot;$@&quot;

i guess that the go-pear.phar should add that option to the exec command when tweaking the pear/bin/pear file.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by ale
2015-12-08T14:07:14+00:00
PHP: 5.6.14 OS: os x / homebrew Package Version: 1.10.1

Description:
------------
after having successfully completed a pear install local to a project, all ./bin/pear commands modify the system wide pear.

the peculiar part seem to be that i've set pearrc to be inside of the project's include file.

adding a -c option to the pearcmd exec command in ./bin/pear solves the issue:

exec $PHP -C -q $INCARG -d date.timezone=UTC -d output_buffering=1 -d variables_order=EGPCS -d open_basedir=&quot;&quot; -d safe_mode=0 -d register_argc_argv=&quot;On&quot; -d auto_prepend_file=&quot;&quot; -d auto_append_file=&quot;&quot; $INCDIR/pearcmd.php  -c /Users/ale/httpd/project_name/include/pear/pearrc &quot;$@&quot;

i guess that the go-pear.phar should add that option to the exec command when tweaking the pear/bin/pear file.</pre>]]></description>
      <dc:date>2015-12-08T14:07:14+00:00</dc:date>
      <dc:creator>ale &amp;#x64;&amp;#111;&amp;#x74; comp_06 &amp;#x61;&amp;#116; xox &amp;#x64;&amp;#111;&amp;#x74; ch</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20970">
      <title>PEAR: Bug 20970 [Open] setErrorHandling undefined</title>
      <link>http://pear.php.net/bugs/20970</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by jaemmer
2015-10-21T15:58:08+00:00
PHP: 5.5.30 OS: CentOS 6.7 Package Version: 

Description:
------------
I get a fatal error, undefined function on the last line of the test 
code below which previously worked before upgrading to the latest 
version.



 

Test script:
---------------
$db_object = MDB2::singleton($datasource, TRUE);
$db_object-&gt;loadModule('Extended');
$db_object-&gt;setFetchMode(MDB2_FETCHMODE_ASSOC);
$db_object-&gt;setOption('portability', MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_FIX_CASE ^ MDB2_PORTABILITY_EMPTY_TO_NULL);
$db_object-&gt;setCharset('utf8');
//after upgrading to php 5.5.30-1 / pear 1.10.1 would get fatal error
$db_object-&gt;setErrorHandling(PEAR_ERROR_CALLBACK, 'db_error');

Expected result:
----------------
When a db sql error happens it should call back my db_error 
function.

Actual result:
--------------
Fatal error: Call to undefined function: 
MDB2_Driver_mysql::setErrorHandling(). in 
/usr/share/pear/MDB2.php on line 1936</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by jaemmer
2015-10-21T15:58:08+00:00
PHP: 5.5.30 OS: CentOS 6.7 Package Version: 

Description:
------------
I get a fatal error, undefined function on the last line of the test 
code below which previously worked before upgrading to the latest 
version.



 

Test script:
---------------
$db_object = MDB2::singleton($datasource, TRUE);
$db_object-&gt;loadModule('Extended');
$db_object-&gt;setFetchMode(MDB2_FETCHMODE_ASSOC);
$db_object-&gt;setOption('portability', MDB2_PORTABILITY_ALL ^ MDB2_PORTABILITY_FIX_CASE ^ MDB2_PORTABILITY_EMPTY_TO_NULL);
$db_object-&gt;setCharset('utf8');
//after upgrading to php 5.5.30-1 / pear 1.10.1 would get fatal error
$db_object-&gt;setErrorHandling(PEAR_ERROR_CALLBACK, 'db_error');

Expected result:
----------------
When a db sql error happens it should call back my db_error 
function.

Actual result:
--------------
Fatal error: Call to undefined function: 
MDB2_Driver_mysql::setErrorHandling(). in 
/usr/share/pear/MDB2.php on line 1936</pre>]]></description>
      <dc:date>2015-10-22T06:02:36+00:00</dc:date>
      <dc:creator>joel &amp;#x61;&amp;#116; inflatableoffice &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20560">
      <title>PEAR: Bug 20560 [Open] Setting PHP's include_path needs touch-up</title>
      <link>http://pear.php.net/bugs/20560</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by triple_nothing
2015-06-11T23:38:17+00:00
PHP: 5.6.9 OS: Windows Package Version: 1.9.5

Description:
------------
Simply said, PHP will be rather touchy with how the directory is defined in many Windows situations. I've had many problems recently and in the past if the inserted directory holds spacing with a true space, or the %20. The quick and easy fix has always been to rename to a Windows Short 8.3 filename. This is simply the classic Progra~1 format. If the installer can do that for the user, or simply add a tiny note to display during installation if any form of spacing is detection, that would be excellent.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by triple_nothing
2015-06-11T23:38:17+00:00
PHP: 5.6.9 OS: Windows Package Version: 1.9.5

Description:
------------
Simply said, PHP will be rather touchy with how the directory is defined in many Windows situations. I've had many problems recently and in the past if the inserted directory holds spacing with a true space, or the %20. The quick and easy fix has always been to rename to a Windows Short 8.3 filename. This is simply the classic Progra~1 format. If the installer can do that for the user, or simply add a tiny note to display during installation if any form of spacing is detection, that would be excellent.</pre>]]></description>
      <dc:date>2015-06-11T23:38:17+00:00</dc:date>
      <dc:creator>Admin &amp;#x61;&amp;#116; hellzoneinc &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20559">
      <title>PEAR: Bug 20559 [Open] PHP_PEAR_INSTALL_DIR initial value incorrectly set</title>
      <link>http://pear.php.net/bugs/20559</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by triple_nothing
2015-06-11T23:22:50+00:00
PHP: 5.6.10 OS: Windows Package Version: 1.9.5

Description:
------------
Well, I get the installer to run just fine, but in the end, its PHP_PEAR_INSTALL_DIR holds a value, but not correctly. I have checked the pear.ini, and the if/then's in the pear.bat, and everything is accurate. The if/then that checks if it is empty will set it accurately, if it was empty. However, the variable does hold a value which is inaccurate. If I add the SET line above those if/then's to forcibly accurately set it, everything will work fine, but I have to do that.

Now the catchy part. Where is the initial/original value coming from? If I add the SET line and set it to an inaccurate made-up value, it will error as expected. BUT... If I remove that SET line from the file after running it once, it will still error with the recently deleted SET line value. I'm guessing it is just not fetching this value from the .ini php_dir from the way it looks, since no reference to that file is made.

Auto-fetch from somewhere: C:\Program Files\PHP\pear
Accurate location: C:\Program Files\PHP\pear\pear

Test script:
---------------
REM Check PEAR global ENV, set them if they do not exist
SET &quot;PHP_PEAR_INSTALL_DIR=C:\Program Files\PHP\pear\pear&quot;
IF &quot;%PHP_PEAR_INSTALL_DIR%&quot;==&quot;&quot; SET &quot;PHP_PEAR_INSTALL_DIR=C:\Program Files\PHP\pear\pear&quot;
IF &quot;%PHP_PEAR_BIN_DIR%&quot;==&quot;&quot; SET &quot;PHP_PEAR_BIN_DIR=C:\Program Files\PHP\pear&quot;
IF &quot;%PHP_PEAR_PHP_BIN%&quot;==&quot;&quot; SET &quot;PHP_PEAR_PHP_BIN=C:\Program Files\PHP\php.exe&quot;

GOTO :INSTALLED</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by triple_nothing
2015-06-11T23:22:50+00:00
PHP: 5.6.10 OS: Windows Package Version: 1.9.5

Description:
------------
Well, I get the installer to run just fine, but in the end, its PHP_PEAR_INSTALL_DIR holds a value, but not correctly. I have checked the pear.ini, and the if/then's in the pear.bat, and everything is accurate. The if/then that checks if it is empty will set it accurately, if it was empty. However, the variable does hold a value which is inaccurate. If I add the SET line above those if/then's to forcibly accurately set it, everything will work fine, but I have to do that.

Now the catchy part. Where is the initial/original value coming from? If I add the SET line and set it to an inaccurate made-up value, it will error as expected. BUT... If I remove that SET line from the file after running it once, it will still error with the recently deleted SET line value. I'm guessing it is just not fetching this value from the .ini php_dir from the way it looks, since no reference to that file is made.

Auto-fetch from somewhere: C:\Program Files\PHP\pear
Accurate location: C:\Program Files\PHP\pear\pear

Test script:
---------------
REM Check PEAR global ENV, set them if they do not exist
SET &quot;PHP_PEAR_INSTALL_DIR=C:\Program Files\PHP\pear\pear&quot;
IF &quot;%PHP_PEAR_INSTALL_DIR%&quot;==&quot;&quot; SET &quot;PHP_PEAR_INSTALL_DIR=C:\Program Files\PHP\pear\pear&quot;
IF &quot;%PHP_PEAR_BIN_DIR%&quot;==&quot;&quot; SET &quot;PHP_PEAR_BIN_DIR=C:\Program Files\PHP\pear&quot;
IF &quot;%PHP_PEAR_PHP_BIN%&quot;==&quot;&quot; SET &quot;PHP_PEAR_PHP_BIN=C:\Program Files\PHP\php.exe&quot;

GOTO :INSTALLED</pre>]]></description>
      <dc:date>2015-06-11T23:28:33+00:00</dc:date>
      <dc:creator>Admin &amp;#x61;&amp;#116; hellzoneinc &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20529">
      <title>PEAR: Feature/Change Request 20529 [Open] https and gzip required for pecl</title>
      <link>http://pear.php.net/bugs/20529</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by pajoye
2015-04-16T13:56:19+00:00
PHP: 5.6.7 OS: * Package Version: 1.9.5

Description:
------------
hi,

Would it be possible to update PEAR so that the command line tool pecl 
always requires gzip and openssl?

pecl.php.net is https only and only compressed archived can be 
delivered (no .tar stored and X-SendFile is 
used now).

It would be also nice to update the default channel to https as per:

https://pecl.php.net/channel.xml</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by pajoye
2015-04-16T13:56:19+00:00
PHP: 5.6.7 OS: * Package Version: 1.9.5

Description:
------------
hi,

Would it be possible to update PEAR so that the command line tool pecl 
always requires gzip and openssl?

pecl.php.net is https only and only compressed archived can be 
delivered (no .tar stored and X-SendFile is 
used now).

It would be also nice to update the default channel to https as per:

https://pecl.php.net/channel.xml</pre>]]></description>
      <dc:date>2015-04-16T13:56:19+00:00</dc:date>
      <dc:creator>pierre &amp;#x64;&amp;#111;&amp;#x74; php &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20517">
      <title>PEAR: Bug 20517 [Open] pear built-in config != installed config</title>
      <link>http://pear.php.net/bugs/20517</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by xnox
2015-03-19T18:28:50+00:00
PHP: 5.6.6 OS: Linux Package Version: 

Description:
------------
The output of pear config-show is different, depending on whether or not /etc/pear.conf 
exists. I compiled php/pear using configure and I expect for /etc/pear.conf to be 
redundant and automatically picked paths match whatever is written out in /etc/pear.conf.

I've tried to patch install-pear-nozlib.phar but i get checksum mismatches....

Test script:
---------------
pear config-show &gt; /tmp/with
mv /etc/pear.conf /etc/pear.conf.moved
pear config-show &gt; /tmp/without
diff -u /tmp/with /tmp/without

Expected result:
----------------
empty / None

Actual result:
--------------
--- /tmp/with	2015-03-19 13:16:01.450158574 +0000
+++ /tmp/without	2015-03-19 13:16:12.790158045 +0000
@@ -7,7 +7,7 @@
 Default Channel Mirror         preferred_mirror pear.php.net
 Remote Configuration File      remote_config    &lt;not set&gt;
 PEAR executables directory     bin_dir          /usr/bin
-PEAR documentation directory   doc_dir          /usr/lib64/php/doc
+PEAR documentation directory   doc_dir          /usr/lib64/php/docs
 PHP extension directory        ext_dir          /usr/lib64/extensions/no-debug-non-zts-
20131226
 PEAR directory                 php_dir          /usr/lib64/php
 PEAR Installer cache directory cache_dir        /tmp/pear/cache
@@ -23,8 +23,8 @@
 --program-suffix passed to     php_suffix       &lt;not set&gt;
 PHP's ./configure
 PEAR Installer temp directory  temp_dir         /tmp/pear/temp
-PEAR test directory            test_dir         /usr/lib64/php/test
-PEAR www files directory       www_dir          /usr/lib64/php/htdocs
+PEAR test directory            test_dir         /usr/lib64/php/tests
+PEAR www files directory       www_dir          /usr/lib64/php/www
 Cache TimeToLive               cache_ttl        3600
 Preferred Package State        preferred_state  stable
 Unix file mask                 umask            22</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by xnox
2015-03-19T18:28:50+00:00
PHP: 5.6.6 OS: Linux Package Version: 

Description:
------------
The output of pear config-show is different, depending on whether or not /etc/pear.conf 
exists. I compiled php/pear using configure and I expect for /etc/pear.conf to be 
redundant and automatically picked paths match whatever is written out in /etc/pear.conf.

I've tried to patch install-pear-nozlib.phar but i get checksum mismatches....

Test script:
---------------
pear config-show &gt; /tmp/with
mv /etc/pear.conf /etc/pear.conf.moved
pear config-show &gt; /tmp/without
diff -u /tmp/with /tmp/without

Expected result:
----------------
empty / None

Actual result:
--------------
--- /tmp/with	2015-03-19 13:16:01.450158574 +0000
+++ /tmp/without	2015-03-19 13:16:12.790158045 +0000
@@ -7,7 +7,7 @@
 Default Channel Mirror         preferred_mirror pear.php.net
 Remote Configuration File      remote_config    &lt;not set&gt;
 PEAR executables directory     bin_dir          /usr/bin
-PEAR documentation directory   doc_dir          /usr/lib64/php/doc
+PEAR documentation directory   doc_dir          /usr/lib64/php/docs
 PHP extension directory        ext_dir          /usr/lib64/extensions/no-debug-non-zts-
20131226
 PEAR directory                 php_dir          /usr/lib64/php
 PEAR Installer cache directory cache_dir        /tmp/pear/cache
@@ -23,8 +23,8 @@
 --program-suffix passed to     php_suffix       &lt;not set&gt;
 PHP's ./configure
 PEAR Installer temp directory  temp_dir         /tmp/pear/temp
-PEAR test directory            test_dir         /usr/lib64/php/test
-PEAR www files directory       www_dir          /usr/lib64/php/htdocs
+PEAR test directory            test_dir         /usr/lib64/php/tests
+PEAR www files directory       www_dir          /usr/lib64/php/www
 Cache TimeToLive               cache_ttl        3600
 Preferred Package State        preferred_state  stable
 Unix file mask                 umask            22</pre>]]></description>
      <dc:date>2015-03-19T18:28:50+00:00</dc:date>
      <dc:creator>dimitri &amp;#x64;&amp;#111;&amp;#x74; j &amp;#x64;&amp;#111;&amp;#x74; ledkov &amp;#x61;&amp;#116; intel &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20478">
      <title>PEAR: Bug 20478 [Open] PEAR Fails on make install</title>
      <link>http://pear.php.net/bugs/20478</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by dgrimes
2014-12-30T22:50:35+00:00
PHP: 5.6.4 OS: HP-UX B.11.31 Package Version: 1.9.5

Description:
------------
Compiling php-5.6.4 configures and makes without problems. This same error also occurs on php-5.5.20 but php-5.4.36 installs and works just fine.

Configure Line:

configure \
            --prefix=/dvl_user01/dgrimes/php5.6 \
            --with-apxs2=/dvl_user01/dgrimes/apache/bin/apxs \
            --with-pdo-mysql=/usr/local/mysql \
            --with-mysql=/usr/local/mysql \
            --with-pdo-dblib=/usr/local \
            --with-mssql=/usr/local \
            --with-pdo-oci=instantclient,$ORACLE_HOME/instantclient_11_2,11.2.0.
4 \
            --with-oci8=instantclient,$ORACLE_HOME/instantclient_11_2 \
            --with-unixODBC=/usr/local \
            --with-pdo-odbc=unixODBC,/usr/local \
            --with-libxml-dir=/usr/local \
            --with-xsl=/usr/local \
            --with-zlib-dir=/usr/local \
            --with-png-dir=/usr/local \
            --with-freetype-dir=/usr/local \
            --with-jpeg-dir=/usr/local \
            --with-pdo-sqlite=shared \
            --with-curl=/usr/local \
            --with-openssl=/dvl_user01/dgrimes/openssl1.0 \
            --with-mcrypt \
            --enable-pcntl \
            --enable-pdo \
            --enable-ftp \
            --enable-soap \
            --enable-sysvsem \
            --enable-sysvshm




Test script:
---------------
There really is no test script. I run make install and the error occurs.

Expected result:
----------------
php-5.6.4 should install.

Actual result:
--------------
The following message is displayed after make:

ld: (Warning) Potential unresolved symbol &quot;main&quot;: 
shared library reference is resolved to non-exported 
definition in file &quot;sapi/cgi/.libs/cgi_main.o&quot;.
1 warning.
Generating phar.php
Generating phar.phar
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
clicommand.inc
directorytreeiterator.inc
invertedregexiterator.inc
directorygraphiterator.inc
pharcommand.inc
phar.inc

Build complete.
Don't forget to run 'make test'.

Make install is where the error occurs:

Error Received:

(linus:dgrimes)[/dvl_user01/dgrimes/cdev/php-5.6.4] make install
Installing PHP SAPI module:       apache2handler
/dvl_user01/dgrimes/apache/build/instdso.sh SH_LIBTOOL='/dvl_user01/dgrimes/apache/build/libtool' libphp5.la /dvl_user01/dgrimes/apache/modules
/dvl_user01/dgrimes/apache/build/libtool --mode=install cp libphp5.la /dvl_user01/dgrimes/apache/modules/
cp .libs/libphp5.so /dvl_user01/dgrimes/apache/modules/libphp5.so
chmod 555 /dvl_user01/dgrimes/apache/modules/libphp5.so
cp .libs/libphp5.lai /dvl_user01/dgrimes/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /dvl_user01/dgrimes/cdev/php-5.6.4/libs'
chmod 755 /dvl_user01/dgrimes/apache/modules/libphp5.so
[activating module `php5' in /dvl_user01/dgrimes/apache/conf/httpd.conf]
Installing shared extensions:     /dvl_user01/dgrimes/php5.6/lib/php/extensions/no-debug-non-zts-20131226/
Installing PHP CLI binary:        /dvl_user01/dgrimes/php5.6/bin/
Installing PHP CLI man page:      /dvl_user01/dgrimes/php5.6/php/man/man1/
Installing PHP CGI binary:        /dvl_user01/dgrimes/php5.6/bin/
Installing PHP CGI man page:      /dvl_user01/dgrimes/php5.6/php/man/man1/
Installing build environment:     /dvl_user01/dgrimes/php5.6/lib/php/build/
Installing header files:          /dvl_user01/dgrimes/php5.6/include/php/
Installing helper programs:       /dvl_user01/dgrimes/php5.6/bin/
  program: phpize
  program: php-config
Installing man pages:             /dvl_user01/dgrimes/php5.6/php/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /dvl_user01/dgrimes/php5.6/lib/php/
ORA-24550: signal received: [si_signo=10] [si_errno=0] [si_code=1] [si_addr=40487e0d]
*** WARNING: Unable to skip initial frames

/bin/sh: 22823 Bus error(coredump)
make[1]: *** [install-pear-installer] Error 138
make: *** [install-pear] Error 2

A core file is generated but I don't have gdb installed.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by dgrimes
2014-12-30T22:50:35+00:00
PHP: 5.6.4 OS: HP-UX B.11.31 Package Version: 1.9.5

Description:
------------
Compiling php-5.6.4 configures and makes without problems. This same error also occurs on php-5.5.20 but php-5.4.36 installs and works just fine.

Configure Line:

configure \
            --prefix=/dvl_user01/dgrimes/php5.6 \
            --with-apxs2=/dvl_user01/dgrimes/apache/bin/apxs \
            --with-pdo-mysql=/usr/local/mysql \
            --with-mysql=/usr/local/mysql \
            --with-pdo-dblib=/usr/local \
            --with-mssql=/usr/local \
            --with-pdo-oci=instantclient,$ORACLE_HOME/instantclient_11_2,11.2.0.
4 \
            --with-oci8=instantclient,$ORACLE_HOME/instantclient_11_2 \
            --with-unixODBC=/usr/local \
            --with-pdo-odbc=unixODBC,/usr/local \
            --with-libxml-dir=/usr/local \
            --with-xsl=/usr/local \
            --with-zlib-dir=/usr/local \
            --with-png-dir=/usr/local \
            --with-freetype-dir=/usr/local \
            --with-jpeg-dir=/usr/local \
            --with-pdo-sqlite=shared \
            --with-curl=/usr/local \
            --with-openssl=/dvl_user01/dgrimes/openssl1.0 \
            --with-mcrypt \
            --enable-pcntl \
            --enable-pdo \
            --enable-ftp \
            --enable-soap \
            --enable-sysvsem \
            --enable-sysvshm




Test script:
---------------
There really is no test script. I run make install and the error occurs.

Expected result:
----------------
php-5.6.4 should install.

Actual result:
--------------
The following message is displayed after make:

ld: (Warning) Potential unresolved symbol &quot;main&quot;: 
shared library reference is resolved to non-exported 
definition in file &quot;sapi/cgi/.libs/cgi_main.o&quot;.
1 warning.
Generating phar.php
Generating phar.phar
PEAR package PHP_Archive not installed: generated phar will require PHP's phar extension be enabled.
clicommand.inc
directorytreeiterator.inc
invertedregexiterator.inc
directorygraphiterator.inc
pharcommand.inc
phar.inc

Build complete.
Don't forget to run 'make test'.

Make install is where the error occurs:

Error Received:

(linus:dgrimes)[/dvl_user01/dgrimes/cdev/php-5.6.4] make install
Installing PHP SAPI module:       apache2handler
/dvl_user01/dgrimes/apache/build/instdso.sh SH_LIBTOOL='/dvl_user01/dgrimes/apache/build/libtool' libphp5.la /dvl_user01/dgrimes/apache/modules
/dvl_user01/dgrimes/apache/build/libtool --mode=install cp libphp5.la /dvl_user01/dgrimes/apache/modules/
cp .libs/libphp5.so /dvl_user01/dgrimes/apache/modules/libphp5.so
chmod 555 /dvl_user01/dgrimes/apache/modules/libphp5.so
cp .libs/libphp5.lai /dvl_user01/dgrimes/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /dvl_user01/dgrimes/cdev/php-5.6.4/libs'
chmod 755 /dvl_user01/dgrimes/apache/modules/libphp5.so
[activating module `php5' in /dvl_user01/dgrimes/apache/conf/httpd.conf]
Installing shared extensions:     /dvl_user01/dgrimes/php5.6/lib/php/extensions/no-debug-non-zts-20131226/
Installing PHP CLI binary:        /dvl_user01/dgrimes/php5.6/bin/
Installing PHP CLI man page:      /dvl_user01/dgrimes/php5.6/php/man/man1/
Installing PHP CGI binary:        /dvl_user01/dgrimes/php5.6/bin/
Installing PHP CGI man page:      /dvl_user01/dgrimes/php5.6/php/man/man1/
Installing build environment:     /dvl_user01/dgrimes/php5.6/lib/php/build/
Installing header files:          /dvl_user01/dgrimes/php5.6/include/php/
Installing helper programs:       /dvl_user01/dgrimes/php5.6/bin/
  program: phpize
  program: php-config
Installing man pages:             /dvl_user01/dgrimes/php5.6/php/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /dvl_user01/dgrimes/php5.6/lib/php/
ORA-24550: signal received: [si_signo=10] [si_errno=0] [si_code=1] [si_addr=40487e0d]
*** WARNING: Unable to skip initial frames

/bin/sh: 22823 Bus error(coredump)
make[1]: *** [install-pear-installer] Error 138
make: *** [install-pear] Error 2

A core file is generated but I don't have gdb installed.</pre>]]></description>
      <dc:date>2014-12-30T22:50:35+00:00</dc:date>
      <dc:creator>dgrimes &amp;#x61;&amp;#116; scvl &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20445">
      <title>PEAR: Bug 20445 [Open] Install is not taking into account dependency order in php.ini 'extension'</title>
      <link>http://pear.php.net/bugs/20445</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by kingizzzy
2014-11-26T02:47:59+00:00
PHP: Irrelevant OS:  Package Version: 1.9.5

Description:
------------
I installed pecl_http

Executing a PHP page yielded an error_log file with:

PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/extensions/no-debug-non-zts-20100525/http.so' - 
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/http.so: 
undefined symbol: php_persistent_handle_abandon in Unknown on line 0

This helped: http://stackoverflow.com/a/22429148

The installer does not enter the 'extension' entries into php.ini in the right 
order. Manually moving the http.so extension to after the others fixed 
the issue.

Expected result:
----------------
The installer should enter the 'extension' entries into php.ini in the right 
order.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by kingizzzy
2014-11-26T02:47:59+00:00
PHP: Irrelevant OS:  Package Version: 1.9.5

Description:
------------
I installed pecl_http

Executing a PHP page yielded an error_log file with:

PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/local/lib/php/extensions/no-debug-non-zts-20100525/http.so' - 
/usr/local/lib/php/extensions/no-debug-non-zts-20100525/http.so: 
undefined symbol: php_persistent_handle_abandon in Unknown on line 0

This helped: http://stackoverflow.com/a/22429148

The installer does not enter the 'extension' entries into php.ini in the right 
order. Manually moving the http.so extension to after the others fixed 
the issue.

Expected result:
----------------
The installer should enter the 'extension' entries into php.ini in the right 
order.</pre>]]></description>
      <dc:date>2014-11-26T02:53:42+00:00</dc:date>
      <dc:creator>yisroel &amp;#x61;&amp;#116; journeymanweb &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20383">
      <title>PEAR: Bug 20383 [Open] Files written outside INSTALL_ROOT install</title>
      <link>http://pear.php.net/bugs/20383</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by phppearbug
2014-09-01T21:02:17+00:00
PHP: 7.1.0 OS: Linux Package Version: Unknown

Description:
------------
See the following 'standard' install sequence with an INSTALL_ROOT.
The result is 2 PEAR databases created where they should not have been.
One is outside the INSTALL_ROOT, on the location where it would have been.
The other is in the root of INSTALL_ROOT itself.
This problem is also present in the 5.5.*, 5.4.* and 5.3.* branches.

Analysis of this is below the example.

test:~/php-5.6.0$ ./configure --prefix=$HOME/php
test:~/php-5.6.0$ make
test:~/php-5.6.0$ ls -l $HOME

total 4
drwxr-xr-x 17 test users 4096 Sep  1 08:00 php-5.6.0/

test:~/php-5.6.0$ make install INSTALL_ROOT=$HOME/staging
test:~/php-5.6.0$ ls -al $HOME

total 12
drwxr-xr-x  3 test users 4096 Sep  1 08:02 php/
drwxr-xr-x 17 test users 4096 Sep  1 08:00 php-5.6.0/
drwxr-xr-x  5 test users 4096 Sep  1 08:02 staging/

-- The php directory should not have been created here, as we installed with INSTALL_ROOT.

test:~/php-5.6.0$ find $HOME/php

/home/test/php
/home/test/php/lib
/home/test/php/lib/php
/home/test/php/lib/php/.depdb
/home/test/php/lib/php/.filemap
/home/test/php/lib/php/.depdblock
/home/test/php/lib/php/.lock
/home/test/php/lib/php/.registry
/home/test/php/lib/php/.registry/.channel.__uri
/home/test/php/lib/php/.registry/.channel.pecl.php.net
/home/test/php/lib/php/.registry/.channel.doc.php.net
/home/test/php/lib/php/.channels
/home/test/php/lib/php/.channels/doc.php.net.reg
/home/test/php/lib/php/.channels/__uri.reg
/home/test/php/lib/php/.channels/pear.php.net.reg
/home/test/php/lib/php/.channels/.alias
/home/test/php/lib/php/.channels/.alias/phpdocs.txt
/home/test/php/lib/php/.channels/.alias/pear.txt
/home/test/php/lib/php/.channels/.alias/pecl.txt
/home/test/php/lib/php/.channels/pecl.php.net.reg

-- This is an empty PEAR database

test:~/php-5.6.0$ find $HOME/staging

/home/test/staging
/home/test/staging/.depdb
/home/test/staging/.filemap
/home/test/staging/.depdblock
/home/test/staging/.lock
/home/test/staging/.registry
/home/test/staging/.registry/.channel.__uri
/home/test/staging/.registry/.channel.pecl.php.net
/home/test/staging/.registry/.channel.doc.php.net
/home/test/staging/home
/home/test/staging/home/test
/home/test/staging/home/test/php
/home/test/staging/home/test/php/etc
/home/test/staging/home/test/php/etc/pear.conf
...
...
/home/test/staging/home/test/php/bin/php-cgi
/home/test/staging/home/test/php/bin/php
/home/test/staging/.channels
/home/test/staging/.channels/doc.php.net.reg
/home/test/staging/.channels/__uri.reg
/home/test/staging/.channels/pear.php.net.reg
/home/test/staging/.channels/.alias
/home/test/staging/.channels/.alias/phpdocs.txt
/home/test/staging/.channels/.alias/pear.txt
/home/test/staging/.channels/.alias/pecl.txt
/home/test/staging/.channels/pecl.php.net.reg

-- And a second empty PEAR database in the root of the staging directory.
-- The correct PEAR database is at '/home/test/staging/home/test/php/lib/php/'.
-- The sub install command 'make install-pear INSTALL_ROOT=$HOME/staging' gives the same result.

I have tried to find out what caused this behavior and it stems from the PEAR installation file
located at 'php-5.6.0/pear/install-pear-nozlib.phar'.
Trying to pinpoint it, it seems to always get back to some logic in 'PEAR/Registry.php' in this archive.

In normal operation (no INSTALL_ROOT), there are only 2 registry objects made, with proper paths.

However, with the use of INSTALL_ROOT, the registry objects seem to be recreated constantly, with
different paths to the php root, and by different objects in the PEAR installation.
These recreations eventually lead to assertion of paths, usually by locking or re-locking of the
registry databases, which then create the database if  it does not exist.

I could trace the creation of the database in the root of INSTALL_ROOT on line 208 in index.php:
  $reg = &amp;new PEAR_Registry($options['packagingroot']);
I fixed this with:
  $reg = &amp;new PEAR_Registry($options['packagingroot'] . DIRECTORY_SEPARATOR . $config-&gt;get('php_dir'));

This seems to be ok, for as far as I can understand what is going on, and it seems to fit the logic.
This fix is found in patch1.patch, but I must note that I have absolutely no experience with the
inner working of the PEAR code, so I have no idea if this is indeed the logic and proper fix.
I did add a small cosmetic patch to this patch too (see below).

For the other surplus database, created outside the INSTALL_ROOT all together, I know that the fix I
have created is completely wrong (patch2.patch).
The recreation of the registry objects is all over the place, and as I said, having no experience with
the inner workings of PEAR, I have no idea what is right and what is not.

The patch I have created merely fixes the symptoms, mostly by just disabling locking and some changes
to other places.
I think, or at least I deduced from the call stacks which get to the lock, that the recreation of the
registry objects themselves are likely the real problem, but my attempts to fix it like that all ave stranded
into nothingness.

A small snippet of code I used is the following:
print &quot;---- setInstallDir() $pear_install_dir\n&quot;;
$trace = debug_backtrace();
for ($i = 0; $i &lt; count($trace); $i++) print $trace[$i][&quot;file&quot;] . &quot;:&quot; . $trace[$i][&quot;function&quot;] . &quot; (&quot; . $trace[$i][&quot;line&quot;] . &quot;)\n&quot;;

I put this at various entries of functions to get the said call stacks, especially at setInstallDir(),
the various _assert*Dir() and _lock().
The first line obviously changed to indicate the current function, and the path of intrest (like
$this-&gt;install_dir in case of some of the asserts).
The difference between a make install without INSTALL_ROOT and with is quite striking, especially with
regard to the calling of setInstallDir(), which is mainly (exclusively?) called by the constructor.

One of the things I did notice was that the paths in the $config object (in installer.php) seemingly gets
changed after the 1st iteration in the foreach loop.
The fix I applied is an extreme hack, I failed to track down why it changed.

So, final words, I have no idea how to fix this properly, but I hope I have given an adequate description
of the problem and did some proper analyzing of the root cause.
I'm of course more then happy to do some more digging if required, but it probably is best if someone who
actually knows how PEAR is supposed to work can look at it, or at least give some idea on how to proceed.

The small cosmetic thing:
[PEAR] Archive_Tar    - installed: 1.3.12
[PEAR] Console_Getopt - installed: 1.3.1
[PEAR] Structures_Graph- installed: 1.0.4
[PEAR] XML_Util       - installed: 1.2.3
[PEAR] PEAR           - installed: 1.9.5

The Structures_Graph is longer then the rest and touches the dash, so I guess 2 spaces need to be added to the lines.
I fixed this in patch1.patch too, as stated above.

ps.
I have not tried it, and I have no idea if things actually work like this, but it seems that the runtime PEAR
inside the phar archive itself is not the same version as the tarred one which get installed.
If there is a bug in the runtime version, it likely is also in the 1.9.5 version? Or could it be fixed there?
Or is that tarred version not usable as a 'bootstrap' version as in the phar?
(As I said, I really don't know how PEAR works, just guessing a bit here.)</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by phppearbug
2014-09-01T21:02:17+00:00
PHP: 7.1.0 OS: Linux Package Version: Unknown

Description:
------------
See the following 'standard' install sequence with an INSTALL_ROOT.
The result is 2 PEAR databases created where they should not have been.
One is outside the INSTALL_ROOT, on the location where it would have been.
The other is in the root of INSTALL_ROOT itself.
This problem is also present in the 5.5.*, 5.4.* and 5.3.* branches.

Analysis of this is below the example.

test:~/php-5.6.0$ ./configure --prefix=$HOME/php
test:~/php-5.6.0$ make
test:~/php-5.6.0$ ls -l $HOME

total 4
drwxr-xr-x 17 test users 4096 Sep  1 08:00 php-5.6.0/

test:~/php-5.6.0$ make install INSTALL_ROOT=$HOME/staging
test:~/php-5.6.0$ ls -al $HOME

total 12
drwxr-xr-x  3 test users 4096 Sep  1 08:02 php/
drwxr-xr-x 17 test users 4096 Sep  1 08:00 php-5.6.0/
drwxr-xr-x  5 test users 4096 Sep  1 08:02 staging/

-- The php directory should not have been created here, as we installed with INSTALL_ROOT.

test:~/php-5.6.0$ find $HOME/php

/home/test/php
/home/test/php/lib
/home/test/php/lib/php
/home/test/php/lib/php/.depdb
/home/test/php/lib/php/.filemap
/home/test/php/lib/php/.depdblock
/home/test/php/lib/php/.lock
/home/test/php/lib/php/.registry
/home/test/php/lib/php/.registry/.channel.__uri
/home/test/php/lib/php/.registry/.channel.pecl.php.net
/home/test/php/lib/php/.registry/.channel.doc.php.net
/home/test/php/lib/php/.channels
/home/test/php/lib/php/.channels/doc.php.net.reg
/home/test/php/lib/php/.channels/__uri.reg
/home/test/php/lib/php/.channels/pear.php.net.reg
/home/test/php/lib/php/.channels/.alias
/home/test/php/lib/php/.channels/.alias/phpdocs.txt
/home/test/php/lib/php/.channels/.alias/pear.txt
/home/test/php/lib/php/.channels/.alias/pecl.txt
/home/test/php/lib/php/.channels/pecl.php.net.reg

-- This is an empty PEAR database

test:~/php-5.6.0$ find $HOME/staging

/home/test/staging
/home/test/staging/.depdb
/home/test/staging/.filemap
/home/test/staging/.depdblock
/home/test/staging/.lock
/home/test/staging/.registry
/home/test/staging/.registry/.channel.__uri
/home/test/staging/.registry/.channel.pecl.php.net
/home/test/staging/.registry/.channel.doc.php.net
/home/test/staging/home
/home/test/staging/home/test
/home/test/staging/home/test/php
/home/test/staging/home/test/php/etc
/home/test/staging/home/test/php/etc/pear.conf
...
...
/home/test/staging/home/test/php/bin/php-cgi
/home/test/staging/home/test/php/bin/php
/home/test/staging/.channels
/home/test/staging/.channels/doc.php.net.reg
/home/test/staging/.channels/__uri.reg
/home/test/staging/.channels/pear.php.net.reg
/home/test/staging/.channels/.alias
/home/test/staging/.channels/.alias/phpdocs.txt
/home/test/staging/.channels/.alias/pear.txt
/home/test/staging/.channels/.alias/pecl.txt
/home/test/staging/.channels/pecl.php.net.reg

-- And a second empty PEAR database in the root of the staging directory.
-- The correct PEAR database is at '/home/test/staging/home/test/php/lib/php/'.
-- The sub install command 'make install-pear INSTALL_ROOT=$HOME/staging' gives the same result.

I have tried to find out what caused this behavior and it stems from the PEAR installation file
located at 'php-5.6.0/pear/install-pear-nozlib.phar'.
Trying to pinpoint it, it seems to always get back to some logic in 'PEAR/Registry.php' in this archive.

In normal operation (no INSTALL_ROOT), there are only 2 registry objects made, with proper paths.

However, with the use of INSTALL_ROOT, the registry objects seem to be recreated constantly, with
different paths to the php root, and by different objects in the PEAR installation.
These recreations eventually lead to assertion of paths, usually by locking or re-locking of the
registry databases, which then create the database if  it does not exist.

I could trace the creation of the database in the root of INSTALL_ROOT on line 208 in index.php:
  $reg = &amp;new PEAR_Registry($options['packagingroot']);
I fixed this with:
  $reg = &amp;new PEAR_Registry($options['packagingroot'] . DIRECTORY_SEPARATOR . $config-&gt;get('php_dir'));

This seems to be ok, for as far as I can understand what is going on, and it seems to fit the logic.
This fix is found in patch1.patch, but I must note that I have absolutely no experience with the
inner working of the PEAR code, so I have no idea if this is indeed the logic and proper fix.
I did add a small cosmetic patch to this patch too (see below).

For the other surplus database, created outside the INSTALL_ROOT all together, I know that the fix I
have created is completely wrong (patch2.patch).
The recreation of the registry objects is all over the place, and as I said, having no experience with
the inner workings of PEAR, I have no idea what is right and what is not.

The patch I have created merely fixes the symptoms, mostly by just disabling locking and some changes
to other places.
I think, or at least I deduced from the call stacks which get to the lock, that the recreation of the
registry objects themselves are likely the real problem, but my attempts to fix it like that all ave stranded
into nothingness.

A small snippet of code I used is the following:
print &quot;---- setInstallDir() $pear_install_dir\n&quot;;
$trace = debug_backtrace();
for ($i = 0; $i &lt; count($trace); $i++) print $trace[$i][&quot;file&quot;] . &quot;:&quot; . $trace[$i][&quot;function&quot;] . &quot; (&quot; . $trace[$i][&quot;line&quot;] . &quot;)\n&quot;;

I put this at various entries of functions to get the said call stacks, especially at setInstallDir(),
the various _assert*Dir() and _lock().
The first line obviously changed to indicate the current function, and the path of intrest (like
$this-&gt;install_dir in case of some of the asserts).
The difference between a make install without INSTALL_ROOT and with is quite striking, especially with
regard to the calling of setInstallDir(), which is mainly (exclusively?) called by the constructor.

One of the things I did notice was that the paths in the $config object (in installer.php) seemingly gets
changed after the 1st iteration in the foreach loop.
The fix I applied is an extreme hack, I failed to track down why it changed.

So, final words, I have no idea how to fix this properly, but I hope I have given an adequate description
of the problem and did some proper analyzing of the root cause.
I'm of course more then happy to do some more digging if required, but it probably is best if someone who
actually knows how PEAR is supposed to work can look at it, or at least give some idea on how to proceed.

The small cosmetic thing:
[PEAR] Archive_Tar    - installed: 1.3.12
[PEAR] Console_Getopt - installed: 1.3.1
[PEAR] Structures_Graph- installed: 1.0.4
[PEAR] XML_Util       - installed: 1.2.3
[PEAR] PEAR           - installed: 1.9.5

The Structures_Graph is longer then the rest and touches the dash, so I guess 2 spaces need to be added to the lines.
I fixed this in patch1.patch too, as stated above.

ps.
I have not tried it, and I have no idea if things actually work like this, but it seems that the runtime PEAR
inside the phar archive itself is not the same version as the tarred one which get installed.
If there is a bug in the runtime version, it likely is also in the 1.9.5 version? Or could it be fixed there?
Or is that tarred version not usable as a 'bootstrap' version as in the phar?
(As I said, I really don't know how PEAR works, just guessing a bit here.)</pre>]]></description>
      <dc:date>2017-03-01T17:20:33+00:00</dc:date>
      <dc:creator>phpbug &amp;#x61;&amp;#116; monumentmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20371">
      <title>PEAR: Bug 20371 [Open] Error reporting on package downgrade should work consistently</title>
      <link>http://pear.php.net/bugs/20371</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by vbalazs
2014-08-18T15:50:43+00:00
PHP: 5.4.31 OS:  Package Version: 1.9.5

Description:
------------
Call `upgrade` with an older version reports the error only if you don't have 
the latest version of a package but reports success if you have.

I need to handle install/upgrade/downgrade cases from script and because of 
this I can't report instructions for the user about how to downgrade if he has 
the latest version installed of a package.

Test script:
---------------
1., if you don't have the latest package version:

pear install Validate-0.8.0
pear upgrade Validate-0.7.0 # exit with error
pear/Validate is already installed and is newer than detected released version 0.7.0
upgrade failed

2., if you have the latest package version

pear install Validate # it installs 0.8.5
pear upgrade Validate-0.7.0 # exit with success
Nothing to upgrade

Expected result:
----------------
Upgrade should exit with the same error even if the newest version is 
installed.

Actual result:
--------------
Returns success with the message: &quot;Nothing to upgrade&quot;</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by vbalazs
2014-08-18T15:50:43+00:00
PHP: 5.4.31 OS:  Package Version: 1.9.5

Description:
------------
Call `upgrade` with an older version reports the error only if you don't have 
the latest version of a package but reports success if you have.

I need to handle install/upgrade/downgrade cases from script and because of 
this I can't report instructions for the user about how to downgrade if he has 
the latest version installed of a package.

Test script:
---------------
1., if you don't have the latest package version:

pear install Validate-0.8.0
pear upgrade Validate-0.7.0 # exit with error
pear/Validate is already installed and is newer than detected released version 0.7.0
upgrade failed

2., if you have the latest package version

pear install Validate # it installs 0.8.5
pear upgrade Validate-0.7.0 # exit with success
Nothing to upgrade

Expected result:
----------------
Upgrade should exit with the same error even if the newest version is 
installed.

Actual result:
--------------
Returns success with the message: &quot;Nothing to upgrade&quot;</pre>]]></description>
      <dc:date>2014-08-18T15:50:43+00:00</dc:date>
      <dc:creator>varbalazs+pear &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20347">
      <title>PEAR: Bug 20347 [Open] add channel with 1.9.4, upgrade to 1.9.5. remote-list fails.</title>
      <link>http://pear.php.net/bugs/20347</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by kguest
2014-07-15T15:25:18+00:00
PHP: 5.5.3 OS: linux Package Version: 1.9.5

Description:
------------
Each release/upgrade of the pear installer should clear out the [existing] cache files from the cache_dir. See the test script below for a reason why.

Test script:
---------------
$ pear info pear | grep &quot;Release Version&quot;
Release Version        1.9.4 (stable)
$ sudo pear channel-discover pear.magetool.co.uk
$ sudo pear upgrade pear
$ pear info pear | grep &quot;Release Version&quot;
Release Version        1.9.5 (stable)
$ sudo pear remote-list -c magetool

Warning: Illegal string offset 'c' in PEAR/REST/11.php on line 54
PHP Warning:  Illegal string offset 'c' in /usr/share/php/PEAR/REST/11.php on line 54
PHP Stack trace:
PHP   1. {main}() /usr/share/php/pearcmd.php:0
PHP   2. PEAR_Command_Common-&gt;run() /usr/share/php/pearcmd.php:305
PHP   3. PEAR_Command_Remote-&gt;doRemoteList() /usr/share/php/PEAR/Command/Common.php:271
PHP   4. PEAR_REST_11-&gt;listAll() /usr/share/php/PEAR/Command/Remote.php:266

do a $ sudo pear clear-cache and the problem goes away.


Expected result:
----------------
If the cache was cleared [automatically] then the parsing error show in the test script would not have occurred. (And I wouldn't have doubted whether I had truly upgraded to v 1.9.5.)</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by kguest
2014-07-15T15:25:18+00:00
PHP: 5.5.3 OS: linux Package Version: 1.9.5

Description:
------------
Each release/upgrade of the pear installer should clear out the [existing] cache files from the cache_dir. See the test script below for a reason why.

Test script:
---------------
$ pear info pear | grep &quot;Release Version&quot;
Release Version        1.9.4 (stable)
$ sudo pear channel-discover pear.magetool.co.uk
$ sudo pear upgrade pear
$ pear info pear | grep &quot;Release Version&quot;
Release Version        1.9.5 (stable)
$ sudo pear remote-list -c magetool

Warning: Illegal string offset 'c' in PEAR/REST/11.php on line 54
PHP Warning:  Illegal string offset 'c' in /usr/share/php/PEAR/REST/11.php on line 54
PHP Stack trace:
PHP   1. {main}() /usr/share/php/pearcmd.php:0
PHP   2. PEAR_Command_Common-&gt;run() /usr/share/php/pearcmd.php:305
PHP   3. PEAR_Command_Remote-&gt;doRemoteList() /usr/share/php/PEAR/Command/Common.php:271
PHP   4. PEAR_REST_11-&gt;listAll() /usr/share/php/PEAR/Command/Remote.php:266

do a $ sudo pear clear-cache and the problem goes away.


Expected result:
----------------
If the cache was cleared [automatically] then the parsing error show in the test script would not have occurred. (And I wouldn't have doubted whether I had truly upgraded to v 1.9.5.)</pre>]]></description>
      <dc:date>2014-07-15T15:25:18+00:00</dc:date>
      <dc:creator>ken &amp;#x61;&amp;#116; linux &amp;#x64;&amp;#111;&amp;#x74; ie</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19650">
      <title>PEAR: Bug 19650 [Open] Cannot install PHPUnit 3.6.12</title>
      <link>http://pear.php.net/bugs/19650</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by sebastian
2012-10-13T14:13:07+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.9.4

Description:
------------
At the time of writing, PHPUnit 3.7 is the current version of PHPUnit. PHPUnit 3.6 shares dependencies with PHPUnit 3.7 but is incompatible with newer versions of some of these dependencies. This fact is expressed using &lt;max&gt; elements in the package.xml.

Trying to install PHPUnit 3.6.12 leads to &quot;Duplicate package&quot; errors for these dependencies.

Test script:
---------------
pear install http://pear.phpunit.de/get/PHPUnit-3.6.12.tgz

Expected result:
----------------
No errors

Actual result:
--------------
    ?  ~  pear install http://pear.phpunit.de/get/PHPUnit-3.6.12.tgz          
    downloading PHPUnit-3.6.12.tgz ...
    Starting to download PHPUnit-3.6.12.tgz (120,240 bytes)
    ..........................done: 120,240 bytes
    Did not download optional dependencies: phpunit/PHP_Invoker, use --alldeps to download automatically
    Duplicate package channel://pear.phpunit.de/Text_Template-1.1.2 found
    Duplicate package channel://pear.phpunit.de/Text_Template-1.1.3 found
    install failed</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by sebastian
2012-10-13T14:13:07+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.9.4

Description:
------------
At the time of writing, PHPUnit 3.7 is the current version of PHPUnit. PHPUnit 3.6 shares dependencies with PHPUnit 3.7 but is incompatible with newer versions of some of these dependencies. This fact is expressed using &lt;max&gt; elements in the package.xml.

Trying to install PHPUnit 3.6.12 leads to &quot;Duplicate package&quot; errors for these dependencies.

Test script:
---------------
pear install http://pear.phpunit.de/get/PHPUnit-3.6.12.tgz

Expected result:
----------------
No errors

Actual result:
--------------
    ?  ~  pear install http://pear.phpunit.de/get/PHPUnit-3.6.12.tgz          
    downloading PHPUnit-3.6.12.tgz ...
    Starting to download PHPUnit-3.6.12.tgz (120,240 bytes)
    ..........................done: 120,240 bytes
    Did not download optional dependencies: phpunit/PHP_Invoker, use --alldeps to download automatically
    Duplicate package channel://pear.phpunit.de/Text_Template-1.1.2 found
    Duplicate package channel://pear.phpunit.de/Text_Template-1.1.3 found
    install failed</pre>]]></description>
      <dc:date>2012-10-13T14:13:07+00:00</dc:date>
      <dc:creator>sb &amp;#x61;&amp;#116; sebastian-bergmann &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19460">
      <title>PEAR: Feature/Change Request 19460 [Open] support package.xml v2.1 used by pear2</title>
      <link>http://pear.php.net/bugs/19460</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2012-06-07T18:15:54+00:00
PHP: 5.4.3 OS:  Package Version: 1.9.4

Description:
------------
Packages from pear2 cannot be installed with pear, which is a pity - they use package.xml schema v2.1</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2012-06-07T18:15:54+00:00
PHP: 5.4.3 OS:  Package Version: 1.9.4

Description:
------------
Packages from pear2 cannot be installed with pear, which is a pity - they use package.xml schema v2.1</pre>]]></description>
      <dc:date>2012-06-08T10:22:07+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19407">
      <title>PEAR: Feature/Change Request 19407 [Open] ini file is not passed to PEAR_Runtest</title>
      <link>http://pear.php.net/bugs/19407</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by psc
2012-05-03T17:30:53+00:00
PHP: Irrelevant OS: Windows Package Version: 1.9.4

Description:
------------
When a ini for php is specified through pear config the &quot;-c&quot; option is not passed to the $cmd from PEAR_Runtest

its not possible to pass a option to the class which adds the -c option for the php executable</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by psc
2012-05-03T17:30:53+00:00
PHP: Irrelevant OS: Windows Package Version: 1.9.4

Description:
------------
When a ini for php is specified through pear config the &quot;-c&quot; option is not passed to the $cmd from PEAR_Runtest

its not possible to pass a option to the class which adds the -c option for the php executable</pre>]]></description>
      <dc:date>2012-05-03T17:30:53+00:00</dc:date>
      <dc:creator>p &amp;#x64;&amp;#111;&amp;#x74; scheit &amp;#x61;&amp;#116; ps-webforge &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19282">
      <title>PEAR: Feature/Change Request 19282 [Open] Auto channel update</title>
      <link>http://pear.php.net/bugs/19282</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by noodlesnz
2012-02-09T03:33:23+00:00
PHP: 5.3.10 OS:  Package Version: 1.9.4

Description:
------------
It would be good if PEAR would run a pear update-channel pear.php.net when it needed to, rather than display a message.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by noodlesnz
2012-02-09T03:33:23+00:00
PHP: 5.3.10 OS:  Package Version: 1.9.4

Description:
------------
It would be good if PEAR would run a pear update-channel pear.php.net when it needed to, rather than display a message.</pre>]]></description>
      <dc:date>2012-02-09T03:33:23+00:00</dc:date>
      <dc:creator>noodles &amp;#x61;&amp;#116; planetslackers &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19248">
      <title>PEAR: Feature/Change Request 19248 [Open] Split PEAR_Exception into separate package</title>
      <link>http://pear.php.net/bugs/19248</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2012-01-26T04:07:53+00:00
PHP: Irrelevant OS:  Package Version: 1.9.4

Description:
------------
I'm using pyrus to install dependencies and need to install PEAR because it contains the PEAR_Exception class.

This is just too much to download and setup for a single file that's needed.

Please put PEAR_Exception into an own package.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2012-01-26T04:07:53+00:00
PHP: Irrelevant OS:  Package Version: 1.9.4

Description:
------------
I'm using pyrus to install dependencies and need to install PEAR because it contains the PEAR_Exception class.

This is just too much to download and setup for a single file that's needed.

Please put PEAR_Exception into an own package.</pre>]]></description>
      <dc:date>2012-01-27T18:41:29+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19153">
      <title>PEAR: Bug 19153 [Analyzed] Wrong Parameters for Exception</title>
      <link>http://pear.php.net/bugs/19153</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by jonez
2011-12-21T20:33:10+00:00
PHP: 5.3.7 OS: Debian Squeeze Package Version: 

Description:
------------
PHP Warning:  PEAR_ERROR_EXCEPTION is obsolete, use class PEAR_Exception for exceptions in /usr/share/php/PEAR.php on line 894
PHP Fatal error:  Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in /usr/share/php/PEAR.php(895) : eval()'d code on line 1</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by jonez
2011-12-21T20:33:10+00:00
PHP: 5.3.7 OS: Debian Squeeze Package Version: 

Description:
------------
PHP Warning:  PEAR_ERROR_EXCEPTION is obsolete, use class PEAR_Exception for exceptions in /usr/share/php/PEAR.php on line 894
PHP Fatal error:  Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in /usr/share/php/PEAR.php(895) : eval()'d code on line 1</pre>]]></description>
      <dc:date>2014-06-07T03:12:19+00:00</dc:date>
      <dc:creator>jam &amp;#x61;&amp;#116; zoidtechnologies &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19150">
      <title>PEAR: Feature/Change Request 19150 [Open] downgrading does not work if dependencies need to be downgraded</title>
      <link>http://pear.php.net/bugs/19150</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2011-12-20T15:50:04+00:00
PHP: Irrelevant OS:  Package Version: 1.9.4

Description:
------------
When upgrading from phpunit 3.5 to 3.6, things broke. Downgrading was not possible because some dependencies did not match anymore. The deps need also to be downgraded, but pear didn't do that.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2011-12-20T15:50:04+00:00
PHP: Irrelevant OS:  Package Version: 1.9.4

Description:
------------
When upgrading from phpunit 3.5 to 3.6, things broke. Downgrading was not possible because some dependencies did not match anymore. The deps need also to be downgraded, but pear didn't do that.</pre>]]></description>
      <dc:date>2014-05-30T01:12:25+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19138">
      <title>PEAR: Bug 19138 [Open] search command ignores preferred_state</title>
      <link>http://pear.php.net/bugs/19138</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by dkingofpa
2011-12-15T20:13:19+00:00
PHP: 5.3.2 OS: Ubuntu Package Version: 1.9.4

Description:
------------
When I search for the latest stable branch of the drush 
package, 
I get the latest devel package (5.0.0).  Instead, I expect to 
get 
the latest stable package (4.5.0).

Some possibly related bugs (mostly old bugs):
https://pear.php.net/bugs/bug.php?id=534
https://pear.php.net/bugs/bug.php?id=45
https://pear.php.net/bugs/bug.php?id=5727


Test script:
---------------
Run these commands on the command line:

pear channel-discover pear.drush.org
pear -d preferred_state=stable search -c pear.drush.org drush



Expected result:
----------------
I expect search to return the latest stable package for drush.  At 
the moment, that would be version 4.5.0 as you can see in the 
releases xml.  http://pear.drush.org/rest/r/drush/allreleases.xml

Actual result:
--------------
vagrant@lucid32:~$ pear -d preferred_state=stable search -c 
pear.drush.org drush
Retrieving data...0%
Matched packages, channel pear.drush.org:
========================================
=
Package Stable/(Latest) Local
drush   5.0.0 (devel)   5.0.0 command line shell and Unix 
scripting interface for Drupal</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by dkingofpa
2011-12-15T20:13:19+00:00
PHP: 5.3.2 OS: Ubuntu Package Version: 1.9.4

Description:
------------
When I search for the latest stable branch of the drush 
package, 
I get the latest devel package (5.0.0).  Instead, I expect to 
get 
the latest stable package (4.5.0).

Some possibly related bugs (mostly old bugs):
https://pear.php.net/bugs/bug.php?id=534
https://pear.php.net/bugs/bug.php?id=45
https://pear.php.net/bugs/bug.php?id=5727


Test script:
---------------
Run these commands on the command line:

pear channel-discover pear.drush.org
pear -d preferred_state=stable search -c pear.drush.org drush



Expected result:
----------------
I expect search to return the latest stable package for drush.  At 
the moment, that would be version 4.5.0 as you can see in the 
releases xml.  http://pear.drush.org/rest/r/drush/allreleases.xml

Actual result:
--------------
vagrant@lucid32:~$ pear -d preferred_state=stable search -c 
pear.drush.org drush
Retrieving data...0%
Matched packages, channel pear.drush.org:
========================================
=
Package Stable/(Latest) Local
drush   5.0.0 (devel)   5.0.0 command line shell and Unix 
scripting interface for Drupal</pre>]]></description>
      <dc:date>2011-12-15T20:16:07+00:00</dc:date>
      <dc:creator>dking &amp;#x61;&amp;#116; xforty &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18970">
      <title>PEAR: Bug 18970 [Open] Not installing correct version if using &lt;exclude&gt; tags</title>
      <link>http://pear.php.net/bugs/18970</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-11-08T17:11:20+00:00
PHP: Irrelevant OS:  Package Version: 1.9.4

Description:
------------
Try to install Horde_Test from the Horde PEAR channel. Due to the following dependency, PEAR should install the latest 3.5.x version of PHPUnit:

   &lt;package&gt;
    &lt;name&gt;PHPUnit&lt;/name&gt;
    &lt;channel&gt;pear.phpunit.de&lt;/channel&gt;
    &lt;min&gt;3.5.0&lt;/min&gt;
    &lt;max&gt;3.6.0&lt;/max&gt;
    &lt;exclude&gt;3.6.0&lt;/exclude&gt;
   &lt;/package&gt;

It installs 3.6.0 instead.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-11-08T17:11:20+00:00
PHP: Irrelevant OS:  Package Version: 1.9.4

Description:
------------
Try to install Horde_Test from the Horde PEAR channel. Due to the following dependency, PEAR should install the latest 3.5.x version of PHPUnit:

   &lt;package&gt;
    &lt;name&gt;PHPUnit&lt;/name&gt;
    &lt;channel&gt;pear.phpunit.de&lt;/channel&gt;
    &lt;min&gt;3.5.0&lt;/min&gt;
    &lt;max&gt;3.6.0&lt;/max&gt;
    &lt;exclude&gt;3.6.0&lt;/exclude&gt;
   &lt;/package&gt;

It installs 3.6.0 instead.</pre>]]></description>
      <dc:date>2011-11-08T17:12:18+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18888">
      <title>PEAR: Bug 18888 [Open] &quot;pear upgrade-all&quot; does not upgrade stable version to beta version</title>
      <link>http://pear.php.net/bugs/18888</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by sebastian
2011-10-01T14:13:34+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.9.4

Description:
------------
# pear config-show
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels     auto_discover    &lt;not set&gt;
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       &lt;not set&gt;
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.php.net
Remote Configuration File      remote_config    &lt;not set&gt;
PEAR executables directory     bin_dir          /usr/bin
PEAR documentation directory   doc_dir          /usr/share/pear/doc
PHP extension directory        ext_dir          /usr/lib64/php/modules
PEAR directory                 php_dir          /usr/share/pear
PEAR Installer cache directory cache_dir        /var/cache/php-pear
PEAR configuration file        cfg_dir          /usr/share/pear/cfg
directory
PEAR data directory            data_dir         /usr/share/pear/data
PEAR Installer download        download_dir     /tmp/pear/download
directory
PHP CLI/CGI binary             php_bin          /usr/bin/php
php.ini location               php_ini          &lt;not set&gt;
--program-prefix passed to     php_prefix       &lt;not set&gt;
PHP's ./configure
--program-suffix passed to     php_suffix       &lt;not set&gt;
PHP's ./configure
PEAR Installer temp directory  temp_dir         /tmp/pear/temp
PEAR test directory            test_dir         /usr/share/pear/test
PEAR www files directory       www_dir          /usr/share/pear/www
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  beta
Unix file mask                 umask            22
Debug Log Level                verbose          1
PEAR password (for             password         &lt;not set&gt;
maintainers)
Signature Handling Program     sig_bin          /usr/local/bin/gpg
Signature Key Directory        sig_keydir       /etc/pearkeys
Signature Key Id               sig_keyid        &lt;not set&gt;
Package Signature Type         sig_type         gpg
PEAR username (for             username         &lt;not set&gt;
maintainers)
User Configuration File        Filename         /root/.pearrc
System Configuration File      Filename         /etc/pear.conf


# pear upgrade-all
Will upgrade channel://pear.phpunit.de/phpunit
Will upgrade channel://pear.phpunit.de/phpunit_selenium
Will upgrade channel://pear.phpunit.de/file_iterator
Will upgrade channel://pear.phpunit.de/dbunit
Will upgrade channel://pear.phpunit.de/php_codecoverage
Will upgrade channel://pear.phpunit.de/phploc
Will upgrade channel://pear.phpunit.de/phpunit_mockobject
Will upgrade channel://pear.phpunit.de/php_codebrowser
Will upgrade channel://pear.phpunit.de/phpcpd
phpunit/phpunit is already installed and is the same as the released version 3.5.15
phpunit/phpunit_selenium is already installed and is the same as the released version 1.0.3
phpunit/file_iterator is already installed and is the same as the released version 1.2.6
phpunit/dbunit is already installed and is the same as the released version 1.0.3
phpunit/php_codecoverage is already installed and is the same as the released version 1.0.5
phpunit/phploc is already installed and is the same as the released version 1.6.1
phpunit/phpunit_mockobject is already installed and is the same as the released version 1.0.9
phpunit/php_codebrowser is already installed and is the same as the released version 1.0.0
phpunit/phpcpd is already installed and is the same as the released version 1.3.2
upgrade-all failed</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by sebastian
2011-10-01T14:13:34+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.9.4

Description:
------------
# pear config-show
Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels     auto_discover    &lt;not set&gt;
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       &lt;not set&gt;
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.php.net
Remote Configuration File      remote_config    &lt;not set&gt;
PEAR executables directory     bin_dir          /usr/bin
PEAR documentation directory   doc_dir          /usr/share/pear/doc
PHP extension directory        ext_dir          /usr/lib64/php/modules
PEAR directory                 php_dir          /usr/share/pear
PEAR Installer cache directory cache_dir        /var/cache/php-pear
PEAR configuration file        cfg_dir          /usr/share/pear/cfg
directory
PEAR data directory            data_dir         /usr/share/pear/data
PEAR Installer download        download_dir     /tmp/pear/download
directory
PHP CLI/CGI binary             php_bin          /usr/bin/php
php.ini location               php_ini          &lt;not set&gt;
--program-prefix passed to     php_prefix       &lt;not set&gt;
PHP's ./configure
--program-suffix passed to     php_suffix       &lt;not set&gt;
PHP's ./configure
PEAR Installer temp directory  temp_dir         /tmp/pear/temp
PEAR test directory            test_dir         /usr/share/pear/test
PEAR www files directory       www_dir          /usr/share/pear/www
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  beta
Unix file mask                 umask            22
Debug Log Level                verbose          1
PEAR password (for             password         &lt;not set&gt;
maintainers)
Signature Handling Program     sig_bin          /usr/local/bin/gpg
Signature Key Directory        sig_keydir       /etc/pearkeys
Signature Key Id               sig_keyid        &lt;not set&gt;
Package Signature Type         sig_type         gpg
PEAR username (for             username         &lt;not set&gt;
maintainers)
User Configuration File        Filename         /root/.pearrc
System Configuration File      Filename         /etc/pear.conf


# pear upgrade-all
Will upgrade channel://pear.phpunit.de/phpunit
Will upgrade channel://pear.phpunit.de/phpunit_selenium
Will upgrade channel://pear.phpunit.de/file_iterator
Will upgrade channel://pear.phpunit.de/dbunit
Will upgrade channel://pear.phpunit.de/php_codecoverage
Will upgrade channel://pear.phpunit.de/phploc
Will upgrade channel://pear.phpunit.de/phpunit_mockobject
Will upgrade channel://pear.phpunit.de/php_codebrowser
Will upgrade channel://pear.phpunit.de/phpcpd
phpunit/phpunit is already installed and is the same as the released version 3.5.15
phpunit/phpunit_selenium is already installed and is the same as the released version 1.0.3
phpunit/file_iterator is already installed and is the same as the released version 1.2.6
phpunit/dbunit is already installed and is the same as the released version 1.0.3
phpunit/php_codecoverage is already installed and is the same as the released version 1.0.5
phpunit/phploc is already installed and is the same as the released version 1.6.1
phpunit/phpunit_mockobject is already installed and is the same as the released version 1.0.9
phpunit/php_codebrowser is already installed and is the same as the released version 1.0.0
phpunit/phpcpd is already installed and is the same as the released version 1.3.2
upgrade-all failed</pre>]]></description>
      <dc:date>2011-10-01T14:13:34+00:00</dc:date>
      <dc:creator>sb &amp;#x61;&amp;#116; sebastian-bergmann &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18786">
      <title>PEAR: Feature/Change Request 18786 [Open] Run unit tests with phpunit.xml</title>
      <link>http://pear.php.net/bugs/18786</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2011-09-04T14:31:05+00:00
PHP: Irrelevant OS:  Package Version: 1.9.4

Description:
------------
Instead of relying on AllTests.php files, we should also support phpunit.xml files in the run-tests command:
- When a package contains a phpunit.xml file, switch the working directory to there
- Then run phpunit .</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2011-09-04T14:31:05+00:00
PHP: Irrelevant OS:  Package Version: 1.9.4

Description:
------------
Instead of relying on AllTests.php files, we should also support phpunit.xml files in the run-tests command:
- When a package contains a phpunit.xml file, switch the working directory to there
- Then run phpunit .</pre>]]></description>
      <dc:date>2011-09-04T14:31:05+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18666">
      <title>PEAR: Bug 18666 [Verified] PEAR doesn't honor the ext_dir configuration variable</title>
      <link>http://pear.php.net/bugs/18666</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by kalessin14
2011-07-14T00:28:47+00:00
PHP: Irrelevant OS: Irrelevant Package Version: SVN

Description:
------------
I'm using PEAR 1.9.0, but newer version are also affected.

PEAR doesn't honor the ext_dir configuration variable, or I didn't understand how to use it.

The ext_dir configuration variable is supposed to be used when you want to install extensions in a custom directory. This is useful to allow unprivileged user to install php extensions in their home directories.

To make the ext_dir configuration variable working I fixed the build function in Builder.php to use ext_dir as a prefix for the destination path of the extension. I also fixed the enableExtension function in Command/Install.php to write the full path to the extension in php.ini when ext_dir is set.

While these fixes fit my use case they are not perfect because they use ext_dir as a prefix instead as the full dirname for the extension. Moreover I didn't take care of possible regressions and some other places in the code certainly need to be adjusted (e.g: error messages).

The attached patch applies to SVN r313186

Best regards


Test script:
---------------
#!/bin/sh

ext_dir=`mktemp -d`

pear config-set ext_dir $ext_dir user
pecl install mongo

rm -rf $ext_dir


Expected result:
----------------
[...]
Build process completed successfully
Installing '/tmp/tmp.km7ZJACEQ3/lib/php5/20090626/mongo.so'
install ok: channel://pecl.php.net/mongo-1.2.1
configuration option &quot;php_ini&quot; is not set to php.ini location
You should add &quot;extension=/tmp/tmp.km7ZJACEQ3/lib/php5/20090626/mongo.so&quot; to php.ini
% 


Actual result:
--------------
[...]
Build process completed successfully
Installing '/usr/lib/php5/20090626/mongo.so'
install ok: channel://pecl.php.net/mongo-1.2.1
configuration option &quot;php_ini&quot; is not set to php.ini location
You should add &quot;extension=mongo.so&quot; to php.ini
%</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by kalessin14
2011-07-14T00:28:47+00:00
PHP: Irrelevant OS: Irrelevant Package Version: SVN

Description:
------------
I'm using PEAR 1.9.0, but newer version are also affected.

PEAR doesn't honor the ext_dir configuration variable, or I didn't understand how to use it.

The ext_dir configuration variable is supposed to be used when you want to install extensions in a custom directory. This is useful to allow unprivileged user to install php extensions in their home directories.

To make the ext_dir configuration variable working I fixed the build function in Builder.php to use ext_dir as a prefix for the destination path of the extension. I also fixed the enableExtension function in Command/Install.php to write the full path to the extension in php.ini when ext_dir is set.

While these fixes fit my use case they are not perfect because they use ext_dir as a prefix instead as the full dirname for the extension. Moreover I didn't take care of possible regressions and some other places in the code certainly need to be adjusted (e.g: error messages).

The attached patch applies to SVN r313186

Best regards


Test script:
---------------
#!/bin/sh

ext_dir=`mktemp -d`

pear config-set ext_dir $ext_dir user
pecl install mongo

rm -rf $ext_dir


Expected result:
----------------
[...]
Build process completed successfully
Installing '/tmp/tmp.km7ZJACEQ3/lib/php5/20090626/mongo.so'
install ok: channel://pecl.php.net/mongo-1.2.1
configuration option &quot;php_ini&quot; is not set to php.ini location
You should add &quot;extension=/tmp/tmp.km7ZJACEQ3/lib/php5/20090626/mongo.so&quot; to php.ini
% 


Actual result:
--------------
[...]
Build process completed successfully
Installing '/usr/lib/php5/20090626/mongo.so'
install ok: channel://pecl.php.net/mongo-1.2.1
configuration option &quot;php_ini&quot; is not set to php.ini location
You should add &quot;extension=mongo.so&quot; to php.ini
%</pre>]]></description>
      <dc:date>2014-06-07T03:08:24+00:00</dc:date>
      <dc:creator>kalessin &amp;#x61;&amp;#116; kalessin &amp;#x64;&amp;#111;&amp;#x74; fr</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18616">
      <title>PEAR: Bug 18616 [Open] PEAR checking PECL package levels despite of -B flag</title>
      <link>http://pear.php.net/bugs/18616</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-06-20T18:40:01+00:00
PHP: Irrelevant OS:  Package Version: 1.9.3

Description:
------------
Even if using the -B flag when installing a package with PECL dependencies, the installer warns about dependencies not being available in the desired stability level. It doesn't download and build them, but it's still warning, which is confusing to the user.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-06-20T18:40:01+00:00
PHP: Irrelevant OS:  Package Version: 1.9.3

Description:
------------
Even if using the -B flag when installing a package with PECL dependencies, the installer warns about dependencies not being available in the desired stability level. It doesn't download and build them, but it's still warning, which is confusing to the user.</pre>]]></description>
      <dc:date>2014-05-30T01:22:30+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18485">
      <title>PEAR: Feature/Change Request 18485 [Open] Support more flexible channel discovery</title>
      <link>http://pear.php.net/bugs/18485</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by doconnor
2011-04-27T20:24:02+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
$ pear channel-discover empir.sourceforge.net/pear/
works

$ pear channel-discover http://empir.sourceforge.net/pear/
... does not.

Consider detecting if the channel name is a full blown URI; 
and if so; trying to retrieve that first.


Why? When you think about channel names as resolvable 
things; it's much easier to deal with a straight link. If you 
have to figure out the protocol yourself; you are forced to 
write code to add http/https. This isn't so bad in the installer - 
only 2-3 extra lines. But when you look at supporting tools 
[like pearweb or a proposed agregator]; you have to 
reimplement the same behaviour repeatedly - adding a 
channel? Lop off http/https for storage; add it on for checking 
validity, etc.



Test script:
---------------
$ pear channel-discover http://empir.sourceforge.net/pear/


Expected result:
----------------
Channel discovery succeeded

Actual result:
--------------
clockwerx@clockwerx-
desktop:/media/Elements_/backup/home/clockwerx/pear-
svn/pearweb/trunk/public_html/channels$ sudo pear channel-
discover http://empir.sourceforge.net/pear/
Discovering channel http://empir.sourceforge.net/pear/ over 
http:// failed with message: channel-add: Cannot open 
&quot;http://http://empir.sourceforge.net/pear//channel.xml&quot; 
(Connection to `http:80' failed: php_network_getaddresses: 
getaddrinfo failed: Name or service not known)
Trying to discover channel http://empir.sourceforge.net/pear/ 
over https:// instead
Discovery of channel &quot;http://empir.sourceforge.net/pear/&quot; 
failed (channel-add: Cannot open 
&quot;https://http://empir.sourceforge.net/pear//channel.xml&quot; 
(Connection to `http:443' failed: php_network_getaddresses: 
getaddrinfo failed: Name or service not known))</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by doconnor
2011-04-27T20:24:02+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
$ pear channel-discover empir.sourceforge.net/pear/
works

$ pear channel-discover http://empir.sourceforge.net/pear/
... does not.

Consider detecting if the channel name is a full blown URI; 
and if so; trying to retrieve that first.


Why? When you think about channel names as resolvable 
things; it's much easier to deal with a straight link. If you 
have to figure out the protocol yourself; you are forced to 
write code to add http/https. This isn't so bad in the installer - 
only 2-3 extra lines. But when you look at supporting tools 
[like pearweb or a proposed agregator]; you have to 
reimplement the same behaviour repeatedly - adding a 
channel? Lop off http/https for storage; add it on for checking 
validity, etc.



Test script:
---------------
$ pear channel-discover http://empir.sourceforge.net/pear/


Expected result:
----------------
Channel discovery succeeded

Actual result:
--------------
clockwerx@clockwerx-
desktop:/media/Elements_/backup/home/clockwerx/pear-
svn/pearweb/trunk/public_html/channels$ sudo pear channel-
discover http://empir.sourceforge.net/pear/
Discovering channel http://empir.sourceforge.net/pear/ over 
http:// failed with message: channel-add: Cannot open 
&quot;http://http://empir.sourceforge.net/pear//channel.xml&quot; 
(Connection to `http:80' failed: php_network_getaddresses: 
getaddrinfo failed: Name or service not known)
Trying to discover channel http://empir.sourceforge.net/pear/ 
over https:// instead
Discovery of channel &quot;http://empir.sourceforge.net/pear/&quot; 
failed (channel-add: Cannot open 
&quot;https://http://empir.sourceforge.net/pear//channel.xml&quot; 
(Connection to `http:443' failed: php_network_getaddresses: 
getaddrinfo failed: Name or service not known))</pre>]]></description>
      <dc:date>2011-04-27T20:24:02+00:00</dc:date>
      <dc:creator>daniel &amp;#x64;&amp;#111;&amp;#x74; oconnor &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18467">
      <title>PEAR: Feature/Change Request 18467 [Open] Add a &quot;suggested&quot; dependency type</title>
      <link>http://pear.php.net/bugs/18467</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by yunosh
2011-04-21T01:02:56+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
The idea is to have a dependency type between &quot;optional&quot; and 
&quot;required&quot;. Suggested dependencies are dependencies that 
are not technically required, but should still be installed by 
default, and only be left out for very good reasons. Those 
dependencies would be installed if using the install command 
without any modifiers, and only be left out if the -o flag is 
explicitely specified (at the moment -o doesn't do anything, 
because it's the default behavior anyway).
This way users can install &quot;default&quot;, &quot;minimal&quot;, and &quot;full&quot; 
versions of a package.
Why not simply use required dependencies instead? Because 
with this new dependency, users can &quot;turn off&quot; certain 
unwanted features that are enabled by default and only 
disabled if a dependency is missing.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by yunosh
2011-04-21T01:02:56+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
The idea is to have a dependency type between &quot;optional&quot; and 
&quot;required&quot;. Suggested dependencies are dependencies that 
are not technically required, but should still be installed by 
default, and only be left out for very good reasons. Those 
dependencies would be installed if using the install command 
without any modifiers, and only be left out if the -o flag is 
explicitely specified (at the moment -o doesn't do anything, 
because it's the default behavior anyway).
This way users can install &quot;default&quot;, &quot;minimal&quot;, and &quot;full&quot; 
versions of a package.
Why not simply use required dependencies instead? Because 
with this new dependency, users can &quot;turn off&quot; certain 
unwanted features that are enabled by default and only 
disabled if a dependency is missing.</pre>]]></description>
      <dc:date>2011-04-21T01:02:56+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18464">
      <title>PEAR: Bug 18464 [Assigned] Download progress meter incorrect</title>
      <link>http://pear.php.net/bugs/18464</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-04-20T18:19:35+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
Compare the download sizes with the number of dots:

downloading horde-4.0.0.tgz ...
Starting to download horde-4.0.0.tgz (3,472,507 bytes)
...........done: 3,472,507 bytes
downloading imp-5.0.0.tgz ...
Starting to download imp-5.0.0.tgz (4,989,191 bytes)
....done: 4,989,191 bytes
downloading ingo-2.0.0.tgz ...
Starting to download ingo-2.0.0.tgz (1,882,221 bytes)
...done: 1,882,221 bytes
downloading kronolith-3.0.0.tgz ...
Starting to download kronolith-3.0.0.tgz (2,655,302 bytes)
....done: 2,655,302 bytes
downloading mnemo-3.0.0.tgz ...
Starting to download mnemo-3.0.0.tgz (1,506,756 bytes)
.....done: 1,506,756 bytes
downloading nag-3.0.0.tgz ...
Starting to download nag-3.0.0.tgz (1,894,590 bytes)
...done: 1,894,590 bytes
downloading turba-3.0.0.tgz ...
Starting to download turba-3.0.0.tgz (2,269,482 bytes)
....done: 2,269,482 bytes
downloading Horde_Alarm-1.0.0.tgz ...
Starting to download Horde_Alarm-1.0.0.tgz (22,727 bytes)
...done: 22,727 bytes</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-04-20T18:19:35+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
Compare the download sizes with the number of dots:

downloading horde-4.0.0.tgz ...
Starting to download horde-4.0.0.tgz (3,472,507 bytes)
...........done: 3,472,507 bytes
downloading imp-5.0.0.tgz ...
Starting to download imp-5.0.0.tgz (4,989,191 bytes)
....done: 4,989,191 bytes
downloading ingo-2.0.0.tgz ...
Starting to download ingo-2.0.0.tgz (1,882,221 bytes)
...done: 1,882,221 bytes
downloading kronolith-3.0.0.tgz ...
Starting to download kronolith-3.0.0.tgz (2,655,302 bytes)
....done: 2,655,302 bytes
downloading mnemo-3.0.0.tgz ...
Starting to download mnemo-3.0.0.tgz (1,506,756 bytes)
.....done: 1,506,756 bytes
downloading nag-3.0.0.tgz ...
Starting to download nag-3.0.0.tgz (1,894,590 bytes)
...done: 1,894,590 bytes
downloading turba-3.0.0.tgz ...
Starting to download turba-3.0.0.tgz (2,269,482 bytes)
....done: 2,269,482 bytes
downloading Horde_Alarm-1.0.0.tgz ...
Starting to download Horde_Alarm-1.0.0.tgz (22,727 bytes)
...done: 22,727 bytes</pre>]]></description>
      <dc:date>2011-07-06T23:41:30+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18463">
      <title>PEAR: Feature/Change Request 18463 [Open] Clean up optional dependency notifications</title>
      <link>http://pear.php.net/bugs/18463</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by yunosh
2011-04-20T18:10:15+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
Notification of optional dependencies that are not installed is a 
mess at the moment and contains a lot of redundant 
information.

If there is already a more detailed information later in the 
output like:
horde/horde can optionally use package &quot;horde/Horde_Feed&quot; 
(version &gt;= 1.0.0, version &lt;= 2.0.0, excluded versions: 
2.0.0)
Why still showing information earlier like:
Did not download optional dependencies: 
horde/Horde_ActiveSync, horde/Horde_DataTree, 
horde/Horde_Db, horde/Horde_Feed, horde/Horde_Oauth, 
horde/Horde_Service_Facebook, 
horde/Horde_Service_Twitter, horde/Horde_SyncMl, 
pear/Services_Weather, pear/SOAP, use --alldeps to 
download automatically

Such a summary would only make sense at the end, after 
listing all dependency details, and only if really summarizing 
this list, i.e. merging all packages' depencies that haven't been 
installed in a large list.

Finally, the output even contains dependencies that *are* 
installed, due required depencies of further packages. Since 
the installer resolves the dependency tree before even 
starting to download any files, it should be able to filter out 
dependent packages that are going to be installed by other 
package. See the Horde_Db dependency in the example 
below.

Actual result:
--------------
Did not download optional dependencies: 
horde/Horde_ActiveSync, horde/Horde_DataTree, 
horde/Horde_Db, horde/Horde_Feed, horde/Horde_Oauth, 
horde/Horde_Service_Facebook, 
horde/Horde_Service_Twitter, horde/Horde_SyncMl, 
pear/Services_Weather, pear/SOAP, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Mail, horde/Horde_Mime, 
horde/Horde_Notification, horde/Horde_Perms, 
horde/Horde_Prefs, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Imap_Client, horde/Horde_Kolab_Session, 
horde/Horde_Ldap, horde/Horde_Imsp, horde/Horde_Http, 
pecl/pam, pecl/sasl, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Crypt, 
horde/Horde_Db, horde/Horde_Editor, horde/Horde_Form, 
horde/Horde_Http, horde/Horde_Icalendar, 
horde/Horde_Image, horde/Horde_Imap_Client, 
horde/Horde_Kolab_Server, horde/Horde_Kolab_Session, 
horde/Horde_Kolab_Storage, horde/Horde_Ldap, 
horde/Horde_Mail, horde/Horde_Nls, horde/Horde_Oauth, 
horde/Horde_Routes, horde/Horde_Service_Twitter, 
horde/Horde_SpellChecker, horde/Horde_Text_Filter, 
horde/Horde_Tree, horde/Horde_Vfs, pear/Net_DNS2, 
pear/Text_CAPTCHA, pear/Text_Figlet, pecl/lzf, use --alldeps 
to download automatically
Did not download optional dependencies: 
horde/Horde_Icalendar, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Ldap, use --alldeps to download automatically
Did not download optional dependencies: pear/XML_SVG, use 
--alldeps to download automatically
Did not download optional dependencies: horde/Horde_Date, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Nls, 
horde/Horde_Text_Filter, pear/Net_DNS2, pecl/idn, use --
alldeps to download automatically
Did not download optional dependencies: pear/Net_DNS2, use 
--alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_DataTree, horde/Horde_Tree, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Image, horde/Horde_Imsp, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Http, 
use --alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Imap_Client, horde/Horde_Mime, use --alldeps 
to download automatically
Did not download optional dependencies: pecl/xdiff, use --
alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
use --alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Text_Filter_Csstidy, horde/Horde_Text_Flowed, 
horde/Horde_Translation, use --alldeps to download 
automatically
Did not download optional dependencies: 
horde/Horde_Imap_Client, use --alldeps to download 
automatically
Did not download optional dependencies: 
horde/Horde_Controller, horde/Horde_Routes, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Auth, 
horde/Horde_Core, horde/Horde_Db, 
horde/Horde_Kolab_Session, horde/Horde_Mime, 
horde/Horde_Perms, pecl/ssh2, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Test, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Memcache, pecl/lzf, use --
alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Stream_Filter, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Scribe, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Memcache, use --alldeps to 
download automatically
Did not download optional dependencies: 
horde/Horde_DataTree, horde/Horde_Kolab_Storage, use --
alldeps to download automatically
Did not download optional dependencies: pear/Net_SMTP, use 
--alldeps to download automatically
Did not download optional dependencies: horde/Horde_Cache, 
horde/Horde_Log, use --alldeps to download automatically
Did not download optional dependencies: pear/MDB2, use --
alldeps to download automatically
horde/horde requires PHP extension &quot;domx&quot;
horde/horde can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/horde can optionally use package &quot;horde/Horde_Feed&quot; 
(version &gt;= 1.0.0, version &lt;= 2.0.0, excluded versions: 
2.0.0)
horde/horde can optionally use package &quot;horde/Horde_Oauth&quot; 
(version &gt;= 1.0.0, version &lt;= 2.0.0, excluded versions: 
2.0.0)
horde/horde can optionally use package 
&quot;horde/Horde_Service_Facebook&quot; (version &gt;= 1.0.0, version 
&lt;= 2.0.0, excluded versions: 2.0.0)
horde/horde can optionally use package 
&quot;horde/Horde_Service_Twitter&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/horde can optionally use package 
&quot;pear/Services_Weather&quot;
horde/horde can optionally use package &quot;pear/SOAP&quot;
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Imsp&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package &quot;pecl/pam&quot;
horde/Horde_Auth can optionally use package &quot;pecl/sasl&quot;
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Crypt&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Editor&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Server&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Storage&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Oauth&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Routes&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Service_Twitter&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_SpellChecker&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;pear/Text_CAPTCHA&quot;
horde/Horde_Core can optionally use package 
&quot;pear/Text_Figlet&quot;
horde/Horde_Core can optionally use package &quot;pecl/lzf&quot; 
(recommended version 1.5.2)
horde/Horde_Group can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Http can optionally use PHP extension &quot;http&quot;
horde/Horde_Image can optionally use package 
&quot;pear/XML_SVG&quot;
horde/Horde_Mime can optionally use package &quot;pecl/idn&quot;
horde/Horde_Perms can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Prefs can optionally use package 
&quot;horde/Horde_Imsp&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Rpc can optionally use PHP extension &quot;xmlrpc&quot;
horde/Horde_Serialize can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Text_Diff can optionally use package &quot;pecl/xdiff&quot;
horde/Horde_Text_Filter can optionally use package 
&quot;horde/Horde_Text_Filter_Csstidy&quot; (version &gt;= 1.0.0, version 
&lt;= 2.0.0, excluded versions: 2.0.0)
horde/Horde_Util can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_View can optionally use package 
&quot;horde/Horde_Routes&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Vfs can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Vfs can optionally use package &quot;pecl/ssh2&quot; 
(version &gt;= 0.10)
horde/Horde_Translation can optionally use package 
&quot;horde/Horde_Test&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Cache can optionally use package 
&quot;horde/Horde_Memcache&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Cache can optionally use package &quot;pecl/lzf&quot; 
(recommended version 1.5.2)
horde/Horde_Cache can optionally use PHP extension &quot;apc&quot; 
(version &gt;= 2.0.0)
horde/Horde_Cache can optionally use PHP extension 
&quot;eaccelerator&quot; (version &gt;= 0.9.5)
horde/Horde_Log can optionally use package 
&quot;horde/Horde_Scribe&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_SessionHandler can optionally use package 
&quot;horde/Horde_Memcache&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Share can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Share can optionally use package 
&quot;horde/Horde_Kolab_Storage&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Mail can optionally use package 
&quot;pear/Net_SMTP&quot; (version &gt;= 1.4.0)
horde/Horde_SyncMl can optionally use package &quot;pear/MDB2&quot;</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by yunosh
2011-04-20T18:10:15+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
Notification of optional dependencies that are not installed is a 
mess at the moment and contains a lot of redundant 
information.

If there is already a more detailed information later in the 
output like:
horde/horde can optionally use package &quot;horde/Horde_Feed&quot; 
(version &gt;= 1.0.0, version &lt;= 2.0.0, excluded versions: 
2.0.0)
Why still showing information earlier like:
Did not download optional dependencies: 
horde/Horde_ActiveSync, horde/Horde_DataTree, 
horde/Horde_Db, horde/Horde_Feed, horde/Horde_Oauth, 
horde/Horde_Service_Facebook, 
horde/Horde_Service_Twitter, horde/Horde_SyncMl, 
pear/Services_Weather, pear/SOAP, use --alldeps to 
download automatically

Such a summary would only make sense at the end, after 
listing all dependency details, and only if really summarizing 
this list, i.e. merging all packages' depencies that haven't been 
installed in a large list.

Finally, the output even contains dependencies that *are* 
installed, due required depencies of further packages. Since 
the installer resolves the dependency tree before even 
starting to download any files, it should be able to filter out 
dependent packages that are going to be installed by other 
package. See the Horde_Db dependency in the example 
below.

Actual result:
--------------
Did not download optional dependencies: 
horde/Horde_ActiveSync, horde/Horde_DataTree, 
horde/Horde_Db, horde/Horde_Feed, horde/Horde_Oauth, 
horde/Horde_Service_Facebook, 
horde/Horde_Service_Twitter, horde/Horde_SyncMl, 
pear/Services_Weather, pear/SOAP, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Mail, horde/Horde_Mime, 
horde/Horde_Notification, horde/Horde_Perms, 
horde/Horde_Prefs, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Imap_Client, horde/Horde_Kolab_Session, 
horde/Horde_Ldap, horde/Horde_Imsp, horde/Horde_Http, 
pecl/pam, pecl/sasl, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Crypt, 
horde/Horde_Db, horde/Horde_Editor, horde/Horde_Form, 
horde/Horde_Http, horde/Horde_Icalendar, 
horde/Horde_Image, horde/Horde_Imap_Client, 
horde/Horde_Kolab_Server, horde/Horde_Kolab_Session, 
horde/Horde_Kolab_Storage, horde/Horde_Ldap, 
horde/Horde_Mail, horde/Horde_Nls, horde/Horde_Oauth, 
horde/Horde_Routes, horde/Horde_Service_Twitter, 
horde/Horde_SpellChecker, horde/Horde_Text_Filter, 
horde/Horde_Tree, horde/Horde_Vfs, pear/Net_DNS2, 
pear/Text_CAPTCHA, pear/Text_Figlet, pecl/lzf, use --alldeps 
to download automatically
Did not download optional dependencies: 
horde/Horde_Icalendar, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Ldap, use --alldeps to download automatically
Did not download optional dependencies: pear/XML_SVG, use 
--alldeps to download automatically
Did not download optional dependencies: horde/Horde_Date, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Nls, 
horde/Horde_Text_Filter, pear/Net_DNS2, pecl/idn, use --
alldeps to download automatically
Did not download optional dependencies: pear/Net_DNS2, use 
--alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_DataTree, horde/Horde_Tree, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Image, horde/Horde_Imsp, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Http, 
use --alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Imap_Client, horde/Horde_Mime, use --alldeps 
to download automatically
Did not download optional dependencies: pecl/xdiff, use --
alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
use --alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Text_Filter_Csstidy, horde/Horde_Text_Flowed, 
horde/Horde_Translation, use --alldeps to download 
automatically
Did not download optional dependencies: 
horde/Horde_Imap_Client, use --alldeps to download 
automatically
Did not download optional dependencies: 
horde/Horde_Controller, horde/Horde_Routes, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Auth, 
horde/Horde_Core, horde/Horde_Db, 
horde/Horde_Kolab_Session, horde/Horde_Mime, 
horde/Horde_Perms, pecl/ssh2, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Test, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Memcache, pecl/lzf, use --
alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Stream_Filter, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Scribe, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Memcache, use --alldeps to 
download automatically
Did not download optional dependencies: 
horde/Horde_DataTree, horde/Horde_Kolab_Storage, use --
alldeps to download automatically
Did not download optional dependencies: pear/Net_SMTP, use 
--alldeps to download automatically
Did not download optional dependencies: horde/Horde_Cache, 
horde/Horde_Log, use --alldeps to download automatically
Did not download optional dependencies: pear/MDB2, use --
alldeps to download automatically
horde/horde requires PHP extension &quot;domx&quot;
horde/horde can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/horde can optionally use package &quot;horde/Horde_Feed&quot; 
(version &gt;= 1.0.0, version &lt;= 2.0.0, excluded versions: 
2.0.0)
horde/horde can optionally use package &quot;horde/Horde_Oauth&quot; 
(version &gt;= 1.0.0, version &lt;= 2.0.0, excluded versions: 
2.0.0)
horde/horde can optionally use package 
&quot;horde/Horde_Service_Facebook&quot; (version &gt;= 1.0.0, version 
&lt;= 2.0.0, excluded versions: 2.0.0)
horde/horde can optionally use package 
&quot;horde/Horde_Service_Twitter&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/horde can optionally use package 
&quot;pear/Services_Weather&quot;
horde/horde can optionally use package &quot;pear/SOAP&quot;
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Imsp&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package &quot;pecl/pam&quot;
horde/Horde_Auth can optionally use package &quot;pecl/sasl&quot;
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Crypt&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Editor&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Server&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Storage&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Oauth&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Routes&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Service_Twitter&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_SpellChecker&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;pear/Text_CAPTCHA&quot;
horde/Horde_Core can optionally use package 
&quot;pear/Text_Figlet&quot;
horde/Horde_Core can optionally use package &quot;pecl/lzf&quot; 
(recommended version 1.5.2)
horde/Horde_Group can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Http can optionally use PHP extension &quot;http&quot;
horde/Horde_Image can optionally use package 
&quot;pear/XML_SVG&quot;
horde/Horde_Mime can optionally use package &quot;pecl/idn&quot;
horde/Horde_Perms can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Prefs can optionally use package 
&quot;horde/Horde_Imsp&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Rpc can optionally use PHP extension &quot;xmlrpc&quot;
horde/Horde_Serialize can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Text_Diff can optionally use package &quot;pecl/xdiff&quot;
horde/Horde_Text_Filter can optionally use package 
&quot;horde/Horde_Text_Filter_Csstidy&quot; (version &gt;= 1.0.0, version 
&lt;= 2.0.0, excluded versions: 2.0.0)
horde/Horde_Util can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_View can optionally use package 
&quot;horde/Horde_Routes&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Vfs can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Vfs can optionally use package &quot;pecl/ssh2&quot; 
(version &gt;= 0.10)
horde/Horde_Translation can optionally use package 
&quot;horde/Horde_Test&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Cache can optionally use package 
&quot;horde/Horde_Memcache&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Cache can optionally use package &quot;pecl/lzf&quot; 
(recommended version 1.5.2)
horde/Horde_Cache can optionally use PHP extension &quot;apc&quot; 
(version &gt;= 2.0.0)
horde/Horde_Cache can optionally use PHP extension 
&quot;eaccelerator&quot; (version &gt;= 0.9.5)
horde/Horde_Log can optionally use package 
&quot;horde/Horde_Scribe&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_SessionHandler can optionally use package 
&quot;horde/Horde_Memcache&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Share can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Share can optionally use package 
&quot;horde/Horde_Kolab_Storage&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Mail can optionally use package 
&quot;pear/Net_SMTP&quot; (version &gt;= 1.4.0)
horde/Horde_SyncMl can optionally use package &quot;pear/MDB2&quot;</pre>]]></description>
      <dc:date>2011-04-20T18:10:15+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18462">
      <title>PEAR: Bug 18462 [Open] Installation should be cancelled if required dependencies are missing</title>
      <link>http://pear.php.net/bugs/18462</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-04-20T18:00:47+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
At the moment, if a required dependency is missing for a 
package, all other dependencies are installed nonetheless. Even 
worse, there is not a final error message hinting the user that the 
installation of the initially requested package actually failed. All 
he sees (if he doesn't look very carefully), is a number of 
successful installations. See request #18461 for such an output.
Of course the installation shouldn't be stopped immediately, it 
still makes sense to list *all* missing dependencies first.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-04-20T18:00:47+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
At the moment, if a required dependency is missing for a 
package, all other dependencies are installed nonetheless. Even 
worse, there is not a final error message hinting the user that the 
installation of the initially requested package actually failed. All 
he sees (if he doesn't look very carefully), is a number of 
successful installations. See request #18461 for such an output.
Of course the installation shouldn't be stopped immediately, it 
still makes sense to list *all* missing dependencies first.</pre>]]></description>
      <dc:date>2014-05-30T01:27:03+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18461">
      <title>PEAR: Feature/Change Request 18461 [Open] Quiet mode</title>
      <link>http://pear.php.net/bugs/18461</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by yunosh
2011-04-20T17:55:14+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
It would be great to have some quiet mode that only displays 
errors and final success messages. Installing a package with a 
lot of dependencies creates so much output that is hard to read 
everything and find the error messages in there.

Expected result:
----------------
pear --quiet install pear.horde.org/horde

horde/horde requires PHP extension &quot;dom&quot;
install ok: channel://pear.horde.org/Horde_Autoloader-1.0.0
install ok: channel://pear.horde.org/Horde_Template-1.0.0
install ok: channel://pear.php.net/Net_DNS2-1.0.1
install ok: channel://pear.horde.org/Horde_Translation-1.0.0
install ok: channel://pear.horde.org/Horde_Stream_Filter-
1.0.0
install ok: channel://pear.horde.org/Horde_Stream_Wrapper-
1.0.0
install ok: channel://pear.horde.org/Horde_Constraint-1.0.0
install ok: channel://pear.php.net/Crypt_Blowfish-1.0.1
install ok: channel://pear.horde.org/Horde_Exception-1.0.0
install ok: channel://pear.horde.org/Horde_LoginTasks-1.0.0
install ok: channel://pear.horde.org/Horde_Argv-1.0.0
install ok: channel://pear.horde.org/Horde_Support-1.0.0
install ok: channel://pear.horde.org/Horde_Url-1.0.0
install ok: channel://pear.horde.org/Horde_Injector-1.0.0
install ok: channel://pear.horde.org/Horde_Log-1.0.0
install ok: channel://pear.horde.org/Horde_Secret-1.0.0
install ok: channel://pear.horde.org/Horde_Mail-1.0.0
install ok: channel://pear.horde.org/Horde_Xml_Element-1.0.0
install ok: channel://pear.horde.org/Horde_Http-1.0.0
install ok: channel://pear.horde.org/Horde_Util-1.0.0
install ok: channel://pear.horde.org/Horde_Cli-1.0.0
install ok: channel://pear.horde.org/Horde_Lock-1.0.0
install ok: channel://pear.horde.org/Horde_Auth-1.0.0
install ok: channel://pear.horde.org/Horde_Browser-1.0.0
install ok: channel://pear.horde.org/Horde_Group-1.0.0
install ok: channel://pear.horde.org/Horde_Image-1.0.0
install ok: channel://pear.horde.org/Horde_Nls-1.0.0
install ok: channel://pear.horde.org/Horde_Serialize-1.0.0
install ok: channel://pear.horde.org/Horde_Text_Diff-1.0.0
install ok: channel://pear.horde.org/Horde_Token-1.0.0
install ok: channel://pear.horde.org/Horde_Text_Filter-1.0.0
install ok: channel://pear.horde.org/Horde_Tree-1.0.0
install ok: channel://pear.horde.org/Horde_View-1.0.0
install ok: channel://pear.horde.org/Horde_Vfs-1.0.0
install ok: channel://pear.horde.org/Horde_Cache-1.0.0
install ok: channel://pear.horde.org/Horde_Compress-1.0.0
install ok: channel://pear.horde.org/Horde_Controller-1.0.0
install ok: channel://pear.horde.org/Horde_Notification-1.0.0
install ok: channel://pear.horde.org/Horde_SessionHandler-
1.0.0
install ok: channel://pear.horde.org/Horde_Text_Flowed-1.0.0
install ok: channel://pear.horde.org/Horde_Xml_Wbxml-1.0.0
install ok: channel://pear.horde.org/Horde_Date-1.0.0
install ok: channel://pear.horde.org/Horde_Mime-1.0.0
install ok: channel://pear.horde.org/Horde_Alarm-1.0.0
install ok: channel://pear.horde.org/Horde_Prefs-1.0.0
install ok: channel://pear.horde.org/Horde_ActiveSync-1.0.0
install ok: channel://pear.horde.org/Horde_Mime_Viewer-
1.0.0
install ok: channel://pear.horde.org/Horde_Db-1.0.0
install ok: channel://pear.horde.org/Horde_Icalendar-1.0.0
install ok: channel://pear.horde.org/Horde_Perms-1.0.0
install ok: channel://pear.horde.org/Horde_Data-1.0.0
install ok: channel://pear.horde.org/Horde_History-1.0.0
install ok: channel://pear.horde.org/Horde_SyncMl-1.0.0
install ok: channel://pear.horde.org/Horde_Share-1.0.0
install ok: channel://pear.horde.org/Horde_Core-1.0.0
install ok: channel://pear.horde.org/Horde_Form-1.0.0
install ok: channel://pear.horde.org/Horde_Rpc-1.0.0

Actual result:
--------------
pear install pear.horde.org/horde

Did not download optional dependencies: 
horde/Horde_ActiveSync, horde/Horde_DataTree, 
horde/Horde_Db, horde/Horde_Feed, horde/Horde_Oauth, 
horde/Horde_Service_Facebook, 
horde/Horde_Service_Twitter, horde/Horde_SyncMl, 
pear/Services_Weather, pear/SOAP, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Mail, horde/Horde_Mime, 
horde/Horde_Notification, horde/Horde_Perms, 
horde/Horde_Prefs, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Imap_Client, horde/Horde_Kolab_Session, 
horde/Horde_Ldap, horde/Horde_Imsp, horde/Horde_Http, 
pecl/pam, pecl/sasl, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Crypt, 
horde/Horde_Db, horde/Horde_Editor, horde/Horde_Form, 
horde/Horde_Http, horde/Horde_Icalendar, 
horde/Horde_Image, horde/Horde_Imap_Client, 
horde/Horde_Kolab_Server, horde/Horde_Kolab_Session, 
horde/Horde_Kolab_Storage, horde/Horde_Ldap, 
horde/Horde_Mail, horde/Horde_Nls, horde/Horde_Oauth, 
horde/Horde_Routes, horde/Horde_Service_Twitter, 
horde/Horde_SpellChecker, horde/Horde_Text_Filter, 
horde/Horde_Tree, horde/Horde_Vfs, pear/Net_DNS2, 
pear/Text_CAPTCHA, pear/Text_Figlet, pecl/lzf, use --alldeps 
to download automatically
Did not download optional dependencies: 
horde/Horde_Icalendar, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Ldap, use --alldeps to download automatically
Did not download optional dependencies: pear/XML_SVG, use 
--alldeps to download automatically
Did not download optional dependencies: horde/Horde_Date, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Nls, 
horde/Horde_Text_Filter, pear/Net_DNS2, pecl/idn, use --
alldeps to download automatically
Did not download optional dependencies: pear/Net_DNS2, use 
--alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_DataTree, horde/Horde_Tree, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Image, horde/Horde_Imsp, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Http, 
use --alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Imap_Client, horde/Horde_Mime, use --alldeps 
to download automatically
Did not download optional dependencies: pecl/xdiff, use --
alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
use --alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Text_Filter_Csstidy, horde/Horde_Text_Flowed, 
horde/Horde_Translation, use --alldeps to download 
automatically
Did not download optional dependencies: 
horde/Horde_Imap_Client, use --alldeps to download 
automatically
Did not download optional dependencies: 
horde/Horde_Controller, horde/Horde_Routes, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Auth, 
horde/Horde_Core, horde/Horde_Db, 
horde/Horde_Kolab_Session, horde/Horde_Mime, 
horde/Horde_Perms, pecl/ssh2, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Test, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Memcache, pecl/lzf, use --
alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Stream_Filter, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Scribe, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Memcache, use --alldeps to 
download automatically
Did not download optional dependencies: 
horde/Horde_DataTree, horde/Horde_Kolab_Storage, use --
alldeps to download automatically
Did not download optional dependencies: pear/Net_SMTP, use 
--alldeps to download automatically
Did not download optional dependencies: horde/Horde_Cache, 
horde/Horde_Log, use --alldeps to download automatically
Did not download optional dependencies: pear/MDB2, use --
alldeps to download automatically
horde/horde requires PHP extension &quot;domx&quot;
horde/horde can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/horde can optionally use package &quot;horde/Horde_Feed&quot; 
(version &gt;= 1.0.0, version &lt;= 2.0.0, excluded versions: 
2.0.0)
horde/horde can optionally use package &quot;horde/Horde_Oauth&quot; 
(version &gt;= 1.0.0, version &lt;= 2.0.0, excluded versions: 
2.0.0)
horde/horde can optionally use package 
&quot;horde/Horde_Service_Facebook&quot; (version &gt;= 1.0.0, version 
&lt;= 2.0.0, excluded versions: 2.0.0)
horde/horde can optionally use package 
&quot;horde/Horde_Service_Twitter&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/horde can optionally use package 
&quot;pear/Services_Weather&quot;
horde/horde can optionally use package &quot;pear/SOAP&quot;
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Imsp&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package &quot;pecl/pam&quot;
horde/Horde_Auth can optionally use package &quot;pecl/sasl&quot;
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Crypt&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Editor&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Server&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Storage&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Oauth&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Routes&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Service_Twitter&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_SpellChecker&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;pear/Text_CAPTCHA&quot;
horde/Horde_Core can optionally use package 
&quot;pear/Text_Figlet&quot;
horde/Horde_Core can optionally use package &quot;pecl/lzf&quot; 
(recommended version 1.5.2)
horde/Horde_Group can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Http can optionally use PHP extension &quot;http&quot;
horde/Horde_Image can optionally use package 
&quot;pear/XML_SVG&quot;
horde/Horde_Mime can optionally use package &quot;pecl/idn&quot;
horde/Horde_Perms can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Prefs can optionally use package 
&quot;horde/Horde_Imsp&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Rpc can optionally use PHP extension &quot;xmlrpc&quot;
horde/Horde_Serialize can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Text_Diff can optionally use package &quot;pecl/xdiff&quot;
horde/Horde_Text_Filter can optionally use package 
&quot;horde/Horde_Text_Filter_Csstidy&quot; (version &gt;= 1.0.0, version 
&lt;= 2.0.0, excluded versions: 2.0.0)
horde/Horde_Util can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_View can optionally use package 
&quot;horde/Horde_Routes&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Vfs can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Vfs can optionally use package &quot;pecl/ssh2&quot; 
(version &gt;= 0.10)
horde/Horde_Translation can optionally use package 
&quot;horde/Horde_Test&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Cache can optionally use package 
&quot;horde/Horde_Memcache&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Cache can optionally use package &quot;pecl/lzf&quot; 
(recommended version 1.5.2)
horde/Horde_Cache can optionally use PHP extension &quot;apc&quot; 
(version &gt;= 2.0.0)
horde/Horde_Cache can optionally use PHP extension 
&quot;eaccelerator&quot; (version &gt;= 0.9.5)
horde/Horde_Log can optionally use package 
&quot;horde/Horde_Scribe&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_SessionHandler can optionally use package 
&quot;horde/Horde_Memcache&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Share can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Share can optionally use package 
&quot;horde/Horde_Kolab_Storage&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Mail can optionally use package 
&quot;pear/Net_SMTP&quot; (version &gt;= 1.4.0)
horde/Horde_SyncMl can optionally use package &quot;pear/MDB2&quot;
downloading Horde_Alarm-1.0.0.tgz ...
Starting to download Horde_Alarm-1.0.0.tgz (22,727 bytes)
.....done: 22,727 bytes
downloading Horde_Argv-1.0.0.tgz ...
Starting to download Horde_Argv-1.0.0.tgz (43,862 bytes)
...done: 43,862 bytes
downloading Horde_Auth-1.0.0.tgz ...
Starting to download Horde_Auth-1.0.0.tgz (29,875 bytes)
...done: 29,875 bytes
downloading Horde_Autoloader-1.0.0.tgz ...
Starting to download Horde_Autoloader-1.0.0.tgz (4,900 
bytes)
...done: 4,900 bytes
downloading Horde_Browser-1.0.0.tgz ...
Starting to download Horde_Browser-1.0.0.tgz (24,026 bytes)
...done: 24,026 bytes
downloading Horde_Core-1.0.0.tgz ...
Starting to download Horde_Core-1.0.0.tgz (439,824 bytes)
...done: 439,824 bytes
downloading Horde_Date-1.0.0.tgz ...
Starting to download Horde_Date-1.0.0.tgz (44,708 bytes)
...done: 44,708 bytes
downloading Horde_Exception-1.0.0.tgz ...
Starting to download Horde_Exception-1.0.0.tgz (13,570 
bytes)
...done: 13,570 bytes
downloading Horde_Form-1.0.0.tgz ...
Starting to download Horde_Form-1.0.0.tgz (164,943 bytes)
...done: 164,943 bytes
downloading Horde_Group-1.0.0.tgz ...
Starting to download Horde_Group-1.0.0.tgz (11,489 bytes)
...done: 11,489 bytes
downloading Horde_Http-1.0.0.tgz ...
Starting to download Horde_Http-1.0.0.tgz (8,547 bytes)
...done: 8,547 bytes
downloading Horde_Image-1.0.0.tgz ...
Starting to download Horde_Image-1.0.0.tgz (536,084 bytes)
...done: 536,084 bytes
downloading Horde_LoginTasks-1.0.0.tgz ...
Starting to download Horde_LoginTasks-1.0.0.tgz (19,816 
bytes)
...done: 19,816 bytes
downloading Horde_Mime-1.0.0.tgz ...
Starting to download Horde_Mime-1.0.0.tgz (71,465 bytes)
...done: 71,465 bytes
downloading Horde_Nls-1.0.0.tgz ...
Starting to download Horde_Nls-1.0.0.tgz (331,301 bytes)
...done: 331,301 bytes
downloading Horde_Perms-1.0.0.tgz ...
Starting to download Horde_Perms-1.0.0.tgz (29,165 bytes)
...done: 29,165 bytes
downloading Horde_Prefs-1.0.0.tgz ...
Starting to download Horde_Prefs-1.0.0.tgz (34,192 bytes)
...done: 34,192 bytes
downloading Horde_Rpc-1.0.0.tgz ...
Starting to download Horde_Rpc-1.0.0.tgz (50,497 bytes)
...done: 50,497 bytes
downloading Horde_Serialize-1.0.0.tgz ...
Starting to download Horde_Serialize-1.0.0.tgz (7,348 bytes)
...done: 7,348 bytes
downloading Horde_Support-1.0.0.tgz ...
Starting to download Horde_Support-1.0.0.tgz (21,520 bytes)
...done: 21,520 bytes
downloading Horde_Template-1.0.0.tgz ...
Starting to download Horde_Template-1.0.0.tgz (6,205 bytes)
...done: 6,205 bytes
downloading Horde_Text_Diff-1.0.0.tgz ...
Starting to download Horde_Text_Diff-1.0.0.tgz (19,814 bytes)
...done: 19,814 bytes
downloading Horde_Token-1.0.0.tgz ...
Starting to download Horde_Token-1.0.0.tgz (16,320 bytes)
...done: 16,320 bytes
downloading Horde_Text_Filter-1.0.0.tgz ...
Starting to download Horde_Text_Filter-1.0.0.tgz (40,101 
bytes)
...done: 40,101 bytes
downloading Horde_Tree-1.0.0.tgz ...
Starting to download Horde_Tree-1.0.0.tgz (8,870 bytes)
...done: 8,870 bytes
downloading Horde_Url-1.0.0.tgz ...
Starting to download Horde_Url-1.0.0.tgz (5,431 bytes)
...done: 5,431 bytes
downloading Horde_Util-1.0.0.tgz ...
Starting to download Horde_Util-1.0.0.tgz (29,259 bytes)
...done: 29,259 bytes
downloading Horde_View-1.0.0.tgz ...
Starting to download Horde_View-1.0.0.tgz (34,735 bytes)
...done: 34,735 bytes
downloading Horde_Vfs-1.0.0.tgz ...
Starting to download Horde_Vfs-1.0.0.tgz (55,863 bytes)
...done: 55,863 bytes
downloading Net_DNS2-1.0.1.tgz ...
Starting to download Net_DNS2-1.0.1.tgz (48,804 bytes)
...done: 48,804 bytes
downloading Horde_Translation-1.0.0.tgz ...
Starting to download Horde_Translation-1.0.0.tgz (4,673 
bytes)
...done: 4,673 bytes
downloading Horde_ActiveSync-1.0.0.tgz ...
Starting to download Horde_ActiveSync-1.0.0.tgz (73,848 
bytes)
...done: 73,848 bytes
downloading Horde_Cache-1.0.0.tgz ...
Starting to download Horde_Cache-1.0.0.tgz (9,718 bytes)
...done: 9,718 bytes
downloading Horde_Cli-1.0.0.tgz ...
Starting to download Horde_Cli-1.0.0.tgz (15,167 bytes)
...done: 15,167 bytes
downloading Horde_Compress-1.0.0.tgz ...
Starting to download Horde_Compress-1.0.0.tgz (23,963 
bytes)
...done: 23,963 bytes
downloading Horde_Controller-1.0.0.tgz ...
Starting to download Horde_Controller-1.0.0.tgz (8,317 bytes)
...done: 8,317 bytes
downloading Horde_Data-1.0.0.tgz ...
Starting to download Horde_Data-1.0.0.tgz (21,400 bytes)
...done: 21,400 bytes
downloading Horde_History-1.0.0.tgz ...
Starting to download Horde_History-1.0.0.tgz (8,571 bytes)
...done: 8,571 bytes
downloading Horde_Injector-1.0.0.tgz ...
Starting to download Horde_Injector-1.0.0.tgz (20,593 bytes)
...done: 20,593 bytes
downloading Horde_Lock-1.0.0.tgz ...
Starting to download Horde_Lock-1.0.0.tgz (5,111 bytes)
...done: 5,111 bytes
downloading Horde_Log-1.0.0.tgz ...
Starting to download Horde_Log-1.0.0.tgz (12,226 bytes)
...done: 12,226 bytes
downloading Horde_Mime_Viewer-1.0.0.tgz ...
Starting to download Horde_Mime_Viewer-1.0.0.tgz (132,063 
bytes)
...done: 132,063 bytes
downloading Horde_Notification-1.0.0.tgz ...
Starting to download Horde_Notification-1.0.0.tgz (12,308 
bytes)
...done: 12,308 bytes
downloading Horde_Secret-1.0.0.tgz ...
Starting to download Horde_Secret-1.0.0.tgz (4,248 bytes)
...done: 4,248 bytes
downloading Horde_SessionHandler-1.0.0.tgz ...
Starting to download Horde_SessionHandler-1.0.0.tgz (8,351 
bytes)
...done: 8,351 bytes
downloading Horde_Share-1.0.0.tgz ...
Starting to download Horde_Share-1.0.0.tgz (50,863 bytes)
...done: 50,863 bytes
downloading Horde_Mail-1.0.0.tgz ...
Starting to download Horde_Mail-1.0.0.tgz (19,903 bytes)
...done: 19,903 bytes
downloading Horde_Stream_Filter-1.0.0.tgz ...
Starting to download Horde_Stream_Filter-1.0.0.tgz (3,290 
bytes)
...done: 3,290 bytes
downloading Horde_Text_Flowed-1.0.0.tgz ...
Starting to download Horde_Text_Flowed-1.0.0.tgz (5,684 
bytes)
...done: 5,684 bytes
downloading Horde_Db-1.0.0.tgz ...
Starting to download Horde_Db-1.0.0.tgz (95,160 bytes)
...done: 95,160 bytes
downloading Horde_SyncMl-1.0.0.tgz ...
Starting to download Horde_SyncMl-1.0.0.tgz (123,663 bytes)
...done: 123,663 bytes
downloading Horde_Xml_Element-1.0.0.tgz ...
Starting to download Horde_Xml_Element-1.0.0.tgz (9,659 
bytes)
...done: 9,659 bytes
downloading Horde_Stream_Wrapper-1.0.0.tgz ...
Starting to download Horde_Stream_Wrapper-1.0.0.tgz (3,025 
bytes)
...done: 3,025 bytes
downloading Horde_Icalendar-1.0.0.tgz ...
Starting to download Horde_Icalendar-1.0.0.tgz (87,930 bytes)
...done: 87,930 bytes
downloading Horde_Constraint-1.0.0.tgz ...
Starting to download Horde_Constraint-1.0.0.tgz (4,012 bytes)
...done: 4,012 bytes
downloading Crypt_Blowfish-1.0.1.tgz ...
Starting to download Crypt_Blowfish-1.0.1.tgz (11,954 bytes)
...done: 11,954 bytes
downloading Horde_Xml_Wbxml-1.0.0.tgz ...
Starting to download Horde_Xml_Wbxml-1.0.0.tgz (17,592 
bytes)
...done: 17,592 bytes
install ok: channel://pear.horde.org/Horde_Autoloader-1.0.0
install ok: channel://pear.horde.org/Horde_Template-1.0.0
install ok: channel://pear.php.net/Net_DNS2-1.0.1
install ok: channel://pear.horde.org/Horde_Translation-1.0.0
install ok: channel://pear.horde.org/Horde_Stream_Filter-
1.0.0
install ok: channel://pear.horde.org/Horde_Stream_Wrapper-
1.0.0
install ok: channel://pear.horde.org/Horde_Constraint-1.0.0
install ok: channel://pear.php.net/Crypt_Blowfish-1.0.1
install ok: channel://pear.horde.org/Horde_Exception-1.0.0
install ok: channel://pear.horde.org/Horde_LoginTasks-1.0.0
install ok: channel://pear.horde.org/Horde_Argv-1.0.0
install ok: channel://pear.horde.org/Horde_Support-1.0.0
install ok: channel://pear.horde.org/Horde_Url-1.0.0
install ok: channel://pear.horde.org/Horde_Injector-1.0.0
install ok: channel://pear.horde.org/Horde_Log-1.0.0
install ok: channel://pear.horde.org/Horde_Secret-1.0.0
install ok: channel://pear.horde.org/Horde_Mail-1.0.0
install ok: channel://pear.horde.org/Horde_Xml_Element-1.0.0
install ok: channel://pear.horde.org/Horde_Http-1.0.0
install ok: channel://pear.horde.org/Horde_Util-1.0.0
install ok: channel://pear.horde.org/Horde_Cli-1.0.0
install ok: channel://pear.horde.org/Horde_Lock-1.0.0
install ok: channel://pear.horde.org/Horde_Auth-1.0.0
install ok: channel://pear.horde.org/Horde_Browser-1.0.0
install ok: channel://pear.horde.org/Horde_Group-1.0.0
install ok: channel://pear.horde.org/Horde_Image-1.0.0
install ok: channel://pear.horde.org/Horde_Nls-1.0.0
install ok: channel://pear.horde.org/Horde_Serialize-1.0.0
install ok: channel://pear.horde.org/Horde_Text_Diff-1.0.0
install ok: channel://pear.horde.org/Horde_Token-1.0.0
install ok: channel://pear.horde.org/Horde_Text_Filter-1.0.0
install ok: channel://pear.horde.org/Horde_Tree-1.0.0
install ok: channel://pear.horde.org/Horde_View-1.0.0
install ok: channel://pear.horde.org/Horde_Vfs-1.0.0
install ok: channel://pear.horde.org/Horde_Cache-1.0.0
install ok: channel://pear.horde.org/Horde_Compress-1.0.0
install ok: channel://pear.horde.org/Horde_Controller-1.0.0
install ok: channel://pear.horde.org/Horde_Notification-1.0.0
install ok: channel://pear.horde.org/Horde_SessionHandler-
1.0.0
install ok: channel://pear.horde.org/Horde_Text_Flowed-1.0.0
install ok: channel://pear.horde.org/Horde_Xml_Wbxml-1.0.0
install ok: channel://pear.horde.org/Horde_Date-1.0.0
install ok: channel://pear.horde.org/Horde_Mime-1.0.0
install ok: channel://pear.horde.org/Horde_Alarm-1.0.0
install ok: channel://pear.horde.org/Horde_Prefs-1.0.0
install ok: channel://pear.horde.org/Horde_ActiveSync-1.0.0
install ok: channel://pear.horde.org/Horde_Mime_Viewer-
1.0.0
install ok: channel://pear.horde.org/Horde_Db-1.0.0
install ok: channel://pear.horde.org/Horde_Icalendar-1.0.0
install ok: channel://pear.horde.org/Horde_Perms-1.0.0
install ok: channel://pear.horde.org/Horde_Data-1.0.0
install ok: channel://pear.horde.org/Horde_History-1.0.0
install ok: channel://pear.horde.org/Horde_SyncMl-1.0.0
install ok: channel://pear.horde.org/Horde_Share-1.0.0
install ok: channel://pear.horde.org/Horde_Core-1.0.0
install ok: channel://pear.horde.org/Horde_Form-1.0.0
install ok: channel://pear.horde.org/Horde_Rpc-1.0.0</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by yunosh
2011-04-20T17:55:14+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
It would be great to have some quiet mode that only displays 
errors and final success messages. Installing a package with a 
lot of dependencies creates so much output that is hard to read 
everything and find the error messages in there.

Expected result:
----------------
pear --quiet install pear.horde.org/horde

horde/horde requires PHP extension &quot;dom&quot;
install ok: channel://pear.horde.org/Horde_Autoloader-1.0.0
install ok: channel://pear.horde.org/Horde_Template-1.0.0
install ok: channel://pear.php.net/Net_DNS2-1.0.1
install ok: channel://pear.horde.org/Horde_Translation-1.0.0
install ok: channel://pear.horde.org/Horde_Stream_Filter-
1.0.0
install ok: channel://pear.horde.org/Horde_Stream_Wrapper-
1.0.0
install ok: channel://pear.horde.org/Horde_Constraint-1.0.0
install ok: channel://pear.php.net/Crypt_Blowfish-1.0.1
install ok: channel://pear.horde.org/Horde_Exception-1.0.0
install ok: channel://pear.horde.org/Horde_LoginTasks-1.0.0
install ok: channel://pear.horde.org/Horde_Argv-1.0.0
install ok: channel://pear.horde.org/Horde_Support-1.0.0
install ok: channel://pear.horde.org/Horde_Url-1.0.0
install ok: channel://pear.horde.org/Horde_Injector-1.0.0
install ok: channel://pear.horde.org/Horde_Log-1.0.0
install ok: channel://pear.horde.org/Horde_Secret-1.0.0
install ok: channel://pear.horde.org/Horde_Mail-1.0.0
install ok: channel://pear.horde.org/Horde_Xml_Element-1.0.0
install ok: channel://pear.horde.org/Horde_Http-1.0.0
install ok: channel://pear.horde.org/Horde_Util-1.0.0
install ok: channel://pear.horde.org/Horde_Cli-1.0.0
install ok: channel://pear.horde.org/Horde_Lock-1.0.0
install ok: channel://pear.horde.org/Horde_Auth-1.0.0
install ok: channel://pear.horde.org/Horde_Browser-1.0.0
install ok: channel://pear.horde.org/Horde_Group-1.0.0
install ok: channel://pear.horde.org/Horde_Image-1.0.0
install ok: channel://pear.horde.org/Horde_Nls-1.0.0
install ok: channel://pear.horde.org/Horde_Serialize-1.0.0
install ok: channel://pear.horde.org/Horde_Text_Diff-1.0.0
install ok: channel://pear.horde.org/Horde_Token-1.0.0
install ok: channel://pear.horde.org/Horde_Text_Filter-1.0.0
install ok: channel://pear.horde.org/Horde_Tree-1.0.0
install ok: channel://pear.horde.org/Horde_View-1.0.0
install ok: channel://pear.horde.org/Horde_Vfs-1.0.0
install ok: channel://pear.horde.org/Horde_Cache-1.0.0
install ok: channel://pear.horde.org/Horde_Compress-1.0.0
install ok: channel://pear.horde.org/Horde_Controller-1.0.0
install ok: channel://pear.horde.org/Horde_Notification-1.0.0
install ok: channel://pear.horde.org/Horde_SessionHandler-
1.0.0
install ok: channel://pear.horde.org/Horde_Text_Flowed-1.0.0
install ok: channel://pear.horde.org/Horde_Xml_Wbxml-1.0.0
install ok: channel://pear.horde.org/Horde_Date-1.0.0
install ok: channel://pear.horde.org/Horde_Mime-1.0.0
install ok: channel://pear.horde.org/Horde_Alarm-1.0.0
install ok: channel://pear.horde.org/Horde_Prefs-1.0.0
install ok: channel://pear.horde.org/Horde_ActiveSync-1.0.0
install ok: channel://pear.horde.org/Horde_Mime_Viewer-
1.0.0
install ok: channel://pear.horde.org/Horde_Db-1.0.0
install ok: channel://pear.horde.org/Horde_Icalendar-1.0.0
install ok: channel://pear.horde.org/Horde_Perms-1.0.0
install ok: channel://pear.horde.org/Horde_Data-1.0.0
install ok: channel://pear.horde.org/Horde_History-1.0.0
install ok: channel://pear.horde.org/Horde_SyncMl-1.0.0
install ok: channel://pear.horde.org/Horde_Share-1.0.0
install ok: channel://pear.horde.org/Horde_Core-1.0.0
install ok: channel://pear.horde.org/Horde_Form-1.0.0
install ok: channel://pear.horde.org/Horde_Rpc-1.0.0

Actual result:
--------------
pear install pear.horde.org/horde

Did not download optional dependencies: 
horde/Horde_ActiveSync, horde/Horde_DataTree, 
horde/Horde_Db, horde/Horde_Feed, horde/Horde_Oauth, 
horde/Horde_Service_Facebook, 
horde/Horde_Service_Twitter, horde/Horde_SyncMl, 
pear/Services_Weather, pear/SOAP, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Mail, horde/Horde_Mime, 
horde/Horde_Notification, horde/Horde_Perms, 
horde/Horde_Prefs, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Imap_Client, horde/Horde_Kolab_Session, 
horde/Horde_Ldap, horde/Horde_Imsp, horde/Horde_Http, 
pecl/pam, pecl/sasl, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Crypt, 
horde/Horde_Db, horde/Horde_Editor, horde/Horde_Form, 
horde/Horde_Http, horde/Horde_Icalendar, 
horde/Horde_Image, horde/Horde_Imap_Client, 
horde/Horde_Kolab_Server, horde/Horde_Kolab_Session, 
horde/Horde_Kolab_Storage, horde/Horde_Ldap, 
horde/Horde_Mail, horde/Horde_Nls, horde/Horde_Oauth, 
horde/Horde_Routes, horde/Horde_Service_Twitter, 
horde/Horde_SpellChecker, horde/Horde_Text_Filter, 
horde/Horde_Tree, horde/Horde_Vfs, pear/Net_DNS2, 
pear/Text_CAPTCHA, pear/Text_Figlet, pecl/lzf, use --alldeps 
to download automatically
Did not download optional dependencies: 
horde/Horde_Icalendar, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Ldap, use --alldeps to download automatically
Did not download optional dependencies: pear/XML_SVG, use 
--alldeps to download automatically
Did not download optional dependencies: horde/Horde_Date, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Nls, 
horde/Horde_Text_Filter, pear/Net_DNS2, pecl/idn, use --
alldeps to download automatically
Did not download optional dependencies: pear/Net_DNS2, use 
--alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_DataTree, horde/Horde_Tree, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Image, horde/Horde_Imsp, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Http, 
use --alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Imap_Client, horde/Horde_Mime, use --alldeps 
to download automatically
Did not download optional dependencies: pecl/xdiff, use --
alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
use --alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Text_Filter_Csstidy, horde/Horde_Text_Flowed, 
horde/Horde_Translation, use --alldeps to download 
automatically
Did not download optional dependencies: 
horde/Horde_Imap_Client, use --alldeps to download 
automatically
Did not download optional dependencies: 
horde/Horde_Controller, horde/Horde_Routes, use --alldeps to 
download automatically
Did not download optional dependencies: horde/Horde_Auth, 
horde/Horde_Core, horde/Horde_Db, 
horde/Horde_Kolab_Session, horde/Horde_Mime, 
horde/Horde_Perms, pecl/ssh2, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Test, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Memcache, pecl/lzf, use --
alldeps to download automatically
Did not download optional dependencies: 
horde/Horde_Stream_Filter, use --alldeps to download 
automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Scribe, 
use --alldeps to download automatically
Did not download optional dependencies: horde/Horde_Db, 
horde/Horde_Log, horde/Horde_Memcache, use --alldeps to 
download automatically
Did not download optional dependencies: 
horde/Horde_DataTree, horde/Horde_Kolab_Storage, use --
alldeps to download automatically
Did not download optional dependencies: pear/Net_SMTP, use 
--alldeps to download automatically
Did not download optional dependencies: horde/Horde_Cache, 
horde/Horde_Log, use --alldeps to download automatically
Did not download optional dependencies: pear/MDB2, use --
alldeps to download automatically
horde/horde requires PHP extension &quot;domx&quot;
horde/horde can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/horde can optionally use package &quot;horde/Horde_Feed&quot; 
(version &gt;= 1.0.0, version &lt;= 2.0.0, excluded versions: 
2.0.0)
horde/horde can optionally use package &quot;horde/Horde_Oauth&quot; 
(version &gt;= 1.0.0, version &lt;= 2.0.0, excluded versions: 
2.0.0)
horde/horde can optionally use package 
&quot;horde/Horde_Service_Facebook&quot; (version &gt;= 1.0.0, version 
&lt;= 2.0.0, excluded versions: 2.0.0)
horde/horde can optionally use package 
&quot;horde/Horde_Service_Twitter&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/horde can optionally use package 
&quot;pear/Services_Weather&quot;
horde/horde can optionally use package &quot;pear/SOAP&quot;
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package 
&quot;horde/Horde_Imsp&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Auth can optionally use package &quot;pecl/pam&quot;
horde/Horde_Auth can optionally use package &quot;pecl/sasl&quot;
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Crypt&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Editor&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Server&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Kolab_Storage&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Oauth&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Routes&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_Service_Twitter&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;horde/Horde_SpellChecker&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Core can optionally use package 
&quot;pear/Text_CAPTCHA&quot;
horde/Horde_Core can optionally use package 
&quot;pear/Text_Figlet&quot;
horde/Horde_Core can optionally use package &quot;pecl/lzf&quot; 
(recommended version 1.5.2)
horde/Horde_Group can optionally use package 
&quot;horde/Horde_Ldap&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Http can optionally use PHP extension &quot;http&quot;
horde/Horde_Image can optionally use package 
&quot;pear/XML_SVG&quot;
horde/Horde_Mime can optionally use package &quot;pecl/idn&quot;
horde/Horde_Perms can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Prefs can optionally use package 
&quot;horde/Horde_Imsp&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Rpc can optionally use PHP extension &quot;xmlrpc&quot;
horde/Horde_Serialize can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Text_Diff can optionally use package &quot;pecl/xdiff&quot;
horde/Horde_Text_Filter can optionally use package 
&quot;horde/Horde_Text_Filter_Csstidy&quot; (version &gt;= 1.0.0, version 
&lt;= 2.0.0, excluded versions: 2.0.0)
horde/Horde_Util can optionally use package 
&quot;horde/Horde_Imap_Client&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_View can optionally use package 
&quot;horde/Horde_Routes&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Vfs can optionally use package 
&quot;horde/Horde_Kolab_Session&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Vfs can optionally use package &quot;pecl/ssh2&quot; 
(version &gt;= 0.10)
horde/Horde_Translation can optionally use package 
&quot;horde/Horde_Test&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Cache can optionally use package 
&quot;horde/Horde_Memcache&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Cache can optionally use package &quot;pecl/lzf&quot; 
(recommended version 1.5.2)
horde/Horde_Cache can optionally use PHP extension &quot;apc&quot; 
(version &gt;= 2.0.0)
horde/Horde_Cache can optionally use PHP extension 
&quot;eaccelerator&quot; (version &gt;= 0.9.5)
horde/Horde_Log can optionally use package 
&quot;horde/Horde_Scribe&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_SessionHandler can optionally use package 
&quot;horde/Horde_Memcache&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Share can optionally use package 
&quot;horde/Horde_DataTree&quot; (version &gt;= 1.0.0, version &lt;= 2.0.0, 
excluded versions: 2.0.0)
horde/Horde_Share can optionally use package 
&quot;horde/Horde_Kolab_Storage&quot; (version &gt;= 1.0.0, version &lt;= 
2.0.0, excluded versions: 2.0.0)
horde/Horde_Mail can optionally use package 
&quot;pear/Net_SMTP&quot; (version &gt;= 1.4.0)
horde/Horde_SyncMl can optionally use package &quot;pear/MDB2&quot;
downloading Horde_Alarm-1.0.0.tgz ...
Starting to download Horde_Alarm-1.0.0.tgz (22,727 bytes)
.....done: 22,727 bytes
downloading Horde_Argv-1.0.0.tgz ...
Starting to download Horde_Argv-1.0.0.tgz (43,862 bytes)
...done: 43,862 bytes
downloading Horde_Auth-1.0.0.tgz ...
Starting to download Horde_Auth-1.0.0.tgz (29,875 bytes)
...done: 29,875 bytes
downloading Horde_Autoloader-1.0.0.tgz ...
Starting to download Horde_Autoloader-1.0.0.tgz (4,900 
bytes)
...done: 4,900 bytes
downloading Horde_Browser-1.0.0.tgz ...
Starting to download Horde_Browser-1.0.0.tgz (24,026 bytes)
...done: 24,026 bytes
downloading Horde_Core-1.0.0.tgz ...
Starting to download Horde_Core-1.0.0.tgz (439,824 bytes)
...done: 439,824 bytes
downloading Horde_Date-1.0.0.tgz ...
Starting to download Horde_Date-1.0.0.tgz (44,708 bytes)
...done: 44,708 bytes
downloading Horde_Exception-1.0.0.tgz ...
Starting to download Horde_Exception-1.0.0.tgz (13,570 
bytes)
...done: 13,570 bytes
downloading Horde_Form-1.0.0.tgz ...
Starting to download Horde_Form-1.0.0.tgz (164,943 bytes)
...done: 164,943 bytes
downloading Horde_Group-1.0.0.tgz ...
Starting to download Horde_Group-1.0.0.tgz (11,489 bytes)
...done: 11,489 bytes
downloading Horde_Http-1.0.0.tgz ...
Starting to download Horde_Http-1.0.0.tgz (8,547 bytes)
...done: 8,547 bytes
downloading Horde_Image-1.0.0.tgz ...
Starting to download Horde_Image-1.0.0.tgz (536,084 bytes)
...done: 536,084 bytes
downloading Horde_LoginTasks-1.0.0.tgz ...
Starting to download Horde_LoginTasks-1.0.0.tgz (19,816 
bytes)
...done: 19,816 bytes
downloading Horde_Mime-1.0.0.tgz ...
Starting to download Horde_Mime-1.0.0.tgz (71,465 bytes)
...done: 71,465 bytes
downloading Horde_Nls-1.0.0.tgz ...
Starting to download Horde_Nls-1.0.0.tgz (331,301 bytes)
...done: 331,301 bytes
downloading Horde_Perms-1.0.0.tgz ...
Starting to download Horde_Perms-1.0.0.tgz (29,165 bytes)
...done: 29,165 bytes
downloading Horde_Prefs-1.0.0.tgz ...
Starting to download Horde_Prefs-1.0.0.tgz (34,192 bytes)
...done: 34,192 bytes
downloading Horde_Rpc-1.0.0.tgz ...
Starting to download Horde_Rpc-1.0.0.tgz (50,497 bytes)
...done: 50,497 bytes
downloading Horde_Serialize-1.0.0.tgz ...
Starting to download Horde_Serialize-1.0.0.tgz (7,348 bytes)
...done: 7,348 bytes
downloading Horde_Support-1.0.0.tgz ...
Starting to download Horde_Support-1.0.0.tgz (21,520 bytes)
...done: 21,520 bytes
downloading Horde_Template-1.0.0.tgz ...
Starting to download Horde_Template-1.0.0.tgz (6,205 bytes)
...done: 6,205 bytes
downloading Horde_Text_Diff-1.0.0.tgz ...
Starting to download Horde_Text_Diff-1.0.0.tgz (19,814 bytes)
...done: 19,814 bytes
downloading Horde_Token-1.0.0.tgz ...
Starting to download Horde_Token-1.0.0.tgz (16,320 bytes)
...done: 16,320 bytes
downloading Horde_Text_Filter-1.0.0.tgz ...
Starting to download Horde_Text_Filter-1.0.0.tgz (40,101 
bytes)
...done: 40,101 bytes
downloading Horde_Tree-1.0.0.tgz ...
Starting to download Horde_Tree-1.0.0.tgz (8,870 bytes)
...done: 8,870 bytes
downloading Horde_Url-1.0.0.tgz ...
Starting to download Horde_Url-1.0.0.tgz (5,431 bytes)
...done: 5,431 bytes
downloading Horde_Util-1.0.0.tgz ...
Starting to download Horde_Util-1.0.0.tgz (29,259 bytes)
...done: 29,259 bytes
downloading Horde_View-1.0.0.tgz ...
Starting to download Horde_View-1.0.0.tgz (34,735 bytes)
...done: 34,735 bytes
downloading Horde_Vfs-1.0.0.tgz ...
Starting to download Horde_Vfs-1.0.0.tgz (55,863 bytes)
...done: 55,863 bytes
downloading Net_DNS2-1.0.1.tgz ...
Starting to download Net_DNS2-1.0.1.tgz (48,804 bytes)
...done: 48,804 bytes
downloading Horde_Translation-1.0.0.tgz ...
Starting to download Horde_Translation-1.0.0.tgz (4,673 
bytes)
...done: 4,673 bytes
downloading Horde_ActiveSync-1.0.0.tgz ...
Starting to download Horde_ActiveSync-1.0.0.tgz (73,848 
bytes)
...done: 73,848 bytes
downloading Horde_Cache-1.0.0.tgz ...
Starting to download Horde_Cache-1.0.0.tgz (9,718 bytes)
...done: 9,718 bytes
downloading Horde_Cli-1.0.0.tgz ...
Starting to download Horde_Cli-1.0.0.tgz (15,167 bytes)
...done: 15,167 bytes
downloading Horde_Compress-1.0.0.tgz ...
Starting to download Horde_Compress-1.0.0.tgz (23,963 
bytes)
...done: 23,963 bytes
downloading Horde_Controller-1.0.0.tgz ...
Starting to download Horde_Controller-1.0.0.tgz (8,317 bytes)
...done: 8,317 bytes
downloading Horde_Data-1.0.0.tgz ...
Starting to download Horde_Data-1.0.0.tgz (21,400 bytes)
...done: 21,400 bytes
downloading Horde_History-1.0.0.tgz ...
Starting to download Horde_History-1.0.0.tgz (8,571 bytes)
...done: 8,571 bytes
downloading Horde_Injector-1.0.0.tgz ...
Starting to download Horde_Injector-1.0.0.tgz (20,593 bytes)
...done: 20,593 bytes
downloading Horde_Lock-1.0.0.tgz ...
Starting to download Horde_Lock-1.0.0.tgz (5,111 bytes)
...done: 5,111 bytes
downloading Horde_Log-1.0.0.tgz ...
Starting to download Horde_Log-1.0.0.tgz (12,226 bytes)
...done: 12,226 bytes
downloading Horde_Mime_Viewer-1.0.0.tgz ...
Starting to download Horde_Mime_Viewer-1.0.0.tgz (132,063 
bytes)
...done: 132,063 bytes
downloading Horde_Notification-1.0.0.tgz ...
Starting to download Horde_Notification-1.0.0.tgz (12,308 
bytes)
...done: 12,308 bytes
downloading Horde_Secret-1.0.0.tgz ...
Starting to download Horde_Secret-1.0.0.tgz (4,248 bytes)
...done: 4,248 bytes
downloading Horde_SessionHandler-1.0.0.tgz ...
Starting to download Horde_SessionHandler-1.0.0.tgz (8,351 
bytes)
...done: 8,351 bytes
downloading Horde_Share-1.0.0.tgz ...
Starting to download Horde_Share-1.0.0.tgz (50,863 bytes)
...done: 50,863 bytes
downloading Horde_Mail-1.0.0.tgz ...
Starting to download Horde_Mail-1.0.0.tgz (19,903 bytes)
...done: 19,903 bytes
downloading Horde_Stream_Filter-1.0.0.tgz ...
Starting to download Horde_Stream_Filter-1.0.0.tgz (3,290 
bytes)
...done: 3,290 bytes
downloading Horde_Text_Flowed-1.0.0.tgz ...
Starting to download Horde_Text_Flowed-1.0.0.tgz (5,684 
bytes)
...done: 5,684 bytes
downloading Horde_Db-1.0.0.tgz ...
Starting to download Horde_Db-1.0.0.tgz (95,160 bytes)
...done: 95,160 bytes
downloading Horde_SyncMl-1.0.0.tgz ...
Starting to download Horde_SyncMl-1.0.0.tgz (123,663 bytes)
...done: 123,663 bytes
downloading Horde_Xml_Element-1.0.0.tgz ...
Starting to download Horde_Xml_Element-1.0.0.tgz (9,659 
bytes)
...done: 9,659 bytes
downloading Horde_Stream_Wrapper-1.0.0.tgz ...
Starting to download Horde_Stream_Wrapper-1.0.0.tgz (3,025 
bytes)
...done: 3,025 bytes
downloading Horde_Icalendar-1.0.0.tgz ...
Starting to download Horde_Icalendar-1.0.0.tgz (87,930 bytes)
...done: 87,930 bytes
downloading Horde_Constraint-1.0.0.tgz ...
Starting to download Horde_Constraint-1.0.0.tgz (4,012 bytes)
...done: 4,012 bytes
downloading Crypt_Blowfish-1.0.1.tgz ...
Starting to download Crypt_Blowfish-1.0.1.tgz (11,954 bytes)
...done: 11,954 bytes
downloading Horde_Xml_Wbxml-1.0.0.tgz ...
Starting to download Horde_Xml_Wbxml-1.0.0.tgz (17,592 
bytes)
...done: 17,592 bytes
install ok: channel://pear.horde.org/Horde_Autoloader-1.0.0
install ok: channel://pear.horde.org/Horde_Template-1.0.0
install ok: channel://pear.php.net/Net_DNS2-1.0.1
install ok: channel://pear.horde.org/Horde_Translation-1.0.0
install ok: channel://pear.horde.org/Horde_Stream_Filter-
1.0.0
install ok: channel://pear.horde.org/Horde_Stream_Wrapper-
1.0.0
install ok: channel://pear.horde.org/Horde_Constraint-1.0.0
install ok: channel://pear.php.net/Crypt_Blowfish-1.0.1
install ok: channel://pear.horde.org/Horde_Exception-1.0.0
install ok: channel://pear.horde.org/Horde_LoginTasks-1.0.0
install ok: channel://pear.horde.org/Horde_Argv-1.0.0
install ok: channel://pear.horde.org/Horde_Support-1.0.0
install ok: channel://pear.horde.org/Horde_Url-1.0.0
install ok: channel://pear.horde.org/Horde_Injector-1.0.0
install ok: channel://pear.horde.org/Horde_Log-1.0.0
install ok: channel://pear.horde.org/Horde_Secret-1.0.0
install ok: channel://pear.horde.org/Horde_Mail-1.0.0
install ok: channel://pear.horde.org/Horde_Xml_Element-1.0.0
install ok: channel://pear.horde.org/Horde_Http-1.0.0
install ok: channel://pear.horde.org/Horde_Util-1.0.0
install ok: channel://pear.horde.org/Horde_Cli-1.0.0
install ok: channel://pear.horde.org/Horde_Lock-1.0.0
install ok: channel://pear.horde.org/Horde_Auth-1.0.0
install ok: channel://pear.horde.org/Horde_Browser-1.0.0
install ok: channel://pear.horde.org/Horde_Group-1.0.0
install ok: channel://pear.horde.org/Horde_Image-1.0.0
install ok: channel://pear.horde.org/Horde_Nls-1.0.0
install ok: channel://pear.horde.org/Horde_Serialize-1.0.0
install ok: channel://pear.horde.org/Horde_Text_Diff-1.0.0
install ok: channel://pear.horde.org/Horde_Token-1.0.0
install ok: channel://pear.horde.org/Horde_Text_Filter-1.0.0
install ok: channel://pear.horde.org/Horde_Tree-1.0.0
install ok: channel://pear.horde.org/Horde_View-1.0.0
install ok: channel://pear.horde.org/Horde_Vfs-1.0.0
install ok: channel://pear.horde.org/Horde_Cache-1.0.0
install ok: channel://pear.horde.org/Horde_Compress-1.0.0
install ok: channel://pear.horde.org/Horde_Controller-1.0.0
install ok: channel://pear.horde.org/Horde_Notification-1.0.0
install ok: channel://pear.horde.org/Horde_SessionHandler-
1.0.0
install ok: channel://pear.horde.org/Horde_Text_Flowed-1.0.0
install ok: channel://pear.horde.org/Horde_Xml_Wbxml-1.0.0
install ok: channel://pear.horde.org/Horde_Date-1.0.0
install ok: channel://pear.horde.org/Horde_Mime-1.0.0
install ok: channel://pear.horde.org/Horde_Alarm-1.0.0
install ok: channel://pear.horde.org/Horde_Prefs-1.0.0
install ok: channel://pear.horde.org/Horde_ActiveSync-1.0.0
install ok: channel://pear.horde.org/Horde_Mime_Viewer-
1.0.0
install ok: channel://pear.horde.org/Horde_Db-1.0.0
install ok: channel://pear.horde.org/Horde_Icalendar-1.0.0
install ok: channel://pear.horde.org/Horde_Perms-1.0.0
install ok: channel://pear.horde.org/Horde_Data-1.0.0
install ok: channel://pear.horde.org/Horde_History-1.0.0
install ok: channel://pear.horde.org/Horde_SyncMl-1.0.0
install ok: channel://pear.horde.org/Horde_Share-1.0.0
install ok: channel://pear.horde.org/Horde_Core-1.0.0
install ok: channel://pear.horde.org/Horde_Form-1.0.0
install ok: channel://pear.horde.org/Horde_Rpc-1.0.0</pre>]]></description>
      <dc:date>2011-04-20T17:55:14+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18460">
      <title>PEAR: Feature/Change Request 18460 [Open] Consistent channel naming</title>
      <link>http://pear.php.net/bugs/18460</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by yunosh
2011-04-20T17:37:55+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
Channel names are used inconsistently across the PEAR installer. 
Some places use the full channel name, others use the alias. 
Either of these should be picked and used everywhere, I'd vote 
for the alias.

Test script:
---------------
pear install Components/package.xml

Expected result:
----------------
Package &quot;horde/Components&quot; dependency 
&quot;horde/Horde_Cli_Modular&quot; has no releases
Package &quot;horde/Components&quot; dependency &quot;horde/Horde_Pear&quot; 
has no releases
horde/Components requires package &quot;horde/Horde_Cli_Modular&quot;
horde/Components requires package &quot;horde/Horde_Pear&quot;


Actual result:
--------------
Package &quot;pear.horde.org/Components&quot; dependency 
&quot;pear.horde.org/Horde_Cli_Modular&quot; has no releases
Package &quot;pear.horde.org/Components&quot; dependency 
&quot;pear.horde.org/Horde_Pear&quot; has no releases
horde/Components requires package &quot;horde/Horde_Cli_Modular&quot;
horde/Components requires package &quot;horde/Horde_Pear&quot;</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by yunosh
2011-04-20T17:37:55+00:00
PHP: Irrelevant OS:  Package Version: 1.9.2

Description:
------------
Channel names are used inconsistently across the PEAR installer. 
Some places use the full channel name, others use the alias. 
Either of these should be picked and used everywhere, I'd vote 
for the alias.

Test script:
---------------
pear install Components/package.xml

Expected result:
----------------
Package &quot;horde/Components&quot; dependency 
&quot;horde/Horde_Cli_Modular&quot; has no releases
Package &quot;horde/Components&quot; dependency &quot;horde/Horde_Pear&quot; 
has no releases
horde/Components requires package &quot;horde/Horde_Cli_Modular&quot;
horde/Components requires package &quot;horde/Horde_Pear&quot;


Actual result:
--------------
Package &quot;pear.horde.org/Components&quot; dependency 
&quot;pear.horde.org/Horde_Cli_Modular&quot; has no releases
Package &quot;pear.horde.org/Components&quot; dependency 
&quot;pear.horde.org/Horde_Pear&quot; has no releases
horde/Components requires package &quot;horde/Horde_Cli_Modular&quot;
horde/Components requires package &quot;horde/Horde_Pear&quot;</pre>]]></description>
      <dc:date>2011-04-20T17:37:55+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18450">
      <title>PEAR: Bug 18450 [Open] post-install script tries to set config-value global with local PEAR-install</title>
      <link>http://pear.php.net/bugs/18450</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by neufeind
2011-04-17T04:59:31+00:00
PHP: 5.3.6 OS:  Package Version: 1.9.2

Description:
------------
Using a local PEAR-install instead of the global works as it should. But a post-install-script which tries to set a config-value seems to try to write to the global config (and fails).

Test script:
---------------
How to reproduce:
1) Create a &quot;local&quot; PEAR-installation for the current user:
pear config-create /home/user/pear .pearrc

2) Install a package
(as per http://www.horde.org/apps/horde/docs/?f=INSTALL.html)
pear channel-discover pear.horde.org
pear install horde/horde_role

3) Try to run post-install-script that tries to set a value
pear run-scripts horde/horde_role




Expected result:
----------------
Should set config-value for &quot;horde_dir&quot; for the local PEAR-installation.

Actual result:
--------------
Fails with:
Could not save horde_dir configuration value to PEAR config.


Tries to set the value for the global PEAR-installation (which fails).
But the source seems to suggest it &quot;should&quot; work (imho):

    public function init($config, $pkg, $version)
    {
        $this-&gt;_config = $config;

        return true;
    }

    /**
     * Run task after prompt.
     *
     * @param array $info   Parameter array.
     * @param string $name  Postinstall phase.
     */
    public function run($info, $phase)
    {
        if ($phase !== 'first') {
            return;
        }

        if (!$this-&gt;_config-&gt;set('horde_dir', $info['horde_dir'], 'user', 'pear.horde.org'))</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by neufeind
2011-04-17T04:59:31+00:00
PHP: 5.3.6 OS:  Package Version: 1.9.2

Description:
------------
Using a local PEAR-install instead of the global works as it should. But a post-install-script which tries to set a config-value seems to try to write to the global config (and fails).

Test script:
---------------
How to reproduce:
1) Create a &quot;local&quot; PEAR-installation for the current user:
pear config-create /home/user/pear .pearrc

2) Install a package
(as per http://www.horde.org/apps/horde/docs/?f=INSTALL.html)
pear channel-discover pear.horde.org
pear install horde/horde_role

3) Try to run post-install-script that tries to set a value
pear run-scripts horde/horde_role




Expected result:
----------------
Should set config-value for &quot;horde_dir&quot; for the local PEAR-installation.

Actual result:
--------------
Fails with:
Could not save horde_dir configuration value to PEAR config.


Tries to set the value for the global PEAR-installation (which fails).
But the source seems to suggest it &quot;should&quot; work (imho):

    public function init($config, $pkg, $version)
    {
        $this-&gt;_config = $config;

        return true;
    }

    /**
     * Run task after prompt.
     *
     * @param array $info   Parameter array.
     * @param string $name  Postinstall phase.
     */
    public function run($info, $phase)
    {
        if ($phase !== 'first') {
            return;
        }

        if (!$this-&gt;_config-&gt;set('horde_dir', $info['horde_dir'], 'user', 'pear.horde.org'))</pre>]]></description>
      <dc:date>2011-04-17T05:03:18+00:00</dc:date>
      <dc:creator>pear &amp;#x64;&amp;#111;&amp;#x74; neufeind &amp;#x61;&amp;#116; speedpartner &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18363">
      <title>PEAR: Bug 18363 [Open] Missing info and a typo.</title>
      <link>http://pear.php.net/bugs/18363</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by rquadling
2011-03-15T20:03:41+00:00
PHP: 5.3.5 OS: Windows XP SP3 Package Version: 1.9.2

Description:
------------
New installation of pear on windows.

Near the end the output shows 3 things which may not be 
100% accurate.

1 - That pear is not in the include path.
2 - An old version is found.
3 - A Windows registry file has been created.


1 - As windows is case insensitive for filenames, my php.ini 
now shows ...

;***** Added by go-pear
include_path=&quot;C:\PHP5\pear;D:\PHP\Includes;C:\PHP5\PEAR;
&quot;
;*****


2 - The output of go-pear.bat shows ...

** WARNING! Old version found at C:\PHP5, please remove it 
or be sure to use the new 
c:\php5\pear.bat command

This is a clean/new install of PHP V5.3.6RC3 into a new VM. 
Nothing else. What is the &quot;old version&quot;. 
I'm guessing the go-pear.bat/go-pear.phar is being reported. 
If so, having these files named would 
be great. But as go-phar.phar has been removed

3 - The name of the registry file being displayed is ...

* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under 
C:\PHP5PEAR_ENV.reg .
This file creates ENV variables for the current user.

The actual filename is ...

C:\PHP5\PEAR_ENV.reg

A missing \ in between the directory and the filename.


My output is displayed in the &quot;Actual Results&quot;.


Actual result:
--------------
[2011-03-15 14:43:38] [C:\PHP5] [] &gt;go-pear.bat

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :

Below is a suggested file layout for your new PEAR installation.  
To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press 
Enter to
accept these locations.

 1. Installation base ($prefix)                   : C:\PHP5
 2. Temporary directory for processing            : C:\PHP5\tmp
 3. Temporary directory for downloads             : C:\PHP5\tmp
 4. Binaries directory                            : C:\PHP5
 5. PHP code directory ($php_dir)                 : C:\PHP5\pear
 6. Documentation directory                       : C:\PHP5\docs
 7. Data directory                                : C:\PHP5\data
 8. User-modifiable configuration files directory : C:\PHP5\cfg
 9. Public Web Files directory                    : C:\PHP5\www
10. Tests directory                               : C:\PHP5\tests
11. Name of configuration file                    : 
C:\WINDOWS\pear.ini
12. Path to CLI php.exe                           : C:\PHP5

1-12, 'all' or Enter to continue: 11
(Use $prefix as a shortcut for 'C:\PHP5', etc.)
Name of configuration file [C:\WINDOWS\pear.ini] : 
D:\PHP\INI\pear.ini

Below is a suggested file layout for your new PEAR installation.  
To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press 
Enter to
accept these locations.

 1. Installation base ($prefix)                   : C:\PHP5
 2. Temporary directory for processing            : C:\PHP5\tmp
 3. Temporary directory for downloads             : C:\PHP5\tmp
 4. Binaries directory                            : C:\PHP5
 5. PHP code directory ($php_dir)                 : C:\PHP5\pear
 6. Documentation directory                       : C:\PHP5\docs
 7. Data directory                                : C:\PHP5\data
 8. User-modifiable configuration files directory : C:\PHP5\cfg
 9. Public Web Files directory                    : C:\PHP5\www
10. Tests directory                               : C:\PHP5\tests
11. Name of configuration file                    : 
D:\PHP\INI\pear.ini
12. Path to CLI php.exe                           : C:\PHP5

1-12, 'all' or Enter to continue:
Beginning install...
Configuration written to D:\PHP\INI\pear.ini...
Initialized registry...
Preparing to install...
installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-
tarballs/Archive_Tar-1.3.7.tar...
installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-
tarballs/Console_Getopt-1.2.3.tar...
installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-
tarballs/PEAR-1.9.1.tar...
installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-
tarballs/Structures_Graph-1.0.3.tar...
installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-
tarballs/XML_Util-1.2.1.tar...
install ok: channel://pear.php.net/Archive_Tar-1.3.7
install ok: channel://pear.php.net/Console_Getopt-1.2.3
install ok: channel://pear.php.net/Structures_Graph-1.0.3
install ok: channel://pear.php.net/XML_Util-1.2.1
install ok: channel://pear.php.net/PEAR-1.9.1
PEAR: Optional feature webinstaller available (PEAR's web-
based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-
GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-
GTK2-based installer)
PEAR: To install optional features use &quot;pear install 
pear/PEAR#featurename&quot;

***************************************************
***************************
WARNING!  The include_path defined in the currently used 
php.ini does not
contain the PEAR PHP directory you just specified:
&lt;C:\PHP5\pear&gt;
If the specified directory is also not in the include_path used 
by
your scripts, you will have problems getting any PEAR 
packages working.


Would you like to alter php.ini &lt;D:\PHP\INI\V5.3.6\php-
cli.ini&gt;? [Y/n] : y

php.ini &lt;D:\PHP\INI\V5.3.6\php-cli.ini&gt; include_path updated.

Current include path           : D:\PHP\Includes
Configured directory           : C:\PHP5\pear
Currently used php.ini (guess) : D:\PHP\INI\V5.3.6\php-cli.ini
Press Enter to continue:

** WARNING! Old version found at C:\PHP5, please remove it 
or be sure to use the new c:\php5\pear.bat command

The 'pear' command is now at your service at 
c:\php5\pear.bat


* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under 
C:\PHP5PEAR_ENV.reg .
This file creates ENV variables for the current user.

Double-click this file to add it to the current user registry.

Press any key to continue . . .

[2011-03-15 14:59:32] [C:\PHP5] [] &gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by rquadling
2011-03-15T20:03:41+00:00
PHP: 5.3.5 OS: Windows XP SP3 Package Version: 1.9.2

Description:
------------
New installation of pear on windows.

Near the end the output shows 3 things which may not be 
100% accurate.

1 - That pear is not in the include path.
2 - An old version is found.
3 - A Windows registry file has been created.


1 - As windows is case insensitive for filenames, my php.ini 
now shows ...

;***** Added by go-pear
include_path=&quot;C:\PHP5\pear;D:\PHP\Includes;C:\PHP5\PEAR;
&quot;
;*****


2 - The output of go-pear.bat shows ...

** WARNING! Old version found at C:\PHP5, please remove it 
or be sure to use the new 
c:\php5\pear.bat command

This is a clean/new install of PHP V5.3.6RC3 into a new VM. 
Nothing else. What is the &quot;old version&quot;. 
I'm guessing the go-pear.bat/go-pear.phar is being reported. 
If so, having these files named would 
be great. But as go-phar.phar has been removed

3 - The name of the registry file being displayed is ...

* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under 
C:\PHP5PEAR_ENV.reg .
This file creates ENV variables for the current user.

The actual filename is ...

C:\PHP5\PEAR_ENV.reg

A missing \ in between the directory and the filename.


My output is displayed in the &quot;Actual Results&quot;.


Actual result:
--------------
[2011-03-15 14:43:38] [C:\PHP5] [] &gt;go-pear.bat

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :

Below is a suggested file layout for your new PEAR installation.  
To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press 
Enter to
accept these locations.

 1. Installation base ($prefix)                   : C:\PHP5
 2. Temporary directory for processing            : C:\PHP5\tmp
 3. Temporary directory for downloads             : C:\PHP5\tmp
 4. Binaries directory                            : C:\PHP5
 5. PHP code directory ($php_dir)                 : C:\PHP5\pear
 6. Documentation directory                       : C:\PHP5\docs
 7. Data directory                                : C:\PHP5\data
 8. User-modifiable configuration files directory : C:\PHP5\cfg
 9. Public Web Files directory                    : C:\PHP5\www
10. Tests directory                               : C:\PHP5\tests
11. Name of configuration file                    : 
C:\WINDOWS\pear.ini
12. Path to CLI php.exe                           : C:\PHP5

1-12, 'all' or Enter to continue: 11
(Use $prefix as a shortcut for 'C:\PHP5', etc.)
Name of configuration file [C:\WINDOWS\pear.ini] : 
D:\PHP\INI\pear.ini

Below is a suggested file layout for your new PEAR installation.  
To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press 
Enter to
accept these locations.

 1. Installation base ($prefix)                   : C:\PHP5
 2. Temporary directory for processing            : C:\PHP5\tmp
 3. Temporary directory for downloads             : C:\PHP5\tmp
 4. Binaries directory                            : C:\PHP5
 5. PHP code directory ($php_dir)                 : C:\PHP5\pear
 6. Documentation directory                       : C:\PHP5\docs
 7. Data directory                                : C:\PHP5\data
 8. User-modifiable configuration files directory : C:\PHP5\cfg
 9. Public Web Files directory                    : C:\PHP5\www
10. Tests directory                               : C:\PHP5\tests
11. Name of configuration file                    : 
D:\PHP\INI\pear.ini
12. Path to CLI php.exe                           : C:\PHP5

1-12, 'all' or Enter to continue:
Beginning install...
Configuration written to D:\PHP\INI\pear.ini...
Initialized registry...
Preparing to install...
installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-
tarballs/Archive_Tar-1.3.7.tar...
installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-
tarballs/Console_Getopt-1.2.3.tar...
installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-
tarballs/PEAR-1.9.1.tar...
installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-
tarballs/Structures_Graph-1.0.3.tar...
installing phar://C:/PHP5/PEAR/go-pear.phar/PEAR/go-pear-
tarballs/XML_Util-1.2.1.tar...
install ok: channel://pear.php.net/Archive_Tar-1.3.7
install ok: channel://pear.php.net/Console_Getopt-1.2.3
install ok: channel://pear.php.net/Structures_Graph-1.0.3
install ok: channel://pear.php.net/XML_Util-1.2.1
install ok: channel://pear.php.net/PEAR-1.9.1
PEAR: Optional feature webinstaller available (PEAR's web-
based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-
GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-
GTK2-based installer)
PEAR: To install optional features use &quot;pear install 
pear/PEAR#featurename&quot;

***************************************************
***************************
WARNING!  The include_path defined in the currently used 
php.ini does not
contain the PEAR PHP directory you just specified:
&lt;C:\PHP5\pear&gt;
If the specified directory is also not in the include_path used 
by
your scripts, you will have problems getting any PEAR 
packages working.


Would you like to alter php.ini &lt;D:\PHP\INI\V5.3.6\php-
cli.ini&gt;? [Y/n] : y

php.ini &lt;D:\PHP\INI\V5.3.6\php-cli.ini&gt; include_path updated.

Current include path           : D:\PHP\Includes
Configured directory           : C:\PHP5\pear
Currently used php.ini (guess) : D:\PHP\INI\V5.3.6\php-cli.ini
Press Enter to continue:

** WARNING! Old version found at C:\PHP5, please remove it 
or be sure to use the new c:\php5\pear.bat command

The 'pear' command is now at your service at 
c:\php5\pear.bat


* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under 
C:\PHP5PEAR_ENV.reg .
This file creates ENV variables for the current user.

Double-click this file to add it to the current user registry.

Press any key to continue . . .

[2011-03-15 14:59:32] [C:\PHP5] [] &gt;</pre>]]></description>
      <dc:date>2011-03-15T20:03:41+00:00</dc:date>
      <dc:creator>RQuadling &amp;#x61;&amp;#116; GMail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18321">
      <title>PEAR: Bug 18321 [Open] go-pear.phar sets php_bin to .\php.exe</title>
      <link>http://pear.php.net/bugs/18321</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by tyrael
2011-02-28T01:03:50+00:00
PHP: Irrelevant OS: windows Package Version: 1.9.1

Description:
------------
if I set the current directory (.) as the path to CLI, go-pear.phar 
sets php_bin to .\php.exe, I think that should be simply php.exe
without this modifications, pecl packages won't find the php.exe 
which is available through PATH

Test script:
---------------
do a local install with go-pear.bat/go-pear.phar and let the installer use the current directory (.) as the path to CLI, and check the php_bin in the pear.ini 

Expected result:
----------------
php.exe

Actual result:
--------------
.\php.exe</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by tyrael
2011-02-28T01:03:50+00:00
PHP: Irrelevant OS: windows Package Version: 1.9.1

Description:
------------
if I set the current directory (.) as the path to CLI, go-pear.phar 
sets php_bin to .\php.exe, I think that should be simply php.exe
without this modifications, pecl packages won't find the php.exe 
which is available through PATH

Test script:
---------------
do a local install with go-pear.bat/go-pear.phar and let the installer use the current directory (.) as the path to CLI, and check the php_bin in the pear.ini 

Expected result:
----------------
php.exe

Actual result:
--------------
.\php.exe</pre>]]></description>
      <dc:date>2011-02-28T01:10:48+00:00</dc:date>
      <dc:creator>tyra3l &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18320">
      <title>PEAR: Bug 18320 [Open] wrong exit codes from PEAR</title>
      <link>http://pear.php.net/bugs/18320</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by till
2011-02-27T21:30:40+00:00
PHP: Irrelevant OS: any Package Version: SVN

Description:
------------
Exit codes from running PEAR need to be more distinct. Right now, it reports an error too 
often - e.g. even when I use the -s flag on install.

See this bug for more info:
http://pear.php.net/bugs/bug.php?id=18238

Test script:
---------------
till@till-laptop:~$ sudo pear install HTTP_Session2-beta
pear/HTTP_Session2 is already installed and is the same as the released version 0.7.3
install failed
till@till-laptop:~$ echo $?
1
till@till-laptop:~$ sudo pear install -s HTTP_Session2-beta
install failed
till@till-laptop:~$ echo $?
1

Expected result:
----------------
till@till-laptop:~$ sudo pear install -s HTTP_Session2-beta
install failed
till@till-laptop:~$ echo $?
0

Actual result:
--------------
till@till-laptop:~$ sudo pear install -s HTTP_Session2-beta
install failed
till@till-laptop:~$ echo $?
1</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by till
2011-02-27T21:30:40+00:00
PHP: Irrelevant OS: any Package Version: SVN

Description:
------------
Exit codes from running PEAR need to be more distinct. Right now, it reports an error too 
often - e.g. even when I use the -s flag on install.

See this bug for more info:
http://pear.php.net/bugs/bug.php?id=18238

Test script:
---------------
till@till-laptop:~$ sudo pear install HTTP_Session2-beta
pear/HTTP_Session2 is already installed and is the same as the released version 0.7.3
install failed
till@till-laptop:~$ echo $?
1
till@till-laptop:~$ sudo pear install -s HTTP_Session2-beta
install failed
till@till-laptop:~$ echo $?
1

Expected result:
----------------
till@till-laptop:~$ sudo pear install -s HTTP_Session2-beta
install failed
till@till-laptop:~$ echo $?
0

Actual result:
--------------
till@till-laptop:~$ sudo pear install -s HTTP_Session2-beta
install failed
till@till-laptop:~$ echo $?
1</pre>]]></description>
      <dc:date>2011-02-27T21:30:40+00:00</dc:date>
      <dc:creator>till &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18309">
      <title>PEAR: Bug 18309 [Assigned] Cannot install validation package because installer tries to validate it</title>
      <link>http://pear.php.net/bugs/18309</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-02-24T21:04:16+00:00
PHP: Irrelevant OS:  Package Version: 1.9.1

Description:
------------
To avoid the chicken-and-egg problem, the PEAR installer is supposed to always validate channel validator packages with PEAR_Validate. The detection of validator packages is broken though.

The check is done in PEAR_ChannelFile::getValidationObject():

            if ($package == $this-&gt;_channelInfo['validatepackage']) {
                // channel validation packages are always validated by PEAR_Validate
                $val = &amp;new PEAR_Validate;
                return $val;
            }

This check is broken in two ways though.
1) The package name is in $this-&gt;_channelInfo['validatepackage']['_content'] not $this-&gt;_channelInfo['validatepackage'].
2) $package is not passed as a parameter to this method.

The method is called from PEAR_Registry::parsePackageName():

$validate = $chan-&gt;getValidationObject();

This should be:

$validate = $chan-&gt;getValidationObject($param['package']);

As a side-note, everything breaks completely with a fatal error, because getValidationObject() might return false, which happens in this case, yet the return value is unconditionally used as an object in parsePackageName().

I don't see a workaround, so &lt;validatepackage&gt; support is completey brocken at the moment.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-02-24T21:04:16+00:00
PHP: Irrelevant OS:  Package Version: 1.9.1

Description:
------------
To avoid the chicken-and-egg problem, the PEAR installer is supposed to always validate channel validator packages with PEAR_Validate. The detection of validator packages is broken though.

The check is done in PEAR_ChannelFile::getValidationObject():

            if ($package == $this-&gt;_channelInfo['validatepackage']) {
                // channel validation packages are always validated by PEAR_Validate
                $val = &amp;new PEAR_Validate;
                return $val;
            }

This check is broken in two ways though.
1) The package name is in $this-&gt;_channelInfo['validatepackage']['_content'] not $this-&gt;_channelInfo['validatepackage'].
2) $package is not passed as a parameter to this method.

The method is called from PEAR_Registry::parsePackageName():

$validate = $chan-&gt;getValidationObject();

This should be:

$validate = $chan-&gt;getValidationObject($param['package']);

As a side-note, everything breaks completely with a fatal error, because getValidationObject() might return false, which happens in this case, yet the return value is unconditionally used as an object in parsePackageName().

I don't see a workaround, so &lt;validatepackage&gt; support is completey brocken at the moment.</pre>]]></description>
      <dc:date>2011-03-09T07:51:29+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18307">
      <title>PEAR: Bug 18307 [Assigned] Not using user configuration for &lt;default&gt; in role config_vars</title>
      <link>http://pear.php.net/bugs/18307</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-02-24T19:03:50+00:00
PHP: Irrelevant OS:  Package Version: 1.9.1

Description:
------------
Use using some configuration variable in a role's &lt;default&gt;, this is being replaced by the value from the system configuration only.

Test script:
---------------
Role XML:

&lt;role version=&quot;1.0&quot;&gt;
 &lt;releasetypes&gt;php&lt;/releasetypes&gt;
 &lt;installable&gt;1&lt;/installable&gt;
 &lt;locationconfig&gt;horde_dir&lt;/locationconfig&gt;
 &lt;honorsbaseinstall&gt;1&lt;/honorsbaseinstall&gt;
 &lt;unusualbaseinstall /&gt;
 &lt;phpfile /&gt;
 &lt;executable /&gt;
 &lt;phpextension /&gt;
 &lt;config_vars&gt;
  &lt;horde_dir&gt;
   &lt;type&gt;directory&lt;/type&gt;
   &lt;default&gt;&lt;www_dir/&gt;&lt;text&gt;/horde&lt;/text&gt;&lt;/default&gt;
   &lt;doc&gt;Filesystem directory where the base Horde application is installed&lt;/doc&gt;
   &lt;prompt&gt;Base Horde directory&lt;/prompt&gt;
   &lt;group&gt;File Locations&lt;/group&gt;
  &lt;/horde_dir&gt;
 &lt;/config_vars&gt;
&lt;/role&gt;

./pear -c pear/pear.conf config-show -c horde

Configuration (channel pear.horde.org):
=======================================
Auto-discover new Channels     auto_discover    &lt;not set&gt;
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       &lt;not set&gt;
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.horde.org
Remote Configuration File      remote_config    &lt;not set&gt;
PEAR executables directory     bin_dir          /home/jan/horde-git/pear/pear
PEAR documentation directory   doc_dir          /home/jan/horde-git/pear/pear/docs
PHP extension directory        ext_dir          /home/jan/horde-git/pear/pear/ext
Base Horde directory           horde_dir        /usr/share/php/www/horde
PEAR directory                 php_dir          /home/jan/horde-git/pear/pear/php
PEAR Installer cache directory cache_dir        /home/jan/horde-git/pear/pear/cache
PEAR configuration file        cfg_dir          /home/jan/horde-git/pear/pear/cfg
directory
PEAR data directory            data_dir         /home/jan/horde-git/pear/pear/data
PEAR Installer download        download_dir     /home/jan/horde-git/pear/pear/download
directory
PHP CLI/CGI binary             php_bin          /usr/bin/php
php.ini location               php_ini          &lt;not set&gt;
--program-prefix passed to     php_prefix       &lt;not set&gt;
PHP's ./configure
--program-suffix passed to     php_suffix       &lt;not set&gt;
PHP's ./configure
PEAR Installer temp directory  temp_dir         /home/jan/horde-git/pear/pear/temp
PEAR test directory            test_dir         /home/jan/horde-git/pear/pear/tests
PEAR www files directory       www_dir          /home/jan/horde-git/pear/pear/www
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                 umask            22
Debug Log Level                verbose          1
PEAR password (for             password         &lt;not set&gt;
maintainers)
Signature Handling Program     sig_bin          /usr/bin/gpg
Signature Key Directory        sig_keydir       /etc/pearkeys
Signature Key Id               sig_keyid        &lt;not set&gt;
Package Signature Type         sig_type         gpg
PEAR username (for             username         &lt;not set&gt;
maintainers)
User Configuration File        Filename         pear/pear.conf
System Configuration File      Filename         /etc/pear.conf</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-02-24T19:03:50+00:00
PHP: Irrelevant OS:  Package Version: 1.9.1

Description:
------------
Use using some configuration variable in a role's &lt;default&gt;, this is being replaced by the value from the system configuration only.

Test script:
---------------
Role XML:

&lt;role version=&quot;1.0&quot;&gt;
 &lt;releasetypes&gt;php&lt;/releasetypes&gt;
 &lt;installable&gt;1&lt;/installable&gt;
 &lt;locationconfig&gt;horde_dir&lt;/locationconfig&gt;
 &lt;honorsbaseinstall&gt;1&lt;/honorsbaseinstall&gt;
 &lt;unusualbaseinstall /&gt;
 &lt;phpfile /&gt;
 &lt;executable /&gt;
 &lt;phpextension /&gt;
 &lt;config_vars&gt;
  &lt;horde_dir&gt;
   &lt;type&gt;directory&lt;/type&gt;
   &lt;default&gt;&lt;www_dir/&gt;&lt;text&gt;/horde&lt;/text&gt;&lt;/default&gt;
   &lt;doc&gt;Filesystem directory where the base Horde application is installed&lt;/doc&gt;
   &lt;prompt&gt;Base Horde directory&lt;/prompt&gt;
   &lt;group&gt;File Locations&lt;/group&gt;
  &lt;/horde_dir&gt;
 &lt;/config_vars&gt;
&lt;/role&gt;

./pear -c pear/pear.conf config-show -c horde

Configuration (channel pear.horde.org):
=======================================
Auto-discover new Channels     auto_discover    &lt;not set&gt;
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       &lt;not set&gt;
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.horde.org
Remote Configuration File      remote_config    &lt;not set&gt;
PEAR executables directory     bin_dir          /home/jan/horde-git/pear/pear
PEAR documentation directory   doc_dir          /home/jan/horde-git/pear/pear/docs
PHP extension directory        ext_dir          /home/jan/horde-git/pear/pear/ext
Base Horde directory           horde_dir        /usr/share/php/www/horde
PEAR directory                 php_dir          /home/jan/horde-git/pear/pear/php
PEAR Installer cache directory cache_dir        /home/jan/horde-git/pear/pear/cache
PEAR configuration file        cfg_dir          /home/jan/horde-git/pear/pear/cfg
directory
PEAR data directory            data_dir         /home/jan/horde-git/pear/pear/data
PEAR Installer download        download_dir     /home/jan/horde-git/pear/pear/download
directory
PHP CLI/CGI binary             php_bin          /usr/bin/php
php.ini location               php_ini          &lt;not set&gt;
--program-prefix passed to     php_prefix       &lt;not set&gt;
PHP's ./configure
--program-suffix passed to     php_suffix       &lt;not set&gt;
PHP's ./configure
PEAR Installer temp directory  temp_dir         /home/jan/horde-git/pear/pear/temp
PEAR test directory            test_dir         /home/jan/horde-git/pear/pear/tests
PEAR www files directory       www_dir          /home/jan/horde-git/pear/pear/www
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                 umask            22
Debug Log Level                verbose          1
PEAR password (for             password         &lt;not set&gt;
maintainers)
Signature Handling Program     sig_bin          /usr/bin/gpg
Signature Key Directory        sig_keydir       /etc/pearkeys
Signature Key Id               sig_keyid        &lt;not set&gt;
Package Signature Type         sig_type         gpg
PEAR username (for             username         &lt;not set&gt;
maintainers)
User Configuration File        Filename         pear/pear.conf
System Configuration File      Filename         /etc/pear.conf</pre>]]></description>
      <dc:date>2011-03-09T03:37:39+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18278">
      <title>PEAR: Bug 18278 [Assigned] channel-update updating from wrong server</title>
      <link>http://pear.php.net/bugs/18278</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-02-15T20:59:36+00:00
PHP: Irrelevant OS:  Package Version: 1.9.1

Description:
------------
If running the &quot;channel-update&quot; command, this works as if you run &quot;channel-discover &lt;channelname&gt;&quot;.

This is wrong, because the channel name might not match the server name. The updated channel configuration should be fetched from the server configured in the channel information instead.

Some example:
I have a local installation of the Horde PEAR server for testing purposes. To install this channel, I run:
$ pear channel-discover pear.local
I then have a channel named pear.horde.org, alias horde, with REST endpoint pointing to http://pear.local/.
Everything works fine with this setup. Until I run:
$ pear channel-update horde
or
$ pear update-channels
At this point, instead of retreiving http://pear.local/channel.xml, PEAR downloads http://pear.horde.org/channel.xml, overwriting the correct channel information.
There is no way to revert to the old channel configuration either. I can only uninstall all horde packages, channel-delete horde, and the start from scratch.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by yunosh
2011-02-15T20:59:36+00:00
PHP: Irrelevant OS:  Package Version: 1.9.1

Description:
------------
If running the &quot;channel-update&quot; command, this works as if you run &quot;channel-discover &lt;channelname&gt;&quot;.

This is wrong, because the channel name might not match the server name. The updated channel configuration should be fetched from the server configured in the channel information instead.

Some example:
I have a local installation of the Horde PEAR server for testing purposes. To install this channel, I run:
$ pear channel-discover pear.local
I then have a channel named pear.horde.org, alias horde, with REST endpoint pointing to http://pear.local/.
Everything works fine with this setup. Until I run:
$ pear channel-update horde
or
$ pear update-channels
At this point, instead of retreiving http://pear.local/channel.xml, PEAR downloads http://pear.horde.org/channel.xml, overwriting the correct channel information.
There is no way to revert to the old channel configuration either. I can only uninstall all horde packages, channel-delete horde, and the start from scratch.</pre>]]></description>
      <dc:date>2011-03-09T07:35:20+00:00</dc:date>
      <dc:creator>jan &amp;#x61;&amp;#116; horde &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18029">
      <title>PEAR: Documentation Problem 18029 [Open] Outdated and confusiny PEAR install documentation</title>
      <link>http://pear.php.net/bugs/18029</link>
      <content:encoded><![CDATA[<pre>PEAR Documentation Problem
Reported by trejder
2010-11-07T07:00:31+00:00
PHP: 5.3.0 OS: Windows Package Version: 1.9.1

Description:
------------
How can you write in OFFICIAL documentation:

http://pear.php.net/manual/en/installation.getting.php

something, what is not true?

First of all, you publish there a very, very out-dated file. When I executed it, I got THOUSANDS of lines saying that you are using deprecated PHP function. How can that be possible?

Second of all, NO, no, no, executing go-pear.php DOES NOT update existing version of PEAR. I've got 1.8.1 and it still remainded this version after executing go-pear.php.

I had to search the Internet to find out that really way to install newest version is to execute:

pear install PEAR-1.9.1

Still can imagine how it is possible that people standing after most recognisable and famous PHP extension in the world not only orders their user to use installation package with lots of deprecated function calls, but also provide installation and update solution that actually don't update anything.

You haven't even got a clear information on your mainpage, what is the most current release of PEAR!

Sorry, for hard language but it is 2 o'clock and I wasted over a hour only to find out above.

Regards,
Trejder

Expected result:
----------------
I expected that when I run go-pear.php as you ordered me to do, my out-dated version 1.8.1 will be updated to current 1.9.1. But it hasn't happend!</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Documentation Problem
Reported by trejder
2010-11-07T07:00:31+00:00
PHP: 5.3.0 OS: Windows Package Version: 1.9.1

Description:
------------
How can you write in OFFICIAL documentation:

http://pear.php.net/manual/en/installation.getting.php

something, what is not true?

First of all, you publish there a very, very out-dated file. When I executed it, I got THOUSANDS of lines saying that you are using deprecated PHP function. How can that be possible?

Second of all, NO, no, no, executing go-pear.php DOES NOT update existing version of PEAR. I've got 1.8.1 and it still remainded this version after executing go-pear.php.

I had to search the Internet to find out that really way to install newest version is to execute:

pear install PEAR-1.9.1

Still can imagine how it is possible that people standing after most recognisable and famous PHP extension in the world not only orders their user to use installation package with lots of deprecated function calls, but also provide installation and update solution that actually don't update anything.

You haven't even got a clear information on your mainpage, what is the most current release of PEAR!

Sorry, for hard language but it is 2 o'clock and I wasted over a hour only to find out above.

Regards,
Trejder

Expected result:
----------------
I expected that when I run go-pear.php as you ordered me to do, my out-dated version 1.8.1 will be updated to current 1.9.1. But it hasn't happend!</pre>]]></description>
      <dc:date>2011-02-28T00:06:45+00:00</dc:date>
      <dc:creator>tomasz &amp;#x61;&amp;#116; trejderowski &amp;#x64;&amp;#111;&amp;#x74; pl</dc:creator>
      <dc:subject>PEAR Documentation Problem</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18004">
      <title>PEAR: Bug 18004 [Open] PEAR Doesn't Handle Chunked Encoding When Searching Channels</title>
      <link>http://pear.php.net/bugs/18004</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by mvoelker
2010-10-28T21:22:31+00:00
PHP: 5.3.2 OS: Ubuntu 10.04 Package Version: 

Description:
------------
I noticed that on several of my machines sitting behind a 
proxy server I was unable to use PEAR...I get errors like this:


bash:/tmp$ sudo pear search Net
Invalid xml downloaded from 
&quot;http://pear.php.net/rest/p/packages.xml&quot;: XML Error: 'Not 
well-formed (invalid token)' on line '1'
bash:/tmp$ 



However on other machines things seemed to be working ok.  
The difference turned out to be that the machines having 
trouble were sitting behind a DeleGate 9.5.6 proxy server.  I 
sniffed some packets and DeleGate is returning a valid 
response--but it's using chunked encoding (e.g. a &quot;Transfer-
Encoding: chunked&quot; HTTP header) in the response.  This 
seems to throw PEAR for a loop....I modified REST.php to see 
what the content it was attempting to parse was like so:

bash:/tmp$ diff -u /tmp/REST.php.original 
/usr/share/php/PEAR/REST.php
--- /tmp/REST.php.original	2010-10-28 12:09:12.000000000 -
0400
+++ /usr/share/php/PEAR/REST.php	2010-10-28 
11:55:14.000000000 -0400
@@ -139,7 +139,7 @@
                     PEAR::popErrorHandling();
                     if (PEAR::isError($err)) {
                         return PEAR::raiseError('Invalid xml 
downloaded from &quot;' . $url . '&quot;: ' .
-                            $err-&gt;getMessage());
+                            $err-&gt;getMessage() . $content);
                     }
                     $content = $parser-&gt;getData();
                 case 'text/html' :
bash:/tmp$ 

The output is attached--notice that the output here still has the 
chunk delimiters in it.  Because those chunk delimiters are still 
present, the XML is invalid and can't be parsed.

I've also attached a .pcap showing the packet sniff taken from 
the transfer PEAR attempted to do.  I don't believe that the 
proxy server is at fault here--e.g. what it's returning is valid 
and it does specify to the useragent that it's sending it via 
chunked encoding, but PEAR apparently doesn't handle the 
encoding properly.

As a temporary workaround, users could modify REST.php to 
use HTTP/1.0 instead of HTTP/1.1 as this eliminates chunked 
encoding.  I've used this successfully as a temporary 
measure.  The necessary modifications are just two lines in 
REST.php as follows:

bash:/tmp$ diff -u /tmp/REST.php.original 
/usr/share/php/PEAR/REST.php
--- /tmp/REST.php.original	2010-10-28 12:09:12.000000000 -
0400
+++ /usr/share/php/PEAR/REST.php	2010-10-28 
12:15:12.000000000 -0400
@@ -328,9 +328,9 @@
         }
 
         if (isset($proxy['host'])) {
-            $request = &quot;GET $url HTTP/1.1\r\n&quot;;
+            $request = &quot;GET $url HTTP/1.0\r\n&quot;;
         } else {
-            $request = &quot;GET $path HTTP/1.1\r\n&quot;;
+            $request = &quot;GET $path HTTP/1.0\r\n&quot;;
         }
 
         $request .= &quot;Host: $host\r\n&quot;;
bash:/tmp$

Test script:
---------------
pear search Net

Expected result:
----------------
bash:/tmp$ sudo pear search Net
Retrieving data...0%
....50%....Matched packages, channel pear.php.net:
=======================================
Package                   Stable/(Latest) Local
Date_Holidays_Netherlands 0.1.2 (alpha)         Driver based 
class to calculate holidays in the Netherlands.

[[SNIP]]


Net_Wifi                  1.1.0 (stable)        Scans for wireless 
networks
Net_NNTP                  1.5.0a1 (alpha)       NNTP 
implementation
bash:/tmp$ 


Actual result:
--------------
Invalid xml downloaded from 
&quot;http://pear.php.net/rest/p/packages.xml&quot;: XML Error: 'Not well-
formed (invalid token)' on line '1'</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by mvoelker
2010-10-28T21:22:31+00:00
PHP: 5.3.2 OS: Ubuntu 10.04 Package Version: 

Description:
------------
I noticed that on several of my machines sitting behind a 
proxy server I was unable to use PEAR...I get errors like this:


bash:/tmp$ sudo pear search Net
Invalid xml downloaded from 
&quot;http://pear.php.net/rest/p/packages.xml&quot;: XML Error: 'Not 
well-formed (invalid token)' on line '1'
bash:/tmp$ 



However on other machines things seemed to be working ok.  
The difference turned out to be that the machines having 
trouble were sitting behind a DeleGate 9.5.6 proxy server.  I 
sniffed some packets and DeleGate is returning a valid 
response--but it's using chunked encoding (e.g. a &quot;Transfer-
Encoding: chunked&quot; HTTP header) in the response.  This 
seems to throw PEAR for a loop....I modified REST.php to see 
what the content it was attempting to parse was like so:

bash:/tmp$ diff -u /tmp/REST.php.original 
/usr/share/php/PEAR/REST.php
--- /tmp/REST.php.original	2010-10-28 12:09:12.000000000 -
0400
+++ /usr/share/php/PEAR/REST.php	2010-10-28 
11:55:14.000000000 -0400
@@ -139,7 +139,7 @@
                     PEAR::popErrorHandling();
                     if (PEAR::isError($err)) {
                         return PEAR::raiseError('Invalid xml 
downloaded from &quot;' . $url . '&quot;: ' .
-                            $err-&gt;getMessage());
+                            $err-&gt;getMessage() . $content);
                     }
                     $content = $parser-&gt;getData();
                 case 'text/html' :
bash:/tmp$ 

The output is attached--notice that the output here still has the 
chunk delimiters in it.  Because those chunk delimiters are still 
present, the XML is invalid and can't be parsed.

I've also attached a .pcap showing the packet sniff taken from 
the transfer PEAR attempted to do.  I don't believe that the 
proxy server is at fault here--e.g. what it's returning is valid 
and it does specify to the useragent that it's sending it via 
chunked encoding, but PEAR apparently doesn't handle the 
encoding properly.

As a temporary workaround, users could modify REST.php to 
use HTTP/1.0 instead of HTTP/1.1 as this eliminates chunked 
encoding.  I've used this successfully as a temporary 
measure.  The necessary modifications are just two lines in 
REST.php as follows:

bash:/tmp$ diff -u /tmp/REST.php.original 
/usr/share/php/PEAR/REST.php
--- /tmp/REST.php.original	2010-10-28 12:09:12.000000000 -
0400
+++ /usr/share/php/PEAR/REST.php	2010-10-28 
12:15:12.000000000 -0400
@@ -328,9 +328,9 @@
         }
 
         if (isset($proxy['host'])) {
-            $request = &quot;GET $url HTTP/1.1\r\n&quot;;
+            $request = &quot;GET $url HTTP/1.0\r\n&quot;;
         } else {
-            $request = &quot;GET $path HTTP/1.1\r\n&quot;;
+            $request = &quot;GET $path HTTP/1.0\r\n&quot;;
         }
 
         $request .= &quot;Host: $host\r\n&quot;;
bash:/tmp$

Test script:
---------------
pear search Net

Expected result:
----------------
bash:/tmp$ sudo pear search Net
Retrieving data...0%
....50%....Matched packages, channel pear.php.net:
=======================================
Package                   Stable/(Latest) Local
Date_Holidays_Netherlands 0.1.2 (alpha)         Driver based 
class to calculate holidays in the Netherlands.

[[SNIP]]


Net_Wifi                  1.1.0 (stable)        Scans for wireless 
networks
Net_NNTP                  1.5.0a1 (alpha)       NNTP 
implementation
bash:/tmp$ 


Actual result:
--------------
Invalid xml downloaded from 
&quot;http://pear.php.net/rest/p/packages.xml&quot;: XML Error: 'Not well-
formed (invalid token)' on line '1'</pre>]]></description>
      <dc:date>2014-06-07T03:34:48+00:00</dc:date>
      <dc:creator>mvoelker &amp;#x61;&amp;#116; cisco &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17797">
      <title>PEAR: Feature/Change Request 17797 [Open] add support to skip installing test files in &quot;pear install&quot;</title>
      <link>http://pear.php.net/bugs/17797</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by glen
2010-08-22T17:24:04+00:00
PHP: Irrelevant OS: PLD Linux Package Version: 1.9.1

Description:
------------
i'm using pear install command to make rpm packages

however our distribution does not package the test files to 
resulting rpm package, currently we rm -f 
$RPM_BUILD_ROOT/usr/share/pear/tests after each package 
%install. (tests should be run at package build time, not 
distributed to end-user).

but cleaner solution would be if pear install supported --skip-
tests option, so packages like PEAR_Size does not report 
missing files (as these were not intended to be installed in first 
place)

while at it, probably --skip-doc and other roles could be useful 
too.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by glen
2010-08-22T17:24:04+00:00
PHP: Irrelevant OS: PLD Linux Package Version: 1.9.1

Description:
------------
i'm using pear install command to make rpm packages

however our distribution does not package the test files to 
resulting rpm package, currently we rm -f 
$RPM_BUILD_ROOT/usr/share/pear/tests after each package 
%install. (tests should be run at package build time, not 
distributed to end-user).

but cleaner solution would be if pear install supported --skip-
tests option, so packages like PEAR_Size does not report 
missing files (as these were not intended to be installed in first 
place)

while at it, probably --skip-doc and other roles could be useful 
too.</pre>]]></description>
      <dc:date>2011-03-19T05:47:15+00:00</dc:date>
      <dc:creator>glen &amp;#x61;&amp;#116; delfi &amp;#x64;&amp;#111;&amp;#x74; ee</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17715">
      <title>PEAR: Feature/Change Request 17715 [Open] Upgrading a package with dependencies</title>
      <link>http://pear.php.net/bugs/17715</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by sveneld
2010-08-17T14:26:40+00:00
PHP: 5.3.0 OS: linux Package Version: 1.9.1

Description:
------------
I have a package Foo which have in dependencies subpackage Bar.  If i make some changes in this packages on my local machine and want to undo them by restoring package from channel I run command pear install or pear upgrade.
When i run command 
pear upgrade --force --alldeps Foo 
only Foo package is upgraded, but I'm expecting that Bar subpackage  will be also upgraded</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by sveneld
2010-08-17T14:26:40+00:00
PHP: 5.3.0 OS: linux Package Version: 1.9.1

Description:
------------
I have a package Foo which have in dependencies subpackage Bar.  If i make some changes in this packages on my local machine and want to undo them by restoring package from channel I run command pear install or pear upgrade.
When i run command 
pear upgrade --force --alldeps Foo 
only Foo package is upgraded, but I'm expecting that Bar subpackage  will be also upgraded</pre>]]></description>
      <dc:date>2010-12-06T02:28:38+00:00</dc:date>
      <dc:creator>sveneld &amp;#x61;&amp;#116; mail &amp;#x64;&amp;#111;&amp;#x74; ru</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17640">
      <title>PEAR: Bug 17640 [Open] pear install --packagingroot not working</title>
      <link>http://pear.php.net/bugs/17640</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by quartje
2010-07-29T17:24:36+00:00
PHP: 5.2.10 OS: Redhat EL 5.4 Package Version: 1.9.1

Description:
------------
I try to install a package into a directory to make an RPM package with the following command (tried several packages, all with same results):
[root@mymachine ~]# pear  install  --packagingroot=/tmp/stomp/ stomp-1.0.0.tgz
This is the output:

6 source files, building
ERROR: could not chdir to /var/tmp/stomp

When I do this:
[root@mymachine ~]# pear  install  --packagingroot=/var/tmp/stomp/ stomp-1.0.0.tgz
This is the output:
6 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

ERROR: `phpize' failed</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by quartje
2010-07-29T17:24:36+00:00
PHP: 5.2.10 OS: Redhat EL 5.4 Package Version: 1.9.1

Description:
------------
I try to install a package into a directory to make an RPM package with the following command (tried several packages, all with same results):
[root@mymachine ~]# pear  install  --packagingroot=/tmp/stomp/ stomp-1.0.0.tgz
This is the output:

6 source files, building
ERROR: could not chdir to /var/tmp/stomp

When I do this:
[root@mymachine ~]# pear  install  --packagingroot=/var/tmp/stomp/ stomp-1.0.0.tgz
This is the output:
6 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

ERROR: `phpize' failed</pre>]]></description>
      <dc:date>2010-09-05T02:32:04+00:00</dc:date>
      <dc:creator>bart &amp;#x64;&amp;#111;&amp;#x74; geesink &amp;#x61;&amp;#116; sara &amp;#x64;&amp;#111;&amp;#x74; nl</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17595">
      <title>PEAR: Feature/Change Request 17595 [Open] Pyrus: ScriptRunner</title>
      <link>http://pear.php.net/bugs/17595</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by boekkooi
2010-07-15T16:12:02+00:00
PHP: 5.3.1 OS: Windows 7 x64 Package Version: 

Description:
------------
When creating a new instance of '\PEAR2\Pyrus\ScriptRunner' it's possible to give a frontend as construct paramater.

There is no interface of this frontend object.

Expected result:
----------------
A simple interface to base a new frontend on.

Actual result:
--------------
No interface to base a different frontend on.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by boekkooi
2010-07-15T16:12:02+00:00
PHP: 5.3.1 OS: Windows 7 x64 Package Version: 

Description:
------------
When creating a new instance of '\PEAR2\Pyrus\ScriptRunner' it's possible to give a frontend as construct paramater.

There is no interface of this frontend object.

Expected result:
----------------
A simple interface to base a new frontend on.

Actual result:
--------------
No interface to base a different frontend on.</pre>]]></description>
      <dc:date>2010-07-15T16:12:02+00:00</dc:date>
      <dc:creator>warnar &amp;#x61;&amp;#116; dmmw &amp;#x64;&amp;#111;&amp;#x74; nl</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17535">
      <title>PEAR: Bug 17535 [Open] &quot;pear upgrade&quot; unnecessarily upgrades dependencies</title>
      <link>http://pear.php.net/bugs/17535</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by timj
2010-06-29T17:01:04+00:00
PHP: Irrelevant OS:  Package Version: 1.9.1

Description:
------------
&quot;pear upgrade&quot; unnecessarily upgrades dependencies of the package being upgraded.

e.g. assume that the following is installed:

A-1.0.0 (depends on B-1.0.0)
B-1.0.0

The channel server has:
A-1.0.1 (depends on B-1.0.0)
B-1.0.1

&quot;pear upgrade A&quot; will also upgrade B to v1.0.1, without warning. This is unexpected (the user didn't ask to upgrade B) and unnecessary (there is no dependency on the newer version). It would be better just to warn that a new version of B is available.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by timj
2010-06-29T17:01:04+00:00
PHP: Irrelevant OS:  Package Version: 1.9.1

Description:
------------
&quot;pear upgrade&quot; unnecessarily upgrades dependencies of the package being upgraded.

e.g. assume that the following is installed:

A-1.0.0 (depends on B-1.0.0)
B-1.0.0

The channel server has:
A-1.0.1 (depends on B-1.0.0)
B-1.0.1

&quot;pear upgrade A&quot; will also upgrade B to v1.0.1, without warning. This is unexpected (the user didn't ask to upgrade B) and unnecessary (there is no dependency on the newer version). It would be better just to warn that a new version of B is available.</pre>]]></description>
      <dc:date>2010-10-05T01:14:53+00:00</dc:date>
      <dc:creator>tim &amp;#x61;&amp;#116; timj &amp;#x64;&amp;#111;&amp;#x74; co &amp;#x64;&amp;#111;&amp;#x74; uk</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17479">
      <title>PEAR: Feature/Change Request 17479 [Open] should use the system wide http proxy setting on *nix</title>
      <link>http://pear.php.net/bugs/17479</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by kguest
2010-06-09T20:54:44+00:00
PHP: 5.2.6 OS: *nix Package Version: 1.9.1

Description:
------------
On *nix systems [the cli tool] should use the system wide proxy setting as set thus:
$export http_proxy='http://192.168.1.2:3128/'</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by kguest
2010-06-09T20:54:44+00:00
PHP: 5.2.6 OS: *nix Package Version: 1.9.1

Description:
------------
On *nix systems [the cli tool] should use the system wide proxy setting as set thus:
$export http_proxy='http://192.168.1.2:3128/'</pre>]]></description>
      <dc:date>2011-07-06T23:59:31+00:00</dc:date>
      <dc:creator>ken &amp;#x61;&amp;#116; linux &amp;#x64;&amp;#111;&amp;#x74; ie</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17387">
      <title>PEAR: Bug 17387 [Open] PEAR Install fails to set paths properly</title>
      <link>http://pear.php.net/bugs/17387</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by seld
2010-05-11T16:16:22+00:00
PHP: 5.3.2 OS: Windows 7 x64 Package Version: Unknown

Description:
------------
There are various issues, the installer doesn't seem to keep proper paths, I am not sure if it's because it assumes C:\Windows\pear.ini or not, but the paths after install don't match the patch specified during install, which trigger failures during packages install and others.

Also the pear.bat generation seem a bit strange, especially line 26 and 27 in http://pastie.org/private/8obhaqh6eoezsvztf5f3w

This may be related to http://pear.php.net/bugs/bug.php?id=16187 - Except that I don't run with admin privileges, so those directories (C:\ and C:\Windows) are out of bounds and the installer can't write in them.

Test script:
---------------
Here is a copy of my installation + pear show-config that outlines the problem:


seld:~/Apps/Server/PHP/PEAR
$ php ../latest/PEAR/go-pear.phar

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : local
Please confirm local copy by typing 'yes' : yes

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)                   : C:\Users\seld\Apps\Server\PHP\PEAR
 2. Temporary directory for processing            : C:\Users\seld\Apps\Server\PHP\PEAR\tmp
 3. Temporary directory for downloads             : C:\Users\seld\Apps\Server\PHP\PEAR\tmp
 4. Binaries directory                            : C:\Users\seld\Apps\Server\PHP\PEAR
 5. PHP code directory ($php_dir)                 : C:\Users\seld\Apps\Server\PHP\PEAR\pear
 6. Documentation directory                       : C:\Users\seld\Apps\Server\PHP\PEAR\docs
 7. Data directory                                : C:\Users\seld\Apps\Server\PHP\PEAR\data
 8. User-modifiable configuration files directory : C:\Users\seld\Apps\Server\PHP\PEAR\cfg
 9. Public Web Files directory                    : C:\Users\seld\Apps\Server\PHP\PEAR\www
10. Tests directory                               : C:\Users\seld\Apps\Server\PHP\PEAR\tests
11. Name of configuration file                    : C:\Users\seld\Apps\Server\PHP\PEAR\pear.ini
12. Path to CLI php.exe                           : C:\Users\seld\Apps\Server\PHP\latest
1-12, 'all' or Enter to continue:

Beginning install...
Configuration written to C:\Users\seld\Apps\Server\PHP\PEAR\pear.ini...
Initialized registry...
Preparing to install...
installing phar://C:/Users/seld/Apps/Server/PHP/5.3.2/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.3.tar...
installing phar://C:/Users/seld/Apps/Server/PHP/5.3.2/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.3.tar...
installing phar://C:/Users/seld/Apps/Server/PHP/5.3.2/PEAR/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.0.tar...
installing phar://C:/Users/seld/Apps/Server/PHP/5.3.2/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.2.tar...
installing phar://C:/Users/seld/Apps/Server/PHP/5.3.2/PEAR/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar...
install ok: channel://pear.php.net/Archive_Tar-1.3.3
install ok: channel://pear.php.net/Console_Getopt-1.2.3
install ok: channel://pear.php.net/Structures_Graph-1.0.2
install ok: channel://pear.php.net/XML_Util-1.2.1
install ok: channel://pear.php.net/PEAR-1.9.0
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use &quot;pear install pear/PEAR#featurename&quot;

** WARNING! Old version found at C:\Users\seld\Apps\Server\PHP\PEAR, please remove it or be sure to use the new c:\users\seld\apps\server\php\pear\pear.bat command

The 'pear' command is now at your service at c:\users\seld\apps\server\php\pear\pear.bat




$ pear.bat config-show
CONFIGURATION (CHANNEL PEAR.PHP.NET):
=====================================
Auto-discover new Channels     auto_discover    &lt;not set&gt;
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       &lt;not set&gt;
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.php.net
Remote Configuration File      remote_config    &lt;not set&gt;
PEAR executables directory     bin_dir          C:\Users\seld\Apps\Server\PHP\PEAR
PEAR documentation directory   doc_dir          C:\php5\pear\docs
PHP extension directory        ext_dir          ext
PEAR directory                 php_dir          C:\Users\seld\Apps\Server\PHP\PEAR\pear
PEAR Installer cache directory cache_dir        C:\Users\seld\pear\cache
PEAR configuration file        cfg_dir          C:\php5\pear\cfg
directory
PEAR data directory            data_dir         C:\php5\pear\data
PEAR Installer download        download_dir     C:\Users\seld\pear\download
directory
PHP CLI/CGI binary             php_bin          C:\Users\seld\Apps\Server\PHP\latest\php.exe
php.ini location               php_ini          &lt;not set&gt;
--program-prefix passed to     php_prefix       &lt;not set&gt;
PHP's ./configure
--program-suffix passed to     php_suffix       &lt;not set&gt;
PHP's ./configure
PEAR Installer temp directory  temp_dir         C:\Users\seld\pear\temp
PEAR test directory            test_dir         C:\php5\pear\tests
PEAR www files directory       www_dir          C:\php5\pear\www
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                 umask            0
Debug Log Level                verbose          1
PEAR password (for             password         &lt;not set&gt;
maintainers)
Signature Handling Program     sig_bin          c:\gnupg\gpg.exe
Signature Key Directory        sig_keydir       C:\Windows\pearkeys
Signature Key Id               sig_keyid        &lt;not set&gt;
Package Signature Type         sig_type         gpg
PEAR username (for             username         &lt;not set&gt;
maintainers)
User Configuration File        Filename         C:\Windows\pear.ini
System Configuration File      Filename         C:\Windows\pearsys.ini

Expected result:
----------------
Paths should be kept as I specified them.

Actual result:
--------------
They use the default, *maybe* because it tries to read from c:\Windows\pear.ini, and the file isn't there, but I'm not sure about that.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by seld
2010-05-11T16:16:22+00:00
PHP: 5.3.2 OS: Windows 7 x64 Package Version: Unknown

Description:
------------
There are various issues, the installer doesn't seem to keep proper paths, I am not sure if it's because it assumes C:\Windows\pear.ini or not, but the paths after install don't match the patch specified during install, which trigger failures during packages install and others.

Also the pear.bat generation seem a bit strange, especially line 26 and 27 in http://pastie.org/private/8obhaqh6eoezsvztf5f3w

This may be related to http://pear.php.net/bugs/bug.php?id=16187 - Except that I don't run with admin privileges, so those directories (C:\ and C:\Windows) are out of bounds and the installer can't write in them.

Test script:
---------------
Here is a copy of my installation + pear show-config that outlines the problem:


seld:~/Apps/Server/PHP/PEAR
$ php ../latest/PEAR/go-pear.phar

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : local
Please confirm local copy by typing 'yes' : yes

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)                   : C:\Users\seld\Apps\Server\PHP\PEAR
 2. Temporary directory for processing            : C:\Users\seld\Apps\Server\PHP\PEAR\tmp
 3. Temporary directory for downloads             : C:\Users\seld\Apps\Server\PHP\PEAR\tmp
 4. Binaries directory                            : C:\Users\seld\Apps\Server\PHP\PEAR
 5. PHP code directory ($php_dir)                 : C:\Users\seld\Apps\Server\PHP\PEAR\pear
 6. Documentation directory                       : C:\Users\seld\Apps\Server\PHP\PEAR\docs
 7. Data directory                                : C:\Users\seld\Apps\Server\PHP\PEAR\data
 8. User-modifiable configuration files directory : C:\Users\seld\Apps\Server\PHP\PEAR\cfg
 9. Public Web Files directory                    : C:\Users\seld\Apps\Server\PHP\PEAR\www
10. Tests directory                               : C:\Users\seld\Apps\Server\PHP\PEAR\tests
11. Name of configuration file                    : C:\Users\seld\Apps\Server\PHP\PEAR\pear.ini
12. Path to CLI php.exe                           : C:\Users\seld\Apps\Server\PHP\latest
1-12, 'all' or Enter to continue:

Beginning install...
Configuration written to C:\Users\seld\Apps\Server\PHP\PEAR\pear.ini...
Initialized registry...
Preparing to install...
installing phar://C:/Users/seld/Apps/Server/PHP/5.3.2/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.3.tar...
installing phar://C:/Users/seld/Apps/Server/PHP/5.3.2/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.3.tar...
installing phar://C:/Users/seld/Apps/Server/PHP/5.3.2/PEAR/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.9.0.tar...
installing phar://C:/Users/seld/Apps/Server/PHP/5.3.2/PEAR/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.2.tar...
installing phar://C:/Users/seld/Apps/Server/PHP/5.3.2/PEAR/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.2.1.tar...
install ok: channel://pear.php.net/Archive_Tar-1.3.3
install ok: channel://pear.php.net/Console_Getopt-1.2.3
install ok: channel://pear.php.net/Structures_Graph-1.0.2
install ok: channel://pear.php.net/XML_Util-1.2.1
install ok: channel://pear.php.net/PEAR-1.9.0
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use &quot;pear install pear/PEAR#featurename&quot;

** WARNING! Old version found at C:\Users\seld\Apps\Server\PHP\PEAR, please remove it or be sure to use the new c:\users\seld\apps\server\php\pear\pear.bat command

The 'pear' command is now at your service at c:\users\seld\apps\server\php\pear\pear.bat




$ pear.bat config-show
CONFIGURATION (CHANNEL PEAR.PHP.NET):
=====================================
Auto-discover new Channels     auto_discover    &lt;not set&gt;
Default Channel                default_channel  pear.php.net
HTTP Proxy Server Address      http_proxy       &lt;not set&gt;
PEAR server [DEPRECATED]       master_server    pear.php.net
Default Channel Mirror         preferred_mirror pear.php.net
Remote Configuration File      remote_config    &lt;not set&gt;
PEAR executables directory     bin_dir          C:\Users\seld\Apps\Server\PHP\PEAR
PEAR documentation directory   doc_dir          C:\php5\pear\docs
PHP extension directory        ext_dir          ext
PEAR directory                 php_dir          C:\Users\seld\Apps\Server\PHP\PEAR\pear
PEAR Installer cache directory cache_dir        C:\Users\seld\pear\cache
PEAR configuration file        cfg_dir          C:\php5\pear\cfg
directory
PEAR data directory            data_dir         C:\php5\pear\data
PEAR Installer download        download_dir     C:\Users\seld\pear\download
directory
PHP CLI/CGI binary             php_bin          C:\Users\seld\Apps\Server\PHP\latest\php.exe
php.ini location               php_ini          &lt;not set&gt;
--program-prefix passed to     php_prefix       &lt;not set&gt;
PHP's ./configure
--program-suffix passed to     php_suffix       &lt;not set&gt;
PHP's ./configure
PEAR Installer temp directory  temp_dir         C:\Users\seld\pear\temp
PEAR test directory            test_dir         C:\php5\pear\tests
PEAR www files directory       www_dir          C:\php5\pear\www
Cache TimeToLive               cache_ttl        3600
Preferred Package State        preferred_state  stable
Unix file mask                 umask            0
Debug Log Level                verbose          1
PEAR password (for             password         &lt;not set&gt;
maintainers)
Signature Handling Program     sig_bin          c:\gnupg\gpg.exe
Signature Key Directory        sig_keydir       C:\Windows\pearkeys
Signature Key Id               sig_keyid        &lt;not set&gt;
Package Signature Type         sig_type         gpg
PEAR username (for             username         &lt;not set&gt;
maintainers)
User Configuration File        Filename         C:\Windows\pear.ini
System Configuration File      Filename         C:\Windows\pearsys.ini

Expected result:
----------------
Paths should be kept as I specified them.

Actual result:
--------------
They use the default, *maybe* because it tries to read from c:\Windows\pear.ini, and the file isn't there, but I'm not sure about that.</pre>]]></description>
      <dc:date>2010-05-11T16:16:22+00:00</dc:date>
      <dc:creator>j &amp;#x64;&amp;#111;&amp;#x74; boggiano &amp;#x61;&amp;#116; seld &amp;#x64;&amp;#111;&amp;#x74; be</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17127">
      <title>PEAR: Bug 17127 [Open] local PEAR install at c:\pear should not be making use of c:\php PEAR install</title>
      <link>http://pear.php.net/bugs/17127</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by zelnaga
2010-02-18T07:08:37+00:00
PHP: 5.3.1 OS: Windows XP Package Version: 1.9.0

Description:
------------
I do a new *local* installation of PEAR, with everything in the
installer, including the &quot;Path to CLI php.exe&quot;, pointing to c:\pear.  I then try to add a channel and am told that it's already initialized.   I go to c:\php\PEAR\.channels, delete the *.reg for that channel, and try to again add that channel with the c:\pear installation and it works - I'm able to add it.

The thing is...  as the fact that it's a local install implies, *.reg files should be going in c:\pear\PEAR - not in c:\php\PEAR.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by zelnaga
2010-02-18T07:08:37+00:00
PHP: 5.3.1 OS: Windows XP Package Version: 1.9.0

Description:
------------
I do a new *local* installation of PEAR, with everything in the
installer, including the &quot;Path to CLI php.exe&quot;, pointing to c:\pear.  I then try to add a channel and am told that it's already initialized.   I go to c:\php\PEAR\.channels, delete the *.reg for that channel, and try to again add that channel with the c:\pear installation and it works - I'm able to add it.

The thing is...  as the fact that it's a local install implies, *.reg files should be going in c:\pear\PEAR - not in c:\php\PEAR.</pre>]]></description>
      <dc:date>2014-06-29T15:19:33+00:00</dc:date>
      <dc:creator>zelnaga &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17081">
      <title>PEAR: Bug 17081 [Assigned] pear.bat won't run from other directory</title>
      <link>http://pear.php.net/bugs/17081</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by dmagick
2010-02-09T09:18:56+00:00
PHP: 5.3.1 OS: windows xp Package Version: Unknown

Description:
------------
After using the windows 5.3.1 installer, I ran run-pear.bat without a problem.

pear.bat assumes you'll only ever run it from the install directory. If you try to run it from another directory it says environment variables aren't set.

I had to do the same for pecl.bat as well (same reason, same patch).

Test script:
---------------
C:\&gt;cd \windows\temp

C:\WINDOWS\Temp&gt;set PHP
PHPRC=C:\PHP\
PHP_PEAR_BIN_DIR=C:\PHP
PHP_PEAR_DATA_DIR=C:\PHP\data
PHP_PEAR_DOC_DIR=C:\PHP\docs
PHP_PEAR_INSTALL_DIR=C:\PHP\pear
PHP_PEAR_PHP_BIN=.\php.exe
PHP_PEAR_SYSCONF_DIR=C:\PHP
PHP_PEAR_TEST_DIR=C:\PHP\tests

C:\WINDOWS\Temp&gt;set PATH
Path=C:\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\GTK2.0\bin;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\CVSN
T\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

C:\WINDOWS\Temp&gt;pear help
PHP_PEAR_PHP_BIN is not set correctly.
Please fix it using your environment variable or modify
the default value in pear.bat
The current value is:
.\php.exe

C:\WINDOWS\Temp&gt;

Expected result:
----------------
Output from pear :)

Actual result:
--------------
Patch is simple.

$ diff -ub pear.bat.orig pear.bat
--- pear.bat.orig	2010-02-09 14:58:35.000000000 +1100
+++ pear.bat	2010-02-09 15:02:35.000000000 +1100
@@ -31,6 +31,7 @@
 IF &quot;%PHP_PEAR_INSTALL_DIR%&quot;==&quot;&quot; SET &quot;PHP_PEAR_INSTALL_DIR=C:\PHP\pear&quot;
 IF &quot;%PHP_PEAR_BIN_DIR%&quot;==&quot;&quot; SET &quot;PHP_PEAR_BIN_DIR=C:\PHP&quot;
 IF &quot;%PHP_PEAR_PHP_BIN%&quot;==&quot;&quot; SET &quot;PHP_PEAR_PHP_BIN=.\php.exe&quot;
+
 GOTO :INSTALLED
 
 :NOTINSTALLED
@@ -77,7 +78,8 @@
 IF NOT EXIST &quot;%PHP_PEAR_INSTALL_DIR%&quot; GOTO PEAR_INSTALL_ERROR
 IF NOT EXIST &quot;%PHP_PEAR_INSTALL_DIR%\pearcmd.php&quot; GOTO PEAR_INSTALL_ERROR2
 IF NOT EXIST &quot;%PHP_PEAR_BIN_DIR%&quot; GOTO PEAR_BIN_ERROR
-IF NOT EXIST &quot;%PHP_PEAR_PHP_BIN%&quot; GOTO PEAR_PHPBIN_ERROR
+IF NOT EXIST &quot;%PHP_PEAR_BIN_DIR%\%PHP_PEAR_PHP_BIN%&quot; GOTO PEAR_PHPBIN_ERROR
+
 REM launch pearcmd
 GOTO RUN
 :PEAR_INSTALL_ERROR
@@ -110,6 +112,6 @@
 ECHO %PHP_PEAR_PHP_BIN%
 GOTO END
 :RUN
-&quot;%PHP_PEAR_PHP_BIN%&quot; -C -d output_buffering=1 -d safe_mode=0 -d open_basedir=&quot;&quot; -d auto_prepend_file=&quot;&quot; -d auto_append_file=&quot;&quot; -d variables_order=EGPCS -d register_argc_argv=&quot;On&quot; -d include_path=&quot;%PHP_PEAR_INSTALL_DIR%&quot; -f &quot;%PHP_PEAR_INSTALL_DIR%\pearcmd.php&quot; -- %1 %2 %3 %4 %5 %6 %7 %8 %9
+&quot;%PHP_PEAR_BIN_DIR%\%PHP_PEAR_PHP_BIN%&quot; -C -d output_buffering=1 -d safe_mode=0 -d open_basedir=&quot;&quot; -d auto_prepend_file=&quot;&quot; -d auto_append_file=&quot;&quot; -d variables_order=EGPCS -d register_argc_argv=&quot;On&quot; -d include_path=&quot;%PHP_PEAR_INSTALL_DIR%&quot; -f &quot;%PHP_PEAR_INSTALL_DIR%\pearcmd.php&quot; -- %1 %2 %3 %4 %5 %6 %7 %8 %9
 :END
 @ECHO ON</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by dmagick
2010-02-09T09:18:56+00:00
PHP: 5.3.1 OS: windows xp Package Version: Unknown

Description:
------------
After using the windows 5.3.1 installer, I ran run-pear.bat without a problem.

pear.bat assumes you'll only ever run it from the install directory. If you try to run it from another directory it says environment variables aren't set.

I had to do the same for pecl.bat as well (same reason, same patch).

Test script:
---------------
C:\&gt;cd \windows\temp

C:\WINDOWS\Temp&gt;set PHP
PHPRC=C:\PHP\
PHP_PEAR_BIN_DIR=C:\PHP
PHP_PEAR_DATA_DIR=C:\PHP\data
PHP_PEAR_DOC_DIR=C:\PHP\docs
PHP_PEAR_INSTALL_DIR=C:\PHP\pear
PHP_PEAR_PHP_BIN=.\php.exe
PHP_PEAR_SYSCONF_DIR=C:\PHP
PHP_PEAR_TEST_DIR=C:\PHP\tests

C:\WINDOWS\Temp&gt;set PATH
Path=C:\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\GTK2.0\bin;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program Files\CVSN
T\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

C:\WINDOWS\Temp&gt;pear help
PHP_PEAR_PHP_BIN is not set correctly.
Please fix it using your environment variable or modify
the default value in pear.bat
The current value is:
.\php.exe

C:\WINDOWS\Temp&gt;

Expected result:
----------------
Output from pear :)

Actual result:
--------------
Patch is simple.

$ diff -ub pear.bat.orig pear.bat
--- pear.bat.orig	2010-02-09 14:58:35.000000000 +1100
+++ pear.bat	2010-02-09 15:02:35.000000000 +1100
@@ -31,6 +31,7 @@
 IF &quot;%PHP_PEAR_INSTALL_DIR%&quot;==&quot;&quot; SET &quot;PHP_PEAR_INSTALL_DIR=C:\PHP\pear&quot;
 IF &quot;%PHP_PEAR_BIN_DIR%&quot;==&quot;&quot; SET &quot;PHP_PEAR_BIN_DIR=C:\PHP&quot;
 IF &quot;%PHP_PEAR_PHP_BIN%&quot;==&quot;&quot; SET &quot;PHP_PEAR_PHP_BIN=.\php.exe&quot;
+
 GOTO :INSTALLED
 
 :NOTINSTALLED
@@ -77,7 +78,8 @@
 IF NOT EXIST &quot;%PHP_PEAR_INSTALL_DIR%&quot; GOTO PEAR_INSTALL_ERROR
 IF NOT EXIST &quot;%PHP_PEAR_INSTALL_DIR%\pearcmd.php&quot; GOTO PEAR_INSTALL_ERROR2
 IF NOT EXIST &quot;%PHP_PEAR_BIN_DIR%&quot; GOTO PEAR_BIN_ERROR
-IF NOT EXIST &quot;%PHP_PEAR_PHP_BIN%&quot; GOTO PEAR_PHPBIN_ERROR
+IF NOT EXIST &quot;%PHP_PEAR_BIN_DIR%\%PHP_PEAR_PHP_BIN%&quot; GOTO PEAR_PHPBIN_ERROR
+
 REM launch pearcmd
 GOTO RUN
 :PEAR_INSTALL_ERROR
@@ -110,6 +112,6 @@
 ECHO %PHP_PEAR_PHP_BIN%
 GOTO END
 :RUN
-&quot;%PHP_PEAR_PHP_BIN%&quot; -C -d output_buffering=1 -d safe_mode=0 -d open_basedir=&quot;&quot; -d auto_prepend_file=&quot;&quot; -d auto_append_file=&quot;&quot; -d variables_order=EGPCS -d register_argc_argv=&quot;On&quot; -d include_path=&quot;%PHP_PEAR_INSTALL_DIR%&quot; -f &quot;%PHP_PEAR_INSTALL_DIR%\pearcmd.php&quot; -- %1 %2 %3 %4 %5 %6 %7 %8 %9
+&quot;%PHP_PEAR_BIN_DIR%\%PHP_PEAR_PHP_BIN%&quot; -C -d output_buffering=1 -d safe_mode=0 -d open_basedir=&quot;&quot; -d auto_prepend_file=&quot;&quot; -d auto_append_file=&quot;&quot; -d variables_order=EGPCS -d register_argc_argv=&quot;On&quot; -d include_path=&quot;%PHP_PEAR_INSTALL_DIR%&quot; -f &quot;%PHP_PEAR_INSTALL_DIR%\pearcmd.php&quot; -- %1 %2 %3 %4 %5 %6 %7 %8 %9
 :END
 @ECHO ON</pre>]]></description>
      <dc:date>2010-05-12T04:28:04+00:00</dc:date>
      <dc:creator>dmagick &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/17016">
      <title>PEAR: Bug 17016 [Open] Windows: PEAR Installation go-pear.bat config variable php_suffix</title>
      <link>http://pear.php.net/bugs/17016</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by amohr
2010-01-20T21:03:09+00:00
PHP: 5.3.1 OS: Windows 2008 Server 64bit Package Version: 1.9.0

Description:
------------
I believe go-pear.bat creates a wrong parameter in pear.ini which leads to an error message &quot;config variable php_suffix does not match&quot; when commiting PEAR or PECL commands in Wondows environments. Or php_suffix is compared to a wrong value. 

Theres a lot of frustration on the web about problems with php_suffix variable and missing .dsp files - but no solutions. 

I can hopefully contribute to solve respectively clarify that a bit.

During installation of PEAR using go-pear.bat it is required to enter a correct paramater for Path to CLI php.exe. Entering only the path leads to an error message. The complete path to php.ini is required to be configured for the installation to succeed (allthough commonly the &quot;php binary&quot; under windows is pointed at like c:\php without php.exe). So the following must be entered:

12. Path to CLI php.exe: C:\progs\php\php.exe

***** In effect the Env Var vor PHP_PEAR_PHP_BIN is set to the complete Path

&quot;PHP_PEAR_SYSCONF_DIR&quot;=&quot;c:\\progs\\php&quot;
&quot;PHP_PEAR_INSTALL_DIR&quot;=&quot;c:\\progs\\php\\pear&quot;
&quot;PHP_PEAR_DOC_DIR&quot;=&quot;c:\\progs\\php\\docs&quot;
&quot;PHP_PEAR_BIN_DIR&quot;=&quot;c:\\progs\\php&quot;
&quot;PHP_PEAR_DATA_DIR&quot;=&quot;c:\\progs\\php\\data&quot;
&quot;PHP_PEAR_PHP_BIN&quot;=&quot;C:\\progs\\php\\php.exe&quot;
&quot;PHP_PEAR_TEST_DIR&quot;=&quot;c:\\progs\\php\\tests&quot;

***** To verify my PEAR installation I installed Web Package Manager

c:\progs\php&gt;pear install PEAR_Frontend_Web-0.7.4

***** I Copied index.php to a webserver location and verified frontend functionality, which is good. Assuming the PEAR configuration is correct, I proceeded with the installation of a PEAR Package (in my case: Enchant):

**** I tried:

c:\progs\php&gt;pecl install enchant
downloading enchant-1.1.0.tgz ...
Starting to download enchant-1.1.0.tgz (9,464 bytes)
.....done: 9,464 bytes
4 source files, building
WARNING: php_bin C:\progs\php\php.exe appears to have a suffix \php.exe, but config variable php_suffix does not match
ERROR: The DSP enchant.dsp does not exist.

**** Then I tried:

c:\progs\php&gt;pecl bundle enchant
downloading enchant-1.1.0.tgz ...
Starting to download enchant-1.1.0.tgz (9,464 bytes)
.....done: 9,464 bytes
Package ready at 'c:\progs\php\ext\enchant'

**** So: bundeling seems OK... so I tried building:

c:\progs\php&gt;pecl build enchant
WARNING: php_bin C:\progs\php\php.exe appears to have a suffix \php.exe, but config variable php_suffix d
oes not match
Unable to open enchant

***** ...Note: the .dsp is not mentioned in this message...


***** First thing I tried then is to modify the value in pear.ini with text editor:

...s:12:&quot;c:\progs\php&quot;...

***** Result:

c:\progs\php&gt;pecl build enchant
Notice: unserialize(): Error at offset 434 of 556 bytes in Config.php on line 1050
ERROR: The default config file is not a valid config file or is corrupted.

***** I changed the value back my text editor to ...s:12:&quot;c:\progs\php\php.exe&quot;... which resolved the &quot;corrupt&quot; message. I 

switched to the Web frontend package manager and modified the configuration there. I changed the following to values (the latter was empty): 

PHP CLI/CGI binary: c:\progs\php    
php.ini location: c:\progs\php

***** I saved the configuration and got the following two results:

c:\progs\php&gt;pecl build enchant
Unable to open enchant

c:\progs\php&gt;pecl install enchant
downloading enchant-1.1.0.tgz ...
Starting to download enchant-1.1.0.tgz (9,464 bytes)
.....done: 9,464 bytes
4 source files, building
ERROR: The DSP enchant.dsp does not exist.

***** This might be a clue: I observed following behaviour in pear.ini on saving the configuration using the web frontend

When changing the value for PHP CLI/CGI binary, the parameter ...s:12:&quot;c:\progs\php&quot;... changes to 

...s:20:&quot;c:\progs\php\php.exe&quot;... (S:25 in a second try) when I change back to the &quot;correct&quot; value it changes back to 

...s:12:&quot;c:\progs\php&quot;...

***** In the Web Frontend Package Manager I do not understand the parameters needed for &quot;--program-prefix passed to PHP's ./configure:&quot; And could not find documentation on theses parameters. Possibly this has to do with the &quot;missing .dsp file&quot; message...?

After my tests (see above) I find Enchant data in three different Locations. I do not understand why. I would not expect anything to go to the php/ext directory that is not compiled.

c:\progs\php\ext\enchant (seems to be complete w. 14 files and 3 folders incl. credits and enchant-1.1.0.tgz)
c:\progs\php\tmp\enchant (only for files containing .m4, .w32, .h and .c)
c:\progs\php\tmp\enchant-1.0.1 (seems to be complete w. 13 files and 3 folders but no credits and no tar)

Last but not least, the answer to the question often postet on the web that leads to some frustration:
What is a .dsp file? (Refer to ERROR: The DSP enchant.dsp does not exist. above). For anyone who gets here looking for 
answers - working in a MS environment DSP is commonly associated with Microsoft Developer Studio project. I did not manage to compile PHP Code of the enchant sources yet using Visual C++ Express 2008 - it seems to be time consuming for beginners. If anyone needs to go throught it, the following offers good reference:
http://blog.astrumfutura.com/archives/327-Compiling-PHP-for-Windows-Vista-using-Visual-C++-Express-2008-Seriously!.html
http://www.phpbuilder.com/manual/en/install.windows.building.php

I for my part decided not to use Enchant or any other .dll that is not released (for Windows)... for now. 

I now use Environment Variable PHP_PEAR_PHP_BIN = c:\progs\php\php.exe and &quot;PHP CLI/CGI binary&quot; = c:\progs\php for the best possible running state:

c:\progs\php&gt;PEAR install Enchant
No releases available for package &quot;pear.php.net/Enchant&quot; - package pecl/Enchant can be installed with &quot;pecl install Echant&quot;
install failed

c:\progs\php&gt;PECL install enchant
downloading enchant-1.1.0.tgz ...
Starting to download enchant-1.1.0.tgz (9,464 bytes)
.....done: 9,464 bytes
4 source files, building
ERROR: The DSP enchant.dsp does not exist.

Maybe when the Error message is printed out you could also print out the hint that the &quot;PHP SDK&quot; is needed for creating a .dsp file or that under Windows, this Extension needs to be manually compiled with whatever method...

Test script:
---------------
- Install PHP 5.3.1 on a Windows 2008 System
- Use go-pear.bat to install pear. 
- For Path to CLI php.exe try to use c:\php, note the Error Message. Use c:\php\php.exe and submit
- After the installation, try to issue &quot;PECL INSTALL Enchant&quot; command. Note the warning &quot;php_suffix does not match&quot;.
- Issue the command &quot;pear install PEAR_Frontend_Web-0.7.4&quot; do the necessary copying and open the Web Frontend
- In the configuration, change the value for PHP CLI/CGI binary from  c:\progs\php\php.exe to c:\progs\php. Save the configuration
-  Issue the command &quot;PECL INSTALL Enchant&quot; again and note that the message &quot;php_suffix does not match&quot; is gone.




Expected result:
----------------
Its not a script. But after successfully installing PEAR under windows with no error message or warning using go-pear.bat, the PECL Install $Extension command should run without showing the message &quot;php_suffix does not match&quot;.

The PECL command provides a .dsp file and installs or compiles the enchant extension correctly. Otherwise a hint is given how to resolve the issue or what to look for. Is that a result of &quot;compilation failed&quot; or &quot;preparation of compilation failed because xyz.file is missing or it simply does not work under Windows and needs to be compiled manually&quot;...  I would expect to find documentation on the PEAR Website what is to be done if &quot;No releases&quot; are &quot;available for package&quot; for Windows users (I.e. if no releases are available and you are a windows user you need to manually compile using gnu make or whatever).

Actual result:
--------------
After successfully installing PEAR under windows with no error messages or warnings using go-pear.bat, the PECL Install $Extension command runs showing the Warning &quot;php_suffix does not match&quot;.

ERROR: The DSP enchant.dsp does not exist. is shown.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by amohr
2010-01-20T21:03:09+00:00
PHP: 5.3.1 OS: Windows 2008 Server 64bit Package Version: 1.9.0

Description:
------------
I believe go-pear.bat creates a wrong parameter in pear.ini which leads to an error message &quot;config variable php_suffix does not match&quot; when commiting PEAR or PECL commands in Wondows environments. Or php_suffix is compared to a wrong value. 

Theres a lot of frustration on the web about problems with php_suffix variable and missing .dsp files - but no solutions. 

I can hopefully contribute to solve respectively clarify that a bit.

During installation of PEAR using go-pear.bat it is required to enter a correct paramater for Path to CLI php.exe. Entering only the path leads to an error message. The complete path to php.ini is required to be configured for the installation to succeed (allthough commonly the &quot;php binary&quot; under windows is pointed at like c:\php without php.exe). So the following must be entered:

12. Path to CLI php.exe: C:\progs\php\php.exe

***** In effect the Env Var vor PHP_PEAR_PHP_BIN is set to the complete Path

&quot;PHP_PEAR_SYSCONF_DIR&quot;=&quot;c:\\progs\\php&quot;
&quot;PHP_PEAR_INSTALL_DIR&quot;=&quot;c:\\progs\\php\\pear&quot;
&quot;PHP_PEAR_DOC_DIR&quot;=&quot;c:\\progs\\php\\docs&quot;
&quot;PHP_PEAR_BIN_DIR&quot;=&quot;c:\\progs\\php&quot;
&quot;PHP_PEAR_DATA_DIR&quot;=&quot;c:\\progs\\php\\data&quot;
&quot;PHP_PEAR_PHP_BIN&quot;=&quot;C:\\progs\\php\\php.exe&quot;
&quot;PHP_PEAR_TEST_DIR&quot;=&quot;c:\\progs\\php\\tests&quot;

***** To verify my PEAR installation I installed Web Package Manager

c:\progs\php&gt;pear install PEAR_Frontend_Web-0.7.4

***** I Copied index.php to a webserver location and verified frontend functionality, which is good. Assuming the PEAR configuration is correct, I proceeded with the installation of a PEAR Package (in my case: Enchant):

**** I tried:

c:\progs\php&gt;pecl install enchant
downloading enchant-1.1.0.tgz ...
Starting to download enchant-1.1.0.tgz (9,464 bytes)
.....done: 9,464 bytes
4 source files, building
WARNING: php_bin C:\progs\php\php.exe appears to have a suffix \php.exe, but config variable php_suffix does not match
ERROR: The DSP enchant.dsp does not exist.

**** Then I tried:

c:\progs\php&gt;pecl bundle enchant
downloading enchant-1.1.0.tgz ...
Starting to download enchant-1.1.0.tgz (9,464 bytes)
.....done: 9,464 bytes
Package ready at 'c:\progs\php\ext\enchant'

**** So: bundeling seems OK... so I tried building:

c:\progs\php&gt;pecl build enchant
WARNING: php_bin C:\progs\php\php.exe appears to have a suffix \php.exe, but config variable php_suffix d
oes not match
Unable to open enchant

***** ...Note: the .dsp is not mentioned in this message...


***** First thing I tried then is to modify the value in pear.ini with text editor:

...s:12:&quot;c:\progs\php&quot;...

***** Result:

c:\progs\php&gt;pecl build enchant
Notice: unserialize(): Error at offset 434 of 556 bytes in Config.php on line 1050
ERROR: The default config file is not a valid config file or is corrupted.

***** I changed the value back my text editor to ...s:12:&quot;c:\progs\php\php.exe&quot;... which resolved the &quot;corrupt&quot; message. I 

switched to the Web frontend package manager and modified the configuration there. I changed the following to values (the latter was empty): 

PHP CLI/CGI binary: c:\progs\php    
php.ini location: c:\progs\php

***** I saved the configuration and got the following two results:

c:\progs\php&gt;pecl build enchant
Unable to open enchant

c:\progs\php&gt;pecl install enchant
downloading enchant-1.1.0.tgz ...
Starting to download enchant-1.1.0.tgz (9,464 bytes)
.....done: 9,464 bytes
4 source files, building
ERROR: The DSP enchant.dsp does not exist.

***** This might be a clue: I observed following behaviour in pear.ini on saving the configuration using the web frontend

When changing the value for PHP CLI/CGI binary, the parameter ...s:12:&quot;c:\progs\php&quot;... changes to 

...s:20:&quot;c:\progs\php\php.exe&quot;... (S:25 in a second try) when I change back to the &quot;correct&quot; value it changes back to 

...s:12:&quot;c:\progs\php&quot;...

***** In the Web Frontend Package Manager I do not understand the parameters needed for &quot;--program-prefix passed to PHP's ./configure:&quot; And could not find documentation on theses parameters. Possibly this has to do with the &quot;missing .dsp file&quot; message...?

After my tests (see above) I find Enchant data in three different Locations. I do not understand why. I would not expect anything to go to the php/ext directory that is not compiled.

c:\progs\php\ext\enchant (seems to be complete w. 14 files and 3 folders incl. credits and enchant-1.1.0.tgz)
c:\progs\php\tmp\enchant (only for files containing .m4, .w32, .h and .c)
c:\progs\php\tmp\enchant-1.0.1 (seems to be complete w. 13 files and 3 folders but no credits and no tar)

Last but not least, the answer to the question often postet on the web that leads to some frustration:
What is a .dsp file? (Refer to ERROR: The DSP enchant.dsp does not exist. above). For anyone who gets here looking for 
answers - working in a MS environment DSP is commonly associated with Microsoft Developer Studio project. I did not manage to compile PHP Code of the enchant sources yet using Visual C++ Express 2008 - it seems to be time consuming for beginners. If anyone needs to go throught it, the following offers good reference:
http://blog.astrumfutura.com/archives/327-Compiling-PHP-for-Windows-Vista-using-Visual-C++-Express-2008-Seriously!.html
http://www.phpbuilder.com/manual/en/install.windows.building.php

I for my part decided not to use Enchant or any other .dll that is not released (for Windows)... for now. 

I now use Environment Variable PHP_PEAR_PHP_BIN = c:\progs\php\php.exe and &quot;PHP CLI/CGI binary&quot; = c:\progs\php for the best possible running state:

c:\progs\php&gt;PEAR install Enchant
No releases available for package &quot;pear.php.net/Enchant&quot; - package pecl/Enchant can be installed with &quot;pecl install Echant&quot;
install failed

c:\progs\php&gt;PECL install enchant
downloading enchant-1.1.0.tgz ...
Starting to download enchant-1.1.0.tgz (9,464 bytes)
.....done: 9,464 bytes
4 source files, building
ERROR: The DSP enchant.dsp does not exist.

Maybe when the Error message is printed out you could also print out the hint that the &quot;PHP SDK&quot; is needed for creating a .dsp file or that under Windows, this Extension needs to be manually compiled with whatever method...

Test script:
---------------
- Install PHP 5.3.1 on a Windows 2008 System
- Use go-pear.bat to install pear. 
- For Path to CLI php.exe try to use c:\php, note the Error Message. Use c:\php\php.exe and submit
- After the installation, try to issue &quot;PECL INSTALL Enchant&quot; command. Note the warning &quot;php_suffix does not match&quot;.
- Issue the command &quot;pear install PEAR_Frontend_Web-0.7.4&quot; do the necessary copying and open the Web Frontend
- In the configuration, change the value for PHP CLI/CGI binary from  c:\progs\php\php.exe to c:\progs\php. Save the configuration
-  Issue the command &quot;PECL INSTALL Enchant&quot; again and note that the message &quot;php_suffix does not match&quot; is gone.




Expected result:
----------------
Its not a script. But after successfully installing PEAR under windows with no error message or warning using go-pear.bat, the PECL Install $Extension command should run without showing the message &quot;php_suffix does not match&quot;.

The PECL command provides a .dsp file and installs or compiles the enchant extension correctly. Otherwise a hint is given how to resolve the issue or what to look for. Is that a result of &quot;compilation failed&quot; or &quot;preparation of compilation failed because xyz.file is missing or it simply does not work under Windows and needs to be compiled manually&quot;...  I would expect to find documentation on the PEAR Website what is to be done if &quot;No releases&quot; are &quot;available for package&quot; for Windows users (I.e. if no releases are available and you are a windows user you need to manually compile using gnu make or whatever).

Actual result:
--------------
After successfully installing PEAR under windows with no error messages or warnings using go-pear.bat, the PECL Install $Extension command runs showing the Warning &quot;php_suffix does not match&quot;.

ERROR: The DSP enchant.dsp does not exist. is shown.</pre>]]></description>
      <dc:date>2010-01-20T21:03:09+00:00</dc:date>
      <dc:creator>andreas &amp;#x64;&amp;#111;&amp;#x74; mohr &amp;#x61;&amp;#116; teraport &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16959">
      <title>PEAR: Bug 16959 [Open] Trying to upgrade Archive_Tar 1.3.3 to Archive_Tar 1.3.4</title>
      <link>http://pear.php.net/bugs/16959</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by rquadling
2009-12-31T14:46:58+00:00
PHP: 5.3.1 OS: Windows XP SP3 Package Version: 1.9.0

Description:
------------
Hi.

Using pear upgrade-all to upgrade Archive_Tar 1.3.3 to Archive_Tar 1.3.4 is producing an error due to the incompatibility between the two. Whilst that is an issue, my error does not relate to that, but rather the output for the error (See the Actual Results below).

The issue is that PEAR_Frontend_CLI (that's all I've looked into) is using ...

isset($data['key'])

where $data is a string.

See http://svn.php.net/viewvc/pear/pear-core/trunk/PEAR/Frontend/CLI.php?view=markup#l399 as an example.

And so this will always evaluate to true (though not for PHPV5.0.0 - V5.0.2 it seems).

In my testing, the actual value of $data is ...

string(18) &quot;upgrade-all failed&quot;

So, $data['release_warnings'] === 'u' which is clearly wrong.


As I see it, $data must be cast to an array at the beginning of the method and use array_key_exists() rather than isset().

I don't know who will read this, but my last bug report (with patch) hasn't been processed. Though it really is the same error as this one - incorrect assumption that $data is an array when it is actually a string.

Regards,

Richard.

Test script:
---------------
pear upgrade-all

Expected result:
----------------
Will upgrade channel://pear.php.net/archive_tar
pear/pear dependency package &quot;pear/Archive_Tar&quot; installed version 1.3.4 is not the recommended version 1.3.3, but may be compatible, use --force to install
pear/Archive_Tar cannot be installed, conflicts with installed packages
No valid packages found

RELEASE WARNINGS
================
upgrade-all failed

Actual result:
--------------
Will upgrade channel://pear.php.net/archive_tar
pear/pear dependency package &quot;pear/Archive_Tar&quot; installed version 1.3.4 is not the recommended version 1.3.3, but may be compatible, use --force to install
pear/Archive_Tar cannot be installed, conflicts with installed packages
No valid packages found

RELEASE WARNINGS
================
u

u</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by rquadling
2009-12-31T14:46:58+00:00
PHP: 5.3.1 OS: Windows XP SP3 Package Version: 1.9.0

Description:
------------
Hi.

Using pear upgrade-all to upgrade Archive_Tar 1.3.3 to Archive_Tar 1.3.4 is producing an error due to the incompatibility between the two. Whilst that is an issue, my error does not relate to that, but rather the output for the error (See the Actual Results below).

The issue is that PEAR_Frontend_CLI (that's all I've looked into) is using ...

isset($data['key'])

where $data is a string.

See http://svn.php.net/viewvc/pear/pear-core/trunk/PEAR/Frontend/CLI.php?view=markup#l399 as an example.

And so this will always evaluate to true (though not for PHPV5.0.0 - V5.0.2 it seems).

In my testing, the actual value of $data is ...

string(18) &quot;upgrade-all failed&quot;

So, $data['release_warnings'] === 'u' which is clearly wrong.


As I see it, $data must be cast to an array at the beginning of the method and use array_key_exists() rather than isset().

I don't know who will read this, but my last bug report (with patch) hasn't been processed. Though it really is the same error as this one - incorrect assumption that $data is an array when it is actually a string.

Regards,

Richard.

Test script:
---------------
pear upgrade-all

Expected result:
----------------
Will upgrade channel://pear.php.net/archive_tar
pear/pear dependency package &quot;pear/Archive_Tar&quot; installed version 1.3.4 is not the recommended version 1.3.3, but may be compatible, use --force to install
pear/Archive_Tar cannot be installed, conflicts with installed packages
No valid packages found

RELEASE WARNINGS
================
upgrade-all failed

Actual result:
--------------
Will upgrade channel://pear.php.net/archive_tar
pear/pear dependency package &quot;pear/Archive_Tar&quot; installed version 1.3.4 is not the recommended version 1.3.3, but may be compatible, use --force to install
pear/Archive_Tar cannot be installed, conflicts with installed packages
No valid packages found

RELEASE WARNINGS
================
u

u</pre>]]></description>
      <dc:date>2009-12-31T14:46:58+00:00</dc:date>
      <dc:creator>RQuadling &amp;#x61;&amp;#116; GMail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16939">
      <title>PEAR: Bug 16939 [Open] PEAR Installer should not write to C:\Windows</title>
      <link>http://pear.php.net/bugs/16939</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by sebastian
2009-12-22T21:30:31+00:00
PHP: 5.3.1 OS: Windows 7 Package Version: 1.9.0

Description:
------------
* Clean install of PHP 5.3.1 to personal folder.
* Run go-pear.bat
* Installation succeeds, but discovering a channel does not work
* This is FAIL.

Expected result:
----------------
No write to C:\Windows\pear.ini

Actual result:
--------------
C:\Users\Sebastian Bergmann\php&gt;go-pear

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : local
Please confirm local copy by typing 'yes' : yes

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)                   : C:\Users\Sebastian Bergmann\
php
 2. Temporary directory for processing            : C:\Users\Sebastian Bergmann\
php\tmp
 3. Temporary directory for downloads             : C:\Users\Sebastian Bergmann\
php\tmp
 4. Binaries directory                            : C:\Users\Sebastian Bergmann\
php
 5. PHP code directory ($php_dir)                 : C:\Users\Sebastian Bergmann\
php\pear
 6. Documentation directory                       : C:\Users\Sebastian Bergmann\
php\docs
 7. Data directory                                : C:\Users\Sebastian Bergmann\
php\data
 8. User-modifiable configuration files directory : C:\Users\Sebastian Bergmann\
php\cfg
 9. Public Web Files directory                    : C:\Users\Sebastian Bergmann\
php\www
10. Tests directory                               : C:\Users\Sebastian Bergmann\
php\tests
11. Name of configuration file                    : C:\Users\Sebastian Bergmann\
php\pear.ini
12. Path to CLI php.exe                           : .

1-12, 'all' or Enter to continue:
Der Befehl &quot;&quot;.\php.exe&quot;&quot; ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

*WARNING*
We found php.exe under ., it uses an unknown SAPI. PEAR commandline
tool has not been tested with it, if you have a CLI (or CGI) php.exe available,
we strongly recommend using it.

Beginning install...

Warning: date(): It is not safe to rely on the system's timezone settings. You a
re *required* to use the date.timezone setting or the date_default_timezone_set(
) function. In case you used any of those methods and you are still getting this
 warning, you most likely misspelled the timezone identifier. We selected 'Europ
e/Paris' for '1.0/no DST' instead in phar://C:/Users/Sebastian Bergmann/php/PEAR
/go-pear.phar/PEAR/Registry.php on line 1012

Warning: date(): It is not safe to rely on the system's timezone settings. You a
re *required* to use the date.timezone setting or the date_default_timezone_set(
) function. In case you used any of those methods and you are still getting this
 warning, you most likely misspelled the timezone identifier. We selected 'Europ
e/Paris' for '1.0/no DST' instead in phar://C:/Users/Sebastian Bergmann/php/PEAR
/go-pear.phar/PEAR/Registry.php on line 1012

Warning: date(): It is not safe to rely on the system's timezone settings. You a
re *required* to use the date.timezone setting or the date_default_timezone_set(
) function. In case you used any of those methods and you are still getting this
 warning, you most likely misspelled the timezone identifier. We selected 'Europ
e/Paris' for '1.0/no DST' instead in phar://C:/Users/Sebastian Bergmann/php/PEAR
/go-pear.phar/PEAR/Registry.php on line 1012

Warning: date(): It is not safe to rely on the system's timezone settings. You a
re *required* to use the date.timezone setting or the date_default_timezone_set(
) function. In case you used any of those methods and you are still getting this
 warning, you most likely misspelled the timezone identifier. We selected 'Europ
e/Paris' for '1.0/no DST' instead in phar://C:/Users/Sebastian Bergmann/php/PEAR
/go-pear.phar/PEAR/Registry.php on line 1012
Configuration written to C:\Users\Sebastian Bergmann\php\pear.ini...
Initialized registry...
Preparing to install...
installing phar://C:/Users/Sebastian Bergmann/php/PEAR/go-pear.phar/PEAR/go-pear
-tarballs/Archive_Tar-1.3.3.tar...
installing phar://C:/Users/Sebastian Bergmann/php/PEAR/go-pear.phar/PEAR/go-pear
-tarballs/Console_Getopt-1.2.3.tar...
installing phar://C:/Users/Sebastian Bergmann/php/PEAR/go-pear.phar/PEAR/go-pear
-tarballs/PEAR-1.9.0.tar...
installing phar://C:/Users/Sebastian Bergmann/php/PEAR/go-pear.phar/PEAR/go-pear
-tarballs/Structures_Graph-1.0.2.tar...
installing phar://C:/Users/Sebastian Bergmann/php/PEAR/go-pear.phar/PEAR/go-pear
-tarballs/XML_Util-1.2.1.tar...
install ok: channel://pear.php.net/Archive_Tar-1.3.3
install ok: channel://pear.php.net/Console_Getopt-1.2.3
install ok: channel://pear.php.net/Structures_Graph-1.0.2
install ok: channel://pear.php.net/XML_Util-1.2.1
install ok: channel://pear.php.net/PEAR-1.9.0
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)

PEAR: To install optional features use &quot;pear install pear/PEAR#featurename&quot;

******************************************************************************
WARNING!  The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified:
&lt;C:\Users\Sebastian Bergmann\php\pear&gt;
If the specified directory is also not in the include_path used by
your scripts, you will have problems getting any PEAR packages working.

Current include path           : .;C:\php5\pear
Configured directory           : C:\Users\Sebastian Bergmann\php\pear
Currently used php.ini (guess) :
Press Enter to continue:

** WARNING! Old version found at C:\Users\Sebastian Bergmann\php, please remove
it or be sure to use the new c:\users\sebastian bergmann\php\pear.bat command

The 'pear' command is now at your service at c:\users\sebastian bergmann\php\pea
r.bat

** The 'pear' command is not currently in your PATH, so you need to
** use 'c:\users\sebastian bergmann\php\pear.bat' until you have added
** 'C:\Users\Sebastian Bergmann\php' to your PATH environment variable.

Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.

For more information about PEAR, see:

  http://pear.php.net/faq.php
  http://pear.php.net/manual/

Thanks for using go-pear!

DrÃ¼cken Sie eine beliebige Taste . . .

C:\Users\Sebastian Bergmann\php&gt;pear
Commands:
build                  Build an Extension From C Source
bundle                 Unpacks a Pecl Package
channel-add            Add a Channel
channel-alias          Specify an alias to a channel name
channel-delete         Remove a Channel From the List
channel-discover       Initialize a Channel from its server
channel-info           Retrieve Information on a Channel
channel-login          Connects and authenticates to remote channel server
channel-logout         Logs out from the remote channel server
channel-update         Update an Existing Channel
clear-cache            Clear Web Services Cache
config-create          Create a Default configuration file
config-get             Show One Setting
config-help            Show Information About Setting
config-set             Change Setting
config-show            Show All Settings
convert                Convert a package.xml 1.0 to package.xml 2.0 format
cvsdiff                Run a &quot;cvs diff&quot; for all files in a package
cvstag                 Set CVS Release Tag
download               Download Package
download-all           Downloads each available package from the default channel

info                   Display information about a package
install                Install Package
list                   List Installed Packages In The Default Channel
list-all               List All Packages
list-channels          List Available Channels
list-files             List Files In Installed Package
list-upgrades          List Available Upgrades
login                  Connects and authenticates to remote server [Deprecated i
n favor of channel-login]
logout                 Logs out from the remote server [Deprecated in favor of c
hannel-logout]
makerpm                Builds an RPM spec file from a PEAR package
package                Build Package
package-dependencies   Show package dependencies
package-validate       Validate Package Consistency
pickle                 Build PECL Package
remote-info            Information About Remote Packages
remote-list            List Remote Packages
run-scripts            Run Post-Install Scripts bundled with a package
run-tests              Run Regression Tests
search                 Search remote package database
shell-test             Shell Script Test
sign                   Sign a package distribution file
svntag                 Set SVN Release Tag
uninstall              Un-install Package
update-channels        Update the Channel List
upgrade                Upgrade Package
upgrade-all            Upgrade All Packages [Deprecated in favor of calling upgr
ade with no parameters]
Usage: pear [options] command [command-options] &lt;parameters&gt;
Type &quot;pear help options&quot; to list all options.
Type &quot;pear help shortcuts&quot; to list all command shortcuts.
Type &quot;pear help &lt;command&gt;&quot; to get the help for the specified command.

C:\Users\Sebastian Bergmann\php&gt;dir
 DatentrÃ¤ger in Laufwerk C: ist Windows
 Volumeseriennummer: D69C-7BE4

 Verzeichnis von C:\Users\Sebastian Bergmann\php

22.12.2009  17:26    &lt;DIR&gt;          .
22.12.2009  17:26    &lt;DIR&gt;          ..
22.12.2009  17:26    &lt;DIR&gt;          cfg
22.12.2009  17:26    &lt;DIR&gt;          data
19.11.2009  09:52    &lt;DIR&gt;          dev
22.12.2009  17:26    &lt;DIR&gt;          docs
19.11.2009  09:52    &lt;DIR&gt;          ext
19.11.2009  09:53    &lt;DIR&gt;          extras
19.11.2009  09:52         1.052.672 glib-2.dll
19.11.2009  09:52            16.896 gmodule-2.dll
19.11.2009  09:53                90 go-pear.bat
19.11.2009  09:52        11.361.792 icudt38.dll
19.11.2009  09:52         1.140.224 icuin38.dll
19.11.2009  09:52            41.472 icuio38.dll
19.11.2009  09:52           187.904 icule38.dll
19.11.2009  09:52            42.496 iculx38.dll
19.11.2009  09:52            50.176 icutest.dll
19.11.2009  09:52            99.840 icutu38.dll
19.11.2009  09:52         1.093.120 icuuc38.dll
19.11.2009  09:52            86.472 install.txt
19.11.2009  09:52         1.016.832 libeay32.dll
19.11.2009  09:52            43.008 libenchant.dll
19.11.2009  09:52            44.544 libenchant_ispell.dll
19.11.2009  09:52           293.888 libenchant_myspell.dll
19.11.2009  09:52            97.792 libpq.dll
19.11.2009  09:52             3.286 license.txt
19.11.2009  09:52           266.863 news.txt
22.12.2009  17:26    &lt;DIR&gt;          PEAR
22.12.2009  17:26             4.740 pear.bat
22.12.2009  17:26               706 pear.ini
22.12.2009  17:26             4.748 peardev.bat
22.12.2009  17:26             4.677 pecl.bat
19.11.2009  09:53                39 phar.phar.bat
19.11.2009  09:53            53.212 pharcommand.phar
19.11.2009  09:52            39.936 php-cgi.exe
19.11.2009  09:52            23.040 php-win.exe
19.11.2009  09:52            23.040 php.exe
19.11.2009  09:52             2.523 php.gif
19.11.2009  09:52            70.515 php.ini-development
19.11.2009  09:52            70.800 php.ini-production
19.11.2009  09:52         5.582.848 php5.dll
19.11.2009  09:52           791.632 php5embed.lib
19.11.2009  09:52               135 pws-php5cgi.reg
19.11.2009  09:52               139 pws-php5isapi.reg
19.11.2009  09:52            20.693 readme-redist-bins.txt
19.11.2009  09:52             1.025 snapshot.txt
19.11.2009  09:52           200.704 ssleay32.dll
22.12.2009  17:26    &lt;DIR&gt;          tests
22.12.2009  17:26    &lt;DIR&gt;          tmp
22.12.2009  17:26    &lt;DIR&gt;          www
              38 Datei(en),     23.834.519 Bytes
              12 Verzeichnis(se), 19.776.192.512 Bytes frei

C:\Users\Sebastian Bergmann\php&gt;pear channel-discover pear.phpunit.de
PEAR_Config::writeConfigFile fopen('C:\Windows\pear.ini','w') failed (fopen(C:\W
indows\pear.ini): failed to open stream: Permission denied)</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by sebastian
2009-12-22T21:30:31+00:00
PHP: 5.3.1 OS: Windows 7 Package Version: 1.9.0

Description:
------------
* Clean install of PHP 5.3.1 to personal folder.
* Run go-pear.bat
* Installation succeeds, but discovering a channel does not work
* This is FAIL.

Expected result:
----------------
No write to C:\Windows\pear.ini

Actual result:
--------------
C:\Users\Sebastian Bergmann\php&gt;go-pear

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : local
Please confirm local copy by typing 'yes' : yes

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)                   : C:\Users\Sebastian Bergmann\
php
 2. Temporary directory for processing            : C:\Users\Sebastian Bergmann\
php\tmp
 3. Temporary directory for downloads             : C:\Users\Sebastian Bergmann\
php\tmp
 4. Binaries directory                            : C:\Users\Sebastian Bergmann\
php
 5. PHP code directory ($php_dir)                 : C:\Users\Sebastian Bergmann\
php\pear
 6. Documentation directory                       : C:\Users\Sebastian Bergmann\
php\docs
 7. Data directory                                : C:\Users\Sebastian Bergmann\
php\data
 8. User-modifiable configuration files directory : C:\Users\Sebastian Bergmann\
php\cfg
 9. Public Web Files directory                    : C:\Users\Sebastian Bergmann\
php\www
10. Tests directory                               : C:\Users\Sebastian Bergmann\
php\tests
11. Name of configuration file                    : C:\Users\Sebastian Bergmann\
php\pear.ini
12. Path to CLI php.exe                           : .

1-12, 'all' or Enter to continue:
Der Befehl &quot;&quot;.\php.exe&quot;&quot; ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

*WARNING*
We found php.exe under ., it uses an unknown SAPI. PEAR commandline
tool has not been tested with it, if you have a CLI (or CGI) php.exe available,
we strongly recommend using it.

Beginning install...

Warning: date(): It is not safe to rely on the system's timezone settings. You a
re *required* to use the date.timezone setting or the date_default_timezone_set(
) function. In case you used any of those methods and you are still getting this
 warning, you most likely misspelled the timezone identifier. We selected 'Europ
e/Paris' for '1.0/no DST' instead in phar://C:/Users/Sebastian Bergmann/php/PEAR
/go-pear.phar/PEAR/Registry.php on line 1012

Warning: date(): It is not safe to rely on the system's timezone settings. You a
re *required* to use the date.timezone setting or the date_default_timezone_set(
) function. In case you used any of those methods and you are still getting this
 warning, you most likely misspelled the timezone identifier. We selected 'Europ
e/Paris' for '1.0/no DST' instead in phar://C:/Users/Sebastian Bergmann/php/PEAR
/go-pear.phar/PEAR/Registry.php on line 1012

Warning: date(): It is not safe to rely on the system's timezone settings. You a
re *required* to use the date.timezone setting or the date_default_timezone_set(
) function. In case you used any of those methods and you are still getting this
 warning, you most likely misspelled the timezone identifier. We selected 'Europ
e/Paris' for '1.0/no DST' instead in phar://C:/Users/Sebastian Bergmann/php/PEAR
/go-pear.phar/PEAR/Registry.php on line 1012

Warning: date(): It is not safe to rely on the system's timezone settings. You a
re *required* to use the date.timezone setting or the date_default_timezone_set(
) function. In case you used any of those methods and you are still getting this
 warning, you most likely misspelled the timezone identifier. We selected 'Europ
e/Paris' for '1.0/no DST' instead in phar://C:/Users/Sebastian Bergmann/php/PEAR
/go-pear.phar/PEAR/Registry.php on line 1012
Configuration written to C:\Users\Sebastian Bergmann\php\pear.ini...
Initialized registry...
Preparing to install...
installing phar://C:/Users/Sebastian Bergmann/php/PEAR/go-pear.phar/PEAR/go-pear
-tarballs/Archive_Tar-1.3.3.tar...
installing phar://C:/Users/Sebastian Bergmann/php/PEAR/go-pear.phar/PEAR/go-pear
-tarballs/Console_Getopt-1.2.3.tar...
installing phar://C:/Users/Sebastian Bergmann/php/PEAR/go-pear.phar/PEAR/go-pear
-tarballs/PEAR-1.9.0.tar...
installing phar://C:/Users/Sebastian Bergmann/php/PEAR/go-pear.phar/PEAR/go-pear
-tarballs/Structures_Graph-1.0.2.tar...
installing phar://C:/Users/Sebastian Bergmann/php/PEAR/go-pear.phar/PEAR/go-pear
-tarballs/XML_Util-1.2.1.tar...
install ok: channel://pear.php.net/Archive_Tar-1.3.3
install ok: channel://pear.php.net/Console_Getopt-1.2.3
install ok: channel://pear.php.net/Structures_Graph-1.0.2
install ok: channel://pear.php.net/XML_Util-1.2.1
install ok: channel://pear.php.net/PEAR-1.9.0
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)

PEAR: To install optional features use &quot;pear install pear/PEAR#featurename&quot;

******************************************************************************
WARNING!  The include_path defined in the currently used php.ini does not
contain the PEAR PHP directory you just specified:
&lt;C:\Users\Sebastian Bergmann\php\pear&gt;
If the specified directory is also not in the include_path used by
your scripts, you will have problems getting any PEAR packages working.

Current include path           : .;C:\php5\pear
Configured directory           : C:\Users\Sebastian Bergmann\php\pear
Currently used php.ini (guess) :
Press Enter to continue:

** WARNING! Old version found at C:\Users\Sebastian Bergmann\php, please remove
it or be sure to use the new c:\users\sebastian bergmann\php\pear.bat command

The 'pear' command is now at your service at c:\users\sebastian bergmann\php\pea
r.bat

** The 'pear' command is not currently in your PATH, so you need to
** use 'c:\users\sebastian bergmann\php\pear.bat' until you have added
** 'C:\Users\Sebastian Bergmann\php' to your PATH environment variable.

Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.

For more information about PEAR, see:

  http://pear.php.net/faq.php
  http://pear.php.net/manual/

Thanks for using go-pear!

DrÃ¼cken Sie eine beliebige Taste . . .

C:\Users\Sebastian Bergmann\php&gt;pear
Commands:
build                  Build an Extension From C Source
bundle                 Unpacks a Pecl Package
channel-add            Add a Channel
channel-alias          Specify an alias to a channel name
channel-delete         Remove a Channel From the List
channel-discover       Initialize a Channel from its server
channel-info           Retrieve Information on a Channel
channel-login          Connects and authenticates to remote channel server
channel-logout         Logs out from the remote channel server
channel-update         Update an Existing Channel
clear-cache            Clear Web Services Cache
config-create          Create a Default configuration file
config-get             Show One Setting
config-help            Show Information About Setting
config-set             Change Setting
config-show            Show All Settings
convert                Convert a package.xml 1.0 to package.xml 2.0 format
cvsdiff                Run a &quot;cvs diff&quot; for all files in a package
cvstag                 Set CVS Release Tag
download               Download Package
download-all           Downloads each available package from the default channel

info                   Display information about a package
install                Install Package
list                   List Installed Packages In The Default Channel
list-all               List All Packages
list-channels          List Available Channels
list-files             List Files In Installed Package
list-upgrades          List Available Upgrades
login                  Connects and authenticates to remote server [Deprecated i
n favor of channel-login]
logout                 Logs out from the remote server [Deprecated in favor of c
hannel-logout]
makerpm                Builds an RPM spec file from a PEAR package
package                Build Package
package-dependencies   Show package dependencies
package-validate       Validate Package Consistency
pickle                 Build PECL Package
remote-info            Information About Remote Packages
remote-list            List Remote Packages
run-scripts            Run Post-Install Scripts bundled with a package
run-tests              Run Regression Tests
search                 Search remote package database
shell-test             Shell Script Test
sign                   Sign a package distribution file
svntag                 Set SVN Release Tag
uninstall              Un-install Package
update-channels        Update the Channel List
upgrade                Upgrade Package
upgrade-all            Upgrade All Packages [Deprecated in favor of calling upgr
ade with no parameters]
Usage: pear [options] command [command-options] &lt;parameters&gt;
Type &quot;pear help options&quot; to list all options.
Type &quot;pear help shortcuts&quot; to list all command shortcuts.
Type &quot;pear help &lt;command&gt;&quot; to get the help for the specified command.

C:\Users\Sebastian Bergmann\php&gt;dir
 DatentrÃ¤ger in Laufwerk C: ist Windows
 Volumeseriennummer: D69C-7BE4

 Verzeichnis von C:\Users\Sebastian Bergmann\php

22.12.2009  17:26    &lt;DIR&gt;          .
22.12.2009  17:26    &lt;DIR&gt;          ..
22.12.2009  17:26    &lt;DIR&gt;          cfg
22.12.2009  17:26    &lt;DIR&gt;          data
19.11.2009  09:52    &lt;DIR&gt;          dev
22.12.2009  17:26    &lt;DIR&gt;          docs
19.11.2009  09:52    &lt;DIR&gt;          ext
19.11.2009  09:53    &lt;DIR&gt;          extras
19.11.2009  09:52         1.052.672 glib-2.dll
19.11.2009  09:52            16.896 gmodule-2.dll
19.11.2009  09:53                90 go-pear.bat
19.11.2009  09:52        11.361.792 icudt38.dll
19.11.2009  09:52         1.140.224 icuin38.dll
19.11.2009  09:52            41.472 icuio38.dll
19.11.2009  09:52           187.904 icule38.dll
19.11.2009  09:52            42.496 iculx38.dll
19.11.2009  09:52            50.176 icutest.dll
19.11.2009  09:52            99.840 icutu38.dll
19.11.2009  09:52         1.093.120 icuuc38.dll
19.11.2009  09:52            86.472 install.txt
19.11.2009  09:52         1.016.832 libeay32.dll
19.11.2009  09:52            43.008 libenchant.dll
19.11.2009  09:52            44.544 libenchant_ispell.dll
19.11.2009  09:52           293.888 libenchant_myspell.dll
19.11.2009  09:52            97.792 libpq.dll
19.11.2009  09:52             3.286 license.txt
19.11.2009  09:52           266.863 news.txt
22.12.2009  17:26    &lt;DIR&gt;          PEAR
22.12.2009  17:26             4.740 pear.bat
22.12.2009  17:26               706 pear.ini
22.12.2009  17:26             4.748 peardev.bat
22.12.2009  17:26             4.677 pecl.bat
19.11.2009  09:53                39 phar.phar.bat
19.11.2009  09:53            53.212 pharcommand.phar
19.11.2009  09:52            39.936 php-cgi.exe
19.11.2009  09:52            23.040 php-win.exe
19.11.2009  09:52            23.040 php.exe
19.11.2009  09:52             2.523 php.gif
19.11.2009  09:52            70.515 php.ini-development
19.11.2009  09:52            70.800 php.ini-production
19.11.2009  09:52         5.582.848 php5.dll
19.11.2009  09:52           791.632 php5embed.lib
19.11.2009  09:52               135 pws-php5cgi.reg
19.11.2009  09:52               139 pws-php5isapi.reg
19.11.2009  09:52            20.693 readme-redist-bins.txt
19.11.2009  09:52             1.025 snapshot.txt
19.11.2009  09:52           200.704 ssleay32.dll
22.12.2009  17:26    &lt;DIR&gt;          tests
22.12.2009  17:26    &lt;DIR&gt;          tmp
22.12.2009  17:26    &lt;DIR&gt;          www
              38 Datei(en),     23.834.519 Bytes
              12 Verzeichnis(se), 19.776.192.512 Bytes frei

C:\Users\Sebastian Bergmann\php&gt;pear channel-discover pear.phpunit.de
PEAR_Config::writeConfigFile fopen('C:\Windows\pear.ini','w') failed (fopen(C:\W
indows\pear.ini): failed to open stream: Permission denied)</pre>]]></description>
      <dc:date>2010-04-08T02:59:37+00:00</dc:date>
      <dc:creator>sb &amp;#x61;&amp;#116; sebastian-bergmann &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16894">
      <title>PEAR: Bug 16894 [Open] Custom Role Including failed.</title>
      <link>http://pear.php.net/bugs/16894</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by thirakawa
2009-12-09T19:22:51+00:00
PHP: 5.2.5 OS: UNIX/Windows Package Version: 1.9.0

Description:
------------
Including information about custom roles will be failed when I 
try to create to instance of PEAR_Config.

PEAR_Config: line 1094

    function _addConfigVars($class, $vars)
    {
        static $called = array();
        if (isset($called[$class])) {
            return;
        }

those part of code will reject to set custom role information. I 
traced source code but I think those part doesn't make sense.

I think its BUG.

Thanks</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by thirakawa
2009-12-09T19:22:51+00:00
PHP: 5.2.5 OS: UNIX/Windows Package Version: 1.9.0

Description:
------------
Including information about custom roles will be failed when I 
try to create to instance of PEAR_Config.

PEAR_Config: line 1094

    function _addConfigVars($class, $vars)
    {
        static $called = array();
        if (isset($called[$class])) {
            return;
        }

those part of code will reject to set custom role information. I 
traced source code but I think those part doesn't make sense.

I think its BUG.

Thanks</pre>]]></description>
      <dc:date>2009-12-10T09:26:20+00:00</dc:date>
      <dc:creator>takah &amp;#x61;&amp;#116; craft9 &amp;#x64;&amp;#111;&amp;#x74; biz</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16654">
      <title>PEAR: Bug 16654 [Assigned] &quot;pear upgrade-all&quot; fails with Warning: mkdir(): File exists</title>
      <link>http://pear.php.net/bugs/16654</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by mjs
2009-09-29T04:06:03+00:00
PHP: 5.3.0 OS: Ubuntu Package Version: 1.9.0

Description:
------------
Output of &quot;pear upgrade-all&quot;:

mel:~$ pear upgrade-all
Will upgrade channel://pear.php.net/pear
downloading PEAR-1.9.0.tgz ...
Starting to download PEAR-1.9.0.tgz (291,634 bytes)
.............................................................done: 291,634 bytes

Warning: mkdir(): File exists in System.php on line 277
PHP Warning:  mkdir(): File exists in /usr/local/php-
5.3.0/lib/php/System.php on line 277
PHP Stack trace:
PHP   1. {main}() /usr/local/php-5.3.0/lib/php/pearcmd.php:0
PHP   2. PEAR_Command_Common-&gt;run() /usr/local/php-
5.3.0/lib/php/pearcmd.php:308
PHP   3. PEAR_Command_Install-&gt;doUpgradeAll() /usr/local/php-
5.3.0/lib/php/PEAR/Command/Common.php:271
PHP   4. PEAR_Command_Install-&gt;doInstall() /usr/local/php-
5.3.0/lib/php/PEAR/Command/Install.php:902
PHP   5. PEAR_Installer-&gt;install() /usr/local/php-
5.3.0/lib/php/PEAR/Command/Install.php:710
PHP   6. PEAR_Installer-&gt;_installFile2() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:1411
PHP   7. PEAR_Installer-&gt;mkDirHier() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:547
PHP   8. PEAR_Common-&gt;mkDirHier() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:997
PHP   9. System-&gt;mkDir() /usr/local/php-
5.3.0/lib/php/PEAR/Common.php:234
PHP  10. mkdir() /usr/local/php-5.3.0/lib/php/System.php:277

Warning: mkdir(): File exists in /usr/local/php-5.3.0/lib/php/System.php 
on line 277

Call Stack:
    0.0027     491516   1. {main}() /usr/local/php-
5.3.0/lib/php/pearcmd.php:0
    0.0825    2920260   2. PEAR_Command_Common-&gt;run() 
/usr/local/php-5.3.0/lib/php/pearcmd.php:308
    0.0825    2920260   3. PEAR_Command_Install-&gt;doUpgradeAll() 
/usr/local/php-5.3.0/lib/php/PEAR/Command/Common.php:271
    0.0848    2938180   4. PEAR_Command_Install-&gt;doInstall() 
/usr/local/php-5.3.0/lib/php/PEAR/Command/Install.php:902
    2.8906    8338792   5. PEAR_Installer-&gt;install() /usr/local/php-
5.3.0/lib/php/PEAR/Command/Install.php:710
    3.2781   10138160   6. PEAR_Installer-&gt;_installFile2() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:1411
    3.2785   10143592   7. PEAR_Installer-&gt;mkDirHier() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:547
    3.2786   10144044   8. PEAR_Common-&gt;mkDirHier() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:997
    3.2786   10144340   9. System-&gt;mkDir() /usr/local/php-
5.3.0/lib/php/PEAR/Common.php:234
    3.2787   10145952  10. mkdir() /usr/local/php-
5.3.0/lib/php/System.php:277

ERROR: failed to mkdir /usr/local/php-5.3.0/bin/php


Expected result:
----------------
A successful upgrade.

Actual result:
--------------
An error message.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by mjs
2009-09-29T04:06:03+00:00
PHP: 5.3.0 OS: Ubuntu Package Version: 1.9.0

Description:
------------
Output of &quot;pear upgrade-all&quot;:

mel:~$ pear upgrade-all
Will upgrade channel://pear.php.net/pear
downloading PEAR-1.9.0.tgz ...
Starting to download PEAR-1.9.0.tgz (291,634 bytes)
.............................................................done: 291,634 bytes

Warning: mkdir(): File exists in System.php on line 277
PHP Warning:  mkdir(): File exists in /usr/local/php-
5.3.0/lib/php/System.php on line 277
PHP Stack trace:
PHP   1. {main}() /usr/local/php-5.3.0/lib/php/pearcmd.php:0
PHP   2. PEAR_Command_Common-&gt;run() /usr/local/php-
5.3.0/lib/php/pearcmd.php:308
PHP   3. PEAR_Command_Install-&gt;doUpgradeAll() /usr/local/php-
5.3.0/lib/php/PEAR/Command/Common.php:271
PHP   4. PEAR_Command_Install-&gt;doInstall() /usr/local/php-
5.3.0/lib/php/PEAR/Command/Install.php:902
PHP   5. PEAR_Installer-&gt;install() /usr/local/php-
5.3.0/lib/php/PEAR/Command/Install.php:710
PHP   6. PEAR_Installer-&gt;_installFile2() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:1411
PHP   7. PEAR_Installer-&gt;mkDirHier() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:547
PHP   8. PEAR_Common-&gt;mkDirHier() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:997
PHP   9. System-&gt;mkDir() /usr/local/php-
5.3.0/lib/php/PEAR/Common.php:234
PHP  10. mkdir() /usr/local/php-5.3.0/lib/php/System.php:277

Warning: mkdir(): File exists in /usr/local/php-5.3.0/lib/php/System.php 
on line 277

Call Stack:
    0.0027     491516   1. {main}() /usr/local/php-
5.3.0/lib/php/pearcmd.php:0
    0.0825    2920260   2. PEAR_Command_Common-&gt;run() 
/usr/local/php-5.3.0/lib/php/pearcmd.php:308
    0.0825    2920260   3. PEAR_Command_Install-&gt;doUpgradeAll() 
/usr/local/php-5.3.0/lib/php/PEAR/Command/Common.php:271
    0.0848    2938180   4. PEAR_Command_Install-&gt;doInstall() 
/usr/local/php-5.3.0/lib/php/PEAR/Command/Install.php:902
    2.8906    8338792   5. PEAR_Installer-&gt;install() /usr/local/php-
5.3.0/lib/php/PEAR/Command/Install.php:710
    3.2781   10138160   6. PEAR_Installer-&gt;_installFile2() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:1411
    3.2785   10143592   7. PEAR_Installer-&gt;mkDirHier() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:547
    3.2786   10144044   8. PEAR_Common-&gt;mkDirHier() /usr/local/php-
5.3.0/lib/php/PEAR/Installer.php:997
    3.2786   10144340   9. System-&gt;mkDir() /usr/local/php-
5.3.0/lib/php/PEAR/Common.php:234
    3.2787   10145952  10. mkdir() /usr/local/php-
5.3.0/lib/php/System.php:277

ERROR: failed to mkdir /usr/local/php-5.3.0/bin/php


Expected result:
----------------
A successful upgrade.

Actual result:
--------------
An error message.</pre>]]></description>
      <dc:date>2010-04-09T22:41:08+00:00</dc:date>
      <dc:creator>mjs &amp;#x61;&amp;#116; beebo &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16644">
      <title>PEAR: Bug 16644 [Assigned] pear.bat returns syntax error when parenthesis are in install path.</title>
      <link>http://pear.php.net/bugs/16644</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by bwaters
2009-09-25T21:04:31+00:00
PHP: 5.3.0 OS: Vista-64bit Package Version: 1.9.0

Description:
------------
When installed under C:\Program Files (x86)\ pear returns syntax error because the include_path directive is not properly quoted

Test script:
---------------
C:\Program Files(x86)\Zend\ZendServer\bin&gt;pear

Expected result:
----------------
list of commands....

Actual result:
--------------
Alert box form php thrown -
Syntax Error, unexpected '(' in Unknown on Line 14</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by bwaters
2009-09-25T21:04:31+00:00
PHP: 5.3.0 OS: Vista-64bit Package Version: 1.9.0

Description:
------------
When installed under C:\Program Files (x86)\ pear returns syntax error because the include_path directive is not properly quoted

Test script:
---------------
C:\Program Files(x86)\Zend\ZendServer\bin&gt;pear

Expected result:
----------------
list of commands....

Actual result:
--------------
Alert box form php thrown -
Syntax Error, unexpected '(' in Unknown on Line 14</pre>]]></description>
      <dc:date>2010-03-29T05:42:15+00:00</dc:date>
      <dc:creator>bwaters &amp;#x61;&amp;#116; solutionsbywaters &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16545">
      <title>PEAR: Feature/Change Request 16545 [Open] pear should warn about conflicting parameters</title>
      <link>http://pear.php.net/bugs/16545</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2009-08-22T04:30:58+00:00
PHP: Irrelevant OS:  Package Version: 1.9.0RC3

Description:
------------
&quot;pear upgrade -ao&quot; conflict with each other. PEAR should warn the user when he does that.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2009-08-22T04:30:58+00:00
PHP: Irrelevant OS:  Package Version: 1.9.0RC3

Description:
------------
&quot;pear upgrade -ao&quot; conflict with each other. PEAR should warn the user when he does that.</pre>]]></description>
      <dc:date>2009-08-22T04:32:50+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16243">
      <title>PEAR: Feature/Change Request 16243 [Open] Provide http_proxy config variable for each channel</title>
      <link>http://pear.php.net/bugs/16243</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by ohoareau
2009-05-20T20:39:12+00:00
PHP: 5.2.5 OS: Windows Package Version: 1.8.1

Description:
------------
When using PEAR installer inside a company lan you often 
need to use a proxy to download third party channels.
Indeed, when using your own PEAR channel on your local lan, 
you need to use proxy for third party packages (on internet, 
or for pear.php.net packages for example) BUT no proxy for 
your local packages.
Indeed if one of your local package depends on a third party 
package (example : your create a &quot;desktop installation 
package&quot; that depends on all popular php tools package 
available on internet) when you use the command :
$ pear install mychannel/mypackage
the PEAR installer will need to access directly the mychannel 
channel BUT to use a proxy to pick up the packages and 
channel.xml (REST files) on the dependencies channels.

Currently, it is possible to define channel-based configuration 
variable using config-set BUT http_proxy configuration 
variable is not activated in this list of channel-based variable 
because at least PEAR/Command/Channels.php, 
PEAR/Command/Remote.php, PEAR/Downloader.php and 
PEAR/REST.php are not compliant with multiple proxies 
(channel-based proxies).

I request to have a channel-based http_proxy configuration 
variable as a new feature.

Test script:
---------------
In PEAR 1.8.1 distribution, I made following patches :

*** PEAR/Command/Channels.php
- Line 243 : $loc = $downloader-&gt;downloadHttp($channel, $this-&gt;ui, $tmpdir,null,null,false,$chan);
- Line 545 : $this-&gt;ui, $tmpdir, null, $lastmodified,false,$params[0]);
- Line 553 : $this-&gt;ui, $tmpdir, null, $lastmodified,false,$params[0]);
- Line 593 : $this-&gt;ui, $tmpdir, null, $lastmodified,false,$params[0]);

*** PEAR/Command/Remote.php
- Line 177 : '/channel.xml', $chan-&gt;lastModified(),null,null,null,false,$channel);

*** PEAR/Downloader.php
- Line 1585 : if ($config-&gt;get('http_proxy',null,$channel) &amp;&amp;
- Line 1586 : $proxy = parse_url($config-&gt;get('http_proxy',null,$channel))) {

*** PEAR/REST.php
- Line 315 : if ($this-&gt;config-&gt;get('http_proxy',null,$channel)&amp;&amp;
- Line 316 : $proxy = parse_url($this-&gt;config-&gt;get('http_proxy',null,$channel))


I am not sure this is a complete and bug-free patch but it works fine for me


Expected result:
----------------
Channel-based http_proxy configuration variable

Actual result:
--------------
Using proxy defined in http_proxy configuration variable for all 
channels and packages</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by ohoareau
2009-05-20T20:39:12+00:00
PHP: 5.2.5 OS: Windows Package Version: 1.8.1

Description:
------------
When using PEAR installer inside a company lan you often 
need to use a proxy to download third party channels.
Indeed, when using your own PEAR channel on your local lan, 
you need to use proxy for third party packages (on internet, 
or for pear.php.net packages for example) BUT no proxy for 
your local packages.
Indeed if one of your local package depends on a third party 
package (example : your create a &quot;desktop installation 
package&quot; that depends on all popular php tools package 
available on internet) when you use the command :
$ pear install mychannel/mypackage
the PEAR installer will need to access directly the mychannel 
channel BUT to use a proxy to pick up the packages and 
channel.xml (REST files) on the dependencies channels.

Currently, it is possible to define channel-based configuration 
variable using config-set BUT http_proxy configuration 
variable is not activated in this list of channel-based variable 
because at least PEAR/Command/Channels.php, 
PEAR/Command/Remote.php, PEAR/Downloader.php and 
PEAR/REST.php are not compliant with multiple proxies 
(channel-based proxies).

I request to have a channel-based http_proxy configuration 
variable as a new feature.

Test script:
---------------
In PEAR 1.8.1 distribution, I made following patches :

*** PEAR/Command/Channels.php
- Line 243 : $loc = $downloader-&gt;downloadHttp($channel, $this-&gt;ui, $tmpdir,null,null,false,$chan);
- Line 545 : $this-&gt;ui, $tmpdir, null, $lastmodified,false,$params[0]);
- Line 553 : $this-&gt;ui, $tmpdir, null, $lastmodified,false,$params[0]);
- Line 593 : $this-&gt;ui, $tmpdir, null, $lastmodified,false,$params[0]);

*** PEAR/Command/Remote.php
- Line 177 : '/channel.xml', $chan-&gt;lastModified(),null,null,null,false,$channel);

*** PEAR/Downloader.php
- Line 1585 : if ($config-&gt;get('http_proxy',null,$channel) &amp;&amp;
- Line 1586 : $proxy = parse_url($config-&gt;get('http_proxy',null,$channel))) {

*** PEAR/REST.php
- Line 315 : if ($this-&gt;config-&gt;get('http_proxy',null,$channel)&amp;&amp;
- Line 316 : $proxy = parse_url($this-&gt;config-&gt;get('http_proxy',null,$channel))


I am not sure this is a complete and bug-free patch but it works fine for me


Expected result:
----------------
Channel-based http_proxy configuration variable

Actual result:
--------------
Using proxy defined in http_proxy configuration variable for all 
channels and packages</pre>]]></description>
      <dc:date>2009-05-21T19:24:28+00:00</dc:date>
      <dc:creator>hoareau &amp;#x64;&amp;#111;&amp;#x74; olivier &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16187">
      <title>PEAR: Bug 16187 [Open] Installer creates several pear.ini files</title>
      <link>http://pear.php.net/bugs/16187</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by runar0
2009-05-06T00:07:25+00:00
PHP: 5.2.9 OS: Windows Vista Package Version: 1.8.1

Description:
------------
I've noticed that PEAR keeps creating 
c:\php5\pear\{docs,data} folders even thought other paths 
were given to the go-pear script. After some testing I've been 
able to determin that the reason why this is happening is that 
in addition to creating a pear.ini file in the php directory (I 
changed the path manually during install) pear creates a 
aditional configuration file in c:\windows\ at the first call to 
either pear install or pear upgrade-all. This new configuration 
file has some of the paths that was given to go-pear, but 
settings such as data_dir and doc_dir are resetted to the 
default.

I've tried this several times, removing any trace of pear and 
using fresh php installations aswell as the lastest go-
pear.phar.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by runar0
2009-05-06T00:07:25+00:00
PHP: 5.2.9 OS: Windows Vista Package Version: 1.8.1

Description:
------------
I've noticed that PEAR keeps creating 
c:\php5\pear\{docs,data} folders even thought other paths 
were given to the go-pear script. After some testing I've been 
able to determin that the reason why this is happening is that 
in addition to creating a pear.ini file in the php directory (I 
changed the path manually during install) pear creates a 
aditional configuration file in c:\windows\ at the first call to 
either pear install or pear upgrade-all. This new configuration 
file has some of the paths that was given to go-pear, but 
settings such as data_dir and doc_dir are resetted to the 
default.

I've tried this several times, removing any trace of pear and 
using fresh php installations aswell as the lastest go-
pear.phar.</pre>]]></description>
      <dc:date>2009-05-06T00:07:25+00:00</dc:date>
      <dc:creator>runar &amp;#x64;&amp;#111;&amp;#x74; b &amp;#x64;&amp;#111;&amp;#x74; olsen &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15909">
      <title>PEAR: Feature/Change Request 15909 [Open] Allow -f as short option when uninstalling a package</title>
      <link>http://pear.php.net/bugs/15909</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2009-02-18T16:36:43+00:00
PHP: Irrelevant OS:  Package Version: 

Description:
------------
   pear uninstall only accepts &quot; --ignore-errors&quot; to force the uninstallation, not &quot;-f&quot; as it is common for all other commands.

Test script:
---------------
      

Expected result:
----------------
      

Actual result:
--------------</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2009-02-18T16:36:43+00:00
PHP: Irrelevant OS:  Package Version: 

Description:
------------
   pear uninstall only accepts &quot; --ignore-errors&quot; to force the uninstallation, not &quot;-f&quot; as it is common for all other commands.

Test script:
---------------
      

Expected result:
----------------
      

Actual result:
--------------</pre>]]></description>
      <dc:date>2009-03-09T05:30:48+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15745">
      <title>PEAR: Feature/Change Request 15745 [Open] Global state vs test expectations (Packager tests)</title>
      <link>http://pear.php.net/bugs/15745</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by doconnor
2009-01-24T01:41:40+00:00
PHP: 5.2.6 OS: Ubuntu 8.10 Package Version: CVS

Description:
------------
Packager unit tests fail for me - they produce the correct output; but also generate warnings.

This is because the user I'm running under doesn't have permission to write to the appropriate tmp folder, and remove certain folders.

The unit tests should be using the dummy configuration provided (tests/PEAR_Packager/setup.inc.php does this); but don't appear to be.

Workarounds:
 * Run the unit tests via sudo
 * Change my pear configuration (pear config-set temp_dir 123)


A good way to fix this long term would be to shift the PEAR Config fetching to the very start of the application, and pass it through to the appropriate layers, rather than a static method / singleton.

$pear-&gt;setConfig(new PEAR_Config());

Test script:
---------------
# Grab from CVS
cvs update -d &amp;&amp; sudo pear install -f package2.xml

pear config-set temp_dir /some/path/you/dont/have/write/access/to

cd tests/
pear run-tests PEAR_Packager/test_warning.phpt

Expected result:
----------------
tests done

Actual result:
--------------
tests done
Warning: Could not open dir /tmp/hsperfdata_tomcat6 in /usr/share/php/System.php on line 99

Warning: Could not open dir /tmp/orbit-root in /usr/share/php/System.php on line 99

Warning: Could not open dir /tmp/hsperfdata_tomcat6 in /usr/share/php/System.php on line 99

Warning: Could not open dir /tmp/orbit-root in /usr/share/php/System.php on line 99</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by doconnor
2009-01-24T01:41:40+00:00
PHP: 5.2.6 OS: Ubuntu 8.10 Package Version: CVS

Description:
------------
Packager unit tests fail for me - they produce the correct output; but also generate warnings.

This is because the user I'm running under doesn't have permission to write to the appropriate tmp folder, and remove certain folders.

The unit tests should be using the dummy configuration provided (tests/PEAR_Packager/setup.inc.php does this); but don't appear to be.

Workarounds:
 * Run the unit tests via sudo
 * Change my pear configuration (pear config-set temp_dir 123)


A good way to fix this long term would be to shift the PEAR Config fetching to the very start of the application, and pass it through to the appropriate layers, rather than a static method / singleton.

$pear-&gt;setConfig(new PEAR_Config());

Test script:
---------------
# Grab from CVS
cvs update -d &amp;&amp; sudo pear install -f package2.xml

pear config-set temp_dir /some/path/you/dont/have/write/access/to

cd tests/
pear run-tests PEAR_Packager/test_warning.phpt

Expected result:
----------------
tests done

Actual result:
--------------
tests done
Warning: Could not open dir /tmp/hsperfdata_tomcat6 in /usr/share/php/System.php on line 99

Warning: Could not open dir /tmp/orbit-root in /usr/share/php/System.php on line 99

Warning: Could not open dir /tmp/hsperfdata_tomcat6 in /usr/share/php/System.php on line 99

Warning: Could not open dir /tmp/orbit-root in /usr/share/php/System.php on line 99</pre>]]></description>
      <dc:date>2009-04-04T05:13:32+00:00</dc:date>
      <dc:creator>daniel &amp;#x64;&amp;#111;&amp;#x74; oconnor &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/15098">
      <title>PEAR: Feature/Change Request 15098 [Open] Echo Task</title>
      <link>http://pear.php.net/bugs/15098</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by ifeghali
2008-11-20T12:31:12+00:00
PHP: 5.2.6 OS:  Package Version: 1.7.2

Description:
------------
I would love to print some general information or even how did the installation gone (which files went where) when a package is installed. 

Some important stuff like command line tools and web front end can be installed without user's notice, if they don't take some time to read docs or release notes.

That could be avoided if package.xml could handle some dynamic echos after installing/upgrading. Maybe a post-install task that runs independent of the user's request ?</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by ifeghali
2008-11-20T12:31:12+00:00
PHP: 5.2.6 OS:  Package Version: 1.7.2

Description:
------------
I would love to print some general information or even how did the installation gone (which files went where) when a package is installed. 

Some important stuff like command line tools and web front end can be installed without user's notice, if they don't take some time to read docs or release notes.

That could be avoided if package.xml could handle some dynamic echos after installing/upgrading. Maybe a post-install task that runs independent of the user's request ?</pre>]]></description>
      <dc:date>2009-02-26T19:21:09+00:00</dc:date>
      <dc:creator>ifeghali &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14842">
      <title>PEAR: Feature/Change Request 14842 [Open] check assigned memory rather than crashing due to memory_limit being exceeded</title>
      <link>http://pear.php.net/bugs/14842</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by kguest
2008-10-21T13:17:32+00:00
PHP: 5.2.5 OS: Windows Package Version: 1.7.2

Description:
------------
I installed version 1.7.4 of wamp and proceeded to upgrade pear from 1.6.1 to the current version.

Got a fatal error regarding memory_limit being too low - doubled it to 16MB and upgrade worked ok.


pear itself should check the assigned memory
when &lt; 16MB, it should tell the user

#
C:\wamp\php&gt;pear list
#
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
#
=========================================
#
PACKAGE          VERSION STATE
#
Archive_Tar      1.3.2   stable
#
Console_Getopt   1.2.3   stable
#
PEAR             1.6.1   stable
#
Structures_Graph 1.0.2   stable
#
 
#
C:\wamp\php&gt;pear upgrade-all
#
Will upgrade channel://pear.php.net/pear
#
WARNING: channel &quot;pear.php.net&quot; has updated its protocols, use &quot;channel-update p
#
ear.php.net&quot; to update
#
Did not download optional dependencies: pear/XML_RPC, use --alldeps to download
#
automatically
#
pear/PEAR can optionally use package &quot;pear/XML_RPC&quot; (version &gt;= 1.4.0)
#
downloading PEAR-1.7.2.tgz ...
#
Starting to download PEAR-1.7.2.tgz (302,744 bytes)
#
.....................done: 302,744 bytes
#
 
#
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9
#
8304 bytes) in C:\wamp\php\PEAR\PEAR\PackageFile\Generator\v2.php on line 207

Test script:
---------------
http://pastebin.com/m250aefec</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by kguest
2008-10-21T13:17:32+00:00
PHP: 5.2.5 OS: Windows Package Version: 1.7.2

Description:
------------
I installed version 1.7.4 of wamp and proceeded to upgrade pear from 1.6.1 to the current version.

Got a fatal error regarding memory_limit being too low - doubled it to 16MB and upgrade worked ok.


pear itself should check the assigned memory
when &lt; 16MB, it should tell the user

#
C:\wamp\php&gt;pear list
#
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
#
=========================================
#
PACKAGE          VERSION STATE
#
Archive_Tar      1.3.2   stable
#
Console_Getopt   1.2.3   stable
#
PEAR             1.6.1   stable
#
Structures_Graph 1.0.2   stable
#
 
#
C:\wamp\php&gt;pear upgrade-all
#
Will upgrade channel://pear.php.net/pear
#
WARNING: channel &quot;pear.php.net&quot; has updated its protocols, use &quot;channel-update p
#
ear.php.net&quot; to update
#
Did not download optional dependencies: pear/XML_RPC, use --alldeps to download
#
automatically
#
pear/PEAR can optionally use package &quot;pear/XML_RPC&quot; (version &gt;= 1.4.0)
#
downloading PEAR-1.7.2.tgz ...
#
Starting to download PEAR-1.7.2.tgz (302,744 bytes)
#
.....................done: 302,744 bytes
#
 
#
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9
#
8304 bytes) in C:\wamp\php\PEAR\PEAR\PackageFile\Generator\v2.php on line 207

Test script:
---------------
http://pastebin.com/m250aefec</pre>]]></description>
      <dc:date>2009-08-02T18:12:16+00:00</dc:date>
      <dc:creator>ken &amp;#x61;&amp;#116; linux &amp;#x64;&amp;#111;&amp;#x74; ie</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14387">
      <title>PEAR: Bug 14387 [Open] pear config-create case problem</title>
      <link>http://pear.php.net/bugs/14387</link>
      <content:encoded><![CDATA[<pre>PEAR Bug
Reported by lesar
2008-07-22T16:34:17+00:00
PHP: 5.2.3 OS: ubuntu 7.10 Package Version: 1.7.2

Description:
------------
if you type at prompt
pear config-create ....
all the path are in lower case.
if you have a path /var/www/user/pear/PEAR/...
config-create write /var/www/user/pear/pear/...</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Bug
Reported by lesar
2008-07-22T16:34:17+00:00
PHP: 5.2.3 OS: ubuntu 7.10 Package Version: 1.7.2

Description:
------------
if you type at prompt
pear config-create ....
all the path are in lower case.
if you have a path /var/www/user/pear/PEAR/...
config-create write /var/www/user/pear/pear/...</pre>]]></description>
      <dc:date>2008-12-08T10:46:45+00:00</dc:date>
      <dc:creator>leonardo &amp;#x64;&amp;#111;&amp;#x74; saracini &amp;#x61;&amp;#116; tiscali &amp;#x64;&amp;#111;&amp;#x74; it</dc:creator>
      <dc:subject>PEAR Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13648">
      <title>PEAR: Feature/Change Request 13648 [Open] Add SVN feature to pear/pecl command</title>
      <link>http://pear.php.net/bugs/13648</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by philip
2008-04-10T23:24:29+00:00
PHP: 5_3 CVS-2008-03-16 OS: Mac Package Version: CVS

Description:
------------
This feature request adds a &quot;cvs type&quot; to both pear and pecl commands. So for example:

$ pecl install foo-cvs

This would download pecl/foo from CVS and build it.

Test script:
---------------
It might do something like:

rm -rf fooTemp

cvs -d :pserver:cvsread:phpfi@cvs.php.net:/repository login
cvs -d :pserver:cvsread:@cvs.php.net:/repository checkout -d fooTemp pecl/foo

cd fooTemp
phpize
./configure
make
...</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by philip
2008-04-10T23:24:29+00:00
PHP: 5_3 CVS-2008-03-16 OS: Mac Package Version: CVS

Description:
------------
This feature request adds a &quot;cvs type&quot; to both pear and pecl commands. So for example:

$ pecl install foo-cvs

This would download pecl/foo from CVS and build it.

Test script:
---------------
It might do something like:

rm -rf fooTemp

cvs -d :pserver:cvsread:phpfi@cvs.php.net:/repository login
cvs -d :pserver:cvsread:@cvs.php.net:/repository checkout -d fooTemp pecl/foo

cd fooTemp
phpize
./configure
make
...</pre>]]></description>
      <dc:date>2009-08-09T22:39:04+00:00</dc:date>
      <dc:creator>philip &amp;#x61;&amp;#116; roshambo &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13563">
      <title>PEAR: Documentation Problem 13563 [Assigned] Unattendet installation documentation</title>
      <link>http://pear.php.net/bugs/13563</link>
      <content:encoded><![CDATA[<pre>PEAR Documentation Problem
Reported by cweiske
2008-04-02T11:50:35+00:00
PHP: 5.2.5 OS:  Package Version: 1.7.1

Description:
------------
The phar install package has options which allow an unattendet installation of PEAR (without user input). This should be documented in the manual.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Documentation Problem
Reported by cweiske
2008-04-02T11:50:35+00:00
PHP: 5.2.5 OS:  Package Version: 1.7.1

Description:
------------
The phar install package has options which allow an unattendet installation of PEAR (without user input). This should be documented in the manual.</pre>]]></description>
      <dc:date>2008-05-13T07:23:24+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Documentation Problem</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13346">
      <title>PEAR: Feature/Change Request 13346 [Open] Add uninstall option to follow dependencies</title>
      <link>http://pear.php.net/bugs/13346</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by timj
2008-03-08T20:18:40+00:00
PHP: Irrelevant OS:  Package Version: 1.7.1

Description:
------------
It would be nice if &quot;pear uninstall&quot; had an option to uninstall all the dependencies which required the package you are uninstalling, instead of just failing or requiring the user to manually follow the dependency tree. 

A nice name for this might be &quot;--alldeps&quot;

Test script:
---------------
Assume package &quot;Bar&quot; depends on package &quot;Foo&quot;.

pear uninstall --alldeps Foo

Expected result:
----------------
Foo and Bar are both uninstalled</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by timj
2008-03-08T20:18:40+00:00
PHP: Irrelevant OS:  Package Version: 1.7.1

Description:
------------
It would be nice if &quot;pear uninstall&quot; had an option to uninstall all the dependencies which required the package you are uninstalling, instead of just failing or requiring the user to manually follow the dependency tree. 

A nice name for this might be &quot;--alldeps&quot;

Test script:
---------------
Assume package &quot;Bar&quot; depends on package &quot;Foo&quot;.

pear uninstall --alldeps Foo

Expected result:
----------------
Foo and Bar are both uninstalled</pre>]]></description>
      <dc:date>2008-04-11T12:14:50+00:00</dc:date>
      <dc:creator>pear &amp;#x61;&amp;#116; timj &amp;#x64;&amp;#111;&amp;#x74; co &amp;#x64;&amp;#111;&amp;#x74; uk</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13256">
      <title>PEAR: Feature/Change Request 13256 [Open] Add option to prevent installation of documentation</title>
      <link>http://pear.php.net/bugs/13256</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by timj
2008-02-28T18:56:14+00:00
PHP: Irrelevant OS:  Package Version: 1.7.1

Description:
------------
It is possible that a piece of software packaged using the PEAR installer might have a large amount of documentation packaged with it.

Whilst this is useful for development, it is often at least useless and at worst a hindrance on a live server, where minimising disk space usage may be a serious concern.

Therefore a &quot;--skip-docs&quot; or similar option to &quot;pear install&quot; would be really handy. For comparison, a similar thing exists in the RPM world (--excludedocs)</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by timj
2008-02-28T18:56:14+00:00
PHP: Irrelevant OS:  Package Version: 1.7.1

Description:
------------
It is possible that a piece of software packaged using the PEAR installer might have a large amount of documentation packaged with it.

Whilst this is useful for development, it is often at least useless and at worst a hindrance on a live server, where minimising disk space usage may be a serious concern.

Therefore a &quot;--skip-docs&quot; or similar option to &quot;pear install&quot; would be really handy. For comparison, a similar thing exists in the RPM world (--excludedocs)</pre>]]></description>
      <dc:date>2008-02-28T18:56:14+00:00</dc:date>
      <dc:creator>pear &amp;#x61;&amp;#116; timj &amp;#x64;&amp;#111;&amp;#x74; co &amp;#x64;&amp;#111;&amp;#x74; uk</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/12898">
      <title>PEAR: Feature/Change Request 12898 [Open] Multiple instances of PEAR will cause conflicts and side effects</title>
      <link>http://pear.php.net/bugs/12898</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by megasquall
2008-01-14T02:10:28+00:00
PHP: Irrelevant OS: Windows XP Package Version: 1.6.2

Description:
------------
When having installed several instances of PEAR, there are side effects using them in the same environment.

The first instance of PEAR run will populate environment varaibles with its values. Then it is needed to unset those variables prior to using any other instance of PEAR, or open another command line window.

Failing to do so will usually result in mixing things from two PHP versions. Considering that the first run version is php4 and the version which is intended to be called after is php5, it will result in using :

php4\php.exe
php4\pear\*
php5\php.ini
php5\*.dll

I think those values should be moved from environment variables to pear.ini

Test script:
---------------
# Batch file

cd \php4\
pear list

cd \php5\
pear list

Expected result:
----------------
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE          VERSION STATE
...              ...     ...

INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE          VERSION STATE
...              ...     ...

Actual result:
--------------
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE          VERSION STATE
...              ...     ...

&quot; This application has failed to start because php4ts.dll was not found. Re-installing the application may fix this problem &quot;</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by megasquall
2008-01-14T02:10:28+00:00
PHP: Irrelevant OS: Windows XP Package Version: 1.6.2

Description:
------------
When having installed several instances of PEAR, there are side effects using them in the same environment.

The first instance of PEAR run will populate environment varaibles with its values. Then it is needed to unset those variables prior to using any other instance of PEAR, or open another command line window.

Failing to do so will usually result in mixing things from two PHP versions. Considering that the first run version is php4 and the version which is intended to be called after is php5, it will result in using :

php4\php.exe
php4\pear\*
php5\php.ini
php5\*.dll

I think those values should be moved from environment variables to pear.ini

Test script:
---------------
# Batch file

cd \php4\
pear list

cd \php5\
pear list

Expected result:
----------------
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE          VERSION STATE
...              ...     ...

INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE          VERSION STATE
...              ...     ...

Actual result:
--------------
INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET:
=========================================
PACKAGE          VERSION STATE
...              ...     ...

&quot; This application has failed to start because php4ts.dll was not found. Re-installing the application may fix this problem &quot;</pre>]]></description>
      <dc:date>2008-01-14T02:10:28+00:00</dc:date>
      <dc:creator>mega-squall &amp;#x61;&amp;#116; caramail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/11641">
      <title>PEAR: Feature/Change Request 11641 [Open] Poor reporting of conflicting requirements</title>
      <link>http://pear.php.net/bugs/11641</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by timj
2007-07-19T09:52:37+00:00
PHP: Irrelevant OS:  Package Version: 1.6.1

Description:
------------
If I have the following packages:

package X
requires &quot;Foo_Bar&quot;, no recommended version
requires Y

package Y
requires &quot;Foo_Bar&quot;, recommended version 1.0.0

and Foo_Bar exists as both v1.0.0 and 1.0.1 on the channel server, then an attempt to install X via &quot;pear install&quot; results in a failure with the error:

Duplicate package channel://whatever/Foo_Bar-1.0.1 found
Duplicate package channel://whatever/Foo_Bar-1.0.0 found

Now, ignoring the fact that I'm not sure a failure here is the right behaviour (arguably there is a separate bug here: installing either 1.0.0 or 1.0.1 would fully satisfy the deps in either case albeit requiring a warning), the reporting is unhelpful as it does not specify:

a) which packages in the dependency chain required 1.0.0 and which required 1.0.1

b) whether those requirements were implicit or explicit.

I would suggest that a better output would look something like this:

Conflicting requirements for package &quot;Foo_Bar&quot;:
 - X requires Foo_Bar; latest version in channel is 1.0.1
 - Y requires Foo_Bar; recommended version is 1.0.0</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by timj
2007-07-19T09:52:37+00:00
PHP: Irrelevant OS:  Package Version: 1.6.1

Description:
------------
If I have the following packages:

package X
requires &quot;Foo_Bar&quot;, no recommended version
requires Y

package Y
requires &quot;Foo_Bar&quot;, recommended version 1.0.0

and Foo_Bar exists as both v1.0.0 and 1.0.1 on the channel server, then an attempt to install X via &quot;pear install&quot; results in a failure with the error:

Duplicate package channel://whatever/Foo_Bar-1.0.1 found
Duplicate package channel://whatever/Foo_Bar-1.0.0 found

Now, ignoring the fact that I'm not sure a failure here is the right behaviour (arguably there is a separate bug here: installing either 1.0.0 or 1.0.1 would fully satisfy the deps in either case albeit requiring a warning), the reporting is unhelpful as it does not specify:

a) which packages in the dependency chain required 1.0.0 and which required 1.0.1

b) whether those requirements were implicit or explicit.

I would suggest that a better output would look something like this:

Conflicting requirements for package &quot;Foo_Bar&quot;:
 - X requires Foo_Bar; latest version in channel is 1.0.1
 - Y requires Foo_Bar; recommended version is 1.0.0</pre>]]></description>
      <dc:date>2008-04-09T22:14:55+00:00</dc:date>
      <dc:creator>pear &amp;#x61;&amp;#116; timj &amp;#x64;&amp;#111;&amp;#x74; co &amp;#x64;&amp;#111;&amp;#x74; uk</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/11195">
      <title>PEAR: Feature/Change Request 11195 [Open] Install required deps by default after asking</title>
      <link>http://pear.php.net/bugs/11195</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by jeichorn
2007-05-31T21:47:48+00:00
PHP: 5.2.1 OS:  Package Version: CVS

Description:
------------
pear install package 
by default should show you if any deps are required and after asking you automatically install them

Look at what yum does for an example</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by jeichorn
2007-05-31T21:47:48+00:00
PHP: 5.2.1 OS:  Package Version: CVS

Description:
------------
pear install package 
by default should show you if any deps are required and after asking you automatically install them

Look at what yum does for an example</pre>]]></description>
      <dc:date>2008-07-12T14:36:01+00:00</dc:date>
      <dc:creator>jeichorn &amp;#x61;&amp;#116; JoshuaEichorn &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/11190">
      <title>PEAR: Feature/Change Request 11190 [Open] Allow full Boolean operators for Dependancies</title>
      <link>http://pear.php.net/bugs/11190</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by cipri
2007-05-31T19:55:10+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.5.4

Description:
------------
It would be great if we could use boolean operators to define Dependancies, ie:

Require PHP 5.2.2 OR PEAR::PHP_Compat &gt;= 1.2.0
Require PEAR &gt;= 1.6.0 || ! PHP 5.2.1</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by cipri
2007-05-31T19:55:10+00:00
PHP: Irrelevant OS: Irrelevant Package Version: 1.5.4

Description:
------------
It would be great if we could use boolean operators to define Dependancies, ie:

Require PHP 5.2.2 OR PEAR::PHP_Compat &gt;= 1.2.0
Require PEAR &gt;= 1.6.0 || ! PHP 5.2.1</pre>]]></description>
      <dc:date>2007-05-31T19:55:10+00:00</dc:date>
      <dc:creator>cipri &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/10765">
      <title>PEAR: Feature/Change Request 10765 [Open] check signature when installing/upgrading files</title>
      <link>http://pear.php.net/bugs/10765</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2007-04-18T07:32:32+00:00
PHP: 5.2.1 OS:  Package Version: 1.5.2

Description:
------------
If a package contains a package.sig file, it should be used to verify the validity of the package. Currently, you can sign a package, that signature is used nowhere.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2007-04-18T07:32:32+00:00
PHP: 5.2.1 OS:  Package Version: 1.5.2

Description:
------------
If a package contains a package.sig file, it should be used to verify the validity of the package. Currently, you can sign a package, that signature is used nowhere.</pre>]]></description>
      <dc:date>2007-06-01T16:11:32+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/10667">
      <title>PEAR: Feature/Change Request 10667 [Assigned] Allow dependencies on API</title>
      <link>http://pear.php.net/bugs/10667</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by timj
2007-04-09T19:10:21+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
This is a PEAR2 thing, probably.

It seems rather a shame that although we have an &lt;api&gt; version tag in package.xml, you can't use it as a dependency. In some ways, *IF* this is being used properly, it would make more sense than a package version dependency. Certainly this is true in some circumstances.

Therefore, PEAR2 should perhaps support a dep something like this:

&lt;required&gt;
  &lt;package&gt;
    &lt;name&gt;Foo_Bar&lt;/name&gt;
    &lt;min type=&quot;api&quot;&gt;1.0.0&lt;/min&gt;
    &lt;max type=&quot;api&quot;&gt;1.0.2&lt;/max&gt;
    &lt;recommended type=&quot;api&quot;&gt;1.0.1&lt;/recommended&gt;
  &lt;/package&gt;
&lt;/required&gt;

(the implicit default &quot;type&quot; attribute for &lt;min&gt;,&lt;max&gt; etc. would be &quot;packagever&quot; or something)</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by timj
2007-04-09T19:10:21+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
This is a PEAR2 thing, probably.

It seems rather a shame that although we have an &lt;api&gt; version tag in package.xml, you can't use it as a dependency. In some ways, *IF* this is being used properly, it would make more sense than a package version dependency. Certainly this is true in some circumstances.

Therefore, PEAR2 should perhaps support a dep something like this:

&lt;required&gt;
  &lt;package&gt;
    &lt;name&gt;Foo_Bar&lt;/name&gt;
    &lt;min type=&quot;api&quot;&gt;1.0.0&lt;/min&gt;
    &lt;max type=&quot;api&quot;&gt;1.0.2&lt;/max&gt;
    &lt;recommended type=&quot;api&quot;&gt;1.0.1&lt;/recommended&gt;
  &lt;/package&gt;
&lt;/required&gt;

(the implicit default &quot;type&quot; attribute for &lt;min&gt;,&lt;max&gt; etc. would be &quot;packagever&quot; or something)</pre>]]></description>
      <dc:date>2009-03-27T01:57:11+00:00</dc:date>
      <dc:creator>pear &amp;#x61;&amp;#116; timj &amp;#x64;&amp;#111;&amp;#x74; co &amp;#x64;&amp;#111;&amp;#x74; uk</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/10663">
      <title>PEAR: Feature/Change Request 10663 [Assigned] run-tests to accept &quot; -d inisetting=xxx&quot; option</title>
      <link>http://pear.php.net/bugs/10663</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by techtonik
2007-04-09T09:15:24+00:00
PHP: 4.4.4 OS:  Package Version: 1.5.2

Description:
------------
RFE to transparently pass php options through run-tests subcommand.

Now:
run-tests -i &quot; -d inioption=value&quot;

Needed:
run-tests -d inioption=value



Test script:
---------------
$ ../../bin/pear help run-tests


Expected result:
----------------
pear run-tests [options] [testfile|dir ...]
Run regression tests with PHP's regression testing script (run-tests.php).
Options:
  -r, --recur
        Run tests in child directories, recursively.  4 dirs deep maximum
  -d setting=blah
        ini settings to pass to php
  -l, --realtimelog
        Log test runs/results as they are run
  -q, --quiet
        Only display detail for failed tests
  -s, --simple
        Display simple output for all tests
  -p, --package
        Treat parameters as installed packages from which to run tests
  -u, --phpunit
        Search parameters for AllTests.php, and use that to run phpunit-based tests
  -t, --tapoutput
        Output run-tests.log in TAP-compliant format
  -c PHPCGI, --cgi=PHPCGI
        CGI php executable (needed for tests with POST/GET section)


Actual result:
--------------
pear run-tests [options] [testfile|dir ...]
Run regression tests with PHP's regression testing script (run-tests.php).
Options:
  -r, --recur
        Run tests in child directories, recursively.  4 dirs deep maximum
  -i SETTINGS, --ini=SETTINGS
        actual string of settings to pass to php in format &quot; -d setting=blah&quot;
  -l, --realtimelog
        Log test runs/results as they are run
  -q, --quiet
        Only display detail for failed tests
  -s, --simple
        Display simple output for all tests
  -p, --package
        Treat parameters as installed packages from which to run tests
  -u, --phpunit
        Search parameters for AllTests.php, and use that to run phpunit-based tests
  -t, --tapoutput
        Output run-tests.log in TAP-compliant format
  -c PHPCGI, --cgi=PHPCGI
        CGI php executable (needed for tests with POST/GET section)</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by techtonik
2007-04-09T09:15:24+00:00
PHP: 4.4.4 OS:  Package Version: 1.5.2

Description:
------------
RFE to transparently pass php options through run-tests subcommand.

Now:
run-tests -i &quot; -d inioption=value&quot;

Needed:
run-tests -d inioption=value



Test script:
---------------
$ ../../bin/pear help run-tests


Expected result:
----------------
pear run-tests [options] [testfile|dir ...]
Run regression tests with PHP's regression testing script (run-tests.php).
Options:
  -r, --recur
        Run tests in child directories, recursively.  4 dirs deep maximum
  -d setting=blah
        ini settings to pass to php
  -l, --realtimelog
        Log test runs/results as they are run
  -q, --quiet
        Only display detail for failed tests
  -s, --simple
        Display simple output for all tests
  -p, --package
        Treat parameters as installed packages from which to run tests
  -u, --phpunit
        Search parameters for AllTests.php, and use that to run phpunit-based tests
  -t, --tapoutput
        Output run-tests.log in TAP-compliant format
  -c PHPCGI, --cgi=PHPCGI
        CGI php executable (needed for tests with POST/GET section)


Actual result:
--------------
pear run-tests [options] [testfile|dir ...]
Run regression tests with PHP's regression testing script (run-tests.php).
Options:
  -r, --recur
        Run tests in child directories, recursively.  4 dirs deep maximum
  -i SETTINGS, --ini=SETTINGS
        actual string of settings to pass to php in format &quot; -d setting=blah&quot;
  -l, --realtimelog
        Log test runs/results as they are run
  -q, --quiet
        Only display detail for failed tests
  -s, --simple
        Display simple output for all tests
  -p, --package
        Treat parameters as installed packages from which to run tests
  -u, --phpunit
        Search parameters for AllTests.php, and use that to run phpunit-based tests
  -t, --tapoutput
        Output run-tests.log in TAP-compliant format
  -c PHPCGI, --cgi=PHPCGI
        CGI php executable (needed for tests with POST/GET section)</pre>]]></description>
      <dc:date>2007-08-16T19:29:14+00:00</dc:date>
      <dc:creator>techtonik &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/10626">
      <title>PEAR: Feature/Change Request 10626 [Open] check writability of pear directories</title>
      <link>http://pear.php.net/bugs/10626</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2007-04-05T13:56:35+00:00
PHP: 5.2.1 OS:  Package Version: 1.5.1

Description:
------------
Sometimes you have a weird setup and some or all of your pear directories (php_dir, download_dir, ..) are not writable. It would be nice if pear had a status command which checked this and told you where the problems are.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by cweiske
2007-04-05T13:56:35+00:00
PHP: 5.2.1 OS:  Package Version: 1.5.1

Description:
------------
Sometimes you have a weird setup and some or all of your pear directories (php_dir, download_dir, ..) are not writable. It would be nice if pear had a status command which checked this and told you where the problems are.</pre>]]></description>
      <dc:date>2008-07-12T14:50:35+00:00</dc:date>
      <dc:creator>cweiske &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/10570">
      <title>PEAR: Feature/Change Request 10570 [Open] add ability to hold/freeze a package</title>
      <link>http://pear.php.net/bugs/10570</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by mike
2007-03-31T05:11:02+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
Ig uess something for v2.

IT would be nice if there was a feature like dpkg's hold status, that is, a package in &quot;hold&quot; status cannot be upgraded, removed etc.

eg:
$ pear hold Net_NTTP
&gt; Status of Net_NTTP set to hold. Installed version is 1.0.1 stable.
$ pear upgrade-all
&gt; Upgrading ...
&gt; Not going to upgrade Net_NTTP because its status is set to hold.
&gt; ...

Not sure of the command name though, maybe freeze/unfreeze would be better?</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by mike
2007-03-31T05:11:02+00:00
PHP: Irrelevant OS:  Package Version: CVS

Description:
------------
Ig uess something for v2.

IT would be nice if there was a feature like dpkg's hold status, that is, a package in &quot;hold&quot; status cannot be upgraded, removed etc.

eg:
$ pear hold Net_NTTP
&gt; Status of Net_NTTP set to hold. Installed version is 1.0.1 stable.
$ pear upgrade-all
&gt; Upgrading ...
&gt; Not going to upgrade Net_NTTP because its status is set to hold.
&gt; ...

Not sure of the command name though, maybe freeze/unfreeze would be better?</pre>]]></description>
      <dc:date>2007-03-31T05:11:02+00:00</dc:date>
      <dc:creator>mike &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/10524">
      <title>PEAR: Feature/Change Request 10524 [Analyzed] improve the efficiency of REST for list-all/list-upgrades/remote-list</title>
      <link>http://pear.php.net/bugs/10524</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by cellog
2007-03-27T15:15:36+00:00
PHP: Irrelevant OS: n/a Package Version: 1.5.1

Description:
------------
as referenced by Tias Guns in pear-dev:

http://news.php.net/php.pear.dev/46043

REST could use some efficiency boosts on the client-side and the server-side as well.</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by cellog
2007-03-27T15:15:36+00:00
PHP: Irrelevant OS: n/a Package Version: 1.5.1

Description:
------------
as referenced by Tias Guns in pear-dev:

http://news.php.net/php.pear.dev/46043

REST could use some efficiency boosts on the client-side and the server-side as well.</pre>]]></description>
      <dc:date>2009-08-12T02:05:05+00:00</dc:date>
      <dc:creator>greg &amp;#x61;&amp;#116; chiaraquartet &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/4208">
      <title>PEAR: Feature/Change Request 4208 [Open] Add ability to migrate a package to another channel</title>
      <link>http://pear.php.net/bugs/4208</link>
      <content:encoded><![CDATA[<pre>PEAR Feature/Change Request
Reported by cellog
2005-04-22T23:42:05+00:00
PHP: Irrelevant OS: n/a Package Version: 

Description:
------------
Currently, once a package is in a channel, it is stuck.  This means if you ever move it to another channel, you have to use --ignore-errors to install it because it will conflict with the package from the other channel.

Security is an issue, so the only way to do this is to have the specification in the old channel's final release, as in:

&lt;name&gt;Chiara_PEAR_Server&lt;/name&gt;
&lt;channel&gt;pear.chiaraquartet.net&lt;/channel&gt;
&lt;deprecatedby&gt;
 &lt;name&gt;PEAR_Server&lt;/name&gt;
 &lt;channel&gt;pear.php.net&lt;/channel&gt;
&lt;/deprecatedby&gt;

This would be the top of Chiara_PEAR_Server's final release at pear.chiaraquartet.net.  The releases at pear.php.net would then be able to upgrade from the older Chiara_PEAR_Server with no penalty.

This is most useful for a package that retains the same name.  The example above is moot, because a Chiara_PEAR_Server package would not conflict with a PEAR_Server because all the files are in Chiara/</pre>]]></content:encoded>
      <description><![CDATA[<pre>PEAR Feature/Change Request
Reported by cellog
2005-04-22T23:42:05+00:00
PHP: Irrelevant OS: n/a Package Version: 

Description:
------------
Currently, once a package is in a channel, it is stuck.  This means if you ever move it to another channel, you have to use --ignore-errors to install it because it will conflict with the package from the other channel.

Security is an issue, so the only way to do this is to have the specification in the old channel's final release, as in:

&lt;name&gt;Chiara_PEAR_Server&lt;/name&gt;
&lt;channel&gt;pear.chiaraquartet.net&lt;/channel&gt;
&lt;deprecatedby&gt;
 &lt;name&gt;PEAR_Server&lt;/name&gt;
 &lt;channel&gt;pear.php.net&lt;/channel&gt;
&lt;/deprecatedby&gt;

This would be the top of Chiara_PEAR_Server's final release at pear.chiaraquartet.net.  The releases at pear.php.net would then be able to upgrade from the older Chiara_PEAR_Server with no penalty.

This is most useful for a package that retains the same name.  The example above is moot, because a Chiara_PEAR_Server package would not conflict with a PEAR_Server because all the files are in Chiara/</pre>]]></description>
      <dc:date>2011-12-10T17:05:13+00:00</dc:date>
      <dc:creator>cellog &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>PEAR Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
