[Pkg-javascript-devel] Bug#1009598: node-katex: FTBFS: TypeError: this.getOptions is not a function
Lucas Nussbaum
lucas at debian.org
Tue Apr 12 20:23:29 BST 2022
Source: node-katex
Version: 0.13.11+~cs6.0.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220412 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/babel-plugin-preval -> ../babel-plugin-preval
> Link node_modules/babel-plugin-version-inline -> ../babel-plugin-version-inline
> dh_auto_build --buildsystem=nodejs
> Found debian/nodejs/babel-plugin-version-inline/build
> cd ./babel-plugin-version-inline && sh -ex ../debian/nodejs/babel-plugin-version-inline/build
> + babeljs src -d lib
> Successfully compiled 1 file with Babel (491ms).
> Found debian/nodejs/babel-plugin-preval/build
> cd ./babel-plugin-preval && sh -ex ../debian/nodejs/babel-plugin-preval/build
> + babeljs src -d dist
> Successfully compiled 12 files with Babel (810ms).
> Found debian/nodejs/./build
> cd ./. && sh -ex debian/nodejs/./build
> + rollup -c
> [36m
> [1m./katex.js[22m → [1mdist/katex.mjs[22m...[39m
> [1m[33m(!) Circular dependency[39m[22m
> src/functions.js -> src/functions/operatorname.js -> src/macros.js -> src/functions.js
> [32mcreated [1mdist/katex.mjs[22m in [1m5.2s[22m[39m
> [36m
> [1m./contrib/auto-render/auto-render.js[22m → [1mdist/contrib/auto-render.mjs[22m...[39m
> [32mcreated [1mdist/contrib/auto-render.mjs[22m in [1m122ms[22m[39m
> [36m
> [1m./contrib/mhchem/mhchem.js[22m → [1mdist/contrib/mhchem.mjs[22m...[39m
> [32mcreated [1mdist/contrib/mhchem.mjs[22m in [1m331ms[22m[39m
> [36m
> [1m./contrib/copy-tex/copy-tex.js[22m → [1mdist/contrib/copy-tex.mjs[22m...[39m
> [32mcreated [1mdist/contrib/copy-tex.mjs[22m in [1m24ms[22m[39m
> [36m
> [1m./contrib/mathtex-script-type/mathtex-script-type.js[22m → [1mdist/contrib/mathtex-script-type.mjs[22m...[39m
> [32mcreated [1mdist/contrib/mathtex-script-type.mjs[22m in [1m11ms[22m[39m
> [36m
> [1m./contrib/render-a11y-string/render-a11y-string.js[22m → [1mdist/contrib/render-a11y-string.mjs[22m...[39m
> [32mcreated [1mdist/contrib/render-a11y-string.mjs[22m in [1m85ms[22m[39m
> + webpack
> Hash: c84e0db7fc0ba302d4c1fd263725fdf5c20c4f93e270037a91f4085ec34950c50abd3da7758b6ef1606da249567e95ba5dfb913282f6921719c483b9
> Version: webpack 4.43.0
> Child
> Hash: c84e0db7fc0ba302d4c1
> Time: 9085ms
> Built at: 04/12/2022 4:54:41 PM
> 1 asset
> Entrypoint katex = katex.js
> [0] ./src/katex.less 514 bytes {0} [built] [failed] [1 error]
> [1] ./katex.webpack.js + 82 modules 604 KiB {0} [built]
> | ./katex.webpack.js 396 bytes [built]
> | ./katex.js 5.61 KiB [built]
> | ./src/ParseError.js 1.95 KiB [built]
> | ./src/Settings.js 5.51 KiB [built]
> | ./src/domTree.js 14.2 KiB [built]
> | ./src/fontMetrics.js 7.77 KiB [built]
> | ./src/symbols.js 43.4 KiB [built]
> | ./src/buildCommon.js 20.8 KiB [built]
> | ./src/buildTree.js 1.72 KiB [built]
> | ./src/macros.js 37.8 KiB [built]
> | ./src/parseTree.js 1.29 KiB [built]
> | ./src/Token.js 1.41 KiB [built]
> | ./src/utils.js 2.79 KiB [built]
> | ./src/Style.js 2.92 KiB [built]
> | ./src/unicodeScripts.js 3.37 KiB [built]
> | + 68 hidden modules
>
> ERROR in ./src/katex.less
> Module build failed (from /usr/share/nodejs/mini-css-extract-plugin/dist/loader.js):
> ModuleBuildError: Module build failed (from /usr/share/nodejs/postcss-loader/dist/cjs.js):
> TypeError: this.getOptions is not a function
> at Object.loader (/usr/share/nodejs/postcss-loader/dist/index.js:40:24)
> at /usr/share/nodejs/webpack/lib/NormalModule.js:316:20
> at /usr/share/nodejs/loader-runner/lib/LoaderRunner.js:399:11
> at /usr/share/nodejs/loader-runner/lib/LoaderRunner.js:251:18
> @ ./katex.webpack.js 9:0-26
> Child mini-css-extract-plugin ../../../usr/share/nodejs/css-loader/dist/cjs.js??ref--6-1!../../../usr/share/nodejs/postcss-loader/dist/cjs.js??ref--6-2!../../../usr/share/nodejs/less-loader/dist/cjs.js??ref--6-3!src/katex.less:
> Entrypoint mini-css-extract-plugin = *
> [0] /usr/share/nodejs/css-loader/dist/cjs.js??ref--6-1!/usr/share/nodejs/postcss-loader/dist/cjs.js??ref--6-2!/usr/share/nodejs/less-loader/dist/cjs.js??ref--6-3!./src/katex.less 215 bytes {0} [built] [failed] [1 error]
>
> ERROR in ./src/katex.less (/usr/share/nodejs/css-loader/dist/cjs.js??ref--6-1!/usr/share/nodejs/postcss-loader/dist/cjs.js??ref--6-2!/usr/share/nodejs/less-loader/dist/cjs.js??ref--6-3!./src/katex.less)
> Module build failed (from /usr/share/nodejs/postcss-loader/dist/cjs.js):
> TypeError: this.getOptions is not a function
> at Object.loader (/usr/share/nodejs/postcss-loader/dist/index.js:40:24)
> Child
> Hash: fd263725fdf5c20c4f93
> Time: 5745ms
> Built at: 04/12/2022 4:54:37 PM
> Asset Size Chunks Chunk Names
> contrib/auto-render.js 3.67 KiB 0 [emitted] contrib/auto-render
> Entrypoint contrib/auto-render = contrib/auto-render.js
> [0] external "katex" 42 bytes {0} [built]
> [1] ./contrib/auto-render/auto-render.js + 1 modules 6.12 KiB {0} [built]
> | ./contrib/auto-render/auto-render.js 4.11 KiB [built]
> | ./contrib/auto-render/splitAtDelimiters.js 2.01 KiB [built]
> Child
> Hash: e270037a91f4085ec349
> Time: 5741ms
> Built at: 04/12/2022 4:54:37 PM
> Asset Size Chunks Chunk Names
> contrib/mhchem.js 33.4 KiB 0 [emitted] contrib/mhchem
> Entrypoint contrib/mhchem = contrib/mhchem.js
> [0] external "katex" 42 bytes {0} [built]
> [1] ./contrib/mhchem/mhchem.js 74.1 KiB {0} [built]
> Child
> Hash: 50c50abd3da7758b6ef1
> Time: 5707ms
> Built at: 04/12/2022 4:54:37 PM
> 1 asset
> Entrypoint contrib/copy-tex = contrib/copy-tex.js
> [0] ./contrib/copy-tex/copy-tex.css 514 bytes {0} [built] [failed] [1 error]
> [1] ./contrib/copy-tex/copy-tex.webpack.js + 2 modules 3.09 KiB {0} [built]
> | ./contrib/copy-tex/copy-tex.webpack.js 189 bytes [built]
> | ./contrib/copy-tex/copy-tex.js 888 bytes [built]
> | ./contrib/copy-tex/katex2tex.js 2.04 KiB [built]
>
> ERROR in ./contrib/copy-tex/copy-tex.css
> Module build failed (from /usr/share/nodejs/mini-css-extract-plugin/dist/loader.js):
> ModuleBuildError: Module build failed (from /usr/share/nodejs/postcss-loader/dist/cjs.js):
> TypeError: this.getOptions is not a function
> at Object.loader (/usr/share/nodejs/postcss-loader/dist/index.js:40:24)
> at /usr/share/nodejs/webpack/lib/NormalModule.js:316:20
> at /usr/share/nodejs/loader-runner/lib/LoaderRunner.js:399:11
> at /usr/share/nodejs/loader-runner/lib/LoaderRunner.js:251:18
> @ ./contrib/copy-tex/copy-tex.webpack.js 5:0-24
> Child mini-css-extract-plugin ../../../usr/share/nodejs/css-loader/dist/cjs.js??ref--5-1!../../../usr/share/nodejs/postcss-loader/dist/cjs.js??ref--5-2!contrib/copy-tex/copy-tex.css:
> Entrypoint mini-css-extract-plugin = *
> [0] /usr/share/nodejs/css-loader/dist/cjs.js??ref--5-1!/usr/share/nodejs/postcss-loader/dist/cjs.js??ref--5-2!./contrib/copy-tex/copy-tex.css 215 bytes {0} [built] [failed] [1 error]
>
> ERROR in ./contrib/copy-tex/copy-tex.css (/usr/share/nodejs/css-loader/dist/cjs.js??ref--5-1!/usr/share/nodejs/postcss-loader/dist/cjs.js??ref--5-2!./contrib/copy-tex/copy-tex.css)
> Module build failed (from /usr/share/nodejs/postcss-loader/dist/cjs.js):
> TypeError: this.getOptions is not a function
> at Object.loader (/usr/share/nodejs/postcss-loader/dist/index.js:40:24)
> Child
> Hash: 606da249567e95ba5dfb
> Time: 5733ms
> Built at: 04/12/2022 4:54:37 PM
> Asset Size Chunks Chunk Names
> contrib/mathtex-script-type.js 1.73 KiB 0 [emitted] contrib/mathtex-script-type
> Entrypoint contrib/mathtex-script-type = contrib/mathtex-script-type.js
> [0] external "katex" 42 bytes {0} [built]
> [1] ./contrib/mathtex-script-type/mathtex-script-type.js 742 bytes {0} [built]
> Child
> Hash: 913282f6921719c483b9
> Time: 5731ms
> Built at: 04/12/2022 4:54:37 PM
> Asset Size Chunks Chunk Names
> contrib/render-a11y-string.js 8.95 KiB 0 [emitted] contrib/render-a11y-string
> Entrypoint contrib/render-a11y-string = contrib/render-a11y-string.js
> [0] external "katex" 42 bytes {0} [built]
> [1] ./contrib/render-a11y-string/render-a11y-string.js 20 KiB {0} [built]
> dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 2
> make: *** [debian/rules:5: binary] Error 25
The full build log is available from:
http://qa-logs.debian.net/2022/04/12/node-katex_0.13.11+~cs6.0.0-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220412;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220412&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