[pkg-php-pear] Bug#805222: Bug now appears in Debian Jessie

Sven-Haegar Koch haegar at sdinet.de
Tue Mar 22 19:49:37 UTC 2016


Hallo,

It seems that this bug (fixed for Debian Unstable) "PECL extensions 
FTBFS with PHP Fatal error: Call to a member function getFilelist() 
on null" now appeared in Debian Stable (Jessie) with the PHP5 security 
updates, but there missing the fix introduced.

To reproduce try rebuilding the php-apcu 4.0.7-1 source package (in an 
fully updated Jessie):

...
dh_auto_install --destdir=debian/php5-apcu
        install -d debian/php5-apcu
        /usr/bin/pear -c debian/pearrc -d download_dir=/tmp -d 
include_path=/usr/share/php -d php_bin=/usr/bin/php -d bin_dir=/usr/bin 
-d php_dir=/usr/share/php -d data_dir=/usr/share/php/data -d 
doc_dir=/usr/share/doc/php5-apcu -d test_dir=/usr/share/php/tests 
install --offline --nodeps -P 
/home/haegar/ap/php-apcu-4.0.7/debian/php5-apcu --nobuild 
./apcu-4.0.7/package.xml
PHP Fatal error:  Call to a member function getFilelist() on null in 
/usr/share/php/PEAR/Command/Install.php on line 747
dh_auto_install: /usr/bin/pear -c debian/pearrc -d download_dir=/tmp -d 
include_path=/usr/share/php -d php_bin=/usr/bin/php -d bin_dir=/usr/bin 
-d php_dir=/usr/share/php -d data_dir=/usr/share/php/data -d 
doc_dir=/usr/share/doc/php5-apcu -d test_dir=/usr/share/php/tests 
install --offline --nodeps -P 
/home/haegar/ap/php-apcu-4.0.7/debian/php5-apcu --nobuild 
./apcu-4.0.7/package.xml returned exit code 255
debian/rules:9: recipe for target 'override_dh_auto_install' failed
...


(jessie32)haegar at corona:~$ dpkg -S /usr/share/php/PEAR/Command/Install.php
php-pear: /usr/share/php/PEAR/Command/Install.php

(jessie32)haegar at corona:~$ dpkg -l |grep php-pear
ii  php-pear                                5.6.17+dfsg-0+deb8u1                 all          PEAR - PHP Extension and Application Repository


(Not re-opening the bug yet, unsure about the procedure for newly 
introduced stable bugs)

c'ya
sven-haegar

-- 
Three may keep a secret, if two of them are dead.
- Ben F.



More information about the pkg-php-pear mailing list