#1140992 node-normalize-package-data: FTBFS: [Error: Cannot find package 'tap' imported from /<<PKGBUILDDIR>>/x]

#1140992#5
Date:
2026-06-28 20:51:31 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-normalize-package-data, 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 types-normalize-package-data/node_modules/.cache types-normalize-package-data/.nyc_output
rm ./node_modules/.cache
rm types-normalize-package-data/node_modules/.cache
rm ./node_modules/.cache
unlink node_modules/@types/normalize-package-data
Trying to remove node_modules/@types
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link node_modules/@types/normalize-package-data -> ../../types-normalize-package-data
   dh_auto_build --buildsystem=nodejs
No build command found, searching known files
No build command found, searching known files
   dh_auto_test --buildsystem=nodejs
	ln -s ../. node_modules/normalize-package-data
	/bin/sh -ex debian/tests/pkg-js/test
+ tap -R spec test/basic.js test/consistency.js test/dependencies.js test/github-urls.js test/mixedcase-names.js test/normalize.js test/scoped.js test/scripts.js test/strict.js test/typo.js
node:internal/modules/run_main:107
    triggerUncaughtException(
    ^

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

Node.js v24.18.0
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 failed with exit status 2
--------------------------------------------------------------------------------

#1140992#8
Date:
2026-06-29 12:05:36 UTC
From:
To:
Hello,

Bug #1140992 in node-normalize-package-data 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-normalize-package-data/-/commit/d37e77bf88e4f4a89b795d71cfce6420d20d340e
------------------------------------------------------------------------
Adapt test for tap 21

Closes: #1140992
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1140992

#1140992#15
Date:
2026-06-29 12:41:38 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-normalize-package-data, 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 1140992@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-normalize-package-data 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:03:37 +0200
Source: node-normalize-package-data
Architecture: source
Version: 8.0.0+~2.4.4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1140992
Changes:
 node-normalize-package-data (8.0.0+~2.4.4-4) unstable; urgency=medium
 .
   * Declare compliance with policy 4.7.4
   * Drop "Priority: optional"
   * Adapt test for tap 21 (Closes: #1140992)
Checksums-Sha1:
 06ae0cbf7576e3a198796e1b120d376a93a861be 2738 node-normalize-package-data_8.0.0+~2.4.4-4.dsc
 7785a357e4caa57c5b8010a1c2baaba3c714f6b8 3960 node-normalize-package-data_8.0.0+~2.4.4-4.debian.tar.xz
Checksums-Sha256:
 8121fd11f9b132fe498c3f9b0a89d6fccafff62c490ca3a1efc1ab8ca8f6f5f4 2738 node-normalize-package-data_8.0.0+~2.4.4-4.dsc
 0cba6cbc5527ed0c45548dc806ce6da308ff100c7bb6f98020124a98664fb9bc 3960 node-normalize-package-data_8.0.0+~2.4.4-4.debian.tar.xz
Files:
 ef23f7025df98dc3dd7871058df7e6c9 2738 javascript optional node-normalize-package-data_8.0.0+~2.4.4-4.dsc
 a3b44746b352df00f165a4bdbaf31b63 3960 javascript optional node-normalize-package-data_8.0.0+~2.4.4-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmpCX3wACgkQ9tdMp8mZ
7ulW+A/+I+wgsE7rBr1xIe53XW2N/w2dvFNic/PRI1VvQzCDSZDOy0zpKBFAAYQt
Fbb/CzTnp7TQ+yhUd5FqbdufKcmEYszKulExrDIcsx6HZLoKPJqYejecXzTVNhv1
DOsSyR6MYHnHPUN38MCdIcaRSfYHAe4JHpznqVczhkKARW5Q4VIk4SI4C1R3Pafj
JDHenoFQFBRPvSt9aS5pqYoolLEs8CsAyjwjQRJXClRvaOnNhAJDT7NXO8LseNWq
Y79PDxtOoBNZdZahlH0DchDTS4G17JXnZ2WgOc/deRDr2j2RLcCq4ZxpgqNlQmvP
6bt1nrvLM/n+KY/VZiqeERVsADj3BUI0/JwchA5cwl+cCqq3WtEoJiGcoomIfzWu
ajOqPRP0Dqw2G2C2I9vpt40uSA8yjXrrxPyWq89Hy6gOdtRlr3F47NmI+pBDN2dZ
cy7i61h4XZiC3xdIBmbmIzaJSCAl232fb53aL5MnDrrLTmQlGnDRTnIRU2x6QX1v
Yi9cyTI60et216df1HEUV0cjjgXRGBnoQDyIYJ6HlzZFbypOcvUjOR/K3wI6QvsZ
2xu+gKJ3L/OkfHvwzip03IhahNTwNRKyVMIhQbo9TK8CMtYaNhDVNHwFcp8kFhRE
tQm1Sr2nH7leisUetk/n8DNA7pK2YDtre3RbSFC/NuiAJ7sYLq8=
=TBGW
-----END PGP SIGNATURE-----