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-yargs-parser, 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 ./node_modules/.cache ./.nyc_output
rm -rf types-yargs-parser/node_modules/.cache types-yargs-parser/.nyc_output
rm ./node_modules/.cache
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/@types/node
Trying to remove ./node_modules/@types
rm types-yargs-parser/node_modules/.cache
rm ./node_modules/.cache
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/@types/node
Trying to remove ./node_modules/@types
unlink node_modules/@types/yargs-parser
Trying to remove node_modules/@types
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
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/@types/node -> /usr/share/nodejs/@types/node
Link node_modules/@types/yargs-parser -> ../../types-yargs-parser
Link node_modules/gts -> ../debian/build_modules/gts
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
tsc
[96mlib/index.ts[0m:[93m10[0m:[93m24[0m - [91merror[0m[90m TS2591: [0mCannot find name 'util'. 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.
[7m10[0m import { format } from 'util'
[7m [0m [91m ~~~~~~[0m
[96mlib/index.ts[0m:[93m11[0m:[93m36[0m - [91merror[0m[90m TS2591: [0mCannot find name '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.
[7m11[0m import { normalize, resolve } from 'path'
[7m [0m [91m ~~~~~~[0m
[96mlib/index.ts[0m:[93m15[0m:[93m30[0m - [91merror[0m[90m TS2591: [0mCannot 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.
[7m15[0m import { readFileSync } from 'fs'
[7m [0m [91m ~~~~[0m
[96mlib/index.ts[0m:[93m19[0m:[93m25[0m - [91merror[0m[90m TS2591: [0mCannot 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.
[7m19[0m const minNodeVersion = (process && process.env && process.env.YARGS_MIN_NODE_VERSION)
[7m [0m [91m ~~~~~~~[0m
[96mlib/index.ts[0m:[93m19[0m:[93m36[0m - [91merror[0m[90m TS2591: [0mCannot 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.
[7m19[0m const minNodeVersion = (process && process.env && process.env.YARGS_MIN_NODE_VERSION)
[7m [0m [91m ~~~~~~~[0m
[96mlib/index.ts[0m:[93m19[0m:[93m51[0m - [91merror[0m[90m TS2591: [0mCannot 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.
[7m19[0m const minNodeVersion = (process && process.env && process.env.YARGS_MIN_NODE_VERSION)
[7m [0m [91m ~~~~~~~[0m
[96mlib/index.ts[0m:[93m20[0m:[93m12[0m - [91merror[0m[90m TS2591: [0mCannot 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.
[7m20[0m ? Number(process.env.YARGS_MIN_NODE_VERSION)
[7m [0m [91m ~~~~~~~[0m
[96mlib/index.ts[0m:[93m22[0m:[93m21[0m - [91merror[0m[90m TS2591: [0mCannot 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.
[7m22[0m const nodeVersion = process?.versions?.node ?? process?.version?.slice(1)
[7m [0m [91m ~~~~~~~[0m
[96mlib/index.ts[0m:[93m22[0m:[93m48[0m - [91merror[0m[90m TS2591: [0mCannot 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.
[7m22[0m const nodeVersion = process?.versions?.node ?? process?.version?.slice(1)
[7m [0m [91m ~~~~~~~[0m
[96mlib/index.ts[0m:[93m31[0m:[93m13[0m - [91merror[0m[90m TS2591: [0mCannot 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.
[7m31[0m const env = process ? process.env as { [key: string]: string } : {}
[7m [0m [91m ~~~~~~~[0m
[96mlib/index.ts[0m:[93m31[0m:[93m23[0m - [91merror[0m[90m TS2591: [0mCannot 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.
[7m31[0m const env = process ? process.env as { [key: string]: string } : {}
[7m [0m [91m ~~~~~~~[0m
[96mlib/index.ts[0m:[93m33[0m:[93m8[0m - [91merror[0m[90m TS2591: [0mCannot 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.
[7m33[0m cwd: process.cwd,
[7m [0m [91m ~~~~~~~[0m
[96mlib/index.ts[0m:[93m43[0m:[93m16[0m - [91merror[0m[90m TS2591: [0mCannot find name 'require'. 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.
[7m43[0m if (typeof require !== 'undefined') {
[7m [0m [91m ~~~~~~~[0m
[96mlib/index.ts[0m:[93m44[0m:[93m14[0m - [91merror[0m[90m TS2591: [0mCannot find name 'require'. 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.
[7m44[0m return require(path)
[7m [0m [91m ~~~~~~~[0m
[96mtsconfig.json[0m:[93m8[0m:[93m25[0m - [91merror[0m[90m TS5107: [0mOption '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.
[7m8[0m "moduleResolution": "node",
[7m [0m [91m ~~~~~~[0m
Found 15 errors in 2 files.
Errors Files
14 lib/index.ts[90m:10[0m
1 tsconfig.json[90m:8[0m
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
--------------------------------------------------------------------------------