Le lun. 16 mai 2022 à 22:09, Adrian Bunk <b...@debian.org> a écrit :
> 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). > webpack 4 is using long time deprecated hash functions (like md4). Recent versions of webpack have fixed this. Jérémy