[pkg-php-pear] Bug#810652: phing fails to start: default.properties needs patch

David Prévot taffit at debian.org
Mon Jan 11 03:01:47 UTC 2016

Control: retitle -1 phing fails to start: Missing JsMinTask.php
Control: found -1 2.9.1-1

Hi Scott,

Thanks for your report and your analyses.

On Sun, Jan 10, 2016 at 06:26:03PM -0500, Scott Howard wrote:

> 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]
> Why:
> JsMinTask.php is non-free, and removed during the config step in debian/rules.

Actually, JsMin.php was the non-free bit, and has been removed upstream
in 2.9.1. Now JsMinTask.php uses JShrink if available.

> 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

In fact, default.properties used to be patched to drop any reference to
JsMin. The error was actually to still remove JsMinTask.php in
debian/rules. I’ve just fixed it in Git, and checked (with sitecake)
that it now runs properly. The version in Jessie (2.8.2+dfsg-1) is not

Do you need the fix in the archive now (I can upload it quickly if you
wish), or can it wait for the next upstream release or PHP transition,
whatever comes first?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20160110/4710a64c/attachment.sig>

More information about the pkg-php-pear mailing list