[Pkg-javascript-devel] Bug#1013656: node-zrender: FTBFS: make: *** [debian/rules:8: binary] Error 25

Lucas Nussbaum lucas at debian.org
Fri Jun 24 15:36:50 BST 2022


Source: node-zrender
Version: 5.3.1+dfsg-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220624 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/@rollup/plugin-typescript -> /usr/share/nodejs/@rollup/plugin-typescript
> Link ./node_modules/tslib -> /usr/share/nodejs/tslib
> Link ./node_modules/typescript -> /usr/share/nodejs/typescript
> Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
> Copy /usr/share/nodejs/jest-diff -> ./node_modules/
> Copy /usr/share/nodejs/pretty-format -> ./node_modules/
> Copy /usr/share/nodejs/ts-jest -> ./node_modules/
> Copy /usr/share/nodejs/@types/jest -> ./node_modules/@types
>    dh_auto_build --buildsystem=nodejs
> Found debian/nodejs/./build
> 	cd ./. && sh -ex debian/nodejs/./build
> + set -e
> + node build/build.js --minify
> [1/0]: index.ts
> [2/0]: src/all.ts
> [3/0]: src/zrender.ts
> [4/0]: src/export.ts
> [5/0]: src/canvas/Painter.ts
> [6/0]: src/svg/Painter.ts
> [7/0]: src/core/env.ts
> [8/0]: src/core/util.ts
> [9/0]: src/Handler.ts
> [10/0]: src/Storage.ts
> [11/0]: src/animation/Animation.ts
> [12/0]: src/dom/HandlerProxy.ts
> [13/0]: src/tool/color.ts
> [14/0]: src/config.ts
> [15/0]: src/graphic/Group.ts
> [16/0]: src/core/matrix.ts
> [17/0]: src/core/vector.ts
> [18/0]: src/tool/path.ts
> [19/0]: src/tool/parseSVG.ts
> [20/0]: src/tool/morphPath.ts
> [21/0]: src/core/Point.ts
> [22/0]: src/Element.ts
> [23/0]: src/graphic/Displayable.ts
> [24/0]: src/graphic/Path.ts
> [25/0]: src/graphic/Image.ts
> [26/0]: src/graphic/CompoundPath.ts
> [27/0]: src/graphic/TSpan.ts
> [28/0]: src/graphic/IncrementalDisplayable.ts
> [29/0]: src/graphic/Text.ts
> [30/0]: src/graphic/shape/Arc.ts
> [31/0]: src/graphic/shape/BezierCurve.ts
> [32/0]: src/graphic/shape/Circle.ts
> [33/0]: src/graphic/shape/Droplet.ts
> [34/0]: src/graphic/shape/Ellipse.ts
> [35/0]: src/graphic/shape/Heart.ts
> [36/0]: src/graphic/shape/Isogon.ts
> [37/0]: src/graphic/shape/Line.ts
> [38/0]: src/graphic/shape/Polygon.ts
> [39/0]: src/graphic/shape/Polyline.ts
> [40/0]: src/graphic/shape/Rect.ts
> [41/0]: src/graphic/shape/Ring.ts
> [42/0]: src/graphic/shape/Rose.ts
> [43/0]: src/graphic/shape/Sector.ts
> [44/0]: src/graphic/shape/Star.ts
> [45/0]: src/graphic/shape/Trochoid.ts
> [46/0]: src/graphic/LinearGradient.ts
> [47/0]: src/graphic/RadialGradient.ts
> [48/0]: src/graphic/Pattern.ts
> [49/0]: src/core/BoundingRect.ts
> [50/0]: src/core/OrientedBoundingRect.ts
> [51/0]: src/debug/showDebugDirtyRect.ts
> [52/0]: src/core/platform.ts
> [53/0]: src/canvas/Layer.ts
> [54/0]: src/animation/requestAnimationFrame.ts
> [55/0]: src/canvas/graphic.ts
> [56/0]: src/graphic/constants.ts
> [57/0]: src/canvas/helper.ts
> [58/0]: src/svg/graphic.ts
> [59/0]: src/svg/core.ts
> [60/0]: src/svg/helper.ts
> [61/0]: src/svg/patch.ts
> [62/1]: src/mixin/Draggable.ts
> [63/1]: src/core/Eventful.ts
> [64/1]: src/core/event.ts
> [65/1]: src/core/GestureMgr.ts
> [66/1]: src/core/timsort.ts
> [67/1]: src/animation/Animator.ts
> [68/1]: src/core/LRU.ts
> [69/1]: src/core/PathProxy.ts
> [70/1]: src/tool/transformPath.ts
> [71/1]: src/tool/parseXML.ts
> [72/1]: src/core/curve.ts
> [73/1]: src/core/Transformable.ts
> [74/1]: src/tool/dividePath.ts
> [75/1]: src/tool/convertPath.ts
> [76/1]: src/contain/text.ts
> [77/1]: src/contain/path.ts
> [78/1]: src/graphic/helper/parseText.ts
> [79/1]: src/graphic/helper/subPixelOptimize.ts
> [80/1]: src/graphic/helper/poly.ts
> [81/1]: src/graphic/helper/roundRect.ts
> [82/1]: src/graphic/helper/roundSector.ts
> [83/1]: src/graphic/Gradient.ts
> [84/1]: src/graphic/helper/image.ts
> [85/1]: src/canvas/dashStyle.ts
> [86/1]: src/svg/SVGPathRebuilder.ts
> [87/1]: src/svg/mapStyleToAttrs.ts
> [88/1]: src/svg/cssAnimation.ts
> [89/1]: src/svg/domapi.ts
> [90/1]: src/core/dom.ts
> [91/1]: src/animation/Clip.ts
> [92/1]: src/animation/easing.ts
> [93/1]: src/animation/cubicEasing.ts
> [94/1]: src/core/bbox.ts
> [95/1]: src/contain/line.ts
> [96/1]: src/contain/cubic.ts
> [97/1]: src/contain/quadratic.ts
> [98/1]: src/contain/arc.ts
> [99/1]: src/contain/windingLine.ts
> [100/1]: src/graphic/helper/smoothBezier.ts
> [101/1]: src/core/fourPointsTransform.ts
> [102/1]: src/contain/util.ts
> [103/1]: ../../../usr/share/nodejs/tslib/tslib.es6.js
> 
> [1/0]: index.ts
> [2/0]: src/all.ts
> [3/0]: src/zrender.ts
> [4/0]: src/export.ts
> [5/0]: src/canvas/Painter.ts
> [6/0]: src/svg/Painter.ts
> [7/0]: src/core/env.ts
> [8/0]: src/core/util.ts
> [9/0]: src/Handler.ts
> [10/0]: src/Storage.ts
> [11/0]: src/animation/Animation.ts
> [12/0]: src/dom/HandlerProxy.ts
> [13/0]: src/tool/color.ts
> [14/0]: src/config.ts
> [15/0]: src/graphic/Group.ts
> [16/0]: src/core/matrix.ts
> [17/0]: src/core/vector.ts
> [18/0]: src/tool/path.ts
> [19/0]: src/tool/parseSVG.ts
> [20/0]: src/tool/morphPath.ts
> [21/0]: src/core/Point.ts
> [22/0]: src/Element.ts
> [23/0]: src/graphic/Displayable.ts
> [24/0]: src/graphic/Path.ts
> [25/0]: src/graphic/Image.ts
> [26/0]: src/graphic/CompoundPath.ts
> [27/0]: src/graphic/TSpan.ts
> [28/0]: src/graphic/IncrementalDisplayable.ts
> [29/0]: src/graphic/Text.ts
> [30/0]: src/graphic/shape/Arc.ts
> [31/0]: src/graphic/shape/BezierCurve.ts
> [32/0]: src/graphic/shape/Circle.ts
> [33/0]: src/graphic/shape/Droplet.ts
> [34/0]: src/graphic/shape/Ellipse.ts
> [35/0]: src/graphic/shape/Heart.ts
> [36/0]: src/graphic/shape/Isogon.ts
> [37/0]: src/graphic/shape/Line.ts
> [38/0]: src/graphic/shape/Polygon.ts
> [39/0]: src/graphic/shape/Polyline.ts
> [40/0]: src/graphic/shape/Rect.ts
> [41/0]: src/graphic/shape/Ring.ts
> [42/0]: src/graphic/shape/Rose.ts
> [43/0]: src/graphic/shape/Sector.ts
> [44/0]: src/graphic/shape/Star.ts
> [45/0]: src/graphic/shape/Trochoid.ts
> [46/0]: src/graphic/LinearGradient.ts
> [47/0]: src/graphic/RadialGradient.ts
> [48/0]: src/graphic/Pattern.ts
> [49/0]: src/core/BoundingRect.ts
> [50/0]: src/core/OrientedBoundingRect.ts
> [51/0]: src/debug/showDebugDirtyRect.ts
> [52/0]: src/core/platform.ts
> [53/0]: src/canvas/Layer.ts
> [54/0]: src/animation/requestAnimationFrame.ts
> [55/0]: src/canvas/graphic.ts
> [56/0]: src/graphic/constants.ts
> [57/0]: src/canvas/helper.ts
> [58/0]: src/svg/graphic.ts
> [59/0]: src/svg/core.ts
> [60/0]: src/svg/helper.ts
> [61/0]: src/svg/patch.ts
> [62/1]: src/mixin/Draggable.ts
> [63/1]: src/core/Eventful.ts
> [64/1]: src/core/event.ts
> [65/1]: src/core/GestureMgr.ts
> [66/1]: src/core/timsort.ts
> [67/1]: src/animation/Animator.ts
> [68/1]: src/core/LRU.ts
> [69/1]: src/core/PathProxy.ts
> [70/1]: src/tool/transformPath.ts
> [71/1]: src/tool/parseXML.ts
> [72/1]: src/core/curve.ts
> [73/1]: src/core/Transformable.ts
> [74/1]: src/tool/dividePath.ts
> [75/1]: src/tool/convertPath.ts
> [76/1]: src/contain/text.ts
> [77/1]: src/contain/path.ts
> [78/1]: src/graphic/helper/parseText.ts
> [79/1]: src/graphic/helper/subPixelOptimize.ts
> [80/1]: src/graphic/helper/poly.ts
> [81/1]: src/graphic/helper/roundRect.ts
> [82/1]: src/graphic/helper/roundSector.ts
> [83/1]: src/graphic/Gradient.ts
> [84/1]: src/graphic/helper/image.ts
> [85/1]: src/canvas/dashStyle.ts
> [86/1]: src/svg/SVGPathRebuilder.ts
> [87/1]: src/svg/mapStyleToAttrs.ts
> [88/1]: src/svg/cssAnimation.ts
> [89/1]: src/svg/domapi.ts
> [90/1]: src/core/dom.ts
> [91/1]: src/animation/Clip.ts
> [92/1]: src/animation/easing.ts
> [93/1]: src/animation/cubicEasing.ts
> [94/1]: src/core/bbox.ts
> [95/1]: src/contain/line.ts
> [96/1]: src/contain/cubic.ts
> [97/1]: src/contain/quadratic.ts
> [98/1]: src/contain/arc.ts
> [99/1]: src/contain/windingLine.ts
> [100/1]: src/graphic/helper/smoothBezier.ts
> [101/1]: src/core/fourPointsTransform.ts
> [102/1]: src/contain/util.ts
> [103/1]: ../../../usr/share/nodejs/tslib/tslib.es6.js
> 
> @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps.
> + export QUILT_PATCHES=debian/patches
> + quilt pop
> Removing patch debian/patches/workaround-rollup-plugin-typescript2.patch
> Restoring tsconfig.json
> 
> Now at patch debian/patches/tsc-workaround.patch
> + tsc -m ES2015 --outDir lib
> node_modules/@types/jest/index.d.ts:542:30 - error TS2307: Cannot find module 'jest-matcher-utils' or its corresponding type declarations.
> 
> 542         utils: typeof import('jest-matcher-utils') & {
>                                  ~~~~~~~~~~~~~~~~~~~~
> 
> node_modules/pretty-format/build/types.d.ts:7:37 - error TS2307: Cannot find module '@jest/schemas' or its corresponding type declarations.
> 
> 7 import type { SnapshotFormat } from '@jest/schemas';
>                                       ~~~~~~~~~~~~~~~
> 
> node_modules/pretty-format/build/types.d.ts:38:37 - error TS2339: Property 'theme' does not exist on type 'Required<PrettyFormatOptions>'.
> 
> 38     theme: Required<RequiredOptions['theme']>;
>                                        ~~~~~~~
> 
> 
> Found 3 errors in 2 files.
> 
> Errors  Files
>      1  node_modules/@types/jest/index.d.ts:542
>      2  node_modules/pretty-format/build/types.d.ts:7
> dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 2
> make: *** [debian/rules:8: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/06/24/node-zrender_5.3.1+dfsg-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220624;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220624&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