#1144602 node-rollup-pluginutils: FTBFS with node-typescript 6

#1144602#5
Date:
2026-08-16 23:02:57 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-rollup-pluginutils, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
	rm -rf packages/pluginutils/node_modules/.cache packages/pluginutils/.nyc_output
	rm -rf legacy/node_modules/.cache legacy/.nyc_output
rm packages/pluginutils/node_modules/.cache
rm legacy/node_modules/.cache
rm packages/pluginutils/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/acorn
unlink ./node_modules/estree-walker
unlink ./node_modules/@rollup/plugin-commonjs
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@rollup/plugin-node-resolve
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@rollup/plugin-typescript
Trying to remove ./node_modules/@rollup
unlink ./node_modules/tape
unlink ./node_modules/ts-node
unlink ./node_modules/@types/estree
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/micromatch
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/picomatch
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/tape
Trying to remove ./node_modules/@types
unlink node_modules/rollup-pluginutils
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/acorn -> /usr/share/nodejs/acorn
Link ./node_modules/estree-walker -> /usr/share/nodejs/estree-walker
Link ./node_modules/@rollup/plugin-commonjs -> /usr/share/nodejs/@rollup/plugin-commonjs
Link ./node_modules/@rollup/plugin-node-resolve -> /usr/share/nodejs/@rollup/plugin-node-resolve
Link ./node_modules/@rollup/plugin-typescript -> /usr/share/nodejs/@rollup/plugin-typescript
Link ./node_modules/tape -> /usr/share/nodejs/tape
Link ./node_modules/ts-node -> /usr/share/nodejs/ts-node
Link ./node_modules/@types/estree -> /usr/share/nodejs/@types/estree
Link ./node_modules/@types/micromatch -> /usr/share/nodejs/@types/micromatch
Link ./node_modules/@types/picomatch -> /usr/share/nodejs/@types/picomatch
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/@types/tape -> /usr/share/nodejs/@types/tape
Link node_modules/rollup-pluginutils -> ../legacy
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Build legacy module
dh_auto_build --buildsystem=nodejs
Found debian/nodejs/legacy/build
	cd ./legacy && sh -ex ../debian/nodejs/legacy/build
+ rollup -c

src/index.ts → dist/pluginutils.cjs.js, dist/pluginutils.es.js...
(!) Unresolved dependencies
https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
micromatch (imported by "src/createFilter.ts")
created dist/pluginutils.cjs.js, dist/pluginutils.es.js in 157ms
+ cp src/pluginutils.d.ts dist/pluginutils.d.ts
# Build @rollup/pluginutils
cd packages/pluginutils; if rollup -c; then \
	echo "build succeeds"; \
else \
	echo "build failed, trying with legacy rollup plugins"; \
	rollup -c ../../debian/rollup-legacy.config.js; \
fi

