[Pkg-javascript-devel] Bug#1122441: node-d3-geo-projection: FTBFS: Unexpected identifier 'assert'
Santiago Vila
sanvila at debian.org
Wed Dec 10 20:39:53 GMT 2025
Package: src:node-d3-geo-projection
Version: 4.0.0-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-geo-projection, 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/d3-array
unlink ./node_modules/d3-geo
unlink ./node_modules/@rollup/plugin-node-resolve
Trying to remove ./node_modules/@rollup
unlink ./node_modules/rollup-plugin-terser
rm ./node_modules/.cache
unlink ./node_modules/d3-array
unlink ./node_modules/d3-geo
unlink ./node_modules/@rollup/plugin-node-resolve
Trying to remove ./node_modules/@rollup
unlink ./node_modules/rollup-plugin-terser
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link ./node_modules/d3-array -> /usr/share/nodejs/d3-array
Link ./node_modules/d3-geo -> /usr/share/nodejs/d3-geo
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
dh_auto_build --buildsystem=nodejs
No build command found, searching known files
cd ./. && 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: warning: ### Command "rollup -c" failed in .
dh_auto_build: warning:
############################################################################
1 failures, unable to build automatically.
Install a debian/nodejs/./build or add a "override_dh_auto_build:" target
in debian/rules
############################################################################
dh_auto_build: warning: Aborting auto_build
make: *** [debian/rules:8: binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-javascript-devel
mailing list