[Pkg-javascript-devel] Bug#1058515: node-rollup: FTBFS: make[1]: *** [debian/rules:9: override_dh_auto_build] Error 1

Lucas Nussbaum lucas at debian.org
Tue Dec 12 20:52:39 GMT 2023


Source: node-rollup
Version: 3.29.4-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> 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:321:30)
>     at Object.error (/usr/share/nodejs/rollup/dist/shared/rollup.js:1689:20)
>     at emitDiagnostic (/usr/share/nodejs/@rollup/plugin-typescript/dist/cjs/index.js:562:17)
>     at reportDiagnostics (/usr/share/nodejs/@rollup/plugin-typescript/dist/cjs/index.js:570: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:728: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


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/node-rollup_3.29.4-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list