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?
Trying to build this from the Debian git repository fails in the test suite as follows:
dh_auto_test area/pkg- php-tools- 1.32~exp1' runtests. sh Debhelper_ Buildsystem_ phppear. sh Packages- 1.2.1/package. xml \"\[^\" \]\*\"/ / -e s/sha1sum= \"\[^\" \]\*\"/ / ./MyProject_ Packages- 1.2.1/package. xml 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/PEAR/ Frontend. php on line 91 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
make -j1 test
make[1]: Entering directory '/tmp/build-
sh testsuite/
[...]
Running test: 201_Debian_
cp package.xml ./MyProject_
sed -i -e s/md5sum=
/usr/bin/pear -c debian/pearrc -d download_dir=/tmp -d include_
PHP Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/share/
201_Debian_
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?