#1146316 node-chownr: FTBFS with node-babel 8

#1146316#5
Date:
2026-08-31 12:04:45 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/

A wiki page discussing possible solutions is available here:

https://wiki.debian.org/Javascript/KnownPatches?pow_referer=#node-babel7_8

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

Thanks.
--------------------------------------------------------------------------------
[...]
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
tshy
src/index.ts(1,33): error TS2591: Cannot find name 'node:fs'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
src/index.ts(2,18): error TS2591: Cannot find name 'node:path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
src/index.ts(8,16): error TS2503: Cannot find namespace 'NodeJS'.
src/index.ts(18,30): error TS7006: Parameter 'er' implicitly has an 'any' type.
src/index.ts(20,21): error TS2503: Cannot find namespace 'NodeJS'.
src/index.ts(49,43): error TS7006: Parameter 'er' implicitly has an 'any' type.
src/index.ts(49,47): error TS7006: Parameter 'children' implicitly has an 'any' type.
src/index.ts(60,26): error TS2503: Cannot find namespace 'NodeJS'.
src/index.ts(65,43): error TS2503: Cannot find namespace 'NodeJS'.
src/index.ts(92,21): error TS2503: Cannot find namespace 'NodeJS'.
writing tsconfig files...
using existing tsconfig.json
building /<<PKGBUILDDIR>>
tshy config {
  exports: { './package.json': './package.json', '.': './src/index.ts' }
}
exports {
  './package.json': './package.json',
  '.': {
    import: { types: './dist/esm/index.d.ts', default: './dist/esm/index.js' },
    require: {
      types: './dist/commonjs/index.d.ts',
      default: './dist/commonjs/index.js'
    }
  }
}
set dialect { where: 'src', mode: 'esm' }
building esm
build failed
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
--------------------------------------------------------------------------------

#1146316#10
Date:
2026-08-31 16:05:45 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-chownr, 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 1146316@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-chownr 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, 31 Aug 2026 15:32:15 +0200
Source: node-chownr
Architecture: source
Version: 3.0.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1146316
Changes:
 node-chownr (3.0.0-5) unstable; urgency=medium
 .
   * Team upload
   * Fix build with typescript 6 (Closes: #1146316)
Checksums-Sha1:
 30f13fcf4f152eebef0cbfb462bf2c404bec2144 2095 node-chownr_3.0.0-5.dsc
 46e37e295d2279ce3a05e2d406fb405f6eebf60c 4236 node-chownr_3.0.0-5.debian.tar.xz
Checksums-Sha256:
 6d806de74ee3dd5c895a581ff77008f03bc2d9062c9840bfd028d3ba46fdabd7 2095 node-chownr_3.0.0-5.dsc
 d0d6ac3bbf003a5789de14a58380e730a9f13a50823e41200b0674c01adafe17 4236 node-chownr_3.0.0-5.debian.tar.xz
Files:
 193b7c37c98576a7af7c547307f4a893 2095 javascript optional node-chownr_3.0.0-5.dsc
 ca05c89eb0c070d9e2af24269c080b4a 4236 javascript optional node-chownr_3.0.0-5.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqVoLkACgkQ9tdMp8mZ
7umEhg//SGbpCNzCquhgZW9gBBZXmWhwbccLsNFwRxc+sOPwFgZuomCbDIMvAiAp
O7gvklRwJCVgoN/rcGk322MJMcJ8mkDQOEyxXUklFn3YO7Ui0WmoYWeH2G3qBRrv
BWmMKI1KyW8x+qKLCQOBRoqsjxThmo5lB7DH42OdEg1fTV9b1Zko2yDDbHyuG3Xh
FlbZprVwsbegY9sPa/rjIttNp+UIT7DSPZ0pe9NeOjjWZBUh1cb3KGi6B+UGmNNO
l54gysHIa5aRI9/mHYD+GjOHNe792vcUU1i+wkqA2N1VmYml/xDYhIqhwS1Z5+Rq
YpALMsnxGyp/aDEB6L6xrZscLJJja27XM/Et8FEYrnebNfvksG4EvTIZrgSuai/1
9AmDlWgwhmxK/M8shfFRHMay+MZcRY1uw267LYlV18hiEqE34+NPCMHiDyGzPF9Y
3EUyq/gwziRDUOaEWLwoPg/cXjJz+RS1Di0JBUXEf8DgpahNiC9gMT6hJzzRIJKm
AgGYkKi18P0dsb+hdSthBIF2whlUwVk+NJjqXiwSTDxLxCKGAClIEph+eZ3iReB2
3xuNR1+zUuFp6rrCfPDHKXl9iUpwF/KDqqNiFhdo3MUFMW2vvccPKNmUhXNM93AP
JGyhDfJFLHJaFwqFRruwoFwsbC3A8oAQIcj+VvVfCakahaUYNcg=
=2W1i
-----END PGP SIGNATURE-----