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-rollup-plugin-node-resolve, 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>>'
# Build legacy module
dh_auto_build --buildsystem=nodejs
cd packages/node-resolve && rollup -c
[36m
[1msrc/index.js[22m → [1m./dist/cjs/index.js, ./dist/es/index.js[22m...[39m
[1m[31m[!] [1m(plugin typescript) Error: @rollup/plugin-typescript TS2591: Cannot find name '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.[22m[1m[39m[22m
src/fs.ts (1:16)
[2m
[7m1[0m import fs from 'fs';
[7m [0m [91m ~~~~[0m
[22m
[2m at onwarn (file:///<<PKGBUILDDIR>>/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:572:17)
at reportDiagnostics (file:///usr/share/nodejs/@rollup/plugin-typescript/dist/es/index.js:577:9)
at Array.forEach (<anonymous>)
at emitFilesAndReportErrors (/usr/share/nodejs/typescript/lib/typescript.js:134386:15)
at result.afterProgramCreate (/usr/share/nodejs/typescript/lib/typescript.js:134571:5)[22m
make[1]: *** [debian/rules:9: 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
--------------------------------------------------------------------------------