Package: src:node-clipanion Version: 3.2.1+dfsg-1 Severity: serious Tags: ftbfs
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary --with nodejs dh_update_autotools_config dh_autoreconf dh_auto_configure --buildsystem=nodejs /!\ website/package.json not found Unable to load website workspaces field found in package.json Found debian/nodejs/additional_components Link ./node_modules/tslib -> /usr/share/nodejs/tslib Link ./node_modules/@types/mocha -> /usr/share/nodejs/@types/mocha Link ./node_modules/typescript -> /usr/share/nodejs/typescript Link ./node_modules/@rollup/plugin-typescript -> /usr/share/nodejs/@rollup/plugin-typescript Link ./node_modules/@types/chai -> /usr/share/nodejs/@types/chai Link ./node_modules/ts-node -> /usr/share/nodejs/ts-node Link ./node_modules/@types/chai-as-promised -> /usr/share/nodejs/@types/chai-as-promised Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node Link ./node_modules/get-stream -> /usr/share/nodejs/get-stream /!\ website/package.json not found Unable to load website Link ./node_modules/typanion -> /usr/share/nodejs/typanion Found debian/nodejs/additional_components dh_auto_build --buildsystem=nodejs /!\ website/package.json not found Unable to load website workspaces field found in package.json Found debian/nodejs/additional_components Found debian/nodejs/./build cd ./. && sh -ex debian/nodejs/./build + rollup -c --bundleConfigAsCjs [36m [1m/<<PKGBUILDDIR>>/sources/advanced/builtins/definitions.ts, /<<PKGBUILDDIR>>/sources/advanced/builtins/help.ts, /<<PKGBUILDDIR>>/sources/advanced/builtins/index.ts, /<<PKGBUILDDIR>>/sources/advanced/builtins/version.ts, /<<PKGBUILDDIR>>/sources/advanced/Cli.ts, /<<PKGBUILDDIR>>/sources/advanced/Command.ts, /<<PKGBUILDDIR>>/sources/advanced/HelpCommand.ts, /<<PKGBUILDDIR>>/sources/advanced/index.ts, /<<PKGBUILDDIR>>/sources/advanced/options/Array.ts, /<<PKGBUILDDIR>>/sources/advanced/options/Boolean.ts, /<<PKGBUILDDIR>>/sources/advanced/options/Counter.ts, /<<PKGBUILDDIR>>/sources/advanced/options/index.ts, /<<PKGBUILDDIR>>/sources/advanced/options/Proxy.ts, /<<PKGBUILDDIR>>/sources/advanced/options/Rest.ts, /<<PKGBUILDDIR>>/sources/advanced/options/String.ts, /<<PKGBUILDDIR>>/sources/advanced/options/utils.ts, /<<PKGBUILDDIR>>/sources/constants.ts, /<<PKGBUILDDIR>>/sources/core.ts, /<<PKGBUILDDIR>>/sources/errors.ts, /<<PKGBUILDDIR>>/sources/format.ts, /<<PKGBUILDDIR>>/sources/platform/browser.ts, /<<PKGBUILDDIR>>/sources/platform/node.ts[22m → [1mlib, lib[22m...[39m [1m[33m(!) The "preserveModules" option is deprecated. Use the "output.preserveModules" option instead.[39m[22m [90mhttps://rollupjs.org/https://rollupjs.org/configuration-options/#output-preservemodules[39m [32mcreated [1mlib, lib[22m in [1m3.7s[22m[39m + cp -a sources/platform/package.json lib/platform/ + debian/apply-publish-config ./package.json dh_auto_test --buildsystem=nodejs /!\ website/package.json not found Unable to load website workspaces field found in package.json Found debian/nodejs/additional_components ln -s ../. node_modules/clipanion /bin/sh -ex debian/tests/pkg-js/test + FORCE_COLOR=1 mocha --require ts-node/register --extension ts tests/specs --exclude tests/specs/browser.test.ts --exclude tests/specs/treeshake.test.ts TSError: ⨯ Unable to compile TypeScript: tests/tools.ts(1,54): error TS2307: Cannot find module 'get-stream' or its corresponding type declarations. at createTSError (/usr/share/nodejs/ts-node/src/index.ts:865:12) at reportTSError (/usr/share/nodejs/ts-node/src/index.ts:869:19) at getOutput (/usr/share/nodejs/ts-node/src/index.ts:1083:36) at Object.compile (/usr/share/nodejs/ts-node/src/index.ts:1439:41) at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1623:30) at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) at Object.require.extensions.<computed> [as .ts] (/usr/share/nodejs/ts-node/src/index.ts:1627:12) at Module.load (node:internal/modules/cjs/loader:1197:32) at Function.Module._load (node:internal/modules/cjs/loader:1013:12) at Module.require (node:internal/modules/cjs/loader:1225:19) at require (node:internal/modules/helpers:177:18) at Object.<anonymous> (/<<PKGBUILDDIR>>/tests/specs/advanced.test.ts:6:1) at Module._compile (node:internal/modules/cjs/loader:1356:14) at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1624:23) at Module._extensions..js (node:internal/modules/cjs/loader:1414:10) at Object.require.extensions.<computed> [as .ts] (/usr/share/nodejs/ts-node/src/index.ts:1627:12) at Module.load (node:internal/modules/cjs/loader:1197:32) at Function.Module._load (node:internal/modules/cjs/loader:1013:12) at Module.require (node:internal/modules/cjs/loader:1225:19) at require (node:internal/modules/helpers:177:18) at Object.exports.requireOrImport (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:53:16) at async Object.exports.loadFilesAsync (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.js:100:20) at async singleRun (/usr/share/nodejs/mocha/lib/cli/run-helpers.js:125:3) at async Object.exports.handler (/usr/share/nodejs/mocha/lib/cli/run.js:370:5) 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/202312/ About the archive rebuild: The build was made using virtual machines from AWS, with enough memory, enough disk, and either one or two CPUs, using 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.