Fwd: [Bug 420639] Re: php-pear package problems (Karmic)

View: New views
7 Messages — Rating Filter:   Alert me  

Parent Message unknown Fwd: [Bug 420639] Re: php-pear package problems (Karmic)

by Till Klampaeckel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey PEAR's, and especially David! :-)

Can one of you try if the last update fixed PEAR on Karmic?

Cheers,
Till


---------- Forwarded message ----------
From: Launchpad Bug Tracker <420639@...>
Date: Tue, Oct 13, 2009 at 7:45 PM
Subject: [Bug 420639] Re: php-pear package problems (Karmic)
To: till@...


This bug was fixed in the package php5 - 5.2.10.dfsg.1-2ubuntu5

---------------
php5 (5.2.10.dfsg.1-2ubuntu5) karmic; urgency=low

 * debian/control, debian/patches/115-autoconf_ftbfs.patch:, debian/series:
   Drop patch build-depend on autoconf2.13
 * pear/install-pear-nozlib.phar: PHP 5.2.10 was shipped with a broken
   install-pear-nozllib.phar which caused pear to be broken. Use the
   version from http://pear.php.net. (LP: #420639)
 * debian/patches/fix-zlib-decompression: Add upstream fix from  5.2.11
   fo fix zlibe.deflage compress filter to actually accept level parameter.
 * debian/rules: Fix symlink for pear.

 -- Chuck Short <zulcss@...>   Tue, 13 Oct 2009 10:56:29 -0400

** Changed in: php5 (Ubuntu)
      Status: Confirmed => Fix Released

--
php-pear package problems (Karmic)
https://bugs.launchpad.net/bugs/420639
You received this bug notification because you are a direct subscriber
of the bug.

Status in “php5” package in Ubuntu: Fix Released
Status in “php5” package in Debian: New

Bug description:
Binary package hint: php-pear

Hey Guys,

I finally got the php-pear package working correctly on a fresh
install of Karmic Alpha 4. Here's what I had to do to fix the package.

1st - The channels are invalid. After some research it turns out that
this was a problem with this version of pear... See
http://www.pear-forum.org/topic2301.html - To fix this I had to remove
the .channels directory "/usr/share/php/.channels" and then update the
channels and all was ok after that.

2nd - The symlink "/usr/share/php/docs" was broken. To fix I relinked
to "/usr/share/doc/php-pear" and pear and pecl started to work
correctly.

Hope this helps,
LaChild

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [Bug 420639] Re: php-pear package problems (Karmic)

by Till Klampaeckel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Just to make sure, php -v with the fixes included, should look like:
PHP 5.2.10-2ubuntu5 with Suhosin-Patch 0.9.7 (cli) (built: Sep 18 2009 16:09:09)

(The importance comes with *ubuntu5*, the current is ubuntu4.)

Till

On Tue, Oct 13, 2009 at 8:17 PM, till <till@...> wrote:

> Hey PEAR's, and especially David! :-)
>
> Can one of you try if the last update fixed PEAR on Karmic?
>
> Cheers,
> Till
>
>
> ---------- Forwarded message ----------
> From: Launchpad Bug Tracker <420639@...>
> Date: Tue, Oct 13, 2009 at 7:45 PM
> Subject: [Bug 420639] Re: php-pear package problems (Karmic)
> To: till@...
>
>
> This bug was fixed in the package php5 - 5.2.10.dfsg.1-2ubuntu5
>
> ---------------
> php5 (5.2.10.dfsg.1-2ubuntu5) karmic; urgency=low
>
>  * debian/control, debian/patches/115-autoconf_ftbfs.patch:, debian/series:
>    Drop patch build-depend on autoconf2.13
>  * pear/install-pear-nozlib.phar: PHP 5.2.10 was shipped with a broken
>    install-pear-nozllib.phar which caused pear to be broken. Use the
>    version from http://pear.php.net. (LP: #420639)
>  * debian/patches/fix-zlib-decompression: Add upstream fix from  5.2.11
>    fo fix zlibe.deflage compress filter to actually accept level parameter.
>  * debian/rules: Fix symlink for pear.
>
>  -- Chuck Short <zulcss@...>   Tue, 13 Oct 2009 10:56:29 -0400
>
> ** Changed in: php5 (Ubuntu)
>       Status: Confirmed => Fix Released
>
> --
> php-pear package problems (Karmic)
> https://bugs.launchpad.net/bugs/420639
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “php5” package in Ubuntu: Fix Released
> Status in “php5” package in Debian: New
>
> Bug description:
> Binary package hint: php-pear
>
> Hey Guys,
>
> I finally got the php-pear package working correctly on a fresh
> install of Karmic Alpha 4. Here's what I had to do to fix the package.
>
> 1st - The channels are invalid. After some research it turns out that
> this was a problem with this version of pear... See
> http://www.pear-forum.org/topic2301.html - To fix this I had to remove
> the .channels directory "/usr/share/php/.channels" and then update the
> channels and all was ok after that.
>
> 2nd - The symlink "/usr/share/php/docs" was broken. To fix I relinked
> to "/usr/share/doc/php-pear" and pear and pecl started to work
> correctly.
>
> Hope this helps,
> LaChild
>

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Fwd: [Bug 420639] Re: php-pear package problems (Karmic)

