[Pkg-javascript-devel] Bug#1078884: node-csstype: FTBFS: Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.

Santiago Vila sanvila at debian.org
Sat Aug 17 14:39:51 BST 2024


Package: src:node-csstype
Version: 3.1.1-1
Severity: serious
Control: close -1 3.1.3-1
Tags: ftbfs bookworm

Dear maintainer:

During a rebuild of all packages in bookworm, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure --buildsystem=nodejs
Link ./node_modules/chokidar -> /usr/share/nodejs/chokidar
Link ./node_modules/css-tree -> /usr/share/nodejs/css-tree
Link ./node_modules/got -> /usr/share/nodejs/got
Link ./node_modules/jest -> /usr/share/nodejs/jest
Link ./node_modules/mdn-browser-compat-data -> /usr/share/nodejs/mdn-browser-compat-data
Link ./node_modules/path -> ../../path
Link ./node_modules/ts-node -> /usr/share/nodejs/ts-node
Link ./node_modules/turndown -> /usr/share/nodejs/turndown
Link ./node_modules/@types/glob -> /usr/share/nodejs/@types/glob
Link ./node_modules/@types/jsdom -> /usr/share/nodejs/@types/jsdom
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/ts-jest -> /usr/share/nodejs/ts-jest
Link ./node_modules/typescript -> /usr/share/nodejs/typescript
Link ./node_modules/@types/jest -> /usr/share/nodejs/@types/jest
Link node_modules/@types/chalk -> ../../debian/build_modules/@types/chalk
    debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ts-node --files build.ts --start
/usr/share/nodejs/ts-node/src/index.ts:865
     return new TSError(diagnosticText, diagnosticCodes, diagnostics);
            ^
TSError: ⨯ Unable to compile TypeScript:
build.ts(25,22): error TS2769: No overload matches this call.
   Overload 1 of 2, '(timeoutId: string | number | Timeout | undefined): void', gave the following error.
     Argument of type 'Timer' is not assignable to parameter of type 'string | number | Timeout | undefined'.
       Property '[Symbol.dispose]' is missing in type 'Timer' but required in type 'Timeout'.
   Overload 2 of 2, '(id: number | undefined): void', gave the following error.
     Argument of type 'Timer' is not assignable to parameter of type 'number'.

     at createTSError (/usr/share/nodejs/ts-node/src/index.ts:865:12)
     at reportTSError (/usr/share/nodejs/ts-node/src/index.ts:869:19)
     at getOutput (/usr/share/nodejs/ts-node/src/index.ts:1083:36)
     at Object.compile (/usr/share/nodejs/ts-node/src/index.ts:1439:41)
     at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1623:30)
     at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
     at Object.require.extensions.<computed> [as .ts] (/usr/share/nodejs/ts-node/src/index.ts:1627:12)
     at Module.load (node:internal/modules/cjs/loader:1197:32)
     at Function.Module._load (node:internal/modules/cjs/loader:1013:12)
     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
   diagnosticCodes: [ 2769 ]
}
make[1]: *** [debian/rules:7: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/bookworm/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the Pkg-javascript-devel mailing list