Source: node-rollup-plugin-buble Version: 0.21.3+repack+~0.19.8-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211220 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>>' > dh_auto_build --buildsystem=nodejs > Found debian/nodejs/legacy/build > cd ./legacy && sh -ex ../debian/nodejs/legacy/build > + rollup -c > [36m > [1msrc/index.js[22m → [1mdist/rollup-plugin-buble.es.js, > dist/rollup-plugin-buble.cjs.js[22m...[39m > [1m[33m(!) Entry module "src/index.js" is implicitly using "default" export > mode, which means for CommonJS output that its default export is assigned to > "module.exports". For many tools, such CommonJS output will not be > interchangeable with the original ES module. If this is intended, explicitly > set "output.exports" to either "auto" or "default", otherwise you might want > to consider changing the signature of "src/index.js" to use named exports > only.[39m[22m > [90mhttps://rollupjs.org/guide/en/#outputexports[39m > [1msrc/index.js[22m > [32mcreated [1mdist/rollup-plugin-buble.es.js, > dist/rollup-plugin-buble.cjs.js[22m in [1m16ms[22m[39m > cd packages/buble && rollup -c > [36m > [1msrc/index.ts[22m → [1mdist/rollup-plugin-buble.es.js, > dist/rollup-plugin-buble.cjs.js[22m...[39m > [1m[33m(!) Entry module "src/index.ts" is implicitly using "default" export > mode, which means for CommonJS output that its default export is assigned to > "module.exports". For many tools, such CommonJS output will not be > interchangeable with the original ES module. If this is intended, explicitly > set "output.exports" to either "auto" or "default", otherwise you might want > to consider changing the signature of "src/index.ts" to use named exports > only.[39m[22m > [90mhttps://rollupjs.org/guide/en/#outputexports[39m > [1msrc/index.ts[22m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2307: Cannot find > module 'buble' or its corresponding type declarations.[39m[22m > [1msrc/index.ts: (1:27)[22m > [90m > [7m1[0m import { transform } from 'buble'; > [7m [0m [91m ~~~~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2307: Cannot find > module 'rollup' or its corresponding type declarations.[39m[22m > [1msrc/index.ts: (2:24)[22m > [90m > [7m2[0m import { Plugin } from 'rollup'; > [7m [0m [91m ~~~~~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2307: Cannot find > module '@rollup/pluginutils' or its corresponding type declarations.[39m[22m > [1msrc/index.ts: (3:30)[22m > [90m > [7m3[0m import { createFilter } from '@rollup/pluginutils'; > [7m [0m [91m ~~~~~~~~~~~~~~~~~~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2339: Property > 'transforms' does not exist on type 'RollupBubleOptions'.[39m[22m > [1msrc/index.ts: (9:67)[22m > [90m > [7m9[0m const transformOptions = { ...options, transforms: { > ...options.transforms, modules: false } }; > [7m [0m [91m > ~~~~~~~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS7006: Parameter > 'code' implicitly has an 'any' type.[39m[22m > [1msrc/index.ts: (14:15)[22m > [90m > [7m14[0m transform(code, id) { > [7m [0m [91m ~~~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS7006: Parameter > 'id' implicitly has an 'any' type.[39m[22m > [1msrc/index.ts: (14:21)[22m > [90m > [7m14[0m transform(code, id) { > [7m [0m [91m ~~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2571: Object is > of type 'unknown'.[39m[22m > [1msrc/index.ts: (20:9)[22m > [90m > [7m20[0m e.plugin = 'buble'; > [7m [0m [91m ~[0m > [39m > [1msrc/index.ts: (21:14)[22m > [90m > [7m21[0m if (!e.loc) e.loc = {}; > [7m [0m [91m ~[0m > [39m > [1msrc/index.ts: (21:21)[22m > [90m > [7m21[0m if (!e.loc) e.loc = {}; > [7m [0m [91m ~[0m > [39m > [1msrc/index.ts: (22:9)[22m > [90m > [7m22[0m e.loc.file = id; > [7m [0m [91m ~[0m > [39m > [1msrc/index.ts: (23:9)[22m > [90m > [7m23[0m e.frame = e.snippet; > [7m [0m [91m ~[0m > [39m > [1msrc/index.ts: (23:19)[22m > [90m > [7m23[0m e.frame = e.snippet; > [7m [0m [91m ~[0m > [39m > [1m[33m(!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' > option must be set to generate source maps.[39m[22m > [32mcreated [1mdist/rollup-plugin-buble.es.js, > dist/rollup-plugin-buble.cjs.js[22m in [1m349ms[22m[39m > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_test --buildsystem=nodejs > mkdir -p node_modules/\@rollup > ln -s ../../packages/buble node_modules/\@rollup/plugin-buble > cd ./legacy && sh -ex ../debian/nodejs/legacy/test > + mocha > > > rollup-plugin-buble > 1) transforms files > > > 0 passing (35ms) > 1 failing > > 1) rollup-plugin-buble > transforms files: > > AssertionError [ERR_ASSERTION]: 'function main () { return 42; > }\n\nexport { main as default };\n' == 'function main () { return 42; > }\n\nexport default main;\n' > + expected - actual > > function main () { return 42; } > > -export { main as default }; > +export default main; > > at /<<PKGBUILDDIR>>/legacy/test/test.js:30:12 > > > > dh_auto_test: error: cd ./legacy && sh -ex ../debian/nodejs/legacy/test > returned exit code 1 The full build log is available from: http://qa-logs.debian.net/2021/12/20/node-rollup-plugin-buble_0.21.3+repack+~0.19.8-1_unstable.log 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.