[pkg-php-pear] Bug#810652: phing fails to start: default.properties needs patch
Scott Howard
showard at debian.org
Sun Jan 10 23:26:03 UTC 2016
Package: phing
Version: 2.13.0-1
Severity: important
Dear Maintainer,
When phing is run, it will fail:
$ phing
Buildfile: /home/showard/bootstrap/sitecake/build.xml
[PHP Error] include_once(phing/tasks/ext/jsmin/JsMinTask.php): failed to open
stream: No such file or directory [line 1272 of /usr/share/php/phing/Phing.php]
[PHP Error] include_once(): Failed opening
'phing/tasks/ext/jsmin/JsMinTask.php' for inclusion
(include_path='/usr/share/php/../classes:.:/usr/share/php:/usr/share/pear')
[line 1272 of /usr/share/php/phing/Phing.php]
BUILD FAILED
exception 'ConfigurationException' with message 'Error importing
phing/tasks/ext/jsmin/JsMinTask.php' in /usr/share/php/phing/Phing.php:1280
Stack trace:
#0 /usr/share/php/phing/Phing.php(1227): Phing::__import('phing/tasks/ext...',
NULL)
#1 /usr/share/php/phing/Project.php(630): Phing::import('phing.tasks.ext...',
NULL)
#2 /usr/share/php/phing/Project.php(163): Project->addTaskDefinition('jsmin',
'phing.tasks.ext...')
#3 /usr/share/php/phing/Phing.php(628): Project->init()
#4 /usr/share/php/phing/Phing.php(191): Phing->runBuild()
#5 /usr/share/php/phing/Phing.php(316): Phing::start(Array, NULL)
#6 /usr/share/php/phing.php(58): Phing::fire(Array)
#7 {main}
Total time: 0.0417 seconds
Error importing phing/tasks/ext/jsmin/JsMinTask.php
Why:
JsMinTask.php is non-free, and removed during the config step in debian/rules.
However /usr/share/php/data/phing/tasks/default.properties still refers to it
Fix:
Comment/delete the following line from
/usr/share/php/data/phing/tasks/default.properties
jsmin=phing.tasks.ext.jsmin.JsMinTask
Reference:
https://bugzilla.redhat.com/show_bug.cgi?id=894748#c14
Cheers,
Scott
-- System Information:
Debian Release: jessie/sid
APT prefers wily-updates
APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily'), (100, 'wily-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-23-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages phing depends on:
ii php5-cli 5.6.11+dfsg-1ubuntu3.1
ii php5-common 5.6.11+dfsg-1ubuntu3.1
Versions of packages phing recommends:
ii pdepend 2.1.0-2
ii php-codesniffer 2.3.3-1
ii php-http-request2 2.2.1-2
ii php-pear 5.6.11+dfsg-1ubuntu3.1
ii php5-xdebug 2.3.3-1ubuntu1
ii phpmd 2.2.3-1
phing suggests no packages.
-- no debconf information
More information about the pkg-php-pear
mailing list