[Pkg-javascript-devel] Bug#1078892: node-redis: FTBFS: Type 'Timer' is not assignable to type 'string | number | Timeout | undefined'.

Santiago Vila sanvila at debian.org
Sat Aug 17 14:40:18 BST 2024


Package: src:node-redis
Version: 4.5.1+~1.1.2-1
Severity: serious
Control: close -1 4.5.1+~1.1.2-2
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
workspaces field found in package.json

Found debian/nodejs/additional_components
Link ./node_modules/generic-pool -> /usr/share/nodejs/generic-pool
Link ./node_modules/@tsconfig/node14 -> /usr/share/nodejs/@tsconfig/node14
Link ./node_modules/@types/mocha -> /usr/share/nodejs/@types/mocha
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/@types/yargs -> /usr/share/nodejs/@types/yargs
Link ./node_modules/@types/yallist -> /usr/share/nodejs/@types/yallist
Found debian/nodejs/additional_components
Link node_modules/cluster-key-slot -> ../cluster-key-slot
Link node_modules/@redis/bloom -> ../../packages/bloom
Link node_modules/@redis/client -> ../../packages/client
Link node_modules/@redis/graph -> ../../packages/graph
Link node_modules/@redis/json -> ../../packages/json
Link node_modules/@redis/search -> ../../packages/search
Link node_modules/@redis/time-series -> ../../packages/time-series
    debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd packages/client && tsc
lib/client/index.ts(359,22): error TS2345: Argument of type 'Timer | undefined' is not assignable to parameter of type 'string | number | Timeout | undefined'.
   Type 'Timer' is not assignable to type 'string | number | Timeout | undefined'.
     Property '[Symbol.dispose]' is missing in type 'Timer' but required in type 'Timeout'.
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: 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