[Pkg-javascript-devel] Bug#902510: node-source-map-support: FTBFS in buster/sid (Cannot find module 'source-map')
Santiago Vila
sanvila at debian.org
Wed Jun 27 13:50:20 BST 2018
Package: src:node-source-map-support
Version: 0.5.5+ds-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster with "dpkg-buildpackage -A"
but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep
dh_update_autotools_config -i
dh_autoreconf -i
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<BUILDDIR>>/node-source-map-support-0.5.5+ds'
mocha -R spec test.js
module.js:549
throw err;
^
Error: Cannot find module 'source-map'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/<<BUILDDIR>>/node-source-map-support-0.5.5+ds/source-map-support.js:1:87)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/<<BUILDDIR>>/node-source-map-support-0.5.5+ds/test.js:1:63)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at /usr/lib/nodejs/mocha/lib/mocha.js:231:27
at Array.forEach (<anonymous>)
at Mocha.loadFiles (/usr/lib/nodejs/mocha/lib/mocha.js:228:14)
at Mocha.run (/usr/lib/nodejs/mocha/lib/mocha.js:536:10)
at Object.<anonymous> (/usr/lib/nodejs/mocha/bin/_mocha:573:18)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
debian/rules:8: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/node-source-map-support-0.5.5+ds'
debian/rules:4: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is how the build ends in my autobuilder and it's not
necessarily the relevant part.
The failure is not, however, related to using dpkg-buildpackage -A,
as it also fails in reproducible builds:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/node-source-map-support.html
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 page for this package.
Thanks.
More information about the Pkg-javascript-devel
mailing list