Package: src:node-mimic-response Version: 3.1.0-8 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure --buildsystem=nodejs Link ./node_modules/iconv -> /usr/lib/x86_64-linux-gnu/nodejs/iconv dh_auto_build --buildsystem=nodejs No build command found, searching known files dh_auto_test --buildsystem=nodejs ln -s ../debian/tests/test_modules/create-cert node_modules/create-cert ln -s ../debian/tests/test_modules/create-test-server node_modules/create-test-server ln -s ../debian/tests/test_modules/es6-promisify node_modules/es6-promisify ln -s ../debian/tests/test_modules/p-event node_modules/p-event ln -s ../debian/tests/test_modules/pem node_modules/pem ln -s ../. node_modules/mimic-response /bin/sh -ex debian/tests/pkg-js/test + NODE_PATH=node_modules jest --ci --testRegex test.js FAIL ./test.js ● normal TypeError: pathRegexp is not a function 43 | this.params = undefined; 44 | this.path = undefined; > 45 | this.regexp = pathRegexp(path, this.keys = [], opts); | ^ 46 | 47 | // set fast path flags 48 | this.regexp.fast_star = path === '*' at new Layer (../../../usr/share/nodejs/express/lib/router/layer.js:45:17) at Function.use (../../../usr/share/nodejs/express/lib/router/index.js:475:17) at Function.lazyrouter (../../../usr/share/nodejs/express/lib/application.js:151:18) at Function.use (../../../usr/share/nodejs/express/lib/application.js:221:8) at debian/tests/test_modules/create-test-server/src/index.js:27:7 at Object.<anonymous> (test.js:12:11) ● do not overwrite prototype properties TypeError: pathRegexp is not a function 43 | this.params = undefined; 44 | this.path = undefined; > 45 | this.regexp = pathRegexp(path, this.keys = [], opts); | ^ 46 | 47 | // set fast path flags 48 | this.regexp.fast_star = path === '*' at new Layer (../../../usr/share/nodejs/express/lib/router/layer.js:45:17) at Function.use (../../../usr/share/nodejs/express/lib/router/index.js:475:17) at Function.lazyrouter (../../../usr/share/nodejs/express/lib/application.js:151:18) at Function.use (../../../usr/share/nodejs/express/lib/application.js:221:8) at debian/tests/test_modules/create-test-server/src/index.js:27:7 at Object.<anonymous> (test.js:12:11) ● `aborted` event TypeError: pathRegexp is not a function 43 | this.params = undefined; 44 | this.path = undefined; > 45 | this.regexp = pathRegexp(path, this.keys = [], opts); | ^ 46 | 47 | // set fast path flags 48 | this.regexp.fast_star = path === '*' at new Layer (../../../usr/share/nodejs/express/lib/router/layer.js:45:17) at Function.use (../../../usr/share/nodejs/express/lib/router/index.js:475:17) at Function.lazyrouter (../../../usr/share/nodejs/express/lib/application.js:151:18) at Function.use (../../../usr/share/nodejs/express/lib/application.js:221:8) at debian/tests/test_modules/create-test-server/src/index.js:27:7 at Object.<anonymous> (test.js:12:11) ● autoDestroy must be false TypeError: pathRegexp is not a function 43 | this.params = undefined; 44 | this.path = undefined; > 45 | this.regexp = pathRegexp(path, this.keys = [], opts); | ^ 46 | 47 | // set fast path flags 48 | this.regexp.fast_star = path === '*' at new Layer (../../../usr/share/nodejs/express/lib/router/layer.js:45:17) at Function.use (../../../usr/share/nodejs/express/lib/router/index.js:475:17) at Function.lazyrouter (../../../usr/share/nodejs/express/lib/application.js:151:18) at Function.use (../../../usr/share/nodejs/express/lib/application.js:221:8) at debian/tests/test_modules/create-test-server/src/index.js:27:7 at Object.<anonymous> (test.js:12:11) ● `close` event TypeError: pathRegexp is not a function 43 | this.params = undefined; 44 | this.path = undefined; > 45 | this.regexp = pathRegexp(path, this.keys = [], opts); | ^ 46 | 47 | // set fast path flags 48 | this.regexp.fast_star = path === '*' at new Layer (../../../usr/share/nodejs/express/lib/router/layer.js:45:17) at Function.use (../../../usr/share/nodejs/express/lib/router/index.js:475:17) at Function.lazyrouter (../../../usr/share/nodejs/express/lib/application.js:151:18) at Function.use (../../../usr/share/nodejs/express/lib/application.js:221:8) at debian/tests/test_modules/create-test-server/src/index.js:27:7 at Object.<anonymous> (test.js:12:11) ● Test suite failed to run TypeError: Cannot read properties of undefined (reading 'close') 30 | 31 | afterAll(async () => { > 32 | await server.close(); | ^ 33 | }); 34 | 35 | test('normal', async () => { at Object.<anonymous> (test.js:32:18) Test Suites: 1 failed, 1 total Tests: 5 failed, 5 total Snapshots: 0 total Time: 1.907 s Ran all test suites. dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202409/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. 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.