[Pkg-javascript-devel] Bug#1011847: node-d3-array: FTBFS: ReferenceError: it is not defined
Lucas Nussbaum
lucas at debian.org
Thu May 26 20:10:18 BST 2022
Source: node-d3-array
Version: 3.1.1+~cs5.0.5-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary
> dh_update_autotools_config
> dh_autoreconf
> dh_auto_configure --buildsystem=nodejs
> Link node_modules/internmap -> ../internmap
> Link node_modules/@types/d3-array -> ../../types-d3-array
> dh_auto_build --buildsystem=nodejs
> Found debian/nodejs/internmap/build
> cd ./internmap && sh -ex ../debian/nodejs/internmap/build
> + rollup -c
> [36m
> [1msrc/index.js[22m → [1mdist/internmap.js[22m...[39m
> [32mcreated [1mdist/internmap.js[22m in [1m45ms[22m[39m
> [36m
> [1msrc/index.js[22m → [1mdist/internmap.min.js[22m...[39m
> [32mcreated [1mdist/internmap.min.js[22m in [1m361ms[22m[39m
> + mjs2cjs src/index.js
> [36m
> [1msrc/index.js[22m → [1m./dist/index.cjs[22m...[39m
> [32mcreated [1m./dist/index.cjs[22m in [1m34ms[22m[39m
> No build command found, searching known files
> Found debian/nodejs/./build
> cd ./. && sh -ex debian/nodejs/./build
> + rollup -c
> [36m
> [1msrc/index.js[22m → [1mdist/d3-array.js[22m...[39m
> [32mcreated [1mdist/d3-array.js[22m in [1m407ms[22m[39m
> [36m
> [1msrc/index.js[22m → [1mdist/d3-array.min.js[22m...[39m
> [32mcreated [1mdist/d3-array.min.js[22m in [1m995ms[22m[39m
> + mjs2cjs src/index.js
> [36m
> [1msrc/index.js[22m → [1m./dist/index.cjs[22m...[39m
> [32mcreated [1m./dist/index.cjs[22m in [1m236ms[22m[39m
> dh_auto_test --buildsystem=nodejs
> ln -s ../. node_modules/d3-array
> /bin/sh -ex debian/tests/pkg-js/test
> + patch -R -p1
> patching file internmap/package.json
> patching file package.json
> + tape test/**/*-test.js
> file:///<<PKGBUILDDIR>>/test/ascending-test.js:4
> it("ascending(a, b) returns a negative number if a < b", () => {
> ^
>
> ReferenceError: it is not defined
> at file:///<<PKGBUILDDIR>>/test/ascending-test.js:4:1
> at ModuleJob.run (node:internal/modules/esm/module_job:197:25)
> at async Promise.all (index 0)
> at async ESMLoader.import (node:internal/modules/esm/loader:337:24)
> at async importModuleDynamicallyWrapper (node:internal/vm/module:437:15)
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2022/05/25/node-d3-array_3.1.1+~cs5.0.5-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-javascript-devel
mailing list