[Pkg-javascript-devel] Bug#1123421: node-y18n: FTBFS: TypeError: transformDefaultExport is not a function
Santiago Vila
sanvila at debian.org
Tue Dec 16 20:28:05 GMT 2025
Package: src:node-y18n
Version: 5.0.8+~5.0.0-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-y18n, 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
rm -rf ./node_modules/.cache ./.nyc_output
rm -rf types-y18n/node_modules/.cache types-y18n/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/@babel/parser
Trying to remove ./node_modules/@babel
unlink ./node_modules/@babel/types
Trying to remove ./node_modules/@babel
unlink ./node_modules/@rollup/plugin-typescript
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
rm types-y18n/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/@babel/parser
Trying to remove ./node_modules/@babel
unlink ./node_modules/@babel/types
Trying to remove ./node_modules/@babel
unlink ./node_modules/@rollup/plugin-typescript
Trying to remove ./node_modules/@rollup
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink node_modules/@types/y18n
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link ./node_modules/@babel/parser -> /usr/share/nodejs/@babel/parser
Link ./node_modules/@babel/types -> /usr/share/nodejs/@babel/types
Link ./node_modules/@rollup/plugin-typescript -> /usr/share/nodejs/@rollup/plugin-typescript
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link node_modules/@types/y18n -> ../../types-y18n
Link node_modules/@wessberg/browserslist-generator -> ../../debian/build_modules/@wessberg/browserslist-generator
Link node_modules/@wessberg/stringutil -> ../../debian/build_modules/@wessberg/stringutil
Link node_modules/@wessberg/ts-clone-node -> ../../debian/build_modules/@wessberg/ts-clone-node
Link node_modules/gts -> ../debian/build_modules/gts
Link node_modules/ts-transform-default-export -> ../debian/build_modules/ts-transform-default-export
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
tsc
rollup -c
[36m
[1m./lib/cjs.ts[22m â [1m./build/index.cjs[22m...[39m
[1m[31m[!] [1m(plugin typescript) TypeError: transformDefaultExport is not a function[22m[1m[39m[22m
[2m at transformers (file:///<<BUILDDIR>>/node-y18n-5.0.8+%7E5.0.0/rollup.config.js:18:28)
at Object.program.emit (file:///usr/share/nodejs/@rollup/plugin-typescript/dist/es/index.js:737:23)
at emitFilesAndReportErrors (/usr/share/nodejs/typescript/lib/typescript.js:122019:99)
at Object.result.afterProgramCreate (/usr/share/nodejs/typescript/lib/typescript.js:122188:7)
at Object.afterProgramCreate (file:///usr/share/nodejs/@rollup/plugin-typescript/dist/es/index.js:741:29)
at synchronizeProgram (/usr/share/nodejs/typescript/lib/typescript.js:122550:14)
at Object.createWatchProgram (/usr/share/nodejs/typescript/lib/typescript.js:122454:5)
at createWatchProgram (file:///usr/share/nodejs/@rollup/plugin-typescript/dist/es/index.js:757:15)
at Object.buildStart (file:///usr/share/nodejs/@rollup/plugin-typescript/dist/es/index.js:916:27)
at /usr/share/nodejs/rollup/dist/shared/rollup.js:1882:40[22m
make[1]: *** [debian/rules:12: 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
--------------------------------------------------------------------------------
More information about the Pkg-javascript-devel
mailing list