Source: node-rollup-plugin-alias Version: 3.1.9~ds-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220917 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>>' > # Build @rollup/plugin-alias > cd packages/alias && rollup -c > [36m > [1msrc/index.ts[22m → [1mdist/index.js, dist/index.es.js[22m...[39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2307: Cannot find > module 'rollup' or its corresponding type declarations.[39m[22m > [1msrc/index.ts: (1:24)[22m > [90m > [7m1[0m import { Plugin } from 'rollup'; > [7m [0m [91m ~~~~~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2550: Property > 'entries' does not exist on type 'ObjectConstructor'. Do you need to change > your target library? Try changing the 'lib' compiler option to 'es2017' or > later.[39m[22m > [1msrc/index.ts: (36:17)[22m > [90m > [7m36[0m return Object.entries(entries).map(([key, value]) => { > [7m [0m [91m ~~~~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS7031: Binding > element 'key' implicitly has an 'any' type.[39m[22m > [1msrc/index.ts: (36:40)[22m > [90m > [7m36[0m return Object.entries(entries).map(([key, value]) => { > [7m [0m [91m ~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS7031: Binding > element 'value' implicitly has an 'any' type.[39m[22m > [1msrc/index.ts: (36:45)[22m > [90m > [7m36[0m return Object.entries(entries).map(([key, value]) => { > [7m [0m [91m ~~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS7006: Parameter > 'inputOptions' implicitly has an 'any' type.[39m[22m > [1msrc/index.ts: (67:22)[22m > [90m > [7m67[0m async buildStart(inputOptions) { > [7m [0m [91m ~~~~~~~~~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS7006: Parameter > 'importee' implicitly has an 'any' type.[39m[22m > [1msrc/index.ts: (78:15)[22m > [90m > [7m78[0m resolveId(importee, importer, resolveOptions) { > [7m [0m [91m ~~~~~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS7006: Parameter > 'importer' implicitly has an 'any' type.[39m[22m > [1msrc/index.ts: (78:25)[22m > [90m > [7m78[0m resolveId(importee, importer, resolveOptions) { > [7m [0m [91m ~~~~~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS7006: Parameter > 'resolveOptions' implicitly has an 'any' type.[39m[22m > [1msrc/index.ts: (78:35)[22m > [90m > [7m78[0m resolveId(importee, importer, resolveOptions) { > [7m [0m [91m ~~~~~~~~~~~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS7006: Parameter > 'resolved' implicitly has an 'any' type.[39m[22m > [1msrc/index.ts: (98:15)[22m > [90m > [7m98[0m ).then((resolved) => resolved || { id: updatedId }); > [7m [0m [91m ~~~~~~~~[0m > [39m > [32mcreated [1mdist/index.js, dist/index.es.js[22m in [1m518ms[22m[39m > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test --buildsystem=nodejs > mkdir -p node_modules/\@rollup > ln -s ../../packages/alias node_modules/\@rollup/plugin-alias > /bin/sh -ex debian/tests/pkg-js/test > + cd packages/alias > + mkdir -p node_modules/@rollup > + ln -s ../.. node_modules/@rollup/plugin-alias > + tape test/test.js > TAP version 13 > # type > ok 1 should be strictly equal > # instance > ok 2 should be strictly equal > ok 3 should be strictly equal > # defaults > ok 4 should be strictly equal > ok 5 should be strictly equal > # Simple aliasing (array) > ok 6 should be deeply equivalent > # Simple aliasing (object) > ok 7 should be deeply equivalent > # RegExp aliasing > ok 8 should be deeply equivalent > # Will not confuse modules with similar names > ok 9 should be deeply equivalent > # Leaves entry file untouched if matches alias > ok 10 should be deeply equivalent > # i/am/a/file > ok 11 should be deeply equivalent > # Windows absolute path aliasing > ok 12 should be deeply equivalent > # Works in rollup with non fake input > ok 13 should be strictly equal > ok 14 expected /<<PKGBUILDDIR>>/packages/alias/test/fixtures/aliasMe.js to > end with /fixtures/aliasMe.js > ok 15 expected > /<<PKGBUILDDIR>>/packages/alias/test/fixtures/folder/anotherNumber.js to end > with /fixtures/folder/anotherNumber.js > ok 16 expected /<<PKGBUILDDIR>>/packages/alias/test/fixtures/index.js to end > with /fixtures/index.js > ok 17 expected /<<PKGBUILDDIR>>/packages/alias/test/fixtures/localAliasMe.js > to end with /fixtures/localAliasMe.js > ok 18 expected /<<PKGBUILDDIR>>/packages/alias/test/fixtures/nonAliased.js to > end with /fixtures/nonAliased.js > # Global customResolver function > ok 19 should be deeply equivalent > # Local customResolver function > ok 20 should be deeply equivalent > # Global customResolver plugin-like object > ok 21 should be deeply equivalent > # Local customResolver plugin-like object > ok 22 should be deeply equivalent > # supports node-resolve as a custom resolver > not ok 23 should be deeply equivalent > --- > operator: deepEqual > expected: |- > [ '/<<PKGBUILDDIR>>/packages/alias/test/fixtures/index.js', > '/<<PKGBUILDDIR>>/packages/alias/test/fixtures/folder/index.js' ] > actual: |- > [ '/<<PKGBUILDDIR>>/packages/alias/test/fixtures', > '/<<PKGBUILDDIR>>/packages/alias/test/fixtures/folder' ] > at: <anonymous> (/<<PKGBUILDDIR>>/packages/alias/test/test.js:398:7) > stack: |- > Error: should be deeply equivalent > at Test.assert [as _assert] > (/usr/share/nodejs/tape/lib/test.js:314:54) > at Test.bound [as _assert] > (/usr/share/nodejs/tape/lib/test.js:99:32) > at Test.tapeDeepEqual (/usr/share/nodejs/tape/lib/test.js:555:10) > at Test.bound [as deepEqual] > (/usr/share/nodejs/tape/lib/test.js:99:32) > at /<<PKGBUILDDIR>>/packages/alias/test/test.js:398:7 > ... > # Alias + rollup-plugin-node-resolve > ok 24 should be strictly equal > ok 25 expected /<<PKGBUILDDIR>>/packages/alias/test/fixtures/aliasMe.js to > end with /fixtures/aliasMe.js > ok 26 expected > /<<PKGBUILDDIR>>/packages/alias/test/fixtures/folder/anotherNumber.js to end > with /fixtures/folder/anotherNumber.js > ok 27 expected > /<<PKGBUILDDIR>>/packages/alias/test/fixtures/folder/deep/deep2/index.js to > end with /fixtures/folder/deep/deep2/index.js > ok 28 expected /<<PKGBUILDDIR>>/packages/alias/test/fixtures/index.js to end > with /fixtures/index.js > ok 29 expected /<<PKGBUILDDIR>>/packages/alias/test/fixtures/localAliasMe.js > to end with /fixtures/localAliasMe.js > ok 30 expected /<<PKGBUILDDIR>>/packages/alias/test/fixtures/nonAliased.js to > end with /fixtures/nonAliased.js > # Forwards isEntry and custom options to a custom resolver > ok 31 should be deeply equivalent > ok 32 should be deeply equivalent > # Forwards isEntry and custom options to other plugins > ok 33 should be deeply equivalent > ok 34 should be deeply equivalent > # CustomResolver plugin-like object with buildStart > ok 35 should be deeply equivalent > > 1..35 > # tests 35 > # pass 34 > # fail 1 > > 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/09/17/node-rollup-plugin-alias_3.1.9~ds-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lu...@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.