Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7201 - pear DB fails to install - current/php 5.2.2-2

Attached to Project: Arch Linux
Opened by Mick (lunix) - Friday, 18 May 2007, 11:45 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 17 June 2007, 16:07 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture i686
Severity Medium
Priority Normal
Reported Version 0.8 Voodoo
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I have current/php 5.2.2-2 on i686 installed from 0.8 iso then pacman -Syu with "current, extra & community" repos

I am unable to install pear DB.

[root@elmo /]# pear install DB
WARNING: "pear/DB" is deprecated in favor of "pear/M"

Notice: unserialize(): Error at offset 40531 of 69797 bytes in PEAR/Registry.php on line 1045

Notice: unserialize(): Error at offset 40531 of 69797 bytes in PEAR/Registry.php on line 1045

Notice: unserialize(): Error at offset 40531 of 69797 bytes in PEAR/Registry.php on line 1045
pear/DB requires package "pear/PEAR" (version >= 1.0b1), installed version is
No valid packages found
install failed


[root@elmo /]# pear install MDB2

Notice: unserialize(): Error at offset 40531 of 69797 bytes in PEAR/Registry.php on line 1045

Notice: unserialize(): Error at offset 40531 of 69797 bytes in PEAR/Registry.php on line 1045

Notice: unserialize(): Error at offset 40531 of 69797 bytes in PEAR/Registry.php on line 1045
pear/MDB2 requires package "pear/PEAR" (version >= 1.3.6), installed version is
No valid packages found
install failed


[root@elmo /]# pear upgrade pear

Notice: unserialize(): Error at offset 40531 of 69797 bytes in PEAR/Registry.php on line 1045

Notice: unserialize(): Error at offset 40531 of 69797 bytes in PEAR/Registry.php on line 1045
Did not download optional dependencies: pear/XML_RPC, use --alldeps to download automatically

Notice: unserialize(): Error at offset 40531 of 69797 bytes in PEAR/Registry.php on line 1045
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
downloading PEAR-1.5.4.tgz ...
Starting to download PEAR-1.5.4.tgz (293,070 bytes)
.................done: 293,070 bytes

Notice: unserialize(): Error at offset 40531 of 69797 bytes in PEAR/Registry.php on line 1045

Notice: unserialize(): Error at offset 40531 of 69797 bytes in PEAR/Registry.php on line 1045
ERROR: pear.php.net/PEAR not installed

Cheers
Mick
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Sunday, 17 June 2007, 16:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  problem was caused by some strange seds in PKGBUILD. fixed in [testing] (arch64)
Comment by Mick (lunix) - Friday, 18 May 2007, 22:56 GMT
Just a note. I removed the whole /usr/share/pear dir and re-installed php but the fault is still there.
Comment by Mick (lunix) - Saturday, 19 May 2007, 03:45 GMT
Just a note. I removed the whole /usr/share/pear dir and re-installed php but the fault is still there.
Comment by Mick (lunix) - Monday, 21 May 2007, 08:03 GMT
Hi team,

I have recompiled php 5.2.2 ( with and without suhosin ) using ABS and still problems
I have recompiled php 5.2.1 ( without the suhosin patch ) using ABS and it is ALL GOOD.
Problem looks to be in the 5.2.2 release.
I'm not sure what the problem was but I am up and running atleast.
Comment by Tobias Kieslich (tobias) - Friday, 01 June 2007, 18:06 GMT
can you check if the problem persists in the new 5.2.3 version of php?
Comment by Pierre Schmitz (Pierre) - Friday, 01 June 2007, 18:13 GMT
I think the problem still exists. But it seems as if pear installs the packages anyway.
Comment by Mick (lunix) - Saturday, 02 June 2007, 08:51 GMT
Nope still a problem. :(
[root@elmo ~]# pear install DB
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"

Notice: unserialize(): Error at offset 39942 of 72863 bytes in PEAR/Registry.php on line 1045

Notice: unserialize(): Error at offset 39942 of 72863 bytes in PEAR/Registry.php on line 1045

Notice: unserialize(): Error at offset 39942 of 72863 bytes in PEAR/Registry.php on line 1045
pear/DB requires package "pear/PEAR" (version >= 1.0b1), installed version is
No valid packages found
install failed
Comment by Mick (lunix) - Saturday, 02 June 2007, 10:35 GMT
I just re-compiled 5.2.3 using ABS WITHOUT the suhosin patch and it is broken still.
Any ideas what this could be ?
Comment by Jose Mestizo (n3olynx) - Saturday, 02 June 2007, 15:55 GMT
I am encountering the same problem on all 3 of my boxes. PEAR does install despite the error being thrown with 5.2.3

Notice: unserialize(): Error at offset 39942 of 72863 bytes in PEAR/Registry.php on line 1045

Notice: unserialize(): Error at offset 39942 of 72863 bytes in PEAR/Registry.php on line 1045
install ok: channel://pear.php.net/Net_Socket-1.0.8

Notice: unserialize(): Error at offset 39942 of 72863 bytes in PEAR/Registry.php on line 1045

Notice: unserialize(): Error at offset 39942 of 72863 bytes in PEAR/Registry.php on line 1045
install ok: channel://pear.php.net/Auth_SASL-1.0.2
Comment by Daniel Butler (prune) - Friday, 15 June 2007, 23:53 GMT
I am having the same problem. I can't upgrade MDB2 as I need to upgrade pear, but it can't due to this error.
Comment by Daniel Butler (prune) - Saturday, 16 June 2007, 01:15 GMT
Just to clarify, I am running pear 1.5.4 and PHP 5.2.3.

I was able to install pear 1.6.0 with the go-pear method in /usr/share/pear and that all works properly, so there either is a problem with the Arch php package, or version 1.5.4 of PEAR which would cause that error.
Comment by Roman Kyrylych (Romashka) - Saturday, 16 June 2007, 07:44 GMT
Hm... IIRC there is also security issue in PEAR installer. Can we upgrade PEAR to version 1.6.0 in php package?
Comment by Pierre Schmitz (Pierre) - Saturday, 16 June 2007, 07:54 GMT
OK, I`ll have a look at this. Perhaps we should split pear out of the php package if its developed independently anyway.

Loading...