[Pkg-javascript-devel] Bug#1003937: node-merge: FTBFS with webpack 5: Module not found: Error: Recursion in resolving

Caleb Adepitan calebpitan at gmail.com
Tue Jan 18 11:51:42 GMT 2022


Source: node-merge
Version: 2.1.1+ds-2
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-merge was found to fail to build in that 
situation.

Relevant part (hopefully):

tsc -p tsconfig.json
webpack --config webpack.config.js
assets by status 0 bytes [cached] 1 asset

ERROR in main
Module not found: Error: Recursion in resolving
Stack:
   undefined: (/<<PKGBUILDDIR>>) /<<PKGBUILDDIR>>/lib/src/index.js

webpack 5.65.0 compiled with 1 error in 350 ms

assets by status 99 bytes [cached] 1 asset

ERROR in main
Module not found: Error: Recursion in resolving
Stack:
   undefined: (/<<PKGBUILDDIR>>) /<<PKGBUILDDIR>>/lib/src/index.js

webpack 5.65.0 compiled with 1 error in 290 ms

assets by status 99 bytes [cached] 1 asset

ERROR in main
Module not found: Error: Recursion in resolving
Stack:
   undefined: (/<<PKGBUILDDIR>>) /<<PKGBUILDDIR>>/lib/test/index.js

webpack 5.65.0 compiled with 1 error in 285 ms
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2022-01-18T11:35:30Z

Finished
--------


The full log is attached to this mail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-merge.log
Type: text/x-log
Size: 86641 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220118/234e29bd/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/20220118/234e29bd/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/20220118/234e29bd/attachment.sig>


More information about the Pkg-javascript-devel mailing list