#1144594 node-mdn-browser-compat-data: FTBFS with node-typescript 6

#1144594#5
Date:
2026-08-16 23:02:41 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/202608/

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-mdn-browser-compat-data, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with nodejs
   dh_auto_clean --buildsystem=nodejs
	rm -rf ./node_modules/.cache ./.nyc_output
	rm -rf browser-specs/node_modules/.cache browser-specs/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/@babel/code-frame
Trying to remove ./node_modules/@babel
unlink ./node_modules/@babel/helper-validator-identifier
Trying to remove ./node_modules/@babel
unlink ./node_modules/@babel/highlight
Trying to remove ./node_modules/@babel
unlink ./node_modules/ajv
unlink ./node_modules/ajv-formats
unlink ./node_modules/chalk
unlink ./node_modules/compare-versions
unlink ./node_modules/fast-json-stable-stringify
unlink ./node_modules/js-tokens
unlink ./node_modules/jsonpointer
unlink ./node_modules/picocolors
rm browser-specs/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/@babel/code-frame
Trying to remove ./node_modules/@babel
unlink ./node_modules/@babel/helper-validator-identifier
Trying to remove ./node_modules/@babel
unlink ./node_modules/@babel/highlight
Trying to remove ./node_modules/@babel
unlink ./node_modules/ajv
unlink ./node_modules/ajv-formats
unlink ./node_modules/chalk
unlink ./node_modules/compare-versions
unlink ./node_modules/fast-json-stable-stringify
unlink ./node_modules/js-tokens
unlink ./node_modules/jsonpointer
unlink ./node_modules/picocolors
unlink node_modules/browser-specs
   dh_clean
 debian/rules binary
