#1090013 node-jest: rebuild fails against node-typescript 5.0.4 from experimental

#1090013#5
Date:
2024-12-15 13:33:54 UTC
From:
To:
Hi,

node-typescript version 5.0.4 is currently in experimental. Your
package fails to build on a rebuild against the same. node-typecript
will be uploaded to unstable in a month, please fix any existing
issues before that so that the transition can happen without blockers.

The severity of this bug will be raised to serious after node-typescript
5.0.4 is uploaded to unstable.

The failure part of the build log is attached inline here, but this may
not be the most relevant part. Please check the attached full build log
for more information about the build.


Build log:

dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
/!\ website/package.json not found
Unable to load website
./lerna.json found

workspaces field found in package.json

Found debian/nodejs/additional_components
Link ./node_modules/ansi-escapes -> /usr/share/nodejs/ansi-escapes
Link ./node_modules/ansi-regex -> /usr/share/nodejs/ansi-regex
Link ./node_modules/ansi-styles -> /usr/share/nodejs/ansi-styles
Link ./node_modules/anymatch -> /usr/share/nodejs/anymatch
Link ./node_modules/@babel/core -> /usr/share/nodejs/@babel/core
Link ./node_modules/@babel/types -> /usr/share/nodejs/@babel/types
Link ./node_modules/callsites -> /usr/share/nodejs/callsites
Link ./node_modules/camelcase -> /usr/share/nodejs/camelcase
Link ./node_modules/ci-info -> /usr/share/nodejs/ci-info
Link ./node_modules/cjs-module-lexer -> /usr/share/nodejs/cjs-module-lexer
Link ./node_modules/deepmerge -> /usr/share/nodejs/deepmerge
Link ./node_modules/detect-newline -> /usr/share/nodejs/detect-newline
Link ./node_modules/emittery -> /usr/share/nodejs/emittery
Link ./node_modules/execa -> /usr/share/nodejs/execa
Link ./node_modules/fast-json-stable-stringify -> /usr/share/nodejs/fast-json-stable-stringify
Link ./node_modules/glob -> /usr/share/nodejs/glob
Link ./node_modules/graceful-fs -> /usr/share/nodejs/graceful-fs
Link ./node_modules/is-generator-fn -> /usr/share/nodejs/is-generator-fn
Link ./node_modules/@jridgewell/trace-mapping -> /usr/share/nodejs/@jridgewell/trace-mapping
Link ./node_modules/leven -> /usr/share/nodejs/leven
Link ./node_modules/micromatch -> /usr/share/nodejs/micromatch
Link ./node_modules/p-limit -> /usr/share/nodejs/p-limit
Link ./node_modules/pirates -> /usr/share/nodejs/pirates
Link ./node_modules/pure-rand -> /usr/share/nodejs/pure-rand
Link ./node_modules/read-pkg -> /usr/share/nodejs/read-pkg
Link ./node_modules/@sinclair/typebox -> /usr/share/nodejs/@sinclair/typebox
Link ./node_modules/strip-ansi -> /usr/share/nodejs/strip-ansi
Link ./node_modules/strip-bom -> /usr/share/nodejs/strip-bom
Link ./node_modules/strip-json-comments -> /usr/share/nodejs/strip-json-comments
Link ./node_modules/ts-node -> /usr/share/nodejs/ts-node
Link ./node_modules/@tsconfig/node14 -> /usr/share/nodejs/@tsconfig/node14
Link ./node_modules/@types/babel__code-frame -> /usr/share/nodejs/@types/babel__code-frame
Link ./node_modules/@types/babel__core -> /usr/share/nodejs/@types/babel__core
Link ./node_modules/@types/babel__template -> /usr/share/nodejs/@types/babel__template
Link ./node_modules/@types/babel__traverse -> /usr/share/nodejs/@types/babel__traverse
Link ./node_modules/@types/chai -> /usr/share/nodejs/@types/chai
Link ./node_modules/@types/co -> /usr/share/nodejs/@types/co
Link ./node_modules/@types/convert-source-map -> /usr/share/nodejs/@types/convert-source-map
Link ./node_modules/@types/exit -> /usr/share/nodejs/@types/exit
Link ./node_modules/@types/fb-watchman -> /usr/share/nodejs/@types/fb-watchman
Link ./node_modules/@types/glob -> /usr/share/nodejs/@types/glob
Link ./node_modules/@types/graceful-fs -> /usr/share/nodejs/@types/graceful-fs
Link ./node_modules/@types/istanbul-lib-coverage -> /usr/share/nodejs/@types/istanbul-lib-coverage
Link ./node_modules/@types/istanbul-lib-instrument -> /usr/share/nodejs/@types/istanbul-lib-instrument
Link ./node_modules/@types/istanbul-lib-report -> /usr/share/nodejs/@types/istanbul-lib-report
Link ./node_modules/@types/istanbul-lib-source-maps -> /usr/share/nodejs/@types/istanbul-lib-source-maps
Link ./node_modules/@types/istanbul-reports -> /usr/share/nodejs/@types/istanbul-reports
Link ./node_modules/@types/jsdom -> /usr/share/nodejs/@types/jsdom
Link ./node_modules/@types/merge-stream -> /usr/share/nodejs/@types/merge-stream
Link ./node_modules/@types/micromatch -> /usr/share/nodejs/@types/micromatch
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/@types/parse-json -> /usr/share/nodejs/@types/parse-json
Link ./node_modules/@types/picomatch -> /usr/share/nodejs/@types/picomatch
Link ./node_modules/@types/prompts -> /usr/share/nodejs/@types/prompts
Link ./node_modules/@types/react-is -> /usr/share/nodejs/@types/react-is
Link ./node_modules/@types/resolve -> /usr/share/nodejs/@types/resolve
Link ./node_modules/@types/rimraf -> /usr/share/nodejs/@types/rimraf
Link ./node_modules/@types/semver -> /usr/share/nodejs/@types/semver
Link ./node_modules/@types/sinonjs__fake-timers -> /usr/share/nodejs/@types/sinonjs__fake-timers
Link ./node_modules/@types/source-map-support -> /usr/share/nodejs/@types/source-map-support
Link ./node_modules/@types/stack-utils -> /usr/share/nodejs/@types/stack-utils
Link ./node_modules/@types/supports-color -> /usr/share/nodejs/@types/supports-color
Link ./node_modules/@types/write-file-atomic -> /usr/share/nodejs/@types/write-file-atomic
Link ./node_modules/@types/yargs -> /usr/share/nodejs/@types/yargs
Link ./node_modules/uvu -> /usr/share/nodejs/uvu
Link ./node_modules/v8-to-istanbul -> /usr/share/nodejs/v8-to-istanbul
/!\ website/package.json not found
Unable to load website
Copy /usr/share/nodejs/chalk -> ./node_modules/
Found debian/nodejs/additional_components
Link node_modules/astral-regex -> ../astral-regex
Link node_modules/babel-preset-moxy -> ../babel-preset-moxy
Link node_modules/@bcoe/v8-coverage -> ../../bcoe-v8-coverage
Link node_modules/char-regex -> ../char-regex
Link node_modules/collect-v8-coverage -> ../collect-v8-coverage
Link node_modules/dedent -> ../dedent
Link node_modules/import-local -> ../import-local
Link node_modules/is-ci -> ../is-ci
Link node_modules/jest-pnp-resolver -> ../jest-pnp-resolver
Link node_modules/jest-snapshot-serializer-raw -> ../jest-snapshot-serializer-raw
Link node_modules/jest-tobetype -> ../jest-tobetype
Link node_modules/natural-compare -> ../natural-compare
Link node_modules/natural-compare-lite -> ../natural-compare-lite
Link node_modules/p-each-series -> ../p-each-series
Link node_modules/p-reduce -> ../p-reduce
Link node_modules/babel-jest -> ../packages/babel-jest
Link node_modules/babel-plugin-jest-hoist -> ../packages/babel-plugin-jest-hoist
Link node_modules/babel-preset-jest -> ../packages/babel-preset-jest
Link node_modules/diff-sequences -> ../packages/diff-sequences
Link node_modules/expect -> ../packages/expect
Link node_modules/@jest/expect-utils -> ../../packages/expect-utils
Link node_modules/jest-changed-files -> ../packages/jest-changed-files
Link node_modules/jest-circus -> ../packages/jest-circus
Link node_modules/jest-cli -> ../packages/jest-cli
Link node_modules/jest-config -> ../packages/jest-config
Link node_modules/@jest/console -> ../../packages/jest-console
Link node_modules/@jest/core -> ../../packages/jest-core
Link node_modules/@jest/create-cache-key-function -> ../../packages/jest-create-cache-key-function
Link node_modules/jest-diff -> ../packages/jest-diff
Link node_modules/jest-docblock -> ../packages/jest-docblock
Link node_modules/jest-each -> ../packages/jest-each
Link node_modules/@jest/environment -> ../../packages/jest-environment
Link node_modules/jest-environment-jsdom -> ../packages/jest-environment-jsdom
Link node_modules/jest-environment-node -> ../packages/jest-environment-node
Link node_modules/@jest/expect -> ../../packages/jest-expect
Link node_modules/@jest/fake-timers -> ../../packages/jest-fake-timers
Link node_modules/jest-get-type -> ../packages/jest-get-type
Link node_modules/@jest/globals -> ../../packages/jest-globals
Link node_modules/jest-haste-map -> ../packages/jest-haste-map
Link node_modules/jest-jasmine2 -> ../packages/jest-jasmine2
Link node_modules/jest-leak-detector -> ../packages/jest-leak-detector
Link node_modules/jest-matcher-utils -> ../packages/jest-matcher-utils
Link node_modules/jest-message-util -> ../packages/jest-message-util
Link node_modules/jest-mock -> ../packages/jest-mock
Link node_modules/jest-phabricator -> ../packages/jest-phabricator
Link node_modules/jest-regex-util -> ../packages/jest-regex-util
Link node_modules/jest-repl -> ../packages/jest-repl
Link node_modules/@jest/reporters -> ../../packages/jest-reporters
Link node_modules/jest-resolve -> ../packages/jest-resolve
Link node_modules/jest-resolve-dependencies -> ../packages/jest-resolve-dependencies
Link node_modules/jest-runner -> ../packages/jest-runner
Link node_modules/jest-runtime -> ../packages/jest-runtime
Link node_modules/@jest/schemas -> ../../packages/jest-schemas
Link node_modules/jest-snapshot -> ../packages/jest-snapshot
Link node_modules/@jest/source-map -> ../../packages/jest-source-map
Link node_modules/@jest/test-result -> ../../packages/jest-test-result
Link node_modules/@jest/test-sequencer -> ../../packages/jest-test-sequencer
Link node_modules/@jest/transform -> ../../packages/jest-transform
Link node_modules/@jest/types -> ../../packages/jest-types
Link node_modules/jest-util -> ../packages/jest-util
Link node_modules/jest-validate -> ../packages/jest-validate
Link node_modules/jest-watcher -> ../packages/jest-watcher
Link node_modules/jest-worker -> ../packages/jest-worker
Link node_modules/pretty-format -> ../packages/pretty-format
Link node_modules/@jest/test-globals -> ../../packages/test-globals
Link node_modules/@jest/test-utils -> ../../packages/test-utils
Link node_modules/repl -> ../repl
Link node_modules/resolve.exports -> ../resolveexports
Link node_modules/string-length -> ../string-length
Link node_modules/supports-hyperlinks -> ../supports-hyperlinks
Link node_modules/terminal-link -> ../terminal-link
Link node_modules/throat -> ../throat
Link node_modules/@types/dedent -> ../../types-dedent
Link node_modules/@types/is-ci -> ../../types-is-ci
Link node_modules/@types/natural-compare -> ../../types-natural-compare
Link node_modules/@types/jest -> ../../typesjest
Link node_modules/@types/chalk -> ../../debian/build_modules/@types/chalk
Link node_modules/@types/execa -> ../../debian/build_modules/@types/execa
Link node_modules/@types/expect -> ../../debian/build_modules/@types/expect
Link node_modules/@types/jest-diff -> ../../debian/build_modules/@types/jest-diff
Link node_modules/@types/jest-haste-map -> ../../debian/build_modules/@types/jest-haste-map
Link node_modules/@types/jest-matcher-utils -> ../../debian/build_modules/@types/jest-matcher-utils
Link node_modules/@types/jest-resolve -> ../../debian/build_modules/@types/jest-resolve
Link node_modules/@types/jest__expect-utils -> ../../debian/build_modules/@types/jest__expect-utils
Link node_modules/@types/jest__schemas -> ../../debian/build_modules/@types/jest__schemas
Link node_modules/@types/jest__types -> ../../debian/build_modules/@types/jest__types
Link node_modules/@types/node-notifier -> ../../debian/build_modules/@types/node-notifier
Link node_modules/@types/prettier -> ../../debian/build_modules/@types/prettier
Link node_modules/@types/pretty-format -> ../../debian/build_modules/@types/pretty-format
Link node_modules/@types/slash -> ../../debian/build_modules/@types/slash
Link node_modules/@types/weak-napi -> ../../debian/build_modules/@types/weak-napi
Link node_modules/babel-plugin-replace-ts-export-assignment -> ../debian/build_modules/babel-plugin-replace-ts-export-assignment
Link node_modules/babel-plugin-typescript-strip-namespaces -> ../debian/build_modules/babel-plugin-typescript-strip-namespaces
Link node_modules/incident -> ../debian/build_modules/incident
Link node_modules/matched -> ../debian/build_modules/matched
Link node_modules/rollup-plugin-multi-input -> ../debian/build_modules/rollup-plugin-multi-input
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build --buildsystem=nodejs
/!\ website/package.json not found
Unable to load website
./lerna.json found

