[Pkg-javascript-devel] Bug#1068933: node-babel7: FTBFS in bookworm against nodejs 18.19.0+dfsg-6~deb12u1

Jérémy Lal kapouer at melix.org
Sat Apr 13 17:18:54 BST 2024


Package: node-babel7
Version: 7.20.15+ds1+~cs214.269.168-6
Severity: serious
Tags: ftbfs
Justification: fails to build from source

This package FTBFS When rebuilding it in bookworm, against
nodejs 18.19.0+dfsg-6~deb12u1
node-undici 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u4
(not yet uploaded)

The way to fix it is by improving upon the existing patch tsc-workaround.

Error log:

tsc -b .
packages/babel-helper-transform-fixture-test-runner/src/index.ts(131,7): error TS2345: Argument of type '{ filename: string; displayErrors: boolean; lineOffset: number; cachedData: Buffer; }' is not assignable to parameter of type 'string | ScriptOptions'.
  Object literal may only specify known properties, and 'displayErrors' does not exist in type 'ScriptOptions'.
packages/babel-helper-transform-fixture-test-runner/src/index.ts(139,7): error TS2345: Argument of type '{ filename: string; displayErrors: boolean; lineOffset: number; cachedData: Buffer; produceCachedData: true; }' is not assignable to parameter of type 'string | ScriptOptions'.
  Object literal may only specify known properties, and 'displayErrors' does not exist in type 'ScriptOptions'.
make[1]: *** [debian/rules:68: override_dh_auto_build] Error 1



-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.15-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages node-babel7 depends on:
ii  node-ampproject-remapping               2.2.0+~cs5.15.37-1
ii  node-babel-plugin-add-module-exports    1.0.4+dfsg1~cs5.8.0-4
ii  node-babel-plugin-polyfill-corejs2      0.3.3~0~20220913+ds1-1
ii  node-babel-plugin-polyfill-corejs3      0.6.0~0~20220913+ds1-1
ii  node-babel-plugin-polyfill-regenerator  0.4.1~0~20220913+ds1-1
ii  node-babel7-runtime                     7.20.15+ds1+~cs214.269.168-6
ii  node-browserslist                       4.22.1+~cs6.1.28-1
ii  node-chalk                              5.3.0-1
ii  node-clone-deep                         4.0.1+~cs7.0.2-1
ii  node-commander                          9.4.1-1
ii  node-convert-source-map                 1.9.0+~1.5.2-1
ii  node-core-js                            3.33.2-1
ii  node-core-js-compat                     3.33.2-1
ii  node-core-js-pure                       3.33.2-1
ii  node-debug                              4.3.4+~cs4.1.7-1
ii  node-esutils                            2.0.3+~2.0.0-1
ii  node-find-cache-dir                     3.3.2+~3.2.1-1
ii  node-fs-readdir-recursive               1.1.0+~1.1.0-1
ii  node-glob                               8.1.0+~cs8.5.15-1
ii  node-globals                            13.23.0-1
ii  node-js-tokens                          8.0.0-2
ii  node-jsesc                              3.0.2+~3.0.1-1
ii  node-json5                              2.2.3+dfsg-1
ii  node-lodash                             4.17.21+dfsg+~cs8.31.198.20210220-9
ii  node-lodash-packages                    4.17.21+dfsg+~cs8.31.198.20210220-9
ii  node-make-dir                           3.1.0-3
ii  node-quick-lru                          6.1.1-4
ii  node-regenerator-transform              0.15.2+~0.10.8-1
ii  node-regexpu-core                       5.2.2-3
ii  node-resolve                            1.22.8+~cs5.34.15-2
ii  node-semver                             7.5.4+~7.5.0-2
ii  node-slash                              4.0.0-3
ii  node-source-map                         0.7.0++dfsg2+really.0.6.1-15
ii  node-source-map-support                 0.5.21+ds+~0.5.4-1
ii  node-to-fast-properties                 3.0.1-3
ii  node-v8flags                            3.2.0+~3.1.1-1
ii  nodejs                                  18.19.1+dfsg-3

node-babel7 recommends no packages.

Versions of packages node-babel7 suggests:
pn  node-babel-plugin-polyfill-es-shims  <none>
pn  node-babel7-debug                    <none>

-- no debconf information



More information about the Pkg-javascript-devel mailing list