[Pkg-javascript-devel] Bug#787924: Bug#787924: node-crc: test failure Error: Use CoffeeScript.register()

Leo Iannacone l3on at ubuntu.com
Sat Jun 13 17:27:39 UTC 2015


On 6 June 2015 at 14:02, Jérémy Lal <kapouer at melix.org> wrote:
>
> Package: node-crc
> Version: 3.0.0-2
> Severity: important
>
> Hello,
>
> while rebuilding node-crc in a clean sid sbuild chroot, this error happens:
>
> dh build
>    dh_testdir
>    dh_auto_configure
>    debian/rules override_dh_auto_build
> make[1]: Entering directory '/«PKGBUILDDIR»'
> if [ ! -d lib.org ]; then mv lib lib.orig; fi
> coffee --bare --output ./lib --compile ./src/*.coffee
> make[1]: Leaving directory '/«PKGBUILDDIR»'
>    debian/rules override_dh_auto_test
> make[1]: Entering directory '/«PKGBUILDDIR»'
> mocha -C test/*.spec.coffee
>
> /usr/lib/coffee-script/lib/coffee-script/coffee-script.js:213
>           throw new Error("Use CoffeeScript.register() or require the coffee-s
>                 ^
> Error: Use CoffeeScript.register() or require the coffee-script/register module to require .coffee.md files.
>   at Object.base.(anonymous function) [as .coffee] (/usr/lib/coffee-script/lib/coffee-script/coffee-script.js:213:17)
>   at Module.load (module.js:356:32)
>   at Function.Module._load (module.js:312:12)
>   at Module.require (module.js:364:17)
>   at require (module.js:380:17)
>   at /usr/lib/nodejs/mocha/lib/mocha.js:172:27
>   at Array.forEach (native)
>   at Mocha.loadFiles (/usr/lib/nodejs/mocha/lib/mocha.js:169:14)
>   at Mocha.run (/usr/lib/nodejs/mocha/lib/mocha.js:356:31)
>   at Object.<anonymous> (/usr/lib/nodejs/mocha/bin/_mocha:366:16)
>   at Module._compile (module.js:456:26)
>   at Object.Module._extensions..js (module.js:474:10)
>   at Module.load (module.js:356:32)
>   at Function.Module._load (module.js:312:12)
>   at Function.Module.runMain (module.js:497:10)
>   at startup (node.js:119:16)
>   at node.js:906:3
>
> make[1]: *** [override_dh_auto_test] Error 8
> debian/rules:19: recipe for target 'override_dh_auto_test' failed
>
> Is mocha the problem ? node-crc ? coffeescript ?


I think it's a mocha with new coffee that fails.

I tried to update mocha, but I got test errors. If someone around could help (checkout git master) I would be more than happy.


Leo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: GooPG digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20150613/6049dfa2/attachment.sig>


More information about the Pkg-javascript-devel mailing list