[Pkg-javascript-devel] Bug#887583: libjs-fetch FTBFS with mocha 4.0.1-3

Adrian Bunk bunk at debian.org
Thu Jan 18 07:23:11 UTC 2018


Source: libjs-fetch
Version: 2.0.3-1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libjs-fetch.html

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/libjs-fetch-2.0.3'
xvfb-run -a -s "-screen 0 640x480x16" ./script/test
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pbuilder1'
Error loading resource http://localhost:3901/node_modules/mocha/mocha.css (203). Details: Error transferring http://localhost:3901/node_modules/mocha/mocha.css - server replied: Not Found
Error loading resource http://localhost:3901/node_modules/url-search-params/build/url-search-params.js (203). Details: Error transferring http://localhost:3901/node_modules/url-search-params/build/url-search-params.js - server replied: Not Found
Error loading resource http://localhost:3901/node_modules/mocha/mocha.js (203). Details: Error transferring http://localhost:3901/node_modules/mocha/mocha.js - server replied: Not Found
ReferenceError: Can't find variable: Mocha
ReferenceError: Can't find variable: suite
TypeError: mocha.run is not a function. (In 'mocha.run()', 'mocha.run' is undefined)
Likely due to external resource loading and timing, your tests require calling `window.initMochaPhantomJS()` before calling any mocha setup functions. See https://github.com/nathanboktae/mocha-phantomjs-core/issues/12
TypeError: Attempting to change the setter of an unconfigurable property.
TypeError: Attempting to change the setter of an unconfigurable property.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-pbuilder1'
Error loading resource http://localhost:3901/node_modules/mocha/mocha.css (203). Details: Error transferring http://localhost:3901/node_modules/mocha/mocha.css - server replied: Not Found
Error loading resource http://localhost:3901/node_modules/url-search-params/build/url-search-params.js (203). Details: Error transferring http://localhost:3901/node_modules/url-search-params/build/url-search-params.js - server replied: Not Found
Error loading resource http://localhost:3901/node_modules/mocha/mocha.js (203). Details: Error transferring http://localhost:3901/node_modules/mocha/mocha.js - server replied: Not Found
ReferenceError: Can't find variable: Mocha
Likely due to external resource loading and timing, your tests require calling `window.initMochaPhantomJS()` before calling any mocha setup functions. See https://github.com/nathanboktae/mocha-phantomjs-core/issues/12
TypeError: Attempting to change the setter of an unconfigurable property.
TypeError: Attempting to change the setter of an unconfigurable property.
debian/rules:28: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



More information about the Pkg-javascript-devel mailing list