[Pkg-javascript-devel] Bug#1122440: node-d3-delaunay: FTBFS: Unexpected identifier 'assert'
Santiago Vila
sanvila at debian.org
Wed Dec 10 20:39:51 GMT 2025
Package: src:node-d3-delaunay
Version: 6.0.4+~cs19.0.3-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/202512/
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-d3-delaunay, 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 -rf delaunator/node_modules/.cache delaunator/.nyc_output
rm -rf robust-predicates/node_modules/.cache robust-predicates/.nyc_output
rm -rf types-d3-delaunay/node_modules/.cache types-d3-delaunay/.nyc_output
rm -rf types-delaunator/node_modules/.cache types-delaunator/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/@rollup/plugin-node-resolve
Trying to remove ./node_modules/@rollup
unlink ./node_modules/rollup-plugin-terser
rm delaunator/node_modules/.cache
rm robust-predicates/node_modules/.cache
rm types-d3-delaunay/node_modules/.cache
rm types-delaunator/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/@rollup/plugin-node-resolve
Trying to remove ./node_modules/@rollup
unlink ./node_modules/rollup-plugin-terser
unlink node_modules/delaunator
unlink node_modules/robust-predicates
unlink node_modules/@types/d3-delaunay
unlink node_modules/@types/delaunator
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link ./node_modules/@rollup/plugin-node-resolve -> /usr/share/nodejs/@rollup/plugin-node-resolve
Link ./node_modules/rollup-plugin-terser -> /usr/share/nodejs/rollup-plugin-terser
Link node_modules/delaunator -> ../delaunator
Link node_modules/robust-predicates -> ../robust-predicates
Link node_modules/@types/d3-delaunay -> ../../types-d3-delaunay
Link node_modules/@types/delaunator -> ../../types-delaunator
dh_auto_build --buildsystem=nodejs
No build command found, searching known files
No build command found, searching known files
Found debian/nodejs/robust-predicates/build
cd ./robust-predicates && sh -ex ../debian/nodejs/robust-predicates/build
+ mkdir esm
+ node compile.js
Found debian/nodejs/delaunator/build
cd ./delaunator && sh -ex ../debian/nodejs/delaunator/build
+ rollup -c
[36m
[1mindex.js[22m â [1mdelaunator.js[22m...[39m
[32mcreated [1mdelaunator.js[22m in [1m179ms[22m[39m
[36m
[1mindex.js[22m â [1mdelaunator.min.js[22m...[39m
[32mcreated [1mdelaunator.min.js[22m in [1m449ms[22m[39m
Found debian/nodejs/./build
cd ./. && sh -ex debian/nodejs/./build
+ rollup -c
[1m[31m[!] [1mSyntaxError: Unexpected identifier 'assert'[22m[1m[39m[22m
[2m at compileSourceTextModule (node:internal/modules/esm/utils:346:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:107:18)
at ModuleLoader.#translate (node:internal/modules/esm/loader:546:20)
at afterLoad (node:internal/modules/esm/loader:596:29)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:601:12)
at ModuleLoader.#createModuleJob (node:internal/modules/esm/loader:624:36)
at ModuleLoader.#getJobFromResolveResult (node:internal/modules/esm/loader:343:34)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:311:41)
at onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:664:25)[22m
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-javascript-devel
mailing list