Bug#630542: yui-compressor: mangles strings containing backslash

Jakub Wilk jwilk at debian.org
Sat Jun 25 11:34:47 UTC 2011


* Damien Raude-Morvan <drazzib at drazzib.com>, 2011-06-20, 22:24:
>Could you please try yui-compressor package I've put here with your jQuery
>build :
>http://people.debian.org/~drazzib/yui/

Sorry for the late answer. With 2.4.6+rhino17R3-1, jquery fails to 
build:

| dh build
|    dh_testdir
|    dh_auto_configure
|    debian/rules override_dh_auto_build
| make[1]: Entering directory `/tmp/jquery-1.6.1'
| `yui-compressor dist/jquery.js -o dist/jquery.min.js`
|
| [ERROR] 8936:11:unterminated comment
|
| [ERROR] 8936:11:missing ) after formal parameters
|
| [ERROR] 8936:11:missing } after function body
|
| [ERROR] 1:0:Compilation produced 3 syntax errors.
| org.mozilla.javascript.EvaluatorException: Compilation produced 3 syntax errors.
| 	at com.yahoo.platform.yui.compressor.YUICompressor$1.runtimeError(YUICompressor.java:154)
| 	at org.mozilla.javascript.Parser.parse(Parser.java:597)
| 	at org.mozilla.javascript.Parser.parse(Parser.java:530)
| 	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:313)
| 	at com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:536)
| 	at com.yahoo.platform.yui.compressor.YUICompressor.main(YUICompressor.java:131)
| 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
| 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| 	at java.lang.reflect.Method.invoke(Method.java:616)
| 	at com.yahoo.platform.yui.compressor.Bootstrap.main(Bootstrap.java:21)
| make[1]: *** [override_dh_auto_build] Error 2
| make[1]: Leaving directory `/tmp/jquery-1.6.1'
| make: *** [build] Error 2
| dpkg-buildpackage: error: debian/rules build gave error exit status 2

-- 
Jakub Wilk





More information about the pkg-java-maintainers mailing list