The horrible mess called PHP

Jan Rękorajski baggins at pld-linux.org
Sun Jun 16 10:48:58 CEST 2024


On Sun, 16 Jun 2024, Jan Rękorajski wrote:

> On Sun, 16 Jun 2024, Arkadiusz Miśkiewicz via pld-devel-en wrote:
> 
[...]
> > 
> > But you did disable dependency generator for PEAR
> > 
> > Author: Jan Rękorajski <baggins at pld-linux.org>
> > Date:   Sat Oct 17 10:02:30 2020 +0200
> > - disable php pear dependency generators - ver 1.753
> > 
> > and that causes now that rebuilding pear packages produce new packages 
> > that do not provide things that existing packages want.
> > 
> > If you disabled this to get rid of pear specific deps then all pear 
> > packages need to be rebuild.
> 
> Hah, good point. I might have disabled it because of dependency problems
> seteaming from constant installs/removals of the php runtime.
> 
> I'm going to reenable that and test if it still works.

Ok, we have two dependency generators for php pear. One written in perl
and that one seem to work, and the second in php that seems to be
completely broken:

Runtime version 7.4.

First:

PHP Warning:  require_once(PHP/CompatInfo.php): failed to open stream: No such file or directory in /usr/lib/rpm/php.req.php on line 123
PHP Fatal error:  require_once(): Failed opening required 'PHP/CompatInfo.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/lib/rpm/php.req.php on line 123

After installing php-pear-PHP_CompatInfo:

PHP Parse error:  syntax error, unexpected 'new' (T_NEW) in /usr/share/pear/Event/Dispatcher.php on line 249

I'll reenable the old one and we'll deal with the problems as they
appear.

-- 
Jan Rękorajski                    | PLD/Linux
SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/


More information about the pld-devel-en mailing list