[Pkg-javascript-devel] Bug#1003502: node-jsonld: FTBFS with webpack 5: Invalid configuration object
Caleb Adepitan
calebpitan at gmail.com
Tue Jan 11 04:51:20 GMT 2022
Source: node-jsonld
Version: 4.0.1-1
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, node-jsonld was found to fail to build in that
situation.
Relevant part (hopefully):
Successfully compiled 23 files with Babel (5258ms).
webpack --progress
[webpack-cli] Invalid configuration object. Webpack has been initialized
using a configuration object that does not match the API schema.
- configuration[0].module.rules[0] should be one of these:
["..." | object { assert?, compiler?, dependency?, descriptionData?,
enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?,
loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?,
resource?, resourceFragment?, resourceQuery?, rules?, scheme?,
sideEffects?, test?, type?, use? }, ...]
-> A rule.
Details:
* configuration[0].module.rules[0].include[0] has an unknown
property 'exclude'. These properties are valid:
object { and?, not?, or? }
-> Logic operators used in a condition matcher.
* configuration[0].module.rules[0].include[1] has an unknown
property 'include'. These properties are valid:
object { and?, not?, or? }
-> Logic operators used in a condition matcher.
* configuration[0].module.rules[0].include[0] has an unknown
property 'exclude'. These properties are valid:
object { and?, not?, or? }
-> Logic operators used in a condition matcher.
* configuration[0].module.rules[0].include[1] has an unknown
property 'include'. These properties are valid:
object { and?, not?, or? }
-> Logic operators used in a condition matcher.
- configuration[0].node should be one of these:
false | object { __dirname?, __filename?, global? }
-> Include polyfills or mocks for various node stuff.
Details:
* configuration[0].node has an unknown property 'Buffer'. These
properties are valid:
object { __dirname?, __filename?, global? }
-> Options object for node compatibility features.
* configuration[0].node has an unknown property 'crypto'. These
properties are valid:
object { __dirname?, __filename?, global? }
-> Options object for node compatibility features.
* configuration[0].node has an unknown property 'process'. These
properties are valid:
object { __dirname?, __filename?, global? }
-> Options object for node compatibility features.
* configuration[0].node has an unknown property 'setImmediate'.
These properties are valid:
object { __dirname?, __filename?, global? }
-> Options object for node compatibility features.
- configuration[1].module.rules[0] should be one of these:
["..." | object { assert?, compiler?, dependency?, descriptionData?,
enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?,
loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?,
resource?, resourceFragment?, resourceQuery?, rules?, scheme?,
sideEffects?, test?, type?, use? }, ...]
-> A rule.
Details:
* configuration[1].module.rules[0].include[0] has an unknown
property 'exclude'. These properties are valid:
object { and?, not?, or? }
-> Logic operators used in a condition matcher.
* configuration[1].module.rules[0].include[1] has an unknown
property 'include'. These properties are valid:
object { and?, not?, or? }
-> Logic operators used in a condition matcher.
* configuration[1].module.rules[0].include[0] has an unknown
property 'exclude'. These properties are valid:
object { and?, not?, or? }
-> Logic operators used in a condition matcher.
* configuration[1].module.rules[0].include[1] has an unknown
property 'include'. These properties are valid:
object { and?, not?, or? }
-> Logic operators used in a condition matcher.
- configuration[1].node should be one of these:
false | object { __dirname?, __filename?, global? }
-> Include polyfills or mocks for various node stuff.
Details:
* configuration[1].node has an unknown property 'Buffer'. These
properties are valid:
object { __dirname?, __filename?, global? }
-> Options object for node compatibility features.
* configuration[1].node has an unknown property 'crypto'. These
properties are valid:
object { __dirname?, __filename?, global? }
-> Options object for node compatibility features.
* configuration[1].node has an unknown property 'process'. These
properties are valid:
object { __dirname?, __filename?, global? }
-> Options object for node compatibility features.
* configuration[1].node has an unknown property 'setImmediate'.
These properties are valid:
object { __dirname?, __filename?, global? }
-> Options object for node compatibility features.
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2022-01-08T14:58:23Z
Finished
--------
The full log is attached to this mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-jsonld.log
Type: text/x-log
Size: 94784 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220111/8e69b1f9/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/20220111/8e69b1f9/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/20220111/8e69b1f9/attachment.sig>
More information about the Pkg-javascript-devel
mailing list