The zlib bug in PHP 5.2.10 that was fixed in 5.2.11 was patched into php5 5.2.10.dfsg.1-2ubuntu5, but the bug's effect is still visible when using PEAR:
(*** attempt to install a PEAR package via the "pear" command, with default behavior of "download TGZ file" ***)
$ sudo pear -vvv install Console_CommandLine
Notice: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1517
Notice: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1527
Notice: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1527
Downloading "http://pear.php.net/get/Console_CommandLine-1.1.0.tgz"
downloading Console_CommandLine-1.1.0.tgz ...
Starting to download Console_CommandLine-1.1.0.tgz (37,554 bytes)
..........done: 37,554 bytes
Warning: unlink(/tmp/glibctestLHQgkX): No such file or directory in System.php on line 206
(*** installation dies silently after the TGZ is downloaded ***)
(*** try it via the -Z option, which tells PEAR to download TAR instead of TGZ ***)
$ sudo pear -vvv install -Z Console_CommandLine
Notice: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1517
Notice: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1527
Notice: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader/Package.php on line 1527
Downloading "http://pear.php.net/get/Console_CommandLine-1.1.0.tar"
downloading Console_CommandLine-1.1.0.tar ...
Starting to download Console_CommandLine-1.1.0.tar (Unknown size)
............................................................done: 290,304 bytes
adding to transaction: mkdir /usr/share/php/Console/CommandLine
+ create dir /usr/share/php/Console/CommandLine
+ mkdir /usr/share/php/Console/CommandLine
doing 1 substitution(s) for /usr/share/php/Console/CommandLine/Action.php
md5sum ok: /usr/share/php/Console/CommandLine/Action.php
... (*** many more lines of per-file output ***) ...
+ mv /usr/share/php/Console/.tmpCommandLine.php /usr/share/php/Console/CommandLine.php
successfully committed 263 file operations
install ok: channel://pear.php.net/Console_CommandLine-1.1.0
Warning: unlink(/tmp/glibctestLehyvK): No such file or directory in System.php on line 206
(*** note the "install ok" ***)
This bug has *not* been seen via the #pear testers using amd64 systems... it has only been seen on i686 systems. This point was true also with the previous -ubuntu4 package.
*** Also note that the -Z workaround will *not* work successfully while the symlink bug (#451277) exists, as the symlink bug alone is enough to cause a PEAR package installation to fail.
Bug Report Characteristics:
1)
$ uname -a
Linux izi-desktop 2.6.31-13-generic #45-Ubuntu SMP Tue Oct 13 02:08:03 UTC 2009 i686 GNU/Linux
Binary package hint: php5
The zlib bug in PHP 5.2.10 that was fixed in 5.2.11 was patched into php5 5.2.10. dfsg.1- 2ubuntu5, but the bug's effect is still visible when using PEAR:
(*** attempt to install a PEAR package via the "pear" command, with default behavior of "download TGZ file" ***)
$ sudo pear -vvv install Console_CommandLine /Package. php on line 1517
Notice: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader
Notice: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader /Package. php on line 1527
Notice: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader /Package. php on line 1527 pear.php. net/get/ Console_ CommandLine- 1.1.0.tgz" CommandLine- 1.1.0.tgz ... CommandLine- 1.1.0.tgz (37,554 bytes)
Downloading "http://
downloading Console_
Starting to download Console_
..........done: 37,554 bytes
Warning: unlink( /tmp/glibctestL HQgkX): No such file or directory in System.php on line 206
(*** installation dies silently after the TGZ is downloaded ***)
(*** try it via the -Z option, which tells PEAR to download TAR instead of TGZ ***)
$ sudo pear -vvv install -Z Console_CommandLine /Package. php on line 1517
Notice: file_exists(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader
Notice: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader /Package. php on line 1527
Notice: is_file(): Unable to find the wrapper "channel" - did you forget to enable it when you configured PHP? in PEAR/Downloader /Package. php on line 1527 pear.php. net/get/ Console_ CommandLine- 1.1.0.tar" CommandLine- 1.1.0.tar ... CommandLine- 1.1.0.tar (Unknown size) ....... ....... ....... ....... ....... ....... ....... ....done: 290,304 bytes php/Console/ CommandLine php/Console/ CommandLine php/Console/ CommandLine php/Console/ CommandLine/ Action. php php/Console/ CommandLine/ Action. php php/Console/ .tmpCommandLine .php /usr/share/ php/Console/ CommandLine. php //pear. php.net/ Console_ CommandLine- 1.1.0
Downloading "http://
downloading Console_
Starting to download Console_
.......
adding to transaction: mkdir /usr/share/
+ create dir /usr/share/
+ mkdir /usr/share/
doing 1 substitution(s) for /usr/share/
md5sum ok: /usr/share/
... (*** many more lines of per-file output ***) ...
+ mv /usr/share/
successfully committed 263 file operations
install ok: channel:
Warning: unlink( /tmp/glibctestL ehyvK): No such file or directory in System.php on line 206
(*** note the "install ok" ***)
This bug has *not* been seen via the #pear testers using amd64 systems... it has only been seen on i686 systems. This point was true also with the previous -ubuntu4 package.
*** Also note that the -Z workaround will *not* work successfully while the symlink bug (#451277) exists, as the symlink bug alone is enough to cause a PEAR package installation to fail.
Bug Report Characteristics:
1)
$ uname -a
Linux izi-desktop 2.6.31-13-generic #45-Ubuntu SMP Tue Oct 13 02:08:03 UTC 2009 i686 GNU/Linux
2) dfsg.1- 2ubuntu5 dfsg.1- 2ubuntu5 dfsg.1- 2ubuntu5 0 archive. ubuntu. com karmic/main Packages dpkg/status
$ apt-cache policy php-pear
php-pear:
Installé : 5.2.10.
Candidat : 5.2.10.
Table de version :
*** 5.2.10.
500 http://
100 /var/lib/
3)
"sudo pear install {packagename}" should succeed with "install ok", without needing to add the "-Z" arg
4)
The install command silently dies after the TGZ file is downloaded ("..........done: 37,554 bytes")