by David Jean Louis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

till a écrit :
> Hey PEAR's, and especially David! :-)
>
> Can one of you try if the last update fixed PEAR on Karmic?

There's still the zlib bug alas :(
"pear install" stops after download step...

$ php -v
PHP 5.2.10-2ubuntu5 with Suhosin-Patch 0.9.7 (cli) (built: Oct 13 2009
18:41:08)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

$ pear version
PEAR Version: 1.9.0
PHP Version: 5.2.10-2ubuntu5
Zend Engine Version: 2.2.0
Running on: Linux izi-desktop 2.6.31-13-generic #45-Ubuntu SMP Tue Oct
13 02:08:03 UTC 2009 i686

$ 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/glibctestBnwVVJ): No such file or directory in
System.php on line 206

--
David


--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Fwd: [Bug 420639] Re: php-pear package problems (Karmic)

by Till Klampaeckel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 14, 2009 at 12:30 AM, David Jean Louis <izimobil@...> wrote:

> till a écrit :
>>
>> Hey PEAR's, and especially David! :-)
>>
>> Can one of you try if the last update fixed PEAR on Karmic?
>
> There's still the zlib bug alas :(
> "pear install" stops after download step...
>
> $ php -v
> PHP 5.2.10-2ubuntu5 with Suhosin-Patch 0.9.7 (cli) (built: Oct 13 2009
> 18:41:08)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
>
> $ pear version
> PEAR Version: 1.9.0
> PHP Version: 5.2.10-2ubuntu5
> Zend Engine Version: 2.2.0
> Running on: Linux izi-desktop 2.6.31-13-generic #45-Ubuntu SMP Tue Oct 13
> 02:08:03 UTC 2009 i686
>
> $ 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/glibctestBnwVVJ): No such file or directory in
> System.php on line 206
>
> --
> David
>
>

Hey everyone,

I'm guessing the only difference is 32bit vs 64bit.

till@till-laptop:~$ uname -a
Linux till-laptop 2.6.31-13-generic #45-Ubuntu SMP Tue Oct 13 02:07:24
UTC 2009 x86_64 GNU/Linux
till@till-laptop:~$ php -v
PHP 5.2.10-2ubuntu5 with Suhosin-Patch 0.9.7 (cli) (built: Oct 13 2009
18:33:05)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    with Xdebug v2.0.4, Copyright (c) 2002-2008, by Derick Rethans
till@till-laptop:~$ sudo pear install Console_CommandLine
downloading Console_CommandLine-1.1.0.tgz ...
Starting to download Console_CommandLine-1.1.0.tgz (37,554 bytes)
..........done: 37,554 bytes
install ok: channel://pear.php.net/Console_CommandLine-1.1.0

What's your uname -a output?

Till

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Fwd: [Bug 420639] Re: php-pear package problems (Karmic)