dh binary --with nodejs
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/@babel/code-frame -> /usr/share/nodejs/@babel/code-frame
Link ./node_modules/@babel/helper-validator-identifier -> /usr/share/nodejs/@babel/helper-validator-identifier
Link ./node_modules/@babel/highlight -> /usr/share/nodejs/@babel/highlight
Link ./node_modules/ajv -> /usr/share/nodejs/ajv
Link ./node_modules/ajv-formats -> /usr/share/nodejs/ajv-formats
Link ./node_modules/chalk -> /usr/share/nodejs/chalk
Link ./node_modules/compare-versions -> /usr/share/nodejs/compare-versions
Link ./node_modules/fast-json-stable-stringify -> /usr/share/nodejs/fast-json-stable-stringify
Link ./node_modules/js-tokens -> /usr/share/nodejs/js-tokens
Link ./node_modules/jsonpointer -> /usr/share/nodejs/jsonpointer
Link ./node_modules/picocolors -> /usr/share/nodejs/picocolors
Link node_modules/browser-specs -> ../browser-specs
Link node_modules/@apidevtools/json-schema-ref-parser -> ../../debian/build_modules/@apidevtools/json-schema-ref-parser
Link node_modules/@humanwhocodes/momoa -> ../../debian/build_modules/@humanwhocodes/momoa
Link node_modules/@jsdevtools/ono -> ../../debian/build_modules/@jsdevtools/ono
Link node_modules/ajv-errors -> ../debian/build_modules/ajv-errors
Link node_modules/better-ajv-errors -> ../debian/build_modules/better-ajv-errors
Link node_modules/call-me-maybe -> ../debian/build_modules/call-me-maybe
Link node_modules/es-main -> ../debian/build_modules/es-main
Link node_modules/fdir -> ../debian/build_modules/fdir
Link node_modules/json-schema-ref-parser -> ../debian/build_modules/json-schema-ref-parser
Link node_modules/json-schema-to-typescript -> ../debian/build_modules/json-schema-to-typescript
Link node_modules/leven -> ../debian/build_modules/leven
Link node_modules/marked -> ../debian/build_modules/marked
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
node scripts/generate-types.js
(node:216) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
(Use `node --trace-deprecation ...` to show where the warning was created)
error TS5112: tsconfig.json is present but will not be loaded if files are specified on commandline. Use '--ignoreConfig' to skip this error.
file:///<<BUILDDIR>>/node-mdn-browser-compat-data-7.3.14+%7E4.75.0/utils/spawn.js:24
    throw new Error(
          ^

Error: The command 'tsc' returned non-zero exit status 1: null
    at default (file:///<<BUILDDIR>>/node-mdn-browser-compat-data-7.3.14+%7E4.75.0/utils/spawn.js:24:11)
    at compile (file:///<<BUILDDIR>>/node-mdn-browser-compat-data-7.3.14+%7E4.75.0/scripts/generate-types.js:177:3)
    at async file:///<<BUILDDIR>>/node-mdn-browser-compat-data-7.3.14+%7E4.75.0/scripts/generate-types.js:184:3

Node.js v24.19.0
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1144594#10
Date:
2026-08-17 10:19:01 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-mdn-browser-compat-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 1144594@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-mdn-browser-compat-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, 17 Aug 2026 09:37:34 +0200
Source: node-mdn-browser-compat-data
Architecture: source
Version: 7.3.14+~4.75.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: 1144594
Changes:
 node-mdn-browser-compat-data (7.3.14+~4.75.0-2) unstable; urgency=medium
 .
   * Team upload
   * Fix build with TypeScript 6: drop older-tsc.patch (Closes: #1144594)
Checksums-Sha1:
 b52ba6e18347f09f292b980d08a9a97de1ea78f7 2884 node-mdn-browser-compat-data_7.3.14+~4.75.0-2.dsc
 12664da7f719be772bdd5922b9fbc8c17f7e554d 117068 node-mdn-browser-compat-data_7.3.14+~4.75.0-2.debian.tar.xz
Checksums-Sha256:
 df794e33adc147287ef9d7e54435500fe91d1c84df97cf21a7e7099ca77b36d8 2884 node-mdn-browser-compat-data_7.3.14+~4.75.0-2.dsc
 70affd57d1d958e6f8b8a19b78b52cf8f951c82a10bc6343c2a5d5657d0ff0ea 117068 node-mdn-browser-compat-data_7.3.14+~4.75.0-2.debian.tar.xz
Files:
 899c02ff1c176cacd332af02f4b3eddd 2884 javascript optional node-mdn-browser-compat-data_7.3.14+~4.75.0-2.dsc
 192b293b6c9b8d8306297e42838c8860 117068 javascript optional node-mdn-browser-compat-data_7.3.14+~4.75.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqC258ACgkQ9tdMp8mZ
7unePA/+LLD/9ZdsLbSPdBzedBvdn+P+Lvkfa/Kj51B1LwdSrcWeZTecZuQ4YqQQ
16S/38u0wowyurkeyVqiJItCkQhE55qctR7+WQo5cr4BYydHa82CZ9xWNmBHsXyM
cSWjkAEQVd20VOS38EywPdtK10qMENHVgEhbI7TyFpFLX0bk3vnpS4+ZA+/qiz07
A2ajzj2OFglg8rWu7kwoyel/dSvymAgQT95AcBqbd/64dTuKGYMOcrHMhW8lKHxw
HRIdbVFI6HvoosW+XMddUD8RdqWbj4stFaEYS5WfsaGLfnW1ctKyseuVb61qASeM
DBVNg2JSkYk2KDk1b5xEJtNUHQumNElTw/guOJikwJPSThXdFtJDDsHi+Vf7X6sR
zcRrV4yGz7RuyJeR3d0zGZQc4/vAPi7s2mUdFfIoYWNybyTuhHEB087kVE0S1/pA
gP5fHx/beLcG9ojZFgikzEBtxXjeYvLo0eACuezemGgtbRBULDlE0sX1iIyktK3b
sdWGzsg8TOatxYOq16JhTGec/5+cy7ByMXRcWBzOpRnQgHbbOb7bTuF7b9vQJ8VI
UKI9w7rVb9j9FYOH3g+37jnle7E+i4W0iDC2WsVpqeem9cc/QfGtHnazuqRn/bCP
l0aw53smB0AIA0dnBDDUsDhys7hUvcoIxlQo9w8F1jeZ2LJj+t4=
=stSN
-----END PGP SIGNATURE-----