Package: src:node-rollup-plugin-sourcemaps Version: 0.6.3-8 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202608/ A wiki page discussing possible solutions is available here: https://wiki.debian.org/Javascript/KnownPatches?pow_referer=#node-babel7_8 About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:node-rollup-plugin-sourcemaps, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' rollup -c [36m [1msrc/index.ts[22m â [1mdist, dist[22m...[39m [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2591: Cannot find name 'fs'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.[39m[22m [1msrc/__tests__/index.ts: (2:16)[22m [90m [7m2[0m import fs from 'fs'; [7m [0m [91m ~~~~[0m [39m [1msrc/index.ts: (1:16)[22m [90m [7m1[0m import fs from 'fs'; [7m [0m [91m ~~~~[0m [39m [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2591: Cannot find name 'path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.[39m[22m [1msrc/__tests__/index.ts: (3:18)[22m [90m [7m3[0m import path from 'path'; [7m [0m [91m ~~~~~~[0m [39m [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2591: Cannot find name 'util'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.[39m[22m [1msrc/__tests__/index.ts: (4:18)[22m [90m [7m4[0m import util from 'util'; [7m [0m [91m ~~~~~~[0m [39m [1msrc/index.ts: (2:27)[22m [90m [7m2[0m import { promisify } from 'util'; [7m [0m [91m ~~~~~~[0m [39m [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2304: Cannot find name '__dirname'.[39m[22m [1msrc/__tests__/index.ts: (11:29)[22m [90m [7m11[0m const inputPath = path.join(__dirname, '../index.ts'); [7m [0m [91m ~~~~~~~~~[0m [39m [1msrc/__tests__/index.ts: (63:27)[22m [90m [7m63[0m return path.resolve(__dirname, '..', '..', relativePath); [7m [0m [91m ~~~~~~~~~[0m [39m [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.[39m[22m [1msrc/__tests__/index.ts: (173:33)[22m [90m [7m173[0m exclude: [path.relative(process.cwd(), outputPath)], [7m [0m [91m ~~~~~~~[0m [39m [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS2591: Cannot find name 'Buffer'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.[39m[22m [1msrc/index.ts: (16:65)[22m [90m [7m16[0m readFile?(path: string, callback: (error: Error | null, data: Buffer | string) => void): void; [7m [0m [91m ~~~~~~[0m [39m [1m[33m(!) Plugin typescript: @rollup/plugin-typescript TS7006: Parameter 'item' implicitly has an 'any' type.[39m[22m [1msrc/index.ts: (62:36)[22m [90m [7m62[0m if (sourcesContent.every(item => typeof item === 'string')) { [7m [0m [91m ~~~~[0m [39m [32mcreated [1mdist, dist[22m in [1m813ms[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 ts-jest[versions] (WARN) Version 6.0.3 of typescript installed has not been tested with ts-jest. If you're experiencing issues, consider using a supported version (>=4.3.0 <6.0.0-0). Please do not report issues in ts-jest if you are using unsupported versions. FAIL src/__tests__/index.ts â Test suite failed to run [96msrc/__tests__/index.ts[0m:[93m2[0m:[93m16[0m - [91merror[0m[90m TS2591: [0mCannot find name 'fs'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. [7m2[0m import fs from 'fs'; [7m [0m [91m ~~~~[0m [96msrc/__tests__/index.ts[0m:[93m3[0m:[93m18[0m - [91merror[0m[90m TS2591: [0mCannot find name 'path'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. [7m3[0m import path from 'path'; [7m [0m [91m ~~~~~~[0m [96msrc/__tests__/index.ts[0m:[93m4[0m:[93m18[0m - [91merror[0m[90m TS2591: [0mCannot find name 'util'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. [7m4[0m import util from 'util'; [7m [0m [91m ~~~~~~[0m [96msrc/__tests__/index.ts[0m:[93m11[0m:[93m29[0m - [91merror[0m[90m TS2304: [0mCannot find name '__dirname'. [7m11[0m const inputPath = path.join(__dirname, '../index.ts'); [7m [0m [91m ~~~~~~~~~[0m [96msrc/__tests__/index.ts[0m:[93m63[0m:[93m27[0m - [91merror[0m[90m TS2304: [0mCannot find name '__dirname'. [7m63[0m return path.resolve(__dirname, '..', '..', relativePath); [7m [0m [91m ~~~~~~~~~[0m [96msrc/__tests__/index.ts[0m:[93m173[0m:[93m33[0m - [91merror[0m[90m TS2591: [0mCannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig. [7m173[0m exclude: [path.relative(process.cwd(), outputPath)], [7m [0m [91m ~~~~~~~[0m Test Suites: 1 failed, 1 total Tests: 0 total Snapshots: 0 total Time: 1.194 s Ran all test suites. dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1 make: *** [debian/rules:8: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------
-- Pkg-javascript-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel
