Package: src:node-rollup
Version: 3.15.0-1
Severity: serious
Control: close -1 3.29.4-3
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/acorn -> /usr/share/nodejs/acorn
Link ./node_modules/acorn-import-assertions -> 
/usr/share/nodejs/acorn-import-assertions
Link ./node_modules/acorn-walk -> /usr/share/nodejs/acorn-walk
Link ./node_modules/anymatch -> /usr/share/nodejs/anymatch
Link ./node_modules/binary-extensions -> /usr/share/nodejs/binary-extensions
Link ./node_modules/braces -> /usr/share/nodejs/braces
Link ./node_modules/colorette -> /usr/share/nodejs/colorette
Link ./node_modules/date-time -> /usr/share/nodejs/date-time
Link ./node_modules/fs-extra -> /usr/share/nodejs/fs-extra
Link ./node_modules/glob-parent -> /usr/share/nodejs/glob-parent
Link ./node_modules/is-binary-path -> /usr/share/nodejs/is-binary-path
Link ./node_modules/is-extglob -> /usr/share/nodejs/is-extglob
Link ./node_modules/is-glob -> /usr/share/nodejs/is-glob
Link ./node_modules/is-reference -> /usr/share/nodejs/is-reference
Link ./node_modules/@jridgewell/sourcemap-codec -> 
/usr/share/nodejs/@jridgewell/sourcemap-codec
Link ./node_modules/locate-character -> /usr/share/nodejs/locate-character
Link ./node_modules/magic-string -> /usr/share/nodejs/magic-string
Link ./node_modules/normalize-path -> /usr/share/nodejs/normalize-path
Link ./node_modules/parse-ms -> /usr/share/nodejs/parse-ms
Link ./node_modules/picomatch -> /usr/share/nodejs/picomatch
Link ./node_modules/pretty-bytes -> /usr/share/nodejs/pretty-bytes
Link ./node_modules/pretty-ms -> /usr/share/nodejs/pretty-ms
Link ./node_modules/readdirp -> /usr/share/nodejs/readdirp
Link ./node_modules/rollup -> /usr/share/nodejs/rollup
Link ./node_modules/rollup-plugin-string -> 
/usr/share/nodejs/rollup-plugin-string
Link ./node_modules/@rollup/plugin-alias -> 
/usr/share/nodejs/@rollup/plugin-alias
Link ./node_modules/@rollup/plugin-commonjs -> 
/usr/share/nodejs/@rollup/plugin-commonjs
Link ./node_modules/@rollup/plugin-json -> /usr/share/nodejs/@rollup/plugin-json
Link ./node_modules/@rollup/plugin-node-resolve -> 
/usr/share/nodejs/@rollup/plugin-node-resolve
Link ./node_modules/@rollup/plugin-typescript -> 
/usr/share/nodejs/@rollup/plugin-typescript
Link ./node_modules/@rollup/pluginutils -> /usr/share/nodejs/@rollup/pluginutils
Link ./node_modules/signal-exit -> /usr/share/nodejs/signal-exit
Link ./node_modules/tslib -> /usr/share/nodejs/tslib
Link ./node_modules/@types/fs-extra -> /usr/share/nodejs/@types/fs-extra
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/@types/signal-exit -> /usr/share/nodejs/@types/signal-exit
Link ./node_modules/@types/yargs-parser -> /usr/share/nodejs/@types/yargs-parser
Link ./node_modules/yargs-parser -> /usr/share/nodejs/yargs-parser
Link ./node_modules/builtin-modules -> /usr/share/nodejs/builtin-modules
Copy /usr/share/nodejs/chokidar -> ./node_modules/
Link node_modules/commenting -> ../debian/build_modules/commenting
Link node_modules/flru -> ../debian/build_modules/flru
Link node_modules/package-name-regex -> 
../debian/build_modules/package-name-regex
Link node_modules/rollup-plugin-license -> 
../debian/build_modules/rollup-plugin-license
Link node_modules/spdx-compare -> ../debian/build_modules/spdx-compare
Link node_modules/spdx-expression-validate -> 
../debian/build_modules/spdx-expression-validate
Link node_modules/spdx-ranges -> ../debian/build_modules/spdx-ranges
Link node_modules/spdx-satisfies -> ../debian/build_modules/spdx-satisfies
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rollup --config rollup.config.ts --configPlugin typescript
[!] (plugin typescript) RollupError: @rollup/plugin-typescript 
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'.
src/watch/watch.ts (60:39)

60   if (this.buildTimeout) clearTimeout(this.buildTimeout);
                                         ~~~~~~~~~~~~~~~~~

  
../../../usr/share/nodejs/@types/node/ts4.8/timers.d.ts:76:17
    76                 [Symbol.dispose](): void;
                       ~~~~~~~~~~~~~~~~~~~~~~~~~
    '[Symbol.dispose]' is declared here.

    at error (/usr/share/nodejs/rollup/dist/shared/rollup.js:293:30)
    at Object.error (/usr/share/nodejs/rollup/dist/shared/rollup.js:24165:20)
    at emitDiagnostic 
(/usr/share/nodejs/@rollup/plugin-typescript/dist/cjs/index.js:542:17)
    at reportDiagnostics 
(/usr/share/nodejs/@rollup/plugin-typescript/dist/cjs/index.js:550:9)
    at Array.forEach (<anonymous>)
    at emitFilesAndReportErrors 
(/usr/share/nodejs/typescript/lib/typescript.js:124992:21)
    at Object.result.afterProgramCreate 
(/usr/share/nodejs/typescript/lib/typescript.js:125181:13)
    at Object.afterProgramCreate 
(/usr/share/nodejs/@rollup/plugin-typescript/dist/cjs/index.js:708:29)
    at synchronizeProgram 
(/usr/share/nodejs/typescript/lib/typescript.js:125491:22)
    at Object.createWatchProgram 
(/usr/share/nodejs/typescript/lib/typescript.js:125408:9)


make[1]: *** [debian/rules:9: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: 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.

Reply via email to