[Pkg-javascript-devel] Bug#1003260: leaflet-image: FTBFS with webpack5: Invalid configuration object

Caleb Adepitan calebpitan at gmail.com
Fri Jan 7 04:47:38 GMT 2022


Source: leaflet-image
Version: 0.4.0~dfsg-3
Severity: important
Tags: ftbfs
User: pkg-javascript-devel at alioth-lists.debian.net
Usertags: webpack5

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, leaflet-image was found to fail to build in that 
situation.

Relevant part (hopefully):

[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:17: debian/js/leaflet-image.min.js] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:41: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2022-01-07T04:27:49Z

Finished
--------

The full log is attached to this mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: leaflet-image.log
Type: text/x-log
Size: 105223 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220107/bf9be29d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x8A1B2CC96775D2D7.asc
Type: application/pgp-keys
Size: 3139 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220107/bf9be29d/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220107/bf9be29d/attachment.sig>


More information about the Pkg-javascript-devel mailing list