[Pkg-javascript-devel] Bug#1067269: node-react-toastify: FTBFS: make[1]: *** [debian/rules:27: override_dh_auto_build] Error 1
Lucas Nussbaum
lucas at debian.org
Wed Mar 20 21:01:07 GMT 2024
Source: node-react-toastify
Version: 9.1.2+~1.2.1-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240319 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> 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
> [36m
> [1msrc/index.js[22m → [1mdist/cjs.js[22m...[39m
> [1m[33m(!) Mixing named and default exports[39m[22m
> [90mhttps://rollupjs.org/configuration-options/#output-exports[39m
> [1mThe following entry modules are using named and default exports together:[22m
> 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.
> [32mcreated [1mdist/cjs.js[22m in [1m68ms[22m[39m
> + 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
> dh_auto_build: warning: Max loop command exceed, aborting
> dh_auto_build: warning: Max loop command exceed, aborting
> dh_auto_build: warning: Max loop command exceed, aborting
> dh_auto_build: warning: Max loop command exceed, aborting
> 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
> [36m
> [1msrc/index.ts[22m → [1m./dist/react-toastify.esm.mjs[22m...[39m
> 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
> [32mcreated [1m./dist/react-toastify.esm.mjs[22m in [1m1.4s[22m[39m
> 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
> [36m
> [1msrc/index.ts[22m → [1m./dist/react-toastify.js[22m...[39m
> 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
> [32mcreated [1m./dist/react-toastify.js[22m in [1m1.4s[22m[39m
> tsc -d
> rollup -p @rollup/plugin-babel -p rollup-plugin-typescript -p rollup-plugin-terser --external react,clsx -f es -o ./addons/use-notification-center/index.esm.mjs src/addons/use-notification-center/index.ts
> [36m
> [1msrc/addons/use-notification-center/index.ts[22m → [1m./addons/use-notification-center/index.esm.mjs[22m...[39m
> 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
> [1m[33m(!) Unresolved dependencies[39m[22m
> [90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
> [1mreact-toastify[22m (imported by "src/addons/use-notification-center/useNotificationCenter.ts")
> [32mcreated [1m./addons/use-notification-center/index.esm.mjs[22m in [1m721ms[22m[39m
> rollup -p @rollup/plugin-babel -p rollup-plugin-typescript -p rollup-plugin-terser --external react,clsx -f cjs -o ./addons/use-notification-center/index.js src/addons/use-notification-center/index.ts
> [36m
> [1msrc/addons/use-notification-center/index.ts[22m → [1m./addons/use-notification-center/index.js[22m...[39m
> 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
> [1m[33m(!) Unresolved dependencies[39m[22m
> [90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
> [1mreact-toastify[22m (imported by "src/addons/use-notification-center/useNotificationCenter.ts")
> [32mcreated [1m./addons/use-notification-center/index.js[22m in [1m810ms[22m[39m
> ln -s .. node_modules/react-toastify
> tsc -p debian/addon-tsconfig.json --target ES5
> mv addons/addons/use-notification-center/*.d.ts addons/use-notification-center/
> rm -rf addons/addons node_modules/react-toastify
> node-sass scss/main.scss dist/ReactToastify.css
> /usr/lib/x86_64-linux-gnu/nodejs/node-sass/lib/binding.js:13
> throw new Error(errors.unsupportedEnvironment());
> ^
>
> Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (109)
> For more information on which environments are supported please see:
> https://github.com/sass/node-sass/releases/tag/v8.0.0
> at module.exports (/usr/lib/x86_64-linux-gnu/nodejs/node-sass/lib/binding.js:13:13)
> at Object.<anonymous> (/usr/lib/x86_64-linux-gnu/nodejs/node-sass/lib/index.js:13:35)
> at Module._compile (node:internal/modules/cjs/loader:1356:14)
> at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
> at Module.load (node:internal/modules/cjs/loader:1197:32)
> at Module._load (node:internal/modules/cjs/loader:1013:12)
> at Module.require (node:internal/modules/cjs/loader:1225:19)
> at require (node:internal/modules/helpers:177:18)
> at Object.<anonymous> (/usr/lib/x86_64-linux-gnu/nodejs/node-sass/bin/node-sass:10:10)
> at Module._compile (node:internal/modules/cjs/loader:1356:14)
>
> Node.js v18.19.1
> make[1]: *** [debian/rules:27: override_dh_auto_build] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/19/node-react-toastify_9.1.2+~1.2.1-3_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
More information about the Pkg-javascript-devel
mailing list