[HEADS UP] PHP and PEAR updates and changes

Uwe Laverenz uwe at laverenz.de
Tue Dec 13 05:40:35 PST 2005


On Mon, Dec 12, 2005 at 10:19:01PM +0100, Alex Dupre wrote:

> As reported in the MOVED file for portupgrade, you can manually remove 
> phpN-pear, pear-Archive_Tar, pear-Console_Getopt, pear-PEAR and then 
> install pear and run pkgdb -F to switch all pear-PEAR dependency to 
> pear. That's all.

Sorry Alex, but this does not work:

--->  Installing the new version via the port
===>  Installing for pear-1.4.5_1
===>   pear-1.4.5_1 depends on file: /usr/local/include/php/main/php.h -
found
===>   pear-1.4.5_1 depends on file: /usr/local/lib/php/20020429/pcre.so
- found
===>   pear-1.4.5_1 depends on file: /usr/local/lib/php/20020429/xml.so
- found
===>   Generating temporary packing list
===>  Checking if devel/pear already installed
Using local package: PEAR.............ok
Using local package: Archive_Tar......ok
Using local package: Console_Getopt....ok
Using local package: XML_RPC..........ok
Bootstrapping: PEAR...................(local) ok
Bootstrapping: Archive_Tar............(local) ok
Bootstrapping: Console_Getopt.........(local) ok
Extracting installer..................ok
warning: pear/PEAR requires package "pear/Archive_Tar" (version >=
1.3.1)
warning: pear/PEAR requires package "pear/Console_Getopt" (version >=
1.2)
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version
>= 0.5.0)
pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version
>= 0.4.0)
install ok: channel://pear.php.net/PEAR-1.4.5
install ok: channel://pear.php.net/Archive_Tar-1.3.1
install ok: channel://pear.php.net/Console_Getopt-1.2
install ok: channel://pear.php.net/XML_RPC-1.4.4
*** Signal 11

Stop in /usr/ports/devel/pear.
*** Error code 1

Stop in /usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall74227.0 make reinstall
egrep: /var/db/pkg/pear-PEAR-1.4.4/+CONTENTS: No such file or directory
--->  Restoring the old version
pear/PEAR can optionally use package "pear/PEAR_Frontend_Web" (version
>= 0.5.0)
pear/PEAR can optionally use package "pear/PEAR_Frontend_Gtk" (version
>= 0.4.0)
install ok: channel://pear.php.net/PEAR-1.4.4
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 755
packages found (-0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
        ! devel/pear (pear-PEAR-1.4.4)  (install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


I can reproduce this on two machines and I read on questions@ that at
least one other user has this problem. I'm glad I didn't test this on
production machines.

Uwe



More information about the freebsd-ports mailing list