[Pkg-javascript-devel] Bug#1055657: rebuild fails with node-typescript 4.9.5 in experimental

weepingclown weepingclown at disroot.org
Thu Nov 9 18:15:46 GMT 2023


Package: node-katex
Version: 0.16.4+~cs6.1.0-1
Severity: important
User: debian-js at lists.debian.org
Usertags: typescript495


Hi,

This package's rebuild failed with node-typescript 4.9.5 currently in 
experimental.
node-typescript 4.9.5 is planned to be uploaded to unstable in about two 
weeks to
one month time, so please make sure this package will be ready for it. 
The severity
of this bug will be raised to serious after node-typescript 4.9.5 is 
uploaded to unstable.


Relevant errors;

Found debian/nodejs/./build
     cd ./. && sh -ex debian/nodejs/./build
+ rollup -c

./katex.js → dist/katex.mjs...
created dist/katex.mjs in 2.1s

./contrib/auto-render/auto-render.js → dist/contrib/auto-render.mjs...
created dist/contrib/auto-render.mjs in 34ms

./contrib/mhchem/mhchem.js → dist/contrib/mhchem.mjs...
created dist/contrib/mhchem.mjs in 151ms

./contrib/copy-tex/copy-tex.js → dist/contrib/copy-tex.mjs...
created dist/contrib/copy-tex.mjs in 19ms

./contrib/mathtex-script-type/mathtex-script-type.js → 
dist/contrib/mathtex-script-type.mjs...
created dist/contrib/mathtex-script-type.mjs in 7ms

./contrib/render-a11y-string/render-a11y-string.js → 
dist/contrib/render-a11y-string.mjs...
created dist/contrib/render-a11y-string.mjs in 49ms
+ webpack
assets by status 271 KiB [cached] 1 asset
orphan modules 623 KiB [orphan] 87 modules
runtime modules 416 bytes 2 modules
cacheable modules 624 KiB
   ./katex.webpack.js + 86 modules 624 KiB [built] [code generated]
   ./src/katex.less 39 bytes [built] [code generated] [1 error]

ERROR in ./src/katex.less 
(./src/katex.less.webpack[javascript/auto]!=!../../../usr/share/nodejs/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../../usr/share/nodejs/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!../../../usr/share/nodejs/less-loader/dist/cjs.js??ruleSet[1].rules[2].use[3]!./src/katex.less)
Module build failed (from 
../../../usr/share/nodejs/postcss-loader/dist/cjs.js):
TypeError: Cannot read properties of undefined (reading '.cjs')
     at loadConfig (/usr/share/nodejs/postcss-loader/dist/utils.js:79:44)
     at async Object.loader 
(/usr/share/nodejs/postcss-loader/dist/index.js:45:22)
  @ ./src/katex.less
  @ ./katex.webpack.js 9:0-26

ERROR in ./src/katex.less
Module build failed (from 
../../../usr/share/nodejs/mini-css-extract-plugin/dist/loader.js):
HookWebpackError: Module build failed (from 
../../../usr/share/nodejs/postcss-loader/dist/cjs.js):
TypeError: Cannot read properties of undefined (reading '.cjs')
     at loadConfig (/usr/share/nodejs/postcss-loader/dist/utils.js:79:44)
     at async Object.loader 
(/usr/share/nodejs/postcss-loader/dist/index.js:45:22)
     at tryRunOrWebpackError 
(/usr/share/nodejs/webpack/lib/HookWebpackError.js:88:9)
     at __webpack_require_module__ 
(/usr/share/nodejs/webpack/lib/Compilation.js:5058:12)
     at __webpack_require__ 
