#1150122 node-html5-qrcode: FTBFS: Exception during run: TypeError: URL.canParse is not a function #1150122
- Package:
- src:node-html5-qrcode
- Source:
- src:node-html5-qrcode
- Submitter:
- Santiago Vila
- Date:
- 2026-10-07 07:27:11 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/202610/ 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-html5-qrcode, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] Initiating test script. Missing baseUrl in compilerOptions. tsconfig-paths will be skipped Exception during run: TypeError: URL.canParse is not a function at resolveFile (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.cjs:159:11) at exports.loadFilesAsync (/usr/share/nodejs/mocha/lib/nodejs/esm-utils.cjs:183:7) at Mocha.loadFilesAsync (/usr/share/nodejs/mocha/lib/mocha.cjs:443:19) at singleRun (/usr/share/nodejs/mocha/lib/cli/run-helpers.cjs:174:15) at exports.runMocha (/usr/share/nodejs/mocha/lib/cli/run-helpers.cjs:248:10) at exports.handler (/usr/share/nodejs/mocha/lib/cli/run.cjs:143:11) at runCommand (file:///usr/share/nodejs/mocha/lib/cli/cli.js:96:14) 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 #1150122 in node-html5-qrcode 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-html5-qrcode/-/commit/c5c6b19ad51bec99a7bccb027fd8c5e8afd9ae97 (this message was generated automatically) -- Greetings https://bugs.debian.org/1150122
We believe that the bug you reported is fixed in the latest version of node-html5-qrcode, 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 1150122@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-html5-qrcode 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: Wed, 07 Oct 2026 07:55:51 +0200 Source: node-html5-qrcode Architecture: source Version: 2.3.8+repack-9 Distribution: unstable Urgency: medium Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Changed-By: Xavier Guimard <yadd@debian.org> Closes: 1150122 Changes: node-html5-qrcode (2.3.8+repack-9) unstable; urgency=medium . * Team upload * Fix test for mocha 12 (Closes: #1150122) Checksums-Sha1: 3a0e9af6b3d268b6c4c288d3552cc846930e5578 2250 node-html5-qrcode_2.3.8+repack-9.dsc f8ee7d58ab7de996ce3babebe5d0264904c8b20c 19484 node-html5-qrcode_2.3.8+repack-9.debian.tar.xz Checksums-Sha256: 3383d718737209b82cec13aaf2d34d3c23868559a44dbff4a577a4919f6cbd0e 2250 node-html5-qrcode_2.3.8+repack-9.dsc 781c3fb177d9a17680fb8ecc54e4bab72b322a86932cc1139bfc913329bb5fed 19484 node-html5-qrcode_2.3.8+repack-9.debian.tar.xz Files: 6c82684a663c57043b90ca52b760836e 2250 javascript optional node-html5-qrcode_2.3.8+repack-9.dsc afb0047f8cb08585b50ceaee89836915 19484 javascript optional node-html5-qrcode_2.3.8+repack-9.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmrF7ucACgkQ9tdMp8mZ 7ukH2Q/+KfUyhLWKeATpQPaMHDQ5IyGKOLU6su37bCPNk5bFJP/LSk6bN+qTc4xG lGfFT7NyngKkjLjUiXTrc8EfvFIQV+aogP4pg9fm3x+J8qgz9HH59ZgDzhXc4lRp oO8ikRT/pVl/LBY8asV4VhzHPLj9BS9sN2tbCv9NxX1tZi3dZ1R1V/7LxeDsHmG/ FMipha6VBaDb6QBWYamNJ78bxlP5ZaAc0/nSNN2zOOJ3sIg5dQPhjaLz66+HGLbu CyUVX9NiruPHrpc+EpcBZTDeClFOeQZ/xB7QxyiTajMXJXIfeM7gZ+ZFxOUN9pMA njB8mUqflVD6kRWBUAdKGsXszt9KijVy+FFVHPKvZw5YXBC8MX4zNEVHmDcv7SfY Av8hIa4NSWHi+eVc0W5dHTyDdQsk904hznVjwolWPK2tE/KBxkaMHKyqr1DVrtdv HoKNOE2YLzbvn4pzpfM/9KyJEkGX1LIs824vDktICzbJlf6JzoW0xlOZoY/duAdD UW/Zbt6NbpjZqnz3AkibnqpBaqku9qB/+gIosWU9EBylwwVKbA3PiaKnBMgF8AaA YhHrtOYcQpvjTRllwMUBYgFNtDjWhnkbM3K9HkJwxO/wZ/wJ30t1g7BjCkOwolYg 4xLwjaIY2YRMfciVW50li9rk/yzhLSObo3HQF8FuxyYhAzWdico= =kF0s -----END PGP SIGNATURE-----