#1140989 node-nopt: FTBFS: [Error: Cannot find package 'tap' imported from /<<PKGBUILDDIR>>/x] #1140989
- Package:
- src:node-nopt
- Source:
- src:node-nopt
- Submitter:
- Santiago Vila
- Date:
- 2026-06-29 12:43:02 UTC
- Severity:
- normal
- Tags:
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-nopt, 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 ./node_modules/.cache rm ./node_modules/.cache dh_clean debian/rules binary dh binary dh_update_autotools_config dh_autoreconf dh_auto_configure --buildsystem=nodejs dh_auto_build --buildsystem=nodejs No build command found, searching known files dh_auto_test --buildsystem=nodejs mkdir -p node_modules ln -s ../. node_modules/nopt /bin/sh -ex debian/tests/pkg-js/test + tap -R tap --no-cov test/basic.js test/dynamic-types.js test/lib.js test/resolve-short.js test/type-default.js test/type-defs.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 --------------------------------------------------------------------------------
Hello, Bug #1140989 in node-nopt 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-nopt/-/commit/71923e4cc88acf39c94a2be72de9181f6081bc76 ------------------------------------------------------------------------ Adapt test for tap 21 Closes: #1140989 ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1140989
We believe that the bug you reported is fixed in the latest version of node-nopt, 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 1140989@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-nopt 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:00:06 +0200 Source: node-nopt Architecture: source Version: 9.0.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Changed-By: Xavier Guimard <yadd@debian.org> Closes: 1140989 Changes: node-nopt (9.0.0-2) unstable; urgency=medium . * Team upload * Declare compliance with policy 4.7.4 * Drop "Priority: optional" * Adapt test for tap 21 (Closes: #1140989) Checksums-Sha1: 0945ac265db8a315254174a77edc86696b51ed3d 1985 node-nopt_9.0.0-2.dsc f9e26bd4f2b666477cdd1a39e610fc64b52ca327 3148 node-nopt_9.0.0-2.debian.tar.xz Checksums-Sha256: 5ea18fa5ac44b18c10078d45e6c89a50f919c1d3f9ee5432de170ecd1d2980a6 1985 node-nopt_9.0.0-2.dsc 3cfef1d5290efb1e9556133cfa8a43482f626f27a731d7d0078aefb316bf455b 3148 node-nopt_9.0.0-2.debian.tar.xz Files: e6a5f30660312195767c7a811fa58f3f 1985 javascript optional node-nopt_9.0.0-2.dsc 6b450d3cd49f0b882f1cb05c471d582e 3148 javascript optional node-nopt_9.0.0-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmpCXtEACgkQ9tdMp8mZ 7ulwaw/9FNSEpLQn9pHCVikvJb2xPTtO66wb3NRrxG4snLJIPyH5PLB6L1NSjQMQ ctMot96dO/L8x/xJLPeJ9L+mYcAN4bD5eB4F2582IhRb7tx+u/EBDhJIniCdZQpD O+L0RkmHAE8sWInehTAk1F/bhIVP9P5CogL+L99BimA+gQIakczSyfTMX2F+aet4 ZFjJlTq5188RagNky9U37N/Vhq7BSRVyqc/S7gJNflyDV7oispjP1tvMjLcldzjD Tkr+n3iC6V/hd5MMcruf9UqK/j92KHZBvJogr7J9H1OVS6yXmq0jgKLdn+BWGJCI eSBS85AW0yK/bMsM2eOeimFH+/OPA/XfscjkCcbJayB+iqamDGwZVibQhrOVs/0t 9+F9UxyOSDWzXizPzCgcOQqpAOwJIJOW5pG1IR3jCHUs4obOBUzvo2sNg/ikNsan 0gJCGuQKCR6d+zY1JJbBWFriLfpNHf66FF77NYZzNuYNLZ3vWFJdqZzK6unANH1y PDANQ+AVLgstwVEWWKTmRp5KOJ9iJ/KdKVDty/RiwjLs2dL6XUV68cWwbrNw24Z8 B5YU95Z2boecO7X/6J0Jg/oBUUEuU4cm7QowUQpzJf3TxYzLYPkD/zQCB99vXG55 Nm0t72F/xY8RQHjIU/6vfqVMaBOkdW4bRTIpYYVYUX3BLx/C+aQ= =ndt1 -----END PGP SIGNATURE-----