by David Jean Louis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> till@till-laptop:~$ uname -a
> Linux till-laptop 2.6.31-13-generic #45-Ubuntu SMP Tue Oct 13 02:07:24
> UTC 2009 x86_64 GNU/Linux
> till@till-laptop:~$ php -v
> PHP 5.2.10-2ubuntu5 with Suhosin-Patch 0.9.7 (cli) (built: Oct 13 2009
> 18:33:05)
> Copyright (c) 1997-2009 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
>     with Xdebug v2.0.4, Copyright (c) 2002-2008, by Derick Rethans
> till@till-laptop:~$ sudo pear install Console_CommandLine
> downloading Console_CommandLine-1.1.0.tgz ...
> Starting to download Console_CommandLine-1.1.0.tgz (37,554 bytes)
> ..........done: 37,554 bytes
> install ok: channel://pear.php.net/Console_CommandLine-1.1.0
>
> What's your uname -a output?
>

$ uname -a
Linux izi-desktop 2.6.31-13-generic #45-Ubuntu SMP Tue Oct 13 02:08:03
UTC 2009 i686 GNU/Linux

I'm opening a new bug in launchpad ASAP.

--
David

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Fwd: [Bug 420639] Re: php-pear package problems (Karmic)

by David Jean Louis :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David Jean Louis a écrit :
> till a écrit :
>> Hey PEAR's, and especially David! :-)
>>
>> Can one of you try if the last update fixed PEAR on Karmic?
>
> There's still the zlib bug alas :(
> "pear install" stops after download step...
>

And the "doc broken symlink" issue is still here too:

$ sudo pear install -Z Console_CommandLine
downloading Console_CommandLine-1.1.0.tar ...
Starting to download Console_CommandLine-1.1.0.tar (Unknown size)
............................................................done:
290,304 bytes

Warning: mkdir(): File exists in System.php on line 277

Warning: mkdir(): File exists in /usr/share/php/System.php on line 277
ERROR: failed to mkdir /usr/share/php/doc/Console_CommandLine/docs/examples

$ ls -l /usr/share/php/doc
lrwxrwxrwx 1 root root 20 2009-10-14 00:20 /usr/share/php/doc ->
../doc/php-pear/PEAR

^ that should be "/usr/share/doc/php-pear/" not a relative path.

So, so far only the "channels" problem has been fixed.
Till, what "ls -l /usr/share/php/doc" gives you ?

--
David

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: Fwd: [Bug 420639] Re: php-pear package problems (Karmic)

by Till Klampaeckel-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 14, 2009 at 12:55 AM, David Jean Louis <izimobil@...> wrote:

> David Jean Louis a écrit :
>>
>> till a écrit :
>>>
>>> Hey PEAR's, and especially David! :-)
>>>
>>> Can one of you try if the last update fixed PEAR on Karmic?
>>
>> There's still the zlib bug alas :(
>> "pear install" stops after download step...
>>
>
> And the "doc broken symlink" issue is still here too:
>
> $ sudo pear install -Z Console_CommandLine
> downloading Console_CommandLine-1.1.0.tar ...
> Starting to download Console_CommandLine-1.1.0.tar (Unknown size)
> ............................................................done: 290,304
> bytes
>
> Warning: mkdir(): File exists in System.php on line 277
>
> Warning: mkdir(): File exists in /usr/share/php/System.php on line 277
> ERROR: failed to mkdir /usr/share/php/doc/Console_CommandLine/docs/examples
>
> $ ls -l /usr/share/php/doc
> lrwxrwxrwx 1 root root 20 2009-10-14 00:20 /usr/share/php/doc ->
> ../doc/php-pear/PEAR
>
> ^ that should be "/usr/share/doc/php-pear/" not a relative path.
>
> So, so far only the "channels" problem has been fixed.
> Till, what "ls -l /usr/share/php/doc" gives you ?
>
> --
> David
>

Ok, I wiped the install completely (apt-get remove php-pear && rm -rf
/usr/share/php), then reinstalled:

till@till-laptop:/usr/share$ sudo apt-get install php-pear
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  php-pear
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/329kB of archives.
After this operation, 2,421kB of additional disk space will be used.
Selecting previously deselected package php-pear.
(Reading database ... 176191 files and directories currently installed.)
Unpacking php-pear (from .../php-pear_5.2.10.dfsg.1-2ubuntu5_all.deb) ...
Setting up php-pear (5.2.10.dfsg.1-2ubuntu5) ...

Channels are not broken, but now I got the symlink issues:

rwxrwxrwx   1 root root   20 2009-10-14 15:08 doc -> ../doc/php-pear/PEAR

Till

--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php