[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
> [36m
> [1msrc/index.ts[22m → [1mdist, dist[22m...[39m
> [1m[33m(!) 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[39m[22m
> [1msrc/__tests__/index.ts: (98:5)[22m
> [90m
> [7m 98[0m async ({
> [7m [0m [91m ~~~~~~~~[0m
> [7m 99[0m sourceMap,
> [7m [0m [91m~~~~~~~~~~~~~~~~[0m
> [7m...[0m
> [7m105[0m inlineSources: boolean;
> [7m [0m [91m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
> [7m106[0m }) => {
> [7m [0m [91m~~~~~~~~~~~[0m
> [39m
> [32mcreated [1mdist, dist[22m in [1m4.8s[22m[39m
> 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
>
> [96msrc/__tests__/index.ts[0m:[93m98[0m:[93m5[0m - [91merror[0m[90m TS2345: [0mArgument 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
>
> [7m 98[0m async ({
> [7m [0m [91m ~~~~~~~~[0m
> [7m 99[0m sourceMap,
> [7m [0m [91m~~~~~~~~~~~~~~~~[0m
> [7m...[0m
> [7m105[0m inlineSources: boolean;
> [7m [0m [91m~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m
> [7m106[0m }) => {
> [7m [0m [91m~~~~~~~~~~~[0m
>
> 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