[Pkg-javascript-devel] Bug#1123417: node-rjsf: FTBFS: Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps.

Santiago Vila sanvila at debian.org
Tue Dec 16 20:27:57 GMT 2025


Package: src:node-rjsf
Version: 5.12.1+~5.0.1-3
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/202512/

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-rjsf, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
./lerna.json found

workspaces field found in package.json

Found debian/nodejs/additional_components
	rm -rf packages/core/node_modules/.cache packages/core/.nyc_output
	rm -rf jsonpointer/node_modules/.cache jsonpointer/.nyc_output
	rm -rf packages/utils/node_modules/.cache packages/utils/.nyc_output
	rm -rf packages/validator-ajv6/node_modules/.cache packages/validator-ajv6/.nyc_output
	rm -rf packages/validator-ajv8/node_modules/.cache packages/validator-ajv8/.nyc_output
Found debian/nodejs/additional_components
rm packages/core/node_modules/.cache
rm jsonpointer/node_modules/.cache
rm packages/utils/node_modules/.cache
rm packages/validator-ajv6/node_modules/.cache
rm packages/validator-ajv8/node_modules/.cache
rm packages/core/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/ajv
unlink ./node_modules/ajv-formats
unlink ./node_modules/json-schema
unlink ./node_modules/json-schema-merge-allof
unlink ./node_modules/lodash
unlink ./node_modules/markdown-to-jsx
unlink ./node_modules/nanoid
unlink ./node_modules/react
unlink ./node_modules/react-is
unlink ./node_modules/tslib
unlink ./node_modules/@types/json-schema
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/json-schema-merge-allof
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/lodash
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/react
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/react-is
Trying to remove ./node_modules/@types
Found debian/nodejs/additional_components
unlink node_modules/jsonpointer
unlink node_modules/@rjsf/utils
unlink node_modules/@rjsf/validator-ajv6
unlink node_modules/@rjsf/validator-ajv8
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
./lerna.json found

workspaces field found in package.json

Found debian/nodejs/additional_components
Link ./node_modules/ajv -> /usr/share/nodejs/ajv
Link ./node_modules/ajv-formats -> /usr/share/nodejs/ajv-formats
Link ./node_modules/json-schema -> /usr/share/nodejs/json-schema
Link ./node_modules/json-schema-merge-allof -> /usr/share/nodejs/json-schema-merge-allof
Link ./node_modules/lodash -> /usr/share/nodejs/lodash
Link ./node_modules/markdown-to-jsx -> /usr/share/nodejs/markdown-to-jsx
Link ./node_modules/nanoid -> /usr/share/nodejs/nanoid
Link ./node_modules/react -> /usr/share/nodejs/react
Link ./node_modules/react-is -> /usr/share/nodejs/react-is
Link ./node_modules/tslib -> /usr/share/nodejs/tslib
Link ./node_modules/@types/json-schema -> /usr/share/nodejs/@types/json-schema
Link ./node_modules/@types/json-schema-merge-allof -> /usr/share/nodejs/@types/json-schema-merge-allof
Link ./node_modules/@types/lodash -> /usr/share/nodejs/@types/lodash
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/@types/react -> /usr/share/nodejs/@types/react
Link ./node_modules/@types/react-is -> /usr/share/nodejs/@types/react-is
Found debian/nodejs/additional_components
Link node_modules/jsonpointer -> ../jsonpointer
Link node_modules/@rjsf/utils -> ../../packages/utils
Link node_modules/@rjsf/validator-ajv6 -> ../../packages/validator-ajv6
Link node_modules/@rjsf/validator-ajv8 -> ../../packages/validator-ajv8
Link node_modules/@types/ajv -> ../../debian/build_modules/@types/ajv
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
set -e; for p in `cat debian/nodejs/build_order`; do \
	echo "Compiling $p"; \
	(cd $p && \
	rollup -p @rollup/plugin-typescript -p @rollup/plugin-node-resolve -p @rollup/plugin-commonjs -p @rollup/plugin-json -o `pkgjs-pjson . module` -f es src/index.ts; \
	rollup -p @rollup/plugin-typescript -p @rollup/plugin-node-resolve -p @rollup/plugin-commonjs -p @rollup/plugin-json -o `pkgjs-pjson . main` -f cjs src/index.ts; \
	); \
done
Compiling packages/utils

src/index.ts → lib/index.js...
(!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps.
created lib/index.js in 4.9s

src/index.ts → dist/index.js...
(!) Plugin typescript: @rollup/plugin-typescript: Rollup 'sourcemap' option must be set to generate source maps.
[!] (plugin typescript) RollupError: @rollup/plugin-typescript: Path of Typescript compiler option 'outDir' must be located inside the same directory as the Rollup 'file' option.
    at error (/usr/share/nodejs/rollup/dist/shared/rollup.js:321:30)
    at Object.error (/usr/share/nodejs/rollup/dist/shared/rollup.js:1689:20)
    at validatePaths (/usr/share/nodejs/@rollup/plugin-typescript/dist/cjs/index.js:439:29)
    at Object.renderStart (/usr/share/nodejs/@rollup/plugin-typescript/dist/cjs/index.js:976:13)
    at /usr/share/nodejs/rollup/dist/shared/rollup.js:1882:40
    at async Promise.all (index 0)
    at async PluginDriver.hookParallel (/usr/share/nodejs/rollup/dist/shared/rollup.js:1810:9)
    at async Bundle.generate (/usr/share/nodejs/rollup/dist/shared/rollup.js:19309:13)
    at async /usr/share/nodejs/rollup/dist/shared/rollup.js:26864:27
    at async catchUnfinishedHookActions (/usr/share/nodejs/rollup/dist/shared/rollup.js:26033:16)


make[1]: *** [debian/rules:13: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-javascript-devel mailing list