[Pkg-javascript-devel] Bug#1055654: reopening 1055654

Ananthu C V weepingclown at disroot.org
Wed Nov 6 20:41:21 GMT 2024


Control: reopen 1055654 =

The latest release still fails against the typescript version 4.9.5 from
experimental with the following output:

dh_auto_build --buildsystem=nodejs
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
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
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/szmarczak-http-timer/build
	cd ./szmarczak-http-timer && sh -ex ../debian/nodejs/szmarczak-http-timer/build
+ tsc
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
tsc
source/core/utils/timed-out.ts:50:2 - error TS2322: Type 'boolean' is not assignable to type 'never'.

50  request[reentry] = true;
    ~~~~~~~~~~~~~~~~

source/core/utils/timed-out.ts:71:11 - error TS2339: Property 'destroy' does not exist on type 'never'.

71   request.destroy(new TimeoutError(delay, event));
             ~~~~~~~

source/core/utils/timed-out.ts:82:10 - error TS2339: Property 'once' does not exist on type 'never'.

82  request.once('error', error => {
            ~~~~

source/core/utils/timed-out.ts:82:24 - error TS7006: Parameter 'error' implicitly has an 'any' type.

82  request.once('error', error => {
                          ~~~~~

source/core/utils/timed-out.ts:87:15 - error TS2339: Property 'listenerCount' does not exist on type 'never'.

87   if (request.listenerCount('error') === 0) {
                 ~~~~~~~~~~~~~

source/core/utils/timed-out.ts:92:10 - error TS2339: Property 'once' does not exist on type 'never'.

92  request.once('close', cancelTimeouts);
            ~~~~

source/core/utils/timed-out.ts:107:11 - error TS2339: Property 'setTimeout' does not exist on type 'never'.

107   request.setTimeout(delays.socket, socketTimeoutHandler);
              ~~~~~~~~~~

source/core/utils/timed-out.ts:113:12 - error TS2339: Property 'removeListener' does not exist on type 'never'.

113    request.removeListener('timeout', socketTimeoutHandler);
               ~~~~~~~~~~~~~~


Found 8 errors in the same file, starting at: source/core/utils/timed-out.ts:50

make[1]: *** [debian/rules:12: override_dh_auto_build] Error 1
make[1]: Leaving directory '/home/weepingclown/debian/js/got/node-got-11.8.5+~cs58.13.36'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20241107/aaf42532/attachment.sig>


More information about the Pkg-javascript-devel mailing list