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

src/index.ts → dist, dist...
(!) 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.
src/__tests__/index.ts: (2:16)

2 import fs from 'fs';
                 ~~~~

src/index.ts: (1:16)

1 import fs from 'fs';
                 ~~~~

(!) 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.
src/__tests__/index.ts: (3:18)

3 import path from 'path';
                   ~~~~~~

(!) 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.
src/__tests__/index.ts: (4:18)

4 import util from 'util';
                   ~~~~~~

src/index.ts: (2:27)

2 import { promisify } from 'util';
                            ~~~~~~

(!) Plugin typescript: @rollup/plugin-typescript TS2304: Cannot find 
name '__dirname'.
src/__tests__/index.ts: (11:29)

11 const inputPath = path.join(__dirname, '../index.ts');
                               ~~~~~~~~~

src/__tests__/index.ts: (63:27)

63       return path.resolve(__dirname, '..', '..', relativePath);
                             ~~~~~~~~~

(!) 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.
src/__tests__/index.ts: (173:33)

173         exclude: [path.relative(process.cwd(), outputPath)],
                                    ~~~~~~~

(!) 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.
src/index.ts: (16:65)

16   readFile?(path: string, callback: (error: Error | null, data: 
Buffer | string) => void): void;
                                                                   
~~~~~~

(!) Plugin typescript: @rollup/plugin-typescript TS7006: Parameter 
'item' implicitly has an 'any' type.
src/index.ts: (62:36)

62           if (sourcesContent.every(item => typeof item === 
'string')) {
                                      ~~~~

created dist, dist in 813ms
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

    src/__tests__/index.ts:2:16 - 
error 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.

    2 import fs from 'fs';
                     ~~~~
    src/__tests__/index.ts:3:18 - 
error 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.

    3 import path from 'path';
                       ~~~~~~
    src/__tests__/index.ts:4:18 - 
error 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.

    4 import util from 'util';
                       ~~~~~~
    src/__tests__/index.ts:11:29 - 
error TS2304: Cannot find name '__dirname'.

    11 const inputPath = path.join(__dirname, '../index.ts');
                                   ~~~~~~~~~
    src/__tests__/index.ts:63:27 - 
error TS2304: Cannot find name '__dirname'.

    63       return path.resolve(__dirname, '..', '..', relativePath);
                                 ~~~~~~~~~
    src/__tests__/index.ts:173:33 - 
error 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.

    173         exclude: [path.relative(process.cwd(), outputPath)],
                                        ~~~~~~~

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
--------------------------------------------------------------------------------

Reply via email to