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-polite-json, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
Link ./node_modules/tap -> /usr/share/nodejs/tap
Not found
### @types/tap is required by debian/nodejs/./extlinks but not available
# Typescript definition detected, Fallback to main module
### You SHOULD update your debian/nodejs/./extlinks file!
dh_auto_build --buildsystem=nodejs
Found debian/nodejs/./build
cd ./. && sh -ex debian/nodejs/./build
+ tshy
src/index.ts(121,11): error TS2339: Property 'captureStackTrace' does not exist on type 'ErrorConstructor'.
src/index.ts(157,17): error TS2591: Cannot find name 'Buffer'. 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(181,37): error TS2591: Cannot find name 'Buffer'. 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(199,49): error TS2591: Cannot find name 'Buffer'. 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
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------