[Pkg-javascript-devel] Bug#1135420: node-ava: FTBFS: Type 'undefined' is not assignable to type 'JsonValue'.

Santiago Vila sanvila at debian.org
Sat May 2 00:13:10 BST 2026


Package: src:node-ava
Version: 5.3.1+dfsg+~cs46.3.10-5
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202605/

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 cannot 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 add an affects on src:node-ava, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
	rm -rf ./node_modules/.cache ./.nyc_output
	rm -rf arrgv/node_modules/.cache arrgv/.nyc_output
	rm -rf ava-typescript/node_modules/.cache ava-typescript/.nyc_output
	rm -rf chunkd/node_modules/.cache chunkd/.nyc_output
	rm -rf ci-parallel-vars/node_modules/.cache ci-parallel-vars/.nyc_output
	rm -rf code-excerpt/node_modules/.cache code-excerpt/.nyc_output
	rm -rf common-path-prefix/node_modules/.cache common-path-prefix/.nyc_output
	rm -rf convert-to-spaces/node_modules/.cache convert-to-spaces/.nyc_output
	rm -rf is-error/node_modules/.cache is-error/.nyc_output
	rm -rf p-event/node_modules/.cache p-event/.nyc_output
	rm -rf pkg-conf/node_modules/.cache pkg-conf/.nyc_output
	rm -rf serialize-error/node_modules/.cache serialize-error/.nyc_output
	rm -rf supertap/node_modules/.cache supertap/.nyc_output
	rm -rf temp-dir/node_modules/.cache temp-dir/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/indent-string
unlink ./node_modules/strip-ansi
unlink ./node_modules/type-fest
unlink ./node_modules/@types/js-yaml
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
rm arrgv/node_modules/.cache
rm ava-typescript/node_modules/.cache
rm chunkd/node_modules/.cache
rm ci-parallel-vars/node_modules/.cache
rm code-excerpt/node_modules/.cache
rm common-path-prefix/node_modules/.cache
rm convert-to-spaces/node_modules/.cache
rm is-error/node_modules/.cache
rm p-event/node_modules/.cache
rm pkg-conf/node_modules/.cache
rm serialize-error/node_modules/.cache
rm supertap/node_modules/.cache
rm temp-dir/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/indent-string
unlink ./node_modules/strip-ansi
unlink ./node_modules/type-fest
unlink ./node_modules/@types/js-yaml
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink code-excerpt/node_modules/convert-to-spaces
unlink node_modules/arrgv
unlink node_modules/@ava/typescript
unlink node_modules/chunkd
unlink node_modules/ci-parallel-vars
unlink node_modules/code-excerpt
unlink node_modules/common-path-prefix
unlink node_modules/convert-to-spaces
unlink node_modules/is-error
unlink node_modules/p-event
unlink node_modules/pkg-conf
unlink node_modules/serialize-error
unlink node_modules/supertap
unlink node_modules/temp-dir
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/indent-string -> /usr/share/nodejs/indent-string
Link ./node_modules/strip-ansi -> /usr/share/nodejs/strip-ansi
Link ./node_modules/type-fest -> /usr/share/nodejs/type-fest
Link ./node_modules/@types/js-yaml -> /usr/share/nodejs/@types/js-yaml
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link node_modules/arrgv -> ../arrgv
Link node_modules/@ava/typescript -> ../../ava-typescript
Link node_modules/chunkd -> ../chunkd
Link node_modules/ci-parallel-vars -> ../ci-parallel-vars
Link node_modules/code-excerpt -> ../code-excerpt
Link node_modules/common-path-prefix -> ../common-path-prefix
Link node_modules/convert-to-spaces -> ../convert-to-spaces
Link node_modules/is-error -> ../is-error
Link node_modules/p-event -> ../p-event
Link node_modules/pkg-conf -> ../pkg-conf
Link node_modules/serialize-error -> ../serialize-error
Link node_modules/supertap -> ../supertap
Link node_modules/temp-dir -> ../temp-dir
Link code-excerpt/node_modules/convert-to-spaces -> ../../convert-to-spaces
Link node_modules/@sindresorhus/tsconfig -> ../../debian/build_modules/@sindresorhus/tsconfig
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/chunkd/build
	cd ./chunkd && sh -ex ../debian/nodejs/chunkd/build
+ tsc
Found debian/nodejs/supertap/build
	cd ./supertap && sh -ex ../debian/nodejs/supertap/build
+ tsc
source/index.ts:8:2 - error TS2322: Type 'string | undefined' is not assignable to type 'JsonValue'.
  Type 'undefined' is not assignable to type 'JsonValue'.

8  object['at'] = (object.stack ?? '')
   ~~~~~~~~~~~~


Found 1 error in source/index.ts:8

dh_auto_build: error: cd ./supertap && sh -ex ../debian/nodejs/supertap/build returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-javascript-devel mailing list