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

2016-02-26 Thread Andreas Beckmann
Control: tag -1 sid stretch

On 2016-02-26 19:33, Thorsten Alteholz wrote:
> On Thu, 25 Feb 2016, Andreas Beckmann wrote:
>> this package FTBFS in a similar way in jessie:
> 
> yes, version 3.0.0-2 works on Jessie but FTBFS on Sid and 3.0.0-3 works
> on Sid but fails on Jessie. I think there has been some change in
> coffeescript...

Oops, you are right, somehow I picked up -3 for a testbuild on jessie.
-2 does actually work fine there.

Andreas



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

2016-02-26 Thread Thorsten Alteholz

Hi Andreas,

On Thu, 25 Feb 2016, Andreas Beckmann wrote:

this package FTBFS in a similar way in jessie:


yes, version 3.0.0-2 works on Jessie but FTBFS on Sid and 3.0.0-3 works 
on Sid but fails on Jessie. I think there has been some change in 
coffeescript...


 Thorsten



Bug#787924: node-crc: test failure Error: Use CoffeeScript.register()

2016-02-25 Thread Andreas Beckmann
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. (/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



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

2015-06-13 Thread Leo Iannacone

On 6 June 2015 at 14:02, Jérémy Lal kapo...@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.


signature.asc
Description: GooPG digital signature


Bug#787924: node-crc: test failure Error: Use CoffeeScript.register()

2015-06-06 Thread Jérémy Lal
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 ?

Jérémy

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (670, 'unstable'), (650, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages node-crc depends on:
ii  nodejs  0.10.38~dfsg-1

node-crc recommends no packages.

node-crc suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org