[Bug 451314] [NEW] PHP 5.2.10 zlib bug remains for 32bit

Chuck Burgess ashnazg at php.net
Wed Oct 14 15:31:35 BST 2009


Public bug reported:

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
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

2)
 $ apt-cache policy php-pear
 php-pear:
   Installé : 5.2.10.dfsg.1-2ubuntu5
   Candidat : 5.2.10.dfsg.1-2ubuntu5
  Table de version :
  *** 5.2.10.dfsg.1-2ubuntu5 0
         500 http://archive.ubuntu.com karmic/main Packages
         100 /var/lib/dpkg/status

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")

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
PHP 5.2.10 zlib bug remains for 32bit
https://bugs.launchpad.net/bugs/451314
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list