#1140991 node-vega-lite: FTBFS: [Error: Cannot find package 'tap' imported from /<<PKGBUILDDIR>>/json-stringify-pretty-compact/x]

#1140991#5
Date:
2026-06-28 20:51:33 UTC
From:
To:
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/202606/

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-vega-lite, 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 json-stringify-pretty-compact/node_modules/.cache json-stringify-pretty-compact/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/fast-deep-equal
unlink ./node_modules/fast-json-stable-stringify
unlink ./node_modules/@rollup/plugin-alias
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@rollup/plugin-babel
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@rollup/plugin-json
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@rollup/plugin-node-resolve
Trying to remove ./node_modules/@rollup
unlink ./node_modules/rollup-plugin-terser
unlink ./node_modules/@types/clone
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/vega-event-selector
unlink ./node_modules/vega-expression
unlink ./node_modules/vega-typings
unlink ./node_modules/vega-util
rm ./node_modules/vega
rm json-stringify-pretty-compact/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/fast-deep-equal
unlink ./node_modules/fast-json-stable-stringify
unlink ./node_modules/@rollup/plugin-alias
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@rollup/plugin-babel
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@rollup/plugin-json
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@rollup/plugin-node-resolve
Trying to remove ./node_modules/@rollup
unlink ./node_modules/rollup-plugin-terser
unlink ./node_modules/@types/clone
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/vega-event-selector
unlink ./node_modules/vega-expression
unlink ./node_modules/vega-typings
unlink ./node_modules/vega-util
rm ./node_modules/vega
unlink node_modules/json-stringify-pretty-compact
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/fast-deep-equal -> /usr/share/nodejs/fast-deep-equal
Link ./node_modules/fast-json-stable-stringify -> /usr/share/nodejs/fast-json-stable-stringify
Link ./node_modules/@rollup/plugin-alias -> /usr/share/nodejs/@rollup/plugin-alias
Link ./node_modules/@rollup/plugin-babel -> /usr/share/nodejs/@rollup/plugin-babel
Link ./node_modules/@rollup/plugin-json -> /usr/share/nodejs/@rollup/plugin-json
Link ./node_modules/@rollup/plugin-node-resolve -> /usr/share/nodejs/@rollup/plugin-node-resolve
Link ./node_modules/rollup-plugin-terser -> /usr/share/nodejs/rollup-plugin-terser
Link ./node_modules/@types/clone -> /usr/share/nodejs/@types/clone
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/vega-event-selector -> /usr/share/nodejs/vega-event-selector
Link ./node_modules/vega-expression -> /usr/share/nodejs/vega-expression
Link ./node_modules/vega-typings -> /usr/share/nodejs/vega-typings
Link ./node_modules/vega-util -> /usr/share/nodejs/vega-util
Copy /usr/share/nodejs/vega -> ./node_modules/
Link node_modules/json-stringify-pretty-compact -> ../json-stringify-pretty-compact
   dh_auto_build --buildsystem=nodejs
No build command found, searching known files
Found debian/nodejs/./build
	cd ./. && sh -ex debian/nodejs/./build
+ tsc -p tsconfig.build.json
+ rollup -c

src/index.ts → build/vega-lite.js, build/vega-lite.min.js...
(!) Circular dependencies
src/channeldef.ts -> src/bin.ts -> src/channeldef.ts
src/channeldef.ts -> src/compile/common.ts -> src/channeldef.ts
src/compile/common.ts -> src/expr.ts -> src/compile/common.ts
...and 41 more
created build/vega-lite.js, build/vega-lite.min.js in 4.1s
   dh_auto_test --buildsystem=nodejs
	ln -s ../. node_modules/vega-lite
	cd ./json-stringify-pretty-compact && sh -ex ../debian/nodejs/json-stringify-pretty-compact/test
