[Pkg-javascript-devel] Bug#1123423: node-zrender: FTBFS: dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
Santiago Vila
sanvila at debian.org
Tue Dec 16 20:28:07 GMT 2025
Package: src:node-zrender
Version: 5.4.1+dfsg-3
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-zrender, 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/ts-jest
unlink ./node_modules/tslib
unlink ./node_modules/@types/istanbul-lib-coverage
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/istanbul-lib-report
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/jest
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
rm ./node_modules/.cache
unlink ./node_modules/ts-jest
unlink ./node_modules/tslib
unlink ./node_modules/@types/istanbul-lib-coverage
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/istanbul-lib-report
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/jest
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link ./node_modules/ts-jest -> /usr/share/nodejs/ts-jest
Link ./node_modules/tslib -> /usr/share/nodejs/tslib
Link ./node_modules/@types/istanbul-lib-coverage -> /usr/share/nodejs/@types/istanbul-lib-coverage
Link ./node_modules/@types/istanbul-lib-report -> /usr/share/nodejs/@types/istanbul-lib-report
Link ./node_modules/@types/jest -> /usr/share/nodejs/@types/jest
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
dh_auto_build --buildsystem=nodejs
Found debian/nodejs/./build
cd ./. && sh -ex debian/nodejs/./build
+ set -e
+ node build/build.js
[1/4]: src/core/env.ts
[2/6]: src/core/types.ts
[3/7]: src/graphic/Gradient.ts
[4/11]: src/core/fourPointsTransform.ts
[5/11]: src/core/dom.ts
[6/11]: src/svg/core.ts
[7/11]: src/graphic/Pattern.ts
[8/12]: src/core/platform.ts
[9/12]: src/core/util.ts
[10/15]: src/core/matrix.ts
[11/15]: src/core/vector.ts
[12/18]: src/core/Transformable.ts
[13/19]: src/animation/easing.ts
[14/23]: src/core/Eventful.ts
[15/24]: src/animation/requestAnimationFrame.ts
[16/24]: src/animation/Animation.ts
[17/26]: src/core/curve.ts
[18/26]: src/animation/cubicEasing.ts
[19/26]: src/animation/Clip.ts
[20/28]: src/core/LRU.ts
[21/28]: src/tool/color.ts
[22/32]: src/core/Point.ts
[23/32]: src/core/BoundingRect.ts
[24/35]: src/config.ts
[25/36]: src/core/bbox.ts
[26/36]: src/core/PathProxy.ts
[27/38]: src/contain/line.ts
[28/39]: src/contain/cubic.ts
[29/40]: src/contain/quadratic.ts
[30/42]: src/contain/util.ts
[31/42]: src/contain/arc.ts
[32/43]: src/contain/windingLine.ts
[33/43]: src/contain/path.ts
[34/44]: src/graphic/LinearGradient.ts
[35/45]: src/graphic/RadialGradient.ts
[36/46]: src/graphic/constants.ts
[37/46]: src/graphic/Path.ts
[38/46]: src/graphic/Displayable.ts
[39/46]: src/svg/helper.ts
[40/46]: src/animation/Animator.ts
[41/49]: src/graphic/helper/image.ts
[42/50]: src/contain/text.ts
[43/50]: src/graphic/helper/parseText.ts
[44/51]: src/graphic/TSpan.ts
[45/52]: src/graphic/Image.ts
[46/54]: src/graphic/helper/roundRect.ts
[47/55]: src/graphic/helper/subPixelOptimize.ts
[48/55]: src/graphic/shape/Rect.ts
[49/56]: src/graphic/Group.ts
[50/56]: src/graphic/Text.ts
[51/59]: src/graphic/helper/smoothBezier.ts
[52/59]: src/graphic/helper/poly.ts
[53/59]: src/graphic/shape/Polyline.ts
[54/59]: src/Element.ts
[55/59]: src/mixin/Draggable.ts
[56/60]: src/core/event.ts
[57/61]: src/core/GestureMgr.ts
[58/62]: src/PainterBase.ts
[59/63]: src/dom/HandlerProxy.ts
[60/65]: src/core/timsort.ts
[61/65]: src/Storage.ts
[62/68]: src/canvas/helper.ts
[63/70]: src/canvas/dashStyle.ts
[64/71]: src/graphic/IncrementalDisplayable.ts
[65/71]: src/canvas/graphic.ts
[66/71]: src/canvas/Layer.ts
[67/71]: src/canvas/Painter.ts
[68/71]: src/Handler.ts
[69/71]: src/zrender.ts
[70/74]: src/tool/transformPath.ts
[71/74]: src/tool/path.ts
[72/76]: src/graphic/shape/Circle.ts
[73/77]: src/graphic/shape/Ellipse.ts
[74/78]: src/graphic/shape/Line.ts
[75/79]: src/graphic/shape/Polygon.ts
[76/80]: src/tool/parseXML.ts
[77/80]: src/tool/parseSVG.ts
[78/84]: src/graphic/helper/roundSector.ts
[79/84]: src/graphic/shape/Sector.ts
[80/85]: src/tool/convertPath.ts
[81/85]: src/tool/dividePath.ts
[82/85]: src/tool/morphPath.ts
[83/86]: src/graphic/CompoundPath.ts
[84/87]: src/graphic/shape/Arc.ts
[85/88]: src/graphic/shape/BezierCurve.ts
[86/89]: src/graphic/shape/Droplet.ts
[87/90]: src/graphic/shape/Heart.ts
[88/91]: src/graphic/shape/Isogon.ts
[89/92]: src/graphic/shape/Ring.ts
[90/93]: src/graphic/shape/Rose.ts
[91/94]: src/graphic/shape/Star.ts
[92/95]: src/graphic/shape/Trochoid.ts
[93/96]: src/core/OrientedBoundingRect.ts
[94/97]: src/debug/showDebugDirtyRect.ts
[95/97]: src/export.ts
[96/100]: src/svg/SVGPathRebuilder.ts
[97/101]: src/svg/mapStyleToAttrs.ts
[98/102]: src/svg/cssAnimation.ts
[99/102]: src/svg/graphic.ts
[100/104]: src/svg/domapi.ts
[101/104]: src/svg/patch.ts
[102/104]: src/svg/Painter.ts
[103/104]: src/all.ts
[104/104]: index.ts
+ tsc -m ES2015 --outDir lib
+ node build/processLib.js
Added .js extensions.
Start testing generated libs...
Libs can be bundled!
dh_auto_test --buildsystem=nodejs
ln -s ../. node_modules/zrender
/bin/sh -ex debian/tests/pkg-js/test
+ jest --config test/ut/jest.config.js
FAIL test/ut/spec/graphic/Path.test.ts
â Test suite failed to run
The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string.
Consider using the "jsdom" test environment.
ReferenceError: window is not defined
83 |
84 | env.svgSupported = typeof SVGRect !== 'undefined';
> 85 | env.touchEventsSupported = 'ontouchstart' in window && !browser.ie && !browser.edge;
| ^
86 | env.pointerEventsSupported = 'onpointerdown' in window
87 | && (browser.edge || (browser.ie && +browser.version >= 11));
88 | env.domSupported = typeof document !== 'undefined';
at detect (../../src/core/env.ts:85:50)
at Object.<anonymous> (../../src/core/env.ts:46:5)
at Object.<anonymous> (../../src/svg/helper.ts:13:1)
at Object.<anonymous> (../../src/animation/Animator.ts:23:1)
at Object.<anonymous> (../../src/Element.ts:3:1)
at Object.<anonymous> (../../src/graphic/Displayable.ts:5:1)
at Object.<anonymous> (../../src/graphic/Path.ts:1:1)
at Object.<anonymous> (../../src/tool/path.ts:1:1)
at Object.<anonymous> (../../src/export.ts:9:1)
at Object.<anonymous> (spec/zrender.ts:1:1)
at Object.<anonymous> (spec/graphic/Path.test.ts:1:1)
PASS test/ut/spec/core/util.test.ts
FAIL test/ut/spec/graphic/Group.test.ts
â Test suite failed to run
The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string.
Consider using the "jsdom" test environment.
ReferenceError: window is not defined
83 |
84 | env.svgSupported = typeof SVGRect !== 'undefined';
> 85 | env.touchEventsSupported = 'ontouchstart' in window && !browser.ie && !browser.edge;
| ^
86 | env.pointerEventsSupported = 'onpointerdown' in window
87 | && (browser.edge || (browser.ie && +browser.version >= 11));
88 | env.domSupported = typeof document !== 'undefined';
at detect (../../src/core/env.ts:85:50)
at Object.<anonymous> (../../src/core/env.ts:46:5)
at Object.<anonymous> (../../src/svg/helper.ts:13:1)
at Object.<anonymous> (../../src/animation/Animator.ts:23:1)
at Object.<anonymous> (../../src/Element.ts:3:1)
at Object.<anonymous> (../../src/graphic/Displayable.ts:5:1)
at Object.<anonymous> (../../src/graphic/Path.ts:1:1)
at Object.<anonymous> (../../src/tool/path.ts:1:1)
at Object.<anonymous> (../../src/export.ts:9:1)
at Object.<anonymous> (spec/zrender.ts:1:1)
at Object.<anonymous> (spec/graphic/Group.test.ts:1:1)
FAIL test/ut/spec/animation/ElementAnimation.test.ts
â Test suite failed to run
The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string.
Consider using the "jsdom" test environment.
ReferenceError: window is not defined
83 |
84 | env.svgSupported = typeof SVGRect !== 'undefined';
> 85 | env.touchEventsSupported = 'ontouchstart' in window && !browser.ie && !browser.edge;
| ^
86 | env.pointerEventsSupported = 'onpointerdown' in window
87 | && (browser.edge || (browser.ie && +browser.version >= 11));
88 | env.domSupported = typeof document !== 'undefined';
at detect (../../src/core/env.ts:85:50)
at Object.<anonymous> (../../src/core/env.ts:46:5)
at Object.<anonymous> (../../src/svg/helper.ts:13:1)
at Object.<anonymous> (../../src/animation/Animator.ts:23:1)
at Object.<anonymous> (../../src/Element.ts:3:1)
at Object.<anonymous> (../../src/graphic/Displayable.ts:5:1)
at Object.<anonymous> (../../src/graphic/Path.ts:1:1)
at Object.<anonymous> (../../src/tool/path.ts:1:1)
at Object.<anonymous> (../../src/export.ts:9:1)
at Object.<anonymous> (spec/zrender.ts:1:1)
at Object.<anonymous> (spec/animation/ElementAnimation.test.ts:1:1)
FAIL test/ut/spec/graphic/Image.test.ts
â Test suite failed to run
The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string.
Consider using the "jsdom" test environment.
ReferenceError: window is not defined
83 |
84 | env.svgSupported = typeof SVGRect !== 'undefined';
> 85 | env.touchEventsSupported = 'ontouchstart' in window && !browser.ie && !browser.edge;
| ^
86 | env.pointerEventsSupported = 'onpointerdown' in window
87 | && (browser.edge || (browser.ie && +browser.version >= 11));
88 | env.domSupported = typeof document !== 'undefined';
at detect (../../src/core/env.ts:85:50)
at Object.<anonymous> (../../src/core/env.ts:46:5)
at Object.<anonymous> (../../src/svg/helper.ts:13:1)
at Object.<anonymous> (../../src/animation/Animator.ts:23:1)
at Object.<anonymous> (../../src/Element.ts:3:1)
at Object.<anonymous> (../../src/graphic/Displayable.ts:5:1)
at Object.<anonymous> (../../src/graphic/Path.ts:1:1)
at Object.<anonymous> (../../src/tool/path.ts:1:1)
at Object.<anonymous> (../../src/export.ts:9:1)
at Object.<anonymous> (spec/zrender.ts:1:1)
at Object.<anonymous> (spec/graphic/Image.test.ts:1:1)
PASS test/ut/spec/core/arrayDiff.test.ts
PASS test/ut/spec/core/platform.test.ts
FAIL test/ut/spec/contain/Sector.test.ts
â Test suite failed to run
The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string.
Consider using the "jsdom" test environment.
ReferenceError: window is not defined
83 |
84 | env.svgSupported = typeof SVGRect !== 'undefined';
> 85 | env.touchEventsSupported = 'ontouchstart' in window && !browser.ie && !browser.edge;
| ^
86 | env.pointerEventsSupported = 'onpointerdown' in window
87 | && (browser.edge || (browser.ie && +browser.version >= 11));
88 | env.domSupported = typeof document !== 'undefined';
at detect (../../src/core/env.ts:85:50)
at Object.<anonymous> (../../src/core/env.ts:46:5)
at Object.<anonymous> (../../src/svg/helper.ts:13:1)
at Object.<anonymous> (../../src/animation/Animator.ts:23:1)
at Object.<anonymous> (../../src/Element.ts:3:1)
at Object.<anonymous> (../../src/graphic/Displayable.ts:5:1)
at Object.<anonymous> (../../src/graphic/Path.ts:1:1)
at Object.<anonymous> (../../src/tool/path.ts:1:1)
at Object.<anonymous> (../../src/export.ts:9:1)
at Object.<anonymous> (spec/zrender.ts:1:1)
at Object.<anonymous> (spec/contain/Sector.test.ts:1:1)
PASS test/ut/spec/tool/color.test.ts
FAIL test/ut/spec/graphic/Text.test.ts
â Test suite failed to run
The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string.
Consider using the "jsdom" test environment.
ReferenceError: window is not defined
83 |
84 | env.svgSupported = typeof SVGRect !== 'undefined';
> 85 | env.touchEventsSupported = 'ontouchstart' in window && !browser.ie && !browser.edge;
| ^
86 | env.pointerEventsSupported = 'onpointerdown' in window
87 | && (browser.edge || (browser.ie && +browser.version >= 11));
88 | env.domSupported = typeof document !== 'undefined';
at detect (../../src/core/env.ts:85:50)
at Object.<anonymous> (../../src/core/env.ts:46:5)
at Object.<anonymous> (../../src/svg/helper.ts:13:1)
at Object.<anonymous> (../../src/animation/Animator.ts:23:1)
at Object.<anonymous> (../../src/Element.ts:3:1)
at Object.<anonymous> (../../src/graphic/Displayable.ts:5:1)
at Object.<anonymous> (../../src/graphic/Path.ts:1:1)
at Object.<anonymous> (../../src/tool/path.ts:1:1)
at Object.<anonymous> (../../src/export.ts:9:1)
at Object.<anonymous> (spec/zrender.ts:1:1)
at Object.<anonymous> (spec/graphic/Text.test.ts:1:1)
PASS test/ut/spec/core/LRU.test.ts
Test Suites: 6 failed, 5 passed, 11 total
Tests: 33 passed, 33 total
Snapshots: 0 total
Time: 3.872 s
Ran all test suites.
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test 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