[Pkg-javascript-devel] Bug#1001549: Bug#1001549: node-mermaid: FTBFS with webpack5: Error: webpack-cli is missing

Pirate Praveen praveen at onenetbeyond.org
Sun Dec 12 09:13:40 GMT 2021



2021, ഡിസംബർ 12 9:32:07 AM IST, Ayoyimika Ajibade <ayoyimikaajibade at gmail.com>ൽ എഴുതി
>Source: node-mermaid
>Version: 8.13.3+ds+~cs26.13.21-2
>Severity: important
>Justification: ftbfs
>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-mermaid was found to fail to build in that 
>situation.
>
>Relevant part (hopefully):
>
>  debian/rules override_dh_auto_build
>make[1]: Entering directory '/<<PKGBUILDDIR>>'
>dh_auto_build --buildsystem=nodejs
>No build command found, searching known files
>No build command found, searching known files
>No build command found, searching known files
>No build command found, searching known files
>No build command found, searching known files
>No build command found, searching known files
>Found debian/nodejs/strip-css-comments/build
>         cd ./strip-css-comments && sh -ex 
>../debian/nodejs/strip-css-comments/build
>+ babeljs -o index.cjs index.js
>Found debian/nodejs/stylis/build
>         cd ./stylis && sh -ex ../debian/nodejs/stylis/build
>+ rollup --config script/build.js --configSrc ./
>
>index.js → dist/umd/stylis.js...
>created dist/umd/stylis.js in 1.3s
>
>index.js → dist/stylis.mjs...
>created dist/stylis.mjs in 1.1s
>No build command found, searching known files
>ln -sf /usr/share/nodejs/buffer .
>terser escaper/dist/escaper.js -c -m -o escaper/dist/escaper.min.js
>webpack --progress --colors
>CLI for webpack must be installed.
>   webpack-cli (https://github.com/webpack/webpack-cli)
>
>We will use "yarn" to install the CLI via "yarn add -D webpack-cli".
>Do you want to install 'webpack-cli' (yes/no):

I think we should embed webpack-cli in webpack.

> make[1]: *** 
>[debian/rules:14: override_dh_auto_build] Error 1
>make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>make: *** [debian/rules:8: binary] Error 2
>dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
>status 2
>
>The full log is attached to this mail

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the Pkg-javascript-devel mailing list