Comment 2 for bug 1543334

Revision history for this message
Steve Langasek (vorlon) wrote :

Trying to build this from the Debian git repository fails in the test suite as follows:

   dh_auto_test
 make -j1 test
make[1]: Entering directory '/tmp/build-area/pkg-php-tools-1.32~exp1'
sh testsuite/runtests.sh
[...]
Running test: 201_Debian_Debhelper_Buildsystem_phppear.sh
 cp package.xml ./MyProject_Packages-1.2.1/package.xml
 sed -i -e s/md5sum=\"\[^\"\]\*\"// -e s/sha1sum=\"\[^\"\]\*\"// ./MyProject_Packages-1.2.1/package.xml
 /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/php-foo -d test_dir=/usr/share/php/tests install --offline --nodeps -P /tmp/6SOImKhlpj ./MyProject_Packages-1.2.1/package.xml
PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/share/php/PEAR/Frontend.php on line 91
201_Debian_Debhelper_Buildsystem_phppear.pl: /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/php-foo -d test_dir=/usr/share/php/tests install --offline --nodeps -P /tmp/6SOImKhlpj ./MyProject_Packages-1.2.1/package.xml returned exit code 255
UNKNOWN

Is this package missing a versioned dependency on php-pear (bug #1543324)? Should we upload and trust that it will be fixed once php-pear is available?