Hi,
We are starting to build against webpack5 in experimental and the
package needed for local build is webpack and node-webpack-source from
experimental.
During a test rebuild, node-trust-json-document was found to fail to
build in that situation.
Relevant part (hopefully):
dpkg-buildpackage
-----------------
Command: dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot
dpkg-buildpackage: info: source package node-trust-json-document
dpkg-buildpackage: info: source version 0.1.4~dfsg-10
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Yadd <yadd@debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
babeljs --no-babelrc src -d lib --presets=@babel/preset-env
Successfully compiled 10 files with Babel (3109ms).
webpack -d --output-filename json-document.js
[webpack-cli] Invalid configuration object. Webpack has been initialized
using a configuration object that does not match the API schema.
- configuration.devtool should match pattern
"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$".
BREAKING CHANGE since webpack 5: The devtool option is more strict.
Please strictly follow the order of the keywords in the pattern.
make[1]: *** [debian/rules:32: debian/js/json-document.min.js] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:48: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
The full log is attached to this mail