[Pkg-javascript-devel] Bug#1132425: node-webpack: Webpack 5.97.1+dfsg1+~cs11.18.27-4 caused failures building lemonade
Mario Limonciello
superm1 at debian.org
Tue Mar 31 19:39:10 BST 2026
Source: node-webpack
Version: 5.76.1+dfsg1+~cs17.16.16-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source
Dear Maintainer,
Recently Ubuntu resolute updated webpack from 5.97.1+dfsg1+~cs11.18.27-3 to 5.97.1+dfsg1+~cs11.18.27-4
and this caused a FTBFS on lemonade, which uses webpack at build time.
lemonade has an in-progress ITP for Debian, and it's expected it would have caused a problem there as well.
Here is the snippet from 5.97.1+dfsg1+~cs11.18.27-3:
--------------------------------------------------------------------------------
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/web-app-src && NODE_PATH=/<<PKGBUILDDIR>>/debian/web-app-overlay:/usr/share/nodejs:/usr/lib/nodejs:/usr/share/javascript \
WEBPACK_OUTPUT_PATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/resources/web-app \
/usr/bin/webpack --mode production --config /<<PKGBUILDDIR>>/debian/webpack.debian.js
assets by chunk 129 KiB (auxiliary name: main)
asset favicon.ico 124 KiB [emitted] [from: assets/favicon.ico] (auxiliary name: main)
asset ecd3a2194d527cfbf0bc.svg 4.78 KiB [emitted] [immutable] [from: assets/logo.svg] (auxiliary name: main)
asset 17cee29b74474d09befe.svg 235 bytes [emitted] [immutable] [from: assets/chevron-down-white.svg] (auxiliary name: main)
asset 17f77bd3eba94d044d8a.svg 235 bytes [emitted] [immutable] [from: assets/chevron-down-light.svg] (auxiliary name: main)
asset 3c078649406e08706f5a.svg 235 bytes [emitted] [immutable] [from: assets/chevron-down-gray.svg] (auxiliary name: main)
asset renderer.bundle.js 1.79 MiB [emitted] [minimized] [big] (name: main) 1 related asset
asset index.html 607 bytes [emitted]
runtime modules 2.57 KiB 8 modules
modules by path ../../../../../usr/share/nodejs/ 2.49 MiB 303 modules
modules by path ./ 603 KiB (javascript) 129 KiB (asset) 65 modules
modules by path ../../../../../usr/share/javascript/ 306 KiB
modules by path ../../../../../usr/share/javascript/util/ 27.8 KiB 3 modules
+ 3 modules
modules by path ../../debian/web-app-overlay/katex/ 24.6 KiB
../../debian/web-app-overlay/katex/index.js 66 bytes [built] [code generated]
../../debian/web-app-overlay/katex/dist/katex.min.css 1.35 KiB [built] [code generated]
../../../../../usr/share/nodejs/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!../../debian/web-app-overlay/katex/dist/katex.min.css 23.2 KiB [built] [code generated]
url (ignored) 15 bytes [built] [code generated]
https (ignored) 15 bytes [built] [code generated]
http (ignored) 15 bytes [built] [code generated]
data:image/svg+xml,%3Csvg xmlns=%27.. 273 bytes [built] [code generated]
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
renderer.bundle.js (1.79 MiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (1.79 MiB)
renderer.bundle.js
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
webpack 5.97.1 compiled with 3 warnings in 12708 ms
--------------------------------------------------------------------------------
Full log: https://launchpadlibrarian.net/854117584/buildlog_ubuntu-resolute-amd64.lemonade_10.0.0-1ubuntu2_BUILDING.txt.gz
Here is the snippet from 5.97.1+dfsg1+~cs11.18.27-4:
--------------------------------------------------------------------------------
cd /<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/web-app-src && NODE_PATH=/<<PKGBUILDDIR>>/debian/web-app-overlay:/usr/share/nodejs:/usr/lib/nodejs:/usr/share/javascript \
WEBPACK_OUTPUT_PATH=/<<PKGBUILDDIR>>/obj-aarch64-linux-gnu/resources/web-app \
/usr/bin/webpack --mode production --config /<<PKGBUILDDIR>>/debian/webpack.debian.js
[webpack-cli] Error: Too many arguments. Expected 0 arguments but got 4.
[webpack-cli] Run 'webpack --help' to see available commands and options
--------------------------------------------------------------------------------
Full log: https://launchpadlibrarian.net/854473552/buildlog_ubuntu-resolute-arm64.lemonade_10.0.0-1ubuntu3_BUILDING.txt.gz
Here is the debian/rules for lemonade:
https://salsa.debian.org/debian/lemonade/-/blob/debian/latest/debian/rules?ref_type=heads#L26
So it seems like the CLI interface for webpack changed and no longer can take arguments?
-- System Information:
Debian Release: trixie/sid
APT prefers noble-updates
APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-proposed'), (100, 'noble-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: aarch64, aaarch64
Kernel: Linux 6.19.0-rc3-gc243f2ef2177 (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
More information about the Pkg-javascript-devel
mailing list