workspaces field found in package.json

Found debian/nodejs/additional_components
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
Found debian/nodejs/resolveexports/build
	cd ./resolveexports && sh -ex ../debian/nodejs/resolveexports/build
+ rollup -p @rollup/plugin-typescript -o dist/index.mjs -f es src/index.ts

src/index.ts → dist/index.mjs...
created dist/index.mjs in 1.3s
+ rollup -p @rollup/plugin-typescript -o dist/index.js -f cjs src/index.ts

src/index.ts → dist/index.js...
created dist/index.js in 1.3s
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
Found debian/nodejs/bcoe-v8-coverage/build
	cd ./bcoe-v8-coverage && sh -ex ../debian/nodejs/bcoe-v8-coverage/build
+ rm -rf dist
+ mkdir node_modules
+ pkgjs-ln tslib
tslib linked into node_modules
+ pkgjs-ln @types/mocha
@types/mocha linked into node_modules
+ ln -s ../../../debian/nodejs/bcoe-v8-coverage/node_modules/@types/node node_modules/@types/
+ rollup -c ../debian/bcoe-rollup-config.js

../bcoe-v8-coverage/src/lib/*.ts → ../bcoe-v8-coverage/dist/lib...
(!) Plugin typescript: @rollup/plugin-typescript: Rollup requires that TypeScript produces ES Modules. Unfortunately your configuration specifies a "module" other than "esnext". Unless you know what you're doing, please change "module" to "esnext" in the target tsconfig.json file or plugin options.
[!] (plugin typescript) RollupError: @rollup/plugin-typescript TS5101: Option 'charset' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error.
    at error (/usr/share/nodejs/rollup/dist/shared/rollup.js:321:30)
    at Object.error (/usr/share/nodejs/rollup/dist/shared/rollup.js:1689:20)
    at emitDiagnostic (/usr/share/nodejs/@rollup/plugin-typescript/dist/cjs/index.js:563:17)
    at reportDiagnostics (/usr/share/nodejs/@rollup/plugin-typescript/dist/cjs/index.js:571:9)
    at Array.forEach (<anonymous>)
    at emitFilesAndReportErrors (/usr/share/nodejs/typescript/lib/typescript.js:122030:17)
    at Object.result.afterProgramCreate (/usr/share/nodejs/typescript/lib/typescript.js:122188:7)
    at Object.afterProgramCreate (/usr/share/nodejs/@rollup/plugin-typescript/dist/cjs/index.js:729:29)
    at synchronizeProgram (/usr/share/nodejs/typescript/lib/typescript.js:122550:14)
    at Object.createWatchProgram (/usr/share/nodejs/typescript/lib/typescript.js:122454:5)


dh_auto_build: error: cd ./bcoe-v8-coverage && sh -ex ../debian/nodejs/bcoe-v8-coverage/build returned exit code 1
make[1]: *** [debian/rules:16: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-12-15T07:52:08Z

#1090013#12
Date:
2025-08-31 21:50:05 UTC
From:
To:
Hello,

Bug #1090013 in node-jest reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-jest/-/commit/13fa0752e596d887b09455be6f504a0df1ce3635

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1090013

#1090013#19
Date:
2025-09-01 22:14:31 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-jest, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1090013@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jérémy Lal <kapouer@melix.org> (supplier of updated node-jest package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 01 Sep 2025 23:49:48 +0200
Source: node-jest
Architecture: source
Version: 29.6.2~ds1+~cs73.45.28-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Jérémy Lal <kapouer@melix.org>
Closes: 1090013
Changes:
 node-jest (29.6.2~ds1+~cs73.45.28-7) unstable; urgency=medium
 .
   [ Yadd ]
   * Declare compliance with policy 4.7.0
 .
   [ Jérémy Lal ]
   * Add ignoreDeprecations flag to our rollup config,
     and to tsconfig.json (with a patch). Closes: #1090013.
Checksums-Sha1:
 65abda260c704158dde180130cfae77876495141 12599 node-jest_29.6.2~ds1+~cs73.45.28-7.dsc
 429eb86492a530022232181410cb0db8da737750 147572 node-jest_29.6.2~ds1+~cs73.45.28-7.debian.tar.xz
 8464842ff86a46062a2882f415fa4997a8cf5c58 25909 node-jest_29.6.2~ds1+~cs73.45.28-7_source.buildinfo
Checksums-Sha256:
 2217267a2a32708243d665bb7ed3f8e2466722e4257531c3b813b65bb2de77a9 12599 node-jest_29.6.2~ds1+~cs73.45.28-7.dsc
 f32e14180a6170415f56ae0b746a580d2a632abc664f174f7405343f4f1340e8 147572 node-jest_29.6.2~ds1+~cs73.45.28-7.debian.tar.xz
 2d65f4a6ae1f4d1773f718688f1a9a6d6b4714c6a90908e788ca9607050d6203 25909 node-jest_29.6.2~ds1+~cs73.45.28-7_source.buildinfo
Files:
 16f0db784113e7959d47c475ef880122 12599 javascript optional node-jest_29.6.2~ds1+~cs73.45.28-7.dsc
 15fbada9062d97feeb7c386728a9e849 147572 javascript optional node-jest_29.6.2~ds1+~cs73.45.28-7.debian.tar.xz
 3bda950cb9c26b4a5ea2e7087b56eac4 25909 javascript optional node-jest_29.6.2~ds1+~cs73.45.28-7_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCAAwFiEEA8Tnq7iA9SQwbkgVZhHAXt0583QFAmi2FQ0SHGthcG91ZXJA
bWVsaXgub3JnAAoJEGYRwF7dOfN0qmMQAKJ2t6SSBRQkdBkxN34bjtQeXeE2SG6s
A1bbYSqPB/OxAqwRn5QniPX2pqWdoL9FTp0HvR8novRaFBfXnbj8+slY28hWhoDv
m5KKrrW3v6hhuybuSojke8YFwBkP+qTzo+33E0MdQ6IpnS5xqKtZXnm+vONEZ1No
c92jKb5ietT0rd4Z0S5MtYKBoDvIejxSJKcA6diTPTU9MRP75YeEIgjHnH4iyZuY
fazbS+w7DdrzW1f/0K5abupDOO0i7mhuUdmsVhB16BcWtUrvXJjDflmBR6wmOwfF
Mn9IjQTFgr4Ms2jlrePd0h0OnMAELq8mz3v5+7o1C/DnIDs8xGc844+aoi9OzgkJ
JxwsGt6v/eqqM0U2C7JE0hdxfKsuzzuJlX894bqXt40/FWF8EBOTb5AmFfVmm1IJ
egvAo6WHANBWXLPa3bfYIGzov6eOuppazBjR2G2ggJ8IBXvLP3NH8BmfOJXHLX7i
228vbiZz5xQLTUYQObgt78DEMQn3fBh0jPO4E3hPcGILJIyEvyn7hENwa5XYPOKp
Onl7Anz0nkt2t9516pRSIw/fVdKPZeYX0wFq8kiRU3/wub81JU2mXcXqUU+xEkUd
9QWuSC8c5gu+6r7cw0KDhn7iuJnzVNDlIXoam3lPa/fZPt+zFPFVHWz1InEr5SUC
7ojloDyIt722
=7yTS
-----END PGP SIGNATURE-----