After applying the patches above, we are left with the following error:
[16:01:01] '<anonymous>' errored after 530 ms
[16:01:01] 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 iterateNormalLoaders
(/usr/share/nodejs/loader-runner/lib/LoaderRunner.js:239:10)
[16:01:01] 'rainloop' errored after 602 ms
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit
status 2
As per https://github.com/webpack/webpack/issues/14532, using the new
openssl-legacy-provider node option is a valid workaround.
Unfortunately, the new option is only available from node 17 and on (we
currently ship node 16 in -proposed).
If node >= 17 was available, adding the following line before the gulp call in
d/rules should solve the issue:
echo '{ "flags": { "nodeFlags": ["--openssl-legacy-provider"] } }' > .gulp.json
A definitive fix lies in https://github.com/webpack/webpack/pull/14584,
which was released in webpack 5.61.0:
https://github.com/webpack/webpack/releases/tag/v5.61.0
** Bug watch added: github.com/webpack/webpack/issues #14532
https://github.com/webpack/webpack/issues/14532
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1974202
Title:
1.16.0+dfsg-1 FTBFS Error: File not found with singular glob:
/usr/share/nodejs/knockout-sortable/build/knockout-sortable.js
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rainloop/+bug/1974202/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs