[Pkg-javascript-devel] Bug#1013538: node-rollup-plugin-sourcemaps: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1

Lucas Nussbaum lucas at debian.org
Fri Jun 24 11:07:36 BST 2022


Source: node-rollup-plugin-sourcemaps
Version: 0.6.3-6
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220624 ftbfs-bookworm

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 -c
> 
> src/index.ts → dist, dist...
> (!) Plugin typescript: @rollup/plugin-typescript TS2345: Argument of type '({ sourceMap, inlineSourceMap, inlineSources, }: { sourceMap: boolean; inlineSourceMap: boolean; inlineSources: boolean; }) => Promise<void>' is not assignable to parameter of type '(arg: Record<string, boolean>) => void | TestReturnValuePromise | TestReturnValueGenerator | undefined'.
>   Types of parameters '__0' and 'arg' are incompatible.
>     Type 'Record<string, boolean>' is missing the following properties from type '{ sourceMap: boolean; inlineSourceMap: boolean; inlineSources: boolean; }': sourceMap, inlineSourceMap, inlineSources
> src/__tests__/index.ts: (98:5)
> 
>  98     async ({
>         ~~~~~~~~
>  99       sourceMap,
>     ~~~~~~~~~~~~~~~~
> ... 
> 105       inlineSources: boolean;
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 106     }) => {
>     ~~~~~~~~~~~
> 
> created dist, dist in 4.8s
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test --buildsystem=nodejs
> 	ln -s ../. node_modules/rollup-plugin-sourcemaps
> 	/bin/sh -ex debian/tests/pkg-js/test
> + jest --ci
> FAIL src/__tests__/index.ts
>   ● Test suite failed to run
> 
>     src/__tests__/index.ts:98:5 - error TS2345: Argument of type '({ sourceMap, inlineSourceMap, inlineSources, }: { sourceMap: boolean; inlineSourceMap: boolean; inlineSources: boolean; }) => Promise<void>' is not assignable to parameter of type '(arg: Record<string, boolean>) => void | TestReturnValuePromise | TestReturnValueGenerator | undefined'.
>       Types of parameters '__0' and 'arg' are incompatible.
>         Type 'Record<string, boolean>' is missing the following properties from type '{ sourceMap: boolean; inlineSourceMap: boolean; inlineSources: boolean; }': sourceMap, inlineSourceMap, inlineSources
> 
>      98     async ({
>             ~~~~~~~~
>      99       sourceMap,
>         ~~~~~~~~~~~~~~~~
>     ... 
>     105       inlineSources: boolean;
>         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     106     }) => {
>         ~~~~~~~~~~~
> 
> Test Suites: 1 failed, 1 total
> Tests:       0 total
> Snapshots:   0 total
> Time:        6.154 s
> Ran all test suites.
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2022/06/24/node-rollup-plugin-sourcemaps_0.6.3-6_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&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 marking 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