src/index.ts → ./dist/cjs/index.js, ./dist/es/index.js...
[!] (plugin typescript) Error: @rollup/plugin-typescript TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
  Visit https://aka.ms/ts6 for migration information.
    at onwarn (file:///<<BUILDDIR>>/node-rollup-pluginutils-5.0.2%7Eds+%7E2.8.2/shared/rollup.config.mjs:20:27)
    at /usr/share/nodejs/rollup/dist/shared/rollup.js:1521:13
    at /usr/share/nodejs/rollup/dist/shared/rollup.js:1507:32
    at logger (/usr/share/nodejs/rollup/dist/shared/rollup.js:2007:9)
    at Object.warn (/usr/share/nodejs/rollup/dist/shared/rollup.js:1656:9)
    at emitDiagnostic (file:///usr/share/nodejs/@rollup/plugin-typescript/dist/es/index.js:568:17)
    at reportDiagnostics (file:///usr/share/nodejs/@rollup/plugin-typescript/dist/es/index.js:573:9)
    at Array.forEach (<anonymous>)
    at emitFilesAndReportErrors (/usr/share/nodejs/typescript/lib/typescript.js:134386:15)
    at Object.result.afterProgramCreate (/usr/share/nodejs/typescript/lib/typescript.js:134571:5)


build failed, trying with legacy rollup plugins
[!] Error: Cannot find package 'rollup-plugin-commonjs' imported from /<<PKGBUILDDIR>>/debian/rollup-legacy.config.js
    at Object.getPackageJSONURL (node:internal/modules/package_json_reader:301:9)
    at packageResolve (node:internal/modules/esm/resolve:768:81)
    at moduleResolve (node:internal/modules/esm/resolve:859:18)
    at defaultResolve (node:internal/modules/esm/resolve:992:11)
    at ModuleLoader.#cachedDefaultResolve (node:internal/modules/esm/loader:701:20)
    at ModuleLoader.#resolveAndMaybeBlockOnLoaderThread (node:internal/modules/esm/loader:721:38)
    at ModuleLoader.resolveSync (node:internal/modules/esm/loader:759:56)
    at ModuleLoader.#resolve (node:internal/modules/esm/loader:683:17)
    at ModuleLoader.getOrCreateModuleJob (node:internal/modules/esm/loader:603:35)
    at ModuleJob.syncLink (node:internal/modules/esm/module_job:163:33)


make[1]: *** [debian/rules:10: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1144602#8
Date:
2026-08-17 12:40:51 UTC
From:
To:
Hello,

Bug #1144602 in node-rollup-pluginutils 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-rollup-pluginutils/-/commit/7ed6410332aa5edd1f6882705fe3d65ff51f56fe
------------------------------------------------------------------------
Fix FTBFS with TypeScript 6

Closes: #1144602
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144602

#1144602#15
Date:
2026-08-17 12:49:30 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-rollup-pluginutils, 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 1144602@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-rollup-pluginutils 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 14:33:18 +0200
Source: node-rollup-pluginutils
Architecture: source
Version: 5.0.2~ds+~2.8.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1144602
Changes:
 node-rollup-pluginutils (5.0.2~ds+~2.8.2-2) unstable; urgency=medium
 .
   * Team upload
   * Fix FTBFS with TypeScript 6 (Closes: #1144602)
   * Build the legacy bundle with @rollup/plugin-typescript, the legacy
     rollup-plugin-typescript module is going away
   * Declare compliance with policy 4.7.4
   * Drop "Rules-Requires-Root: no"
   * Drop "Priority: optional"
   * debian/watch version 5
Checksums-Sha1:
 3295ae330ab3918718f12f3020c842cc718cc85a 2925 node-rollup-pluginutils_5.0.2~ds+~2.8.2-2.dsc
 3f1baaa2185cf3ff3411b42e352ab0ae7b3429c8 12088 node-rollup-pluginutils_5.0.2~ds+~2.8.2-2.debian.tar.xz
Checksums-Sha256:
 3804db690643ac2ccf2a45b8e85c35ec4ca779e18fb71ab9f8ad2e797bd08cb7 2925 node-rollup-pluginutils_5.0.2~ds+~2.8.2-2.dsc
 489c2b31f9aa04648c447a198b0ecb674512c8f280b051516f2b8535ef800bf9 12088 node-rollup-pluginutils_5.0.2~ds+~2.8.2-2.debian.tar.xz
Files:
 c5f35181897de0f3b28b97f4daa3c78f 2925 javascript optional node-rollup-pluginutils_5.0.2~ds+~2.8.2-2.dsc
 e4013f7bd31223163607ba833f3f54ef 12088 javascript optional node-rollup-pluginutils_5.0.2~ds+~2.8.2-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqDAHIACgkQ9tdMp8mZ
7ulZRw/+I5qqL2SEa5fJHA72OXv0hSw1kvH9/6iBuA3HD3fAsBuRSD3+Y4/B5ppm
RqCcGHN4PKRmK3ZUwhzNQKRjm9a6q5SHADNbgqjNdMh2AyFzGx4utMpSqc3DHiQz
NQMIcbFMBcCVlOSlxbnS5TNdj++NM+RpN+YN0Q1STUksgduNsYTwXRD1xcFKO9XN
LDCNOIixDYXDZySGoBvEb7MS49fpxN8gvxaJ4n6tcBjvpqbg1yHrkBKwt//8aH3o
l9DHfoa5m7Qx31EwMV9BtTEC+khE6B4zdV+3z1EUhrpCeTi/mq3pGFeGGEx7Xe4/
EQg5zj2EZrpQob5mQ+LJTRU0/ZO0vnUSE/tZU9a6kSE6+N8yNYXIOyglaDjkO5XL
6n6hgVwuNwUZpjjxC5tN5xcP5rNs6iBk488vycrcnN6Tg+LlUClZFwtzusiGr1F8
ttSn8lX/AfDIR05cVqjIaSIEcnHyKIiXNcm3fGOHLumWNIOLjZ2PgxsjWZzOyHev
CVBV1KCPwcQN03QKokokHTD98e3cgztfTS7EuoIQCCtkIZLPtTnawQXLnm+bN6tX
BDIT+XDYL32Mm/C5SnFlawKZTHBJD1EGZCiChMQhTCyPUjHian7+iXFhIfWxmK6I
SZz7QQEZaxxGPLsdPmed8BKNSXm7KbEduWgLlH0lCswvTUoj2s0=
=bQgl
-----END PGP SIGNATURE-----