[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
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 '/<<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