Package: src:node-braintree-sanitize-url
Version: 7.1.2-2
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/

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-braintree-sanitize-url, so that this is 
still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
        rm -rf ./node_modules/.cache ./.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/rollup
unlink ./node_modules/@rollup/plugin-typescript
Trying to remove ./node_modules/@rollup
unlink ./node_modules/rollup-plugin-dts
rm ./node_modules/.cache
unlink ./node_modules/rollup
unlink ./node_modules/@rollup/plugin-typescript
Trying to remove ./node_modules/@rollup
unlink ./node_modules/rollup-plugin-dts
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/rollup -> /usr/share/nodejs/rollup
Link ./node_modules/@rollup/plugin-typescript -> 
/usr/share/nodejs/@rollup/plugin-typescript
Link ./node_modules/rollup-plugin-dts -> /usr/share/nodejs/rollup-plugin-dts
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/./build
        cd ./. && sh -ex debian/nodejs/./build
+ rollup -c debian/nodejs/rollup.config.mjs

src/index.ts, src/constants.ts → dist...
(!) Plugin typescript: @rollup/plugin-typescript TS5011: The common 
source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be 
explicitly set to this or another path to adjust your output's file layout.
  Visit https://aka.ms/ts6 for migration information.
(!) Plugin typescript: @rollup/plugin-typescript TS5107: Option 
'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 
7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
  Visit https://aka.ms/ts6 for migration information.
created dist in 487ms

src/index.ts, src/constants.ts → dist...
(!) Plugin typescript: @rollup/plugin-typescript TS5011: The common 
source directory of 'tsconfig.json' is './src'. The 'rootDir' setting must be 
explicitly set to this or another path to adjust your output's file layout.
  Visit https://aka.ms/ts6 for migration information.
(!) Plugin typescript: @rollup/plugin-typescript TS5107: Option 
'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 
7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
  Visit https://aka.ms/ts6 for migration information.
created dist in 259ms

src/index.ts, src/constants.ts → dist...
created dist in 419ms

src/index.ts, src/constants.ts → dist...
created dist in 187ms
   dh_auto_test --buildsystem=nodejs
        mkdir -p node_modules/\@braintree
        ln -s ../../. node_modules/\@braintree/sanitize-url
        /bin/sh -ex debian/tests/pkg-js/test
+ ts-node -T debian/tests/pkg-js/runner.ts
/usr/share/nodejs/ts-node/src/index.ts:865
    return new TSError(diagnosticText, diagnosticCodes, diagnostics);
           ^
TSError: ⨯ Unable to compile TypeScript:
error TS5011: The common source directory of 'tsconfig.json' is 
'./debian/tests/pkg-js'. The 'rootDir' setting must be explicitly set to this 
or another path to adjust your output's file layout.
  Visit https://aka.ms/ts6 for migration information.
error TS5107: Option 'moduleResolution=node10' is deprecated and will stop 
functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": 
"6.0"' to silence this error.
  Visit https://aka.ms/ts6 for migration information.

    at createTSError (/usr/share/nodejs/ts-node/src/index.ts:865:12)
    at reportTSError (/usr/share/nodejs/ts-node/src/index.ts:869:19)
    at /usr/share/nodejs/ts-node/src/index.ts:1385:34
    at Object.compile (/usr/share/nodejs/ts-node/src/index.ts:1464:13)
    at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1623:30)
    at node:internal/modules/cjs/loader:2003:10
    at Object.require.extensions.<computed> [as .ts] 
(/usr/share/nodejs/ts-node/src/index.ts:1627:12)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) {
  diagnosticCodes: [ 5011, 5107 ]
}
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to