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

Andreas Beckmann anbe at debian.org
Thu Feb 25 17:18:02 UTC 2016


Followup-For: Bug #787924

Hi,

this package FTBFS in a similar way in jessie:

 debian/rules build
dh build
   dh_testdir
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/node-crc-3.0.0'
if [ ! -d lib.org ]; then mv lib lib.orig; fi
coffee --bare --output ./lib --compile ./src/*.coffee
make[1]: Leaving directory '/build/node-crc-3.0.0'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/node-crc-3.0.0'
mocha -C test/*.spec.coffee

module.js:340
    throw err;
          ^
Error: Cannot find module 'coffee-script/register'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at /usr/lib/nodejs/mocha/bin/_mocha:269:3
    at Array.forEach (native)
    at Object.<anonymous> (/usr/lib/nodejs/mocha/bin/_mocha:263:19)
    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
debian/rules:19: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 8
make[1]: Leaving directory '/build/node-crc-3.0.0'
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 2


Andreas



More information about the Pkg-javascript-devel mailing list