+ tap -R spec --no-cov index.test.js
node:internal/modules/run_main:107
    triggerUncaughtException(
    ^

[Error: Cannot find package 'tap' imported from /<<PKGBUILDDIR>>/json-stringify-pretty-compact/x] {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v24.18.0
dh_auto_test: error: cd ./json-stringify-pretty-compact && sh -ex ../debian/nodejs/json-stringify-pretty-compact/test returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1140991#8
Date:
2026-06-29 12:10:14 UTC
From:
To:
Hello,

Bug #1140991 in node-vega-lite reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-vega-lite/-/commit/690c457f7f479afc3b6ceafd6e8b6645ee07f664
------------------------------------------------------------------------
Adapt test for tap 21

Closes: #1140991
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1140991

#1140991#15
Date:
2026-06-29 12:41:43 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-vega-lite, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1140991@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-vega-lite package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 29 Jun 2026 14:08:09 +0200
Source: node-vega-lite
Architecture: source
Version: 5.18.1+~4.0.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1140991
Changes:
 node-vega-lite (5.18.1+~4.0.0-4) unstable; urgency=medium
 .
   * Declare compliance with policy 4.7.4
   * Drop "Priority: optional"
   * debian/watch version 5
   * Adapt test for tap 21 (Closes: #1140991)
Checksums-Sha1:
 2f86810bbf63e7169c6e0db5ce5ebaef4eb322f2 2773 node-vega-lite_5.18.1+~4.0.0-4.dsc
 a7be19d5cb3cb7e31e278790f00543d6dd119f26 4516 node-vega-lite_5.18.1+~4.0.0-4.debian.tar.xz
Checksums-Sha256:
 12492850a5d06145a58fcbf9dc0d9aad61fc136efa722113650c95585d23bac6 2773 node-vega-lite_5.18.1+~4.0.0-4.dsc
 42f38d3803b2ff16c6d1f7ec9d49ead8579a6c87437d0863b27950d6f710e4ce 4516 node-vega-lite_5.18.1+~4.0.0-4.debian.tar.xz
Files:
 56a76366ff5a65e9c9bacb2d2724cfa0 2773 javascript optional node-vega-lite_5.18.1+~4.0.0-4.dsc
 839809b45b576f87221acea2e26ba55b 4516 javascript optional node-vega-lite_5.18.1+~4.0.0-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmpCYIgACgkQ9tdMp8mZ
7umckQ//Rsspjk+M2qNqv1bH5dygUxHBNuqgbQNetQzsezYYC170RdGsHqQ6hJW4
eABSxNUSMp93vjS9D39zZQAzOPcWimzoc+yGXWEL7E9IEpwISLfdPGweGQkL772b
0gfImfbrdkbZ/pi0UE5uStCLmGXVvDpErZeWpy+Mj8ab24JYTFiYIWbFUkF5zq8o
ZZGgLVceLwHXEay9uFch6QAMm3GuUc7wRh5RSPGVvnC8C+jIKPxqYkMO/ueYl2la
97TjiAdhIzmnGMXQlBUTrOtoZoCz1MG5iSDwpCVXg4sAxsyg5VmURaJWqCnHZnCX
MO8mZyK+2Lc57Bi5oeedMXZpH/RfOFijD4QlzDkp9T6WID5F21lvQ3lsPG6iGNM+
ZrN5lsiuZ6VDVtEWqUMW8xo2AlajR05HvGRbLyyfkktTfEustgzfkOpgVzu9995I
gp0AyUmVEpE7OoDc8i98V+C47Uid6dx8kl+0Vri2p5NZSqUj47IVnjCpkIkiwLOG
QaFK06y584YLJskTr+HJJeJnXeUrJRLuz7Wp3R6/1rlU7rN041bgy0g0TGIgX6XW
KdCNu667wIEIzTaBhFXiHoglL0PwtP0wpmBFv4oAx5I22VjXyMF16rL5jz56kTV2
xsBqw7AJXVAIzW0dS9I7n5mD4Ddb+iXMkizXkIwaqdT/catK4J8=
=9Yas
-----END PGP SIGNATURE-----