#1132425 node-webpack: Webpack 5.97.1+dfsg1+~cs11.18.27-4 caused failures building lemonade

#1132425#5
Date:
2026-03-31 18:39:10 UTC
From:
To:
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?

#1132425#10
Date:
2026-03-31 19:52:56 UTC
From:
To:
Le 31/03/2026 à 20:39, Mario Limonciello a écrit :

Hi,

This version no more exist on Debian (patch for commander 14) and was
never in testing: it has been replaced by an update to
5.105.4+dfsg1+~cs15.13.23-2 before testing migration. This version
embeds webpack-cli 7 which depends on commander 14.

I added a test that proves that the bug doesn't exist into version
5.105.4+dfsg1+~cs15.13.23-3.

Best regards,
Xavier

#1132425#15
Date:
2026-04-01 03:33:40 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-webpack, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1132425@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-webpack package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 31 Mar 2026 21:49:17 +0200
Source: node-webpack
Built-For-Profiles: nocheck
Architecture: source
Version: 5.105.4+dfsg1+~cs15.13.23-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1132425
Changes:
 node-webpack (5.105.4+dfsg1+~cs15.13.23-3) unstable; urgency=medium
 .
   * Team upload
   * Declare compliance with policy 4.7.4
   * Require node-commander >= 14
   * Add autopkgtest to verify CLI arguments work (Closes: #1132425)
Checksums-Sha1:
 219495f22cb64483c623a12b5e586be44434fb75 5293 node-webpack_5.105.4+dfsg1+~cs15.13.23-3.dsc
 6c2d8b70fcd62b01f94c0dae54689c866725b9ed 30228 node-webpack_5.105.4+dfsg1+~cs15.13.23-3.debian.tar.xz
Checksums-Sha256:
 352fd4d89fecb02bebf5b2032f3163063a2fc45476e476083959b37c13eadc37 5293 node-webpack_5.105.4+dfsg1+~cs15.13.23-3.dsc
 403f138a4503cfd6ece854befabc204b93038ef1bfc24e34ce8ada948cc3167a 30228 node-webpack_5.105.4+dfsg1+~cs15.13.23-3.debian.tar.xz
Files:
 94302630afe01014ebf93235130c61d0 5293 javascript optional node-webpack_5.105.4+dfsg1+~cs15.13.23-3.dsc
 b72c00c68340dd1d9b5dfa31bcef15f5 30228 javascript optional node-webpack_5.105.4+dfsg1+~cs15.13.23-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmnMi5MACgkQ9tdMp8mZ
7umJuRAAkjXR3YAYSDgIqCvpltnfxKJzgxvd+7iude9UjcMbuLm5JayKIq/6m7tw
ct5TlvPpneP9jRtoXJ+eQnqKotigwMdtjvZnpQpVbpLENR/MljZWo27HK6WUg3yg
iSRMFwLDm0lIr8oqhuhOuv2uAJJDyvntUWUBAuQEQXOgHTEb9K92/1nH2IcqSU04
dwtfZzedpm8+Xz/zKxKrcVlVyZJCiLz9+Cn0/O/F4h4UpsPdFCSHPM7p8NcYM8xJ
poLpwasA1/vniZQd2tcnhW4wlv2dwQ6AS2qBHgpyD9Ii87U04xBgqoQI11uRkaNU
L6MTcEgo77+qKRyRnYxNQHPmjVuIJ/Q3Dmh0xvoSx/B+hPLoMUTdWmrG9Df9NVUm
GbH8Wmrj7zARRZn9+nTYuvPfppOHr1o6fekcHK/G9CLb7tpnsmyaYVkaOC+zKZBO
r6XNrb95MaEpYPS9aiuF5JgnL7iW+NznkEpAb7Cb5G8n5fW/0uVH0iAJfIjOuXMQ
BpPndhCIrCgfsZlZTw32m0Meo/C1T93JT7qIUdtkctT8q7pdpSiffkaOB94wAXnH
FlcW53BH2rm9gs1gnSAJS/GfM2HKfRkVBjm7BI/QlTC6xsvUvOSFwO6/JmdrKQc2
qr++faajFvq1RM6hzjcx1nE2artM4cm/SLJcLURTRU2avjFqNEY=
=96GN
-----END PGP SIGNATURE-----

#1132425#20
Date:
2026-04-01 03:50:21 UTC
From:
To:
Thanks, I can confirm updating fixes the issue.  Sorry for the noise.