[Pkg-javascript-devel] Bug#1011097: webpack fails with nodejs compiled with OpenSSL 3.0
Adrian Bunk
bunk at debian.org
Mon May 16 21:07:19 BST 2022
Package: webpack
Version: 4.43.0-7
Severity: serious
Tags: ftbfs
Control: affects -1 src:macaulay2
https://buildd.debian.org/status/logs.php?pkg=macaulay2&arch=all
...
> build
> webpack
node:internal/crypto/hash:67
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:67:19)
at Object.createHash (node:crypto:130:10)
at module.exports (/usr/share/nodejs/webpack/lib/util/createHash.js:135:53)
at NormalModule._initBuildHash (/usr/share/nodejs/webpack/lib/NormalModule.js:417:16)
at handleParseError (/usr/share/nodejs/webpack/lib/NormalModule.js:471:10)
at /usr/share/nodejs/webpack/lib/NormalModule.js:503:5
at /usr/share/nodejs/webpack/lib/NormalModule.js:358:12
at /usr/share/nodejs/loader-runner/lib/LoaderRunner.js:406:3
at iterateNormalLoaders (/usr/share/nodejs/loader-runner/lib/LoaderRunner.js:232:10)
at Array.<anonymous> (/usr/share/nodejs/loader-runner/lib/LoaderRunner.js:223:4)
at Storage.finished (/usr/share/nodejs/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)
at /usr/share/nodejs/webpack/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9
at /usr/share/nodejs/graceful-fs/graceful-fs.js:123:16
at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
make[4]: *** [Makefile:43: highlightjs/highlight.js] Error 1
Background:
https://nodejs.org/en/blog/release/v17.0.0/
This might be fixed in upstream version 5.54 (untested).
More information about the Pkg-javascript-devel
mailing list