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

Lucas Nussbaum lucas at debian.org
Sun Oct 23 14:05:47 BST 2022


Source: node-zrender
Version: 5.4.0+dfsg-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221023 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/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/1]: index.ts
> [2/2]: src/all.ts
> [3/6]: src/zrender.ts
> [4/15]: src/canvas/Painter.ts
> [5/20]: src/export.ts
> [6/26]: src/svg/Painter.ts
> [7/27]: src/core/env.ts
> [8/28]: src/core/util.ts
> [9/29]: src/Handler.ts
> [10/30]: src/Storage.ts
> [11/31]: src/animation/Animation.ts
> [12/32]: src/dom/HandlerProxy.ts
> [13/33]: src/tool/color.ts
> [14/34]: src/config.ts
> [15/35]: src/graphic/Group.ts
> [16/36]: src/canvas/Layer.ts
> [17/37]: src/canvas/graphic.ts
> [18/38]: src/graphic/constants.ts
> [19/39]: src/animation/requestAnimationFrame.ts
> [20/40]: src/canvas/helper.ts
> [21/41]: src/core/matrix.ts
> [22/42]: src/core/vector.ts
> [23/43]: src/tool/path.ts
> [24/44]: src/tool/parseSVG.ts
> 
> /usr/share/nodejs/rollup/dist/shared/rollup.js:198
>         base = Object.assign(new Error(base.message), base);
>                              ^
> 
> Error: src/tool/morphPath.ts:348:51 - error TS2469: The '+' operator cannot be applied to type 'symbol'.
> 
> 348     const savedMethodName = SAVED_METHOD_PREFIX + methodName;
>                                                       ~~~~~~~~~~
> src/tool/morphPath.ts:376:51 - error TS2469: The '+' operator cannot be applied to type 'symbol'.
> 
> 376     const savedMethodName = SAVED_METHOD_PREFIX + methodName;
>                                                       ~~~~~~~~~~
> 
>     at error (/usr/share/nodejs/rollup/dist/shared/rollup.js:198:30)
>     at throwPluginError (/usr/share/nodejs/rollup/dist/shared/rollup.js:21696:12)
>     at Object.error (/usr/share/nodejs/rollup/dist/shared/rollup.js:22651:20)
>     at Object.error (/usr/share/nodejs/rollup/dist/shared/rollup.js:21873:42)
>     at RollupContext.error (/usr/share/nodejs/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:876:30)
>     at /usr/share/nodejs/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:1374:19
>     at Array.forEach (<anonymous>)
>     at printDiagnostics (/usr/share/nodejs/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:1350:17)
>     at Object.transform (/usr/share/nodejs/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:1636:17)
>     at /usr/share/nodejs/rollup/dist/shared/rollup.js:22858:40 {
>   id: '/<<PKGBUILDDIR>>/src/tool/morphPath.ts',
>   hook: 'transform',
>   code: 'PLUGIN_ERROR',
>   plugin: 'rpt2',
>   watchFiles: [
>     '/<<PKGBUILDDIR>>/index.ts',
>     '/<<PKGBUILDDIR>>/src/all.ts',
>     '/<<PKGBUILDDIR>>/src/zrender.ts',
>     '/<<PKGBUILDDIR>>/src/export.ts',
>     '/<<PKGBUILDDIR>>/src/canvas/Painter.ts',
>     '/<<PKGBUILDDIR>>/src/svg/Painter.ts',
>     '/<<PKGBUILDDIR>>/src/core/env.ts',
>     '/<<PKGBUILDDIR>>/src/core/util.ts',
>     '/<<PKGBUILDDIR>>/src/Handler.ts',
>     '/<<PKGBUILDDIR>>/src/Storage.ts',
>     '/<<PKGBUILDDIR>>/src/animation/Animation.ts',
>     '/<<PKGBUILDDIR>>/src/dom/HandlerProxy.ts',
>     '/<<PKGBUILDDIR>>/src/tool/color.ts',
>     '/<<PKGBUILDDIR>>/src/config.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/Group.ts',
>     '/<<PKGBUILDDIR>>/src/canvas/Layer.ts',
>     '/<<PKGBUILDDIR>>/src/animation/requestAnimationFrame.ts',
>     '/<<PKGBUILDDIR>>/src/canvas/graphic.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/constants.ts',
>     '/<<PKGBUILDDIR>>/src/canvas/helper.ts',
>     '/<<PKGBUILDDIR>>/src/core/matrix.ts',
>     '/<<PKGBUILDDIR>>/src/core/vector.ts',
>     '/<<PKGBUILDDIR>>/src/tool/path.ts',
>     '/<<PKGBUILDDIR>>/src/tool/parseSVG.ts',
>     '/<<PKGBUILDDIR>>/src/tool/morphPath.ts',
>     '/<<PKGBUILDDIR>>/src/core/Point.ts',
>     '/<<PKGBUILDDIR>>/src/Element.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/Displayable.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/Path.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/Image.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/CompoundPath.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/TSpan.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/IncrementalDisplayable.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/Text.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Arc.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/BezierCurve.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Circle.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Droplet.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Ellipse.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Heart.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Isogon.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Line.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Polygon.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Polyline.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Rect.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Ring.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Rose.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Sector.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Star.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/shape/Trochoid.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/LinearGradient.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/RadialGradient.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/Pattern.ts',
>     '/<<PKGBUILDDIR>>/src/core/BoundingRect.ts',
>     '/<<PKGBUILDDIR>>/src/core/OrientedBoundingRect.ts',
>     '/<<PKGBUILDDIR>>/src/debug/showDebugDirtyRect.ts',
>     '/<<PKGBUILDDIR>>/src/core/platform.ts',
>     '/<<PKGBUILDDIR>>/src/svg/graphic.ts',
>     '/<<PKGBUILDDIR>>/src/svg/core.ts',
>     '/<<PKGBUILDDIR>>/src/svg/helper.ts',
>     '/<<PKGBUILDDIR>>/src/svg/patch.ts',
>     '\x00tslib.js',
>     '/<<PKGBUILDDIR>>/src/mixin/Draggable.ts',
>     '/<<PKGBUILDDIR>>/src/core/Eventful.ts',
>     '/<<PKGBUILDDIR>>/src/core/event.ts',
>     '/<<PKGBUILDDIR>>/src/core/GestureMgr.ts',
>     '/<<PKGBUILDDIR>>/src/core/timsort.ts',
>     '/<<PKGBUILDDIR>>/src/animation/Animator.ts',
>     '/<<PKGBUILDDIR>>/src/core/LRU.ts',
>     '/<<PKGBUILDDIR>>/src/core/PathProxy.ts',
>     '/<<PKGBUILDDIR>>/src/graphic/helper/image.ts',
>     '/<<PKGBUILDDIR>>/src/canvas/dashStyle.ts',
>     '/<<PKGBUILDDIR>>/src/tool/transformPath.ts',
>     '/<<PKGBUILDDIR>>/src/tool/parseXML.ts'
>   ]
> }
> 
> Node.js v18.10.0
> dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 1
> make: *** [debian/rules:8: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/node-zrender_5.4.0+dfsg-1_unstable.log

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