[Pkg-javascript-devel] Bug#1150122: node-html5-qrcode: FTBFS: Exception during run: TypeError: URL.canParse is not a function

Santiago Vila sanvila at debian.org
Mon Oct 5 21:08:13 BST 2026


Package: src:node-html5-qrcode
Version: 2.3.8+repack-8
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/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.

--------------------------------------------------------------------------------
[...]
> ./scripts/test-run.sh 

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
--------------------------------------------------------------------------------



More information about the Pkg-javascript-devel mailing list