#1145963 node-minimatch: FTBFS: src/index.ts(114,10): error TS2591: Cannot find name 'process'.

#1145963#5
Date:
2026-08-28 10:47:51 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

(Note: I believe this one is not babel7-related)

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-minimatch, 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(114,10): error TS2591: Cannot find name 'process'. 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(114,34): error TS2591: Cannot find name 'process'. 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(115,15): error TS2591: Cannot find name 'process'. 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(116,9): error TS2591: Cannot find name 'process'. 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(117,9): error TS2591: Cannot find name 'process'. 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(118,7): error TS2591: Cannot find name 'process'. 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.
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
--------------------------------------------------------------------------------

#1145963#10
Date:
2026-08-29 10:21:23 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-minimatch, 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 1145963@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-minimatch 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: Sat, 29 Aug 2026 11:53:13 +0200
Source: node-minimatch
Architecture: source
Version: 9.0.7-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1145963
Changes:
 node-minimatch (9.0.7-2) unstable; urgency=medium
 .
   * Team upload
   * Fix build with typescript 6: declare @types/node in tsconfig
     (Closes: #1145963)
Checksums-Sha1:
 03d60af6d89a628364995f50acee14334a678b5b 2081 node-minimatch_9.0.7-2.dsc
 dc7e914e77a084d8b675474a01e4f0ae4c028fa3 5180 node-minimatch_9.0.7-2.debian.tar.xz
Checksums-Sha256:
 119de146548462360546b7aa5b8a1f2797195984c6af249c1f2b23288154fba1 2081 node-minimatch_9.0.7-2.dsc
 df67dbbbf7bbe534a3b1e7c2d4c88459ba3a158ad86bcbe332c61b4099670578 5180 node-minimatch_9.0.7-2.debian.tar.xz
Files:
 a30c6f604d7b691fff11c0514128e15d 2081 javascript optional node-minimatch_9.0.7-2.dsc
 f2304bdb1590a5be628593e738f5423f 5180 javascript optional node-minimatch_9.0.7-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqSrgEACgkQ9tdMp8mZ
7unQsxAAkjSxSymqC/bKY0rsFwiz4jYaVuiDl28Jkv3fNAy/sfHgKVPqBD00MjJj
l8WxsrafGYTh1SW7edz+T0vy3M5DavEF0EDeBa31eKcfiu8qciudZ6hNBYphN9+b
hUcPcdL6icfaznQ8CjTTfl0fEJJxRTyVFJ8z8Pzw0rfXiZUDS1dBlw4dkIA2PbAA
tyhGlCu5N7BOKdZEycgSxHxo6zvX9tojPrWwPUG7DQdYFnCLtxR1r2s36Fr9vDgY
uVbDIhmo+fDNC/xnYjrMgKOwJWDUsI/WG3M0Z0ElSeQ6FZJ8JBul3zxZO9b7cNnb
1srNFN/GMum8gdHmB7J1Te6rWIgYbL4FTC5aFeiu24DBCKDejyyg3uTPKvH5qOQ3
XDCI7Oe+NCulmZpj/aTelDv58EttEgjVx36CRyF33JbdarunpM8OwouKCFI0PGkX
sdIKQ6+42XTReNS+x8QuaZZsEGvnu77uBy0pY6+kJzpmUbfVWJzVlb+vbJSet/DV
od7WvHBakPYWRe8pOAvmlzg/a08KTjzN/hiZ21SU+i8SI9Ag+zL4cucYMyba3W/k
V0Wkll9w8Z7Pw2fTd/XEH/qUXkcW2tyymVSmWsj27bsbwI3S9+TpBuxvOjQXFyp0
QYH6YntSXvXbpBf729svlTxKGqTuJhWlk54DIcRzsLLMwqDqdP0=
=/GEb
-----END PGP SIGNATURE-----