(/usr/share/nodejs/webpack/lib/Compilation.js:5015:18)
     at /usr/share/nodejs/webpack/lib/Compilation.js:5086:20
     at symbolIterator (/usr/share/nodejs/neo-async/lib/async.js:3485:9)
     at done (/usr/share/nodejs/neo-async/lib/async.js:3527:9)
     at Hook.eval [as callAsync] (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
     at Hook.CALL_ASYNC_DELEGATE [as _callAsync] 
(/usr/share/nodejs/tapable/lib/Hook.js:18:14)
     at /usr/share/nodejs/webpack/lib/Compilation.js:4993:43
     at symbolIterator (/usr/share/nodejs/neo-async/lib/async.js:3482:9)
     at timesSync (/usr/share/nodejs/neo-async/lib/async.js:2297:7)
     at Object.eachLimit (/usr/share/nodejs/neo-async/lib/async.js:3463:5)
     at /usr/share/nodejs/webpack/lib/Compilation.js:4958:16
     at symbolIterator (/usr/share/nodejs/neo-async/lib/async.js:3485:9)
     at timesSync (/usr/share/nodejs/neo-async/lib/async.js:2297:7)
     at Object.eachLimit (/usr/share/nodejs/neo-async/lib/async.js:3463:5)
     at /usr/share/nodejs/webpack/lib/Compilation.js:4926:15
     at symbolIterator (/usr/share/nodejs/neo-async/lib/async.js:3485:9)
     at done (/usr/share/nodejs/neo-async/lib/async.js:3527:9)
     at /usr/share/nodejs/webpack/lib/Compilation.js:4873:8
     at /usr/share/nodejs/webpack/lib/Compilation.js:3352:32
     at /usr/share/nodejs/webpack/lib/HookWebpackError.js:68:3
     at Hook.eval [as callAsync] (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
     at Cache.store (/usr/share/nodejs/webpack/lib/Cache.js:107:20)
     at ItemCacheFacade.store 
(/usr/share/nodejs/webpack/lib/CacheFacade.js:137:15)
     at /usr/share/nodejs/webpack/lib/Compilation.js:3352:11
     at /usr/share/nodejs/webpack/lib/Cache.js:93:5
     at Hook.eval [as callAsync] (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
     at Cache.get (/usr/share/nodejs/webpack/lib/Cache.js:75:18)
     at ItemCacheFacade.get 
(/usr/share/nodejs/webpack/lib/CacheFacade.js:111:15)
     at Compilation._codeGenerationModule 
(/usr/share/nodejs/webpack/lib/Compilation.js:3322:9)
     at codeGen (/usr/share/nodejs/webpack/lib/Compilation.js:4861:11)
     at symbolIterator (/usr/share/nodejs/neo-async/lib/async.js:3482:9)
     at timesSync (/usr/share/nodejs/neo-async/lib/async.js:2297:7)
     at Object.eachLimit (/usr/share/nodejs/neo-async/lib/async.js:3463:5)
     at /usr/share/nodejs/webpack/lib/Compilation.js:4891:14
     at processQueue 
(/usr/share/nodejs/webpack/lib/util/processAsyncTree.js:55:4)
     at process.processTicksAndRejections 
(node:internal/process/task_queues:77:11)
-- inner error --
Error: Module build failed (from 
../../../usr/share/nodejs/postcss-loader/dist/cjs.js):
TypeError: Cannot read properties of undefined (reading '.cjs')
     at loadConfig (/usr/share/nodejs/postcss-loader/dist/utils.js:79:44)
     at async Object.loader 
(/usr/share/nodejs/postcss-loader/dist/index.js:45:22)
     at Object.<anonymous> 
(/usr/share/nodejs/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!/usr/share/nodejs/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!/usr/share/nodejs/less-loader/dist/cjs.js??ruleSet[1].rules[2].use[3]!/<<PKGBUILDDIR>>/src/katex.less:1:7)
     at 
/usr/share/nodejs/webpack/lib/javascript/JavascriptModulesPlugin.js:441:11
     at Hook.eval [as call] (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:19:10), <anonymous>:7:1)
     at Hook.CALL_DELEGATE [as _call] 
(/usr/share/nodejs/tapable/lib/Hook.js:14:14)
     at /usr/share/nodejs/webpack/lib/Compilation.js:5060:39
     at tryRunOrWebpackError 
(/usr/share/nodejs/webpack/lib/HookWebpackError.js:83:7)
     at __webpack_require_module__ 
(/usr/share/nodejs/webpack/lib/Compilation.js:5058:12)
     at __webpack_require__ 
(/usr/share/nodejs/webpack/lib/Compilation.js:5015:18)
     at /usr/share/nodejs/webpack/lib/Compilation.js:5086:20
     at symbolIterator (/usr/share/nodejs/neo-async/lib/async.js:3485:9)
     at done (/usr/share/nodejs/neo-async/lib/async.js:3527:9)
     at Hook.eval [as callAsync] (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
     at Hook.CALL_ASYNC_DELEGATE [as _callAsync] 
(/usr/share/nodejs/tapable/lib/Hook.js:18:14)
     at /usr/share/nodejs/webpack/lib/Compilation.js:4993:43
     at symbolIterator (/usr/share/nodejs/neo-async/lib/async.js:3482:9)
     at timesSync (/usr/share/nodejs/neo-async/lib/async.js:2297:7)
     at Object.eachLimit (/usr/share/nodejs/neo-async/lib/async.js:3463:5)
     at /usr/share/nodejs/webpack/lib/Compilation.js:4958:16
     at symbolIterator (/usr/share/nodejs/neo-async/lib/async.js:3485:9)
     at timesSync (/usr/share/nodejs/neo-async/lib/async.js:2297:7)
     at Object.eachLimit (/usr/share/nodejs/neo-async/lib/async.js:3463:5)
     at /usr/share/nodejs/webpack/lib/Compilation.js:4926:15
     at symbolIterator (/usr/share/nodejs/neo-async/lib/async.js:3485:9)
     at done (/usr/share/nodejs/neo-async/lib/async.js:3527:9)
     at /usr/share/nodejs/webpack/lib/Compilation.js:4873:8
     at /usr/share/nodejs/webpack/lib/Compilation.js:3352:32
     at /usr/share/nodejs/webpack/lib/HookWebpackError.js:68:3
     at Hook.eval [as callAsync] (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
     at Cache.store (/usr/share/nodejs/webpack/lib/Cache.js:107:20)
     at ItemCacheFacade.store 
(/usr/share/nodejs/webpack/lib/CacheFacade.js:137:15)
     at /usr/share/nodejs/webpack/lib/Compilation.js:3352:11
     at /usr/share/nodejs/webpack/lib/Cache.js:93:5
     at Hook.eval [as callAsync] (eval at create 
(/usr/share/nodejs/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)
     at Cache.get (/usr/share/nodejs/webpack/lib/Cache.js:75:18)
     at ItemCacheFacade.get 
(/usr/share/nodejs/webpack/lib/CacheFacade.js:111:15)
     at Compilation._codeGenerationModule 
(/usr/share/nodejs/webpack/lib/Compilation.js:3322:9)
     at codeGen (/usr/share/nodejs/webpack/lib/Compilation.js:4861:11)
     at symbolIterator (/usr/share/nodejs/neo-async/lib/async.js:3482:9)
     at timesSync (/usr/share/nodejs/neo-async/lib/async.js:2297:7)
     at Object.eachLimit (/usr/share/nodejs/neo-async/lib/async.js:3463:5)
     at /usr/share/nodejs/webpack/lib/Compilation.js:4891:14
     at processQueue 
(/usr/share/nodejs/webpack/lib/util/processAsyncTree.js:55:4)
     at process.processTicksAndRejections 
(node:internal/process/task_queues:77:11)

Generated code for 
/usr/share/nodejs/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!/usr/share/nodejs/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!/usr/share/nodejs/less-loader/dist/cjs.js??ruleSet[1].rules[2].use[3]!/<<PKGBUILDDIR>>/src/katex.less
1 | throw new Error("Module build failed (from 
../../../usr/share/nodejs/postcss-loader/dist/cjs.js):\nTypeError: 
Cannot read properties of undefined (reading '.cjs')\n    at loadConfig 
(/usr/share/nodejs/postcss-loader/dist/utils.js:79:44)\n    at async 
Object.loader (/usr/share/nodejs/postcss-loader/dist/index.js:45:22)");
  @ ./katex.webpack.js 9:0-26

webpack 5.76.1 compiled with 2 errors in 4739 ms

asset contrib/auto-render.js 3.4 KiB [emitted] [minimized] (name: 
contrib/auto-render)
runtime modules 718 bytes 3 modules
orphan modules 2 KiB [orphan] 1 module
built modules 6.9 KiB [built]
   ./contrib/auto-render/auto-render.js + 1 modules 6.85 KiB [built] 
[code generated]
   external "katex" 42 bytes [built] [code generated]
webpack 5.76.1 compiled successfully in 1344 ms

asset contrib/mhchem.js 32.9 KiB [emitted] [minimized] (name: 
contrib/mhchem)
runtime modules 718 bytes 3 modules
built modules 74 KiB [built]
   ./contrib/mhchem/mhchem.js 74 KiB [built] [code generated]
   external "katex" 42 bytes [built] [code generated]
webpack 5.76.1 compiled successfully in 1337 ms

asset contrib/copy-tex.js 1.59 KiB [emitted] [minimized] (name: 
contrib/copy-tex)
orphan modules 2.04 KiB [orphan] 1 module
./contrib/copy-tex/copy-tex.js + 1 modules 3.74 KiB [built] [code generated]
webpack 5.76.1 compiled successfully in 1335 ms

asset contrib/mathtex-script-type.js 1.26 KiB [emitted] [minimized] 
(name: contrib/mathtex-script-type)
runtime modules 718 bytes 3 modules
built modules 781 bytes [built]
   ./contrib/mathtex-script-type/mathtex-script-type.js 739 bytes 
[built] [code generated]
   external "katex" 42 bytes [built] [code generated]
webpack 5.76.1 compiled successfully in 1334 ms

asset contrib/render-a11y-string.js 8.31 KiB [emitted] [minimized] 
(name: contrib/render-a11y-string)
runtime modules 718 bytes 3 modules
built modules 20 KiB [built]
   ./contrib/render-a11y-string/render-a11y-string.js 19.9 KiB [built] 
[code generated]
   external "katex" 42 bytes [built] [code generated]
webpack 5.76.1 compiled successfully in 1333 ms
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned 
exit code 1
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2


Full build log is attached.

-- 

PGP: BC55 8A19 E57C 716D D12F 2FA2 EEED 479E 6CEC F707
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231109/cd546b44/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-katex.log
Type: text/x-log
Size: 235463 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231109/cd546b44/attachment.bin>


More information about the Pkg-javascript-devel mailing list