Package: src:node-jest
Version: 29.6.2~ds6+~cs73.45.28-1
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/202606/

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

Thanks.

--------------------------------------------------------------------------------
[...]
jest-worker............................................................... DONE 
pretty-format............................................................. DONE 
@jest/test-globals........................................................ DONE 
@jest/test-utils.......................................................... DONE 
rm -f node_modules/@types/jest
node ./scripts/buildTs.mjs || node ./scripts/buildTs.mjs
 Building TypeScript definition files 
packages/jest-haste-map/src/crawlers/watchman.ts(128,22): error TS2769: No 
overload matches this call.
  The last overload gave the following error.
    Argument of type 'any[]' is not assignable to parameter of type 
'["flush-subscriptions" | "query" | "since" | "trigger-del" | "trigger-list" | 
"trigger" | "watch-del-all" | "watch-del" | "watch-list", ...any[]]'.
      Source provides no match for required element at position 0 in target.
packages/jest-haste-map/src/crawlers/watchman.ts(128,29): error TS7006: 
Parameter 'error' implicitly has an 'any' type.
packages/jest-haste-map/src/crawlers/watchman.ts(128,36): error TS7006: 
Parameter 'result' implicitly has an 'any' type.
 Unable to build TypeScript definition files 
file:///usr/share/nodejs/execa/lib/error.js:60
                error = new Error(message);
                        ^

Error: Command failed with exit code 2: tsc -b /<<PKGBUILDDI 
[too-long-redacted] GBUILDDIR>>/packages/test-utils
    at makeError (file:///usr/share/nodejs/execa/lib/error.js:60:11)
    at handlePromise (file:///usr/share/nodejs/execa/index.js:148:26)
    at process.processTicksAndRejections 
(node:internal/process/task_queues:104:5)
    at async 
file:///<<BUILDDIR>>/node-jest-29.6.2%7Eds6+%7Ecs73.45.28/scripts/buildTs.mjs:156:3
 {
  shortMessage: 'Command failed with exit code 2: tsc -b /<< 
[too-long-redacted] UILDDIR>>/packages/test-utils',
  command: 'tsc -b /<<PKGBUILDDIR>>/packages/babel-jest /<<P 
[too-long-redacted] UILDDIR>>/packages/test-utils',
  escapedCommand: 'tsc -b "/<<PKGBUILDDIR>>/packages/babel-j 
[too-long-redacted] ILDDIR>>/packages/test-utils"',
  exitCode: 2,
  signal: undefined,
  signalDescription: undefined,
  stdout: undefined,
  stderr: undefined,
  cwd: '/<<PKGBUILDDIR>>',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}

Node.js v24.15.0
 Building TypeScript definition files 
packages/jest-haste-map/src/crawlers/watchman.ts(128,22): error TS2769: No 
overload matches this call.
  The last overload gave the following error.
    Argument of type 'any[]' is not assignable to parameter of type 
'["flush-subscriptions" | "query" | "since" | "trigger-del" | "trigger-list" | 
"trigger" | "watch-del-all" | "watch-del" | "watch-list", ...any[]]'.
      Source provides no match for required element at position 0 in target.
packages/jest-haste-map/src/crawlers/watchman.ts(128,29): error TS7006: 
Parameter 'error' implicitly has an 'any' type.
packages/jest-haste-map/src/crawlers/watchman.ts(128,36): error TS7006: 
Parameter 'result' implicitly has an 'any' type.
 Unable to build TypeScript definition files 
file:///usr/share/nodejs/execa/lib/error.js:60
                error = new Error(message);
                        ^

Error: Command failed with exit code 1: tsc -b /<<PKGBUILDDI 
[too-long-redacted] GBUILDDIR>>/packages/test-utils
    at makeError (file:///usr/share/nodejs/execa/lib/error.js:60:11)
    at handlePromise (file:///usr/share/nodejs/execa/index.js:148:26)
    at process.processTicksAndRejections 
(node:internal/process/task_queues:104:5)
    at async 
file:///<<BUILDDIR>>/node-jest-29.6.2%7Eds6+%7Ecs73.45.28/scripts/buildTs.mjs:156:3
 {
  shortMessage: 'Command failed with exit code 1: tsc -b /<< 
[too-long-redacted] UILDDIR>>/packages/test-utils',
  command: 'tsc -b /<<PKGBUILDDIR>>/packages/babel-jest /<<P 
[too-long-redacted] UILDDIR>>/packages/test-utils',
  escapedCommand: 'tsc -b "/<<PKGBUILDDIR>>/packages/babel-j 
[too-long-redacted] ILDDIR>>/packages/test-utils"',
  exitCode: 1,
  signal: undefined,
  signalDescription: undefined,
  stdout: undefined,
  stderr: undefined,
  cwd: '/<<PKGBUILDDIR>>',
  failed: true,
  timedOut: false,
  isCanceled: false,
  killed: false
}

Node.js v24.15.0
make[1]: *** [debian/rules:22: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to