[Pkg-javascript-devel] Bug#918404: node-temporary FTBFS with nodejs 10.15.0

Adrian Bunk bunk at debian.org
Sat Jan 5 20:10:19 GMT 2019


Source: node-temporary
Version: 0.0.8-2
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-temporary.html

...
  15 passing (290ms)
  5 failing

  1) Tempdir
       rmdir
         should remove the directory:
     TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
      at makeCallback (fs.js:137:11)
      at Object.rmdir (fs.js:667:14)
      at Function.invoke (/usr/lib/nodejs/sinon/lib/sinon/spy.js:172:59)
      at Object.proxy [as rmdir] (eval at createProxy (/usr/lib/nodejs/sinon/lib/sinon/spy.js:77:17), <anonymous>:1:37)
      at Dir.rmdir (lib/dir.js:44:12)
      at Context.<anonymous> (test/dir.test.js:29:11)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:560:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:366:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
      at Immediate._onImmediate (/usr/lib/nodejs/mocha/lib/runner.js:334:5)

  2) Tempfile
       readFile
         should call fs.readfile:
     TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
      at maybeCallback (fs.js:129:9)
      at Object.readFile (fs.js:278:14)
      at Function.invoke (/usr/lib/nodejs/sinon/lib/sinon/spy.js:172:59)
      at Object.proxy [as readFile] (eval at createProxy (/usr/lib/nodejs/sinon/lib/sinon/spy.js:77:17), <anonymous>:1:39)
      at File.readFile (lib/file.js:44:15)
      at Context.<anonymous> (test/file.test.js:29:11)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:560:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:366:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
      at Immediate._onImmediate (/usr/lib/nodejs/mocha/lib/runner.js:334:5)

  3) Tempfile
       writeFile
         should call fs.readfile:
     TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
      at maybeCallback (fs.js:129:9)
      at Object.writeFile (fs.js:1159:14)
      at Function.invoke (/usr/lib/nodejs/sinon/lib/sinon/spy.js:172:59)
      at Object.proxy [as writeFile] (eval at createProxy (/usr/lib/nodejs/sinon/lib/sinon/spy.js:77:17), <anonymous>:1:41)
      at File.writeFile (lib/file.js:58:16)
      at Context.<anonymous> (test/file.test.js:49:11)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:560:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:366:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
      at Immediate._onImmediate (/usr/lib/nodejs/mocha/lib/runner.js:334:5)

  4) Tempfile
       close
         should call fs.close:
     TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
      at makeCallback (fs.js:137:11)
      at Object.close (fs.js:395:20)
      at Function.invoke (/usr/lib/nodejs/sinon/lib/sinon/spy.js:172:59)
      at Object.proxy [as close] (eval at createProxy (/usr/lib/nodejs/sinon/lib/sinon/spy.js:77:17), <anonymous>:1:37)
      at File.close (lib/file.js:86:12)
      at Context.<anonymous> (test/file.test.js:91:11)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:560:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:366:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
      at Immediate._onImmediate (/usr/lib/nodejs/mocha/lib/runner.js:334:5)

  5) Tempfile
       unlink
         should call fs.unlink:
     TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
      at makeCallback (fs.js:137:11)
      at Object.unlink (fs.js:939:14)
      at Function.invoke (/usr/lib/nodejs/sinon/lib/sinon/spy.js:172:59)
      at Object.proxy [as unlink] (eval at createProxy (/usr/lib/nodejs/sinon/lib/sinon/spy.js:77:17), <anonymous>:1:37)
      at File.unlink (lib/file.js:100:13)
      at Context.<anonymous> (test/file.test.js:112:11)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:354:21)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:346:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:442:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:560:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:356:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:366:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:290:14)
      at Immediate._onImmediate (/usr/lib/nodejs/mocha/lib/runner.js:334:5)



make[1]: *** [Makefile:4: test] Error 5



More information about the Pkg-javascript-devel mailing list