[Pkg-javascript-devel] Bug#1002266: node-y18n: FTBFS: TypeError: Cannot read property 'text' of undefined

Lucas Nussbaum lucas at debian.org
Tue Dec 21 16:49:02 GMT 2021


Source: node-y18n
Version: 5.0.8-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> tsc
> rollup -c
> 
> ./lib/cjs.ts → ./build/index.cjs...
> (!) Unresolved dependencies
> https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
> fs (imported by lib/platform-shims/node.ts)
> util (imported by lib/platform-shims/node.ts)
> path (imported by lib/platform-shims/node.ts)
> [!] (plugin Typescript) TypeError: Cannot read property 'text' of undefined
> TypeError: Cannot read property 'text' of undefined
>     at getExportedSymbolFromExportSpecifier (/<<PKGBUILDDIR>>/debian/build_modules/@wessberg/rollup-plugin-ts/dist/cjs/index.js:2155:41)
>     at createExportSpecifierFromNameAndModifiers (/<<PKGBUILDDIR>>/debian/build_modules/@wessberg/rollup-plugin-ts/dist/cjs/index.js:2176:29)
>     at visitInterfaceDeclaration$5 (/<<PKGBUILDDIR>>/debian/build_modules/@wessberg/rollup-plugin-ts/dist/cjs/index.js:2518:32)
>     at visitNode$c (/<<PKGBUILDDIR>>/debian/build_modules/@wessberg/rollup-plugin-ts/dist/cjs/index.js:2601:16)
>     at /<<PKGBUILDDIR>>/debian/build_modules/@wessberg/rollup-plugin-ts/dist/cjs/index.js:2627:13
>     at visitNodes (/usr/share/nodejs/typescript/lib/typescript.js:29880:30)
>     at Object.forEachChild (/usr/share/nodejs/typescript/lib/typescript.js:30122:24)
>     at Object.childContinuation (/<<PKGBUILDDIR>>/debian/build_modules/@wessberg/rollup-plugin-ts/dist/cjs/index.js:2626:52)
>     at visitModuleDeclaration$7 (/<<PKGBUILDDIR>>/debian/build_modules/@wessberg/rollup-plugin-ts/dist/cjs/index.js:2528:28)
>     at visitNode$c (/<<PKGBUILDDIR>>/debian/build_modules/@wessberg/rollup-plugin-ts/dist/cjs/index.js:2607:16)
> 
> make[1]: *** [debian/rules:12: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/node-y18n_5.0.8-2_unstable.log

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 marking 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