[Pkg-javascript-devel] Bug#1055654: rebuild fails with node-typescript 4.9.5 in experimental
weepingclown
weepingclown at disroot.org
Thu Nov 9 17:59:31 GMT 2023
Package: node-got
Version: 11.8.5+~cs58.13.36-3
Severity: important
User: debian-js at lists.debian.org
Usertags: typescript495
Hi,
This package's rebuild failed with node-typescript 4.9.5 currently in
experimental.
node-typescript 4.9.5 is planned to be uploaded to unstable in about two
weeks to
one month time, so please make sure this package will be ready for it.
The severity
of this bug will be raised to serious after node-typescript 4.9.5 is
uploaded to unstable.
Relevant errors;
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build --buildsystem=nodejs
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
Found debian/nodejs/sindresorhus-is/build
cd ./sindresorhus-is && sh -ex ../debian/nodejs/sindresorhus-is/build
+ tsc
No build command found, searching known files
No build command found, searching known files
Found debian/nodejs/normalize-url/build
cd ./normalize-url && sh -ex ../debian/nodejs/normalize-url/build
+ babeljs --presets @babel/preset-env -o index.cjs index.js
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
Found debian/nodejs/defer-to-connect/build
cd ./defer-to-connect && sh -ex ../debian/nodejs/defer-to-connect/build
+ tsc
Found debian/nodejs/szmarczak-http-timer/build
cd ./szmarczak-http-timer && sh -ex
../debian/nodejs/szmarczak-http-timer/build
+ tsc
tsc
[96msource/core/utils/timed-out.ts[0m:[93m50[0m:[93m2[0m -
[91merror[0m[90m TS2322: [0mType 'boolean' is not assignable to type
'never'.
[7m50[0m request[reentry] = true;
[7m [0m [91m ~~~~~~~~~~~~~~~~[0m
[96msource/core/utils/timed-out.ts[0m:[93m71[0m:[93m11[0m -
[91merror[0m[90m TS2339: [0mProperty 'destroy' does not exist on
type 'never'.
[7m71[0m request.destroy(new TimeoutError(delay, event));
[7m [0m [91m ~~~~~~~[0m
[96msource/core/utils/timed-out.ts[0m:[93m82[0m:[93m10[0m -
[91merror[0m[90m TS2339: [0mProperty 'once' does not exist on type
'never'.
[7m82[0m request.once('error', error => {
[7m [0m [91m ~~~~[0m
[96msource/core/utils/timed-out.ts[0m:[93m82[0m:[93m24[0m -
[91merror[0m[90m TS7006: [0mParameter 'error' implicitly has an
'any' type.
[7m82[0m request.once('error', error => {
[7m [0m [91m ~~~~~[0m
[96msource/core/utils/timed-out.ts[0m:[93m87[0m:[93m15[0m -
[91merror[0m[90m TS2339: [0mProperty 'listenerCount' does not exist
on type 'never'.
[7m87[0m if (request.listenerCount('error') === 0) {
[7m [0m [91m ~~~~~~~~~~~~~[0m
[96msource/core/utils/timed-out.ts[0m:[93m92[0m:[93m10[0m -
[91merror[0m[90m TS2339: [0mProperty 'once' does not exist on type
'never'.
[7m92[0m request.once('close', cancelTimeouts);
[7m [0m [91m ~~~~[0m
[96msource/core/utils/timed-out.ts[0m:[93m107[0m:[93m11[0m -
[91merror[0m[90m TS2339: [0mProperty 'setTimeout' does not exist on
type 'never'.
[7m107[0m request.setTimeout(delays.socket, socketTimeoutHandler);
[7m [0m [91m ~~~~~~~~~~[0m
[96msource/core/utils/timed-out.ts[0m:[93m113[0m:[93m12[0m -
[91merror[0m[90m TS2339: [0mProperty 'removeListener' does not exist
on type 'never'.
[7m113[0m request.removeListener('timeout', socketTimeoutHandler);
[7m [0m [91m ~~~~~~~~~~~~~~[0m
Found 8 errors in the same file, starting at:
source/core/utils/timed-out.ts[90m:50[0m
make[1]: *** [debian/rules:12: 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 returned exit
status 2
Full build log is attached.
--
PGP: BC55 8A19 E57C 716D D12F 2FA2 EEED 479E 6CEC F707
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231109/d83b692f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-got.log
Type: text/x-log
Size: 118690 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231109/d83b692f/attachment.bin>
More information about the Pkg-javascript-devel
mailing list