[Pkg-matrix-maintainers] Bug#1003505: node-matrix-js-sdk: FTBFS with webpack5: Unknown option '--output'

Caleb Adepitan calebpitan at gmail.com
Tue Jan 11 05:21:49 GMT 2022


Source: node-matrix-js-sdk
Version: 9.11.0+~cs9.9.16-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-matrix-js-sdk was found to fail to build in 
that situation.

Relevant part (hopefully):

tsc --project Xbase-x
grunt --no-color --base=Xloglevel concat uglify
 >> Local Npm module "grunt-contrib-jasmine" not found. Is it installed?
 >> Local Npm module "grunt-coveralls" not found. Is it installed?
 >> Local Npm module "grunt-jasmine-node" not found. Is it installed?
 >> Local Npm module "grunt-contrib-jshint" not found. Is it installed?
 >> Local Npm module "grunt-contrib-watch" not found. Is it installed?
 >> Local Npm module "grunt-contrib-qunit" not found. Is it installed?
 >> Local Npm module "grunt-contrib-connect" not found. Is it installed?
 >> Local Npm module "grunt-open" not found. Is it installed?
 >> Local Npm module "grunt-saucelabs" not found. Is it installed?
 >> Local Npm module "grunt-preprocess" not found. Is it installed?
 >> Local Npm module "grunt-contrib-clean" not found. Is it installed?

Running "concat:dist" (concat) task

Running "uglify:dist" (uglify) task
 >> 1 file created 8.62KB → 2.78KB

Done.
# Browser build
mkdir -p dist
webpack --config debian/webpack.config.js \
--entry ./src/browser-index.js \
--output ./dist/browser-matrix.js \
--mode development
[webpack-cli] Error: Unknown option '--output'
make[1]: *** [debian/rules:27: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2022-01-08T15:37:00Z

Finished
--------


The full log is attached to this mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-matrix-js-sdk.log
Type: text/x-log
Size: 162971 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-matrix-maintainers/attachments/20220111/bb0402ca/attachment-0001.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-matrix-maintainers/attachments/20220111/bb0402ca/attachment-0001.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-matrix-maintainers/attachments/20220111/bb0402ca/attachment-0001.sig>


More information about the Pkg-matrix-maintainers mailing list