[Pkg-javascript-devel] Bug#1007894: FTBFS: fails with pkg-js-tools dh_auto_build debian/nodejs/rxjs/build

Jérémy Lal kapouer at melix.org
Fri Mar 18 08:38:21 GMT 2022


Package: node-inquirer
Version: 8.2.0+~cs26.5.5-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Found debian/nodejs/additional_components
Adding component(s): packages/checkbox, packages/confirm, packages/core, packages/editor, packages/expand, packages/input, packages/inquirer, packages/password, packages/select
No build command found, searching known files
Found debian/nodejs/figures/build
	cd ./figures && sh -ex ../debian/nodejs/figures/build
+ babeljs --presets @babel/preset-env -o index.cjs index.js
No build command found, searching known files
Found debian/nodejs/rxjs/build
	cd ./rxjs && sh -ex ../debian/nodejs/rxjs/build
+ rm -rf ./dist
+ tsc -b ./src/tsconfig.cjs.json ./src/tsconfig.esm.json ./src/tsconfig.esm5.json ./src/tsconfig.esm5.rollup.json ./src/tsconfig.types.json ./spec/tsconfig.json
+ find dist/ -type f -name *.tsbuildinfo -delete
+ node ./tools/make-umd-bundle.js
TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
    at Object.writeFileSync (fs.js:1521:5)
    at /var/lib/nspawn-runner/.build/js-team/nodejs/debian/output/node-inquirer-8.2.0+~cs26.5.5/rxjs/tools/rollup-bundle.js:45:8
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  code: 'ERR_INVALID_ARG_TYPE'
}
dh_auto_build: error: cd ./rxjs && sh -ex ../debian/nodejs/rxjs/build returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages node-inquirer depends on:
ii  mocha                      9.2.2+ds1+~cs28.3.8-1
ii  node-ansi-escapes          5.0.0+really.4.3.1-1
ii  node-bl                    5.0.0-1
ii  node-chalk                 4.1.2-1
ii  node-ci-info               3.3.0+~cs4.2.0-1
ii  node-cli-cursor            3.1.0-2
ii  node-cli-spinners          2.6.1-1
ii  node-cli-width             3.0.0-2
ii  node-defaults              1.0.3+~1.0.3-1
ii  node-escape-string-regexp  4.0.0-2
ii  node-external-editor       3.1.0+dfsg-1
ii  node-lodash                4.17.21+dfsg+~cs8.31.198.20210220-5
ii  node-mute-stream           0.0.8+~0.0.1-1
ii  node-run-async             2.4.1-2
ii  node-string-width          4.2.3+~cs13.2.3-1
ii  node-strip-ansi            6.0.1-1
ii  node-through               2.3.8+~cs0.0.30-1
ii  node-tslib                 2.3.1-2

node-inquirer recommends no packages.

node-inquirer suggests no packages.

-- no debconf information



More information about the Pkg-javascript-devel mailing list