[Pkg-javascript-devel] Bug#1003940: node-esprima: FTBFS with webpack 5: Could not find *.dsc
Caleb Adepitan
calebpitan at gmail.com
Tue Jan 18 12:02:18 GMT 2022
Source: node-esprima
Version: 4.0.1+ds+~4.0.3-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-esprima was found to fail to build in that
situation.
Relevant part (hopefully):
tsc -p src
webpack
assets by status 0 bytes [cached] 1 asset
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to
'production' for this value.
Set 'mode' option to 'development' or 'production' to enable defaults
for each environment.
You can also set it to 'none' to disable any default behavior. Learn
more: https://webpack.js.org/configuration/mode/
ERROR in main
Module not found: Error: Recursion in resolving
Stack:
undefined: (/<<PKGBUILDDIR>>) /<<PKGBUILDDIR>>/src/esprima.js
webpack 5.65.0 compiled with 1 error and 1 warning in 364 ms
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 1
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-18T11:28:03Z
Finished
--------
The full log is attached to this mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-esprima.log
Type: text/x-log
Size: 84002 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20220118/a7c6be6c/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/a7c6be6c/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/a7c6be6c/attachment.sig>
More information about the Pkg-javascript-devel
mailing list