Package: src:node-react-toastify
Version: 9.1.2+~1.2.1-5
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

A wiki page discussing possible solutions is available here:

https://wiki.debian.org/Javascript/KnownPatches?pow_referer=#node-babel7_8

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:node-react-toastify, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
dh_auto_build --buildsystem=nodejs
Found debian/nodejs/clsx/build
        cd ./clsx && sh -ex ../debian/nodejs/clsx/build
+ pkgjs-pjson . main
+ MAIN=dist/clsx.js
+ pkgjs-pjson . module
+ ES=dist/clsx.m.js
+ pkgjs-pjson . unpkg
+ UNPKG=dist/clsx.min.js
+ rollup -p @rollup/plugin-commonjs -o dist/cjs.js -f cjs src/index.js

src/index.js → dist/cjs.js...
(!) Mixing named and default exports
https://rollupjs.org/configuration-options/#output-exports
The following entry modules are using named and default exports 
together:
src/index.js

Consumers of your bundle will have to use chunk.default to access their default 
export, which may not be what you want. Use `output.exports: "named"` to 
disable this warning.
created dist/cjs.js in 26ms
+ grep -v ^export dist/cjs.js
+ echo module.exports = clsx;
+ echo module.exports.clsx = clsx;
+ rm -f dist/cjs.js
+ terser -o dist/clsx.min.js dist/clsx.js
+ cp src/index.js dist/clsx.m.js
rollup -p @rollup/plugin-babel -p @rollup/plugin-typescript -p 
rollup-plugin-terser --external react,clsx -f es -o 
./dist/react-toastify.esm.mjs src/index.ts

src/index.ts → ./dist/react-toastify.esm.mjs...
babelHelpers: 'bundled' option was used by default. It is recommended to 
configure this option explicitly, read more here: 
https://github.com/rollup/plugins/tree/master/packages/babel#babelhelpers
(!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' 
option must be set to generate source maps.
created ./dist/react-toastify.esm.mjs in 1.3s
rollup -p @rollup/plugin-babel -p @rollup/plugin-typescript -p 
rollup-plugin-terser --external react,clsx -f cjs -o ./dist/react-toastify.js 
src/index.ts

src/index.ts → ./dist/react-toastify.js...
babelHelpers: 'bundled' option was used by default. It is recommended to 
configure this option explicitly, read more here: 
https://github.com/rollup/plugins/tree/master/packages/babel#babelhelpers
(!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' 
option must be set to generate source maps.
created ./dist/react-toastify.js in 1.3s
tsc -d
tsconfig.json(24,25): error TS5107: Option 'moduleResolution=node10' is 
deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption 
'"ignoreDeprecations": "6.0"' to silence this error.
  Visit https://aka.ms/ts6 for migration information.
make[1]: *** [debian/rules:23: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to