[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
> 
> src/index.js → dist/internmap.js...
> created dist/internmap.js in 45ms
> 
> src/index.js → dist/internmap.min.js...
> created dist/internmap.min.js in 361ms
> + mjs2cjs src/index.js
> 
> src/index.js → ./dist/index.cjs...
> created ./dist/index.cjs in 34ms
> No build command found, searching known files
> Found debian/nodejs/./build
> 	cd ./. && sh -ex debian/nodejs/./build
> + rollup -c
> 
> src/index.js → dist/d3-array.js...
> created dist/d3-array.js in 407ms
> 
> src/index.js → dist/d3-array.min.js...
> created dist/d3-array.min.js in 995ms
> + mjs2cjs src/index.js
> 
> src/index.js → ./dist/index.cjs...
> created ./dist/index.cjs in 236ms
>    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