Package: src:node-mocha
Version: 4.1.0+ds3-3
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<BUILDDIR>>/node-mocha-4.1.0+ds3'
NODE_PATH='/usr/share/nodejs:/usr/lib/nodejs' webpack --verbose --config 
debian/webpack.config.js
Hash: 87cc69c5bf02c862585f
Version: webpack 3.5.6
Time: 2463ms
   Asset    Size  Chunks                    Chunk Names
mocha.js  458 kB       0  [emitted]  [big]  main
Entrypoint main [big] = mocha.js

[... snipped ...]

  raw-module: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3) buffer
  module: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3) buffer
  resolve: (/usr/share/nodejs) ./buffer
  new-resolve: (/usr/share/nodejs) ./buffer
  parsed-resolve: (/usr/share/nodejs) ./buffer
  described-resolve: (/usr/share/nodejs) ./buffer
  resolve: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3) buffer
 @ /usr/lib/nodejs/core-util-is/lib/util.js 1:0-79
 @ /usr/lib/nodejs/readable-stream/lib/_stream_duplex.js
 @ /usr/lib/nodejs/readable-stream/readable-browser.js
 @ /usr/lib/nodejs/stream-browserify/index.js
 @ /usr/lib/nodejs/browser-stdout/index.js
 @ ./browser-entry.js

ERROR in /usr/share/javascript/util/support/isBuffer.js
Module not found: Error: Recursion in resolving
Stack:
  resolve: (/usr/share/javascript/util/support) 
./../../../../../<<BUILDDIR>>/node-mocha-4.1.0+ds3/buffer
  new-resolve: (/usr/share/javascript/util/support) 
./../../../../../<<BUILDDIR>>/node-mocha-4.1.0+ds3/buffer
  parsed-resolve: (/usr/share/javascript/util/support) 
./../../../../../<<BUILDDIR>>/node-mocha-4.1.0+ds3/buffer
  described-resolve: (/usr/share/javascript/util/support) 
./../../../../../<<BUILDDIR>>/node-mocha-4.1.0+ds3/buffer
  relative: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3/buffer) 
  described-relative: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3/buffer) 
  raw-file: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3/buffer) 
  file: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3/buffer) 
  resolve: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3) buffer
  new-resolve: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3) buffer
  parsed-resolve: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3) buffer module
  described-resolve: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3) buffer module
  raw-module: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3) buffer
  module: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3) buffer
  resolve: (/usr/share/nodejs) ./buffer
  new-resolve: (/usr/share/nodejs) ./buffer
  parsed-resolve: (/usr/share/nodejs) ./buffer
  described-resolve: (/usr/share/nodejs) ./buffer
  resolve: (/<<BUILDDIR>>/node-mocha-4.1.0+ds3) buffer
 @ /usr/share/javascript/util/support/isBuffer.js 1:0-79
 @ /usr/share/javascript/util/util.js
 @ ./lib/utils.js
 @ ./lib/mocha.js
 @ ./browser-entry.js
make[1]: *** [debian/rules:23: mocha.js] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/node-mocha-4.1.0+ds3'
make: *** [debian/rules:8: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant 
part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

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

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

Thanks.

Reply via email to