[Pkg-javascript-devel] Bug#1055660: rebuild fails with node-typescript 4.9.5 in experimental
weepingclown
weepingclown at disroot.org
Thu Nov 9 18:24:26 GMT 2023
Package: node-rollup-pluginutils
Version: 5.0.2~ds+~2.8.2-1
Severity: important
User: debian-js at lists.debian.org
Usertags: typescript495
Hi,
This package's rebuild failed with node-typescript 4.9.5 currently in
experimental.
node-typescript 4.9.5 is planned to be uploaded to unstable in about two
weeks to
one month time, so please make sure this package will be ready for it.
The severity
of this bug will be raised to serious after node-typescript 4.9.5 is
uploaded to unstable.
Relevant errors;
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Build legacy module
dh_auto_build --buildsystem=nodejs
Found debian/nodejs/legacy/build
cd ./legacy && sh -ex ../debian/nodejs/legacy/build
+ rollup -c
src/index.ts → dist/pluginutils.cjs.js, dist/pluginutils.es.js...
[!] (plugin commonjs--resolver) TypeError: hostOrText.readFile is not a
function
at readJsonOrUndefined
(/usr/share/nodejs/typescript/lib/typescript.js:19519:74)
at Object.readJson
(/usr/share/nodejs/typescript/lib/typescript.js:19528:16)
at getPackageJsonInfo
(/usr/share/nodejs/typescript/lib/typescript.js:44772:41)
at loadModuleFromSpecificNodeModulesDirectory
(/usr/share/nodejs/typescript/lib/typescript.js:45321:27)
at loadModuleFromImmediateNodeModulesDirectory
(/usr/share/nodejs/typescript/lib/typescript.js:45314:20)
at /usr/share/nodejs/typescript/lib/typescript.js:45291:39
at Object.forEachAncestorDirectory
(/usr/share/nodejs/typescript/lib/typescript.js:8224:26)
at loadModuleFromNearestNodeModulesDirectoryWorker
(/usr/share/nodejs/typescript/lib/typescript.js:45285:19)
at loadModuleFromNearestNodeModulesDirectory
(/usr/share/nodejs/typescript/lib/typescript.js:45277:16)
at tryResolve (/usr/share/nodejs/typescript/lib/typescript.js:44363:34)
dh_auto_build: error: cd ./legacy && sh -ex
../debian/nodejs/legacy/build returned exit code 1
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
Full build log is attached.
--
PGP: BC55 8A19 E57C 716D D12F 2FA2 EEED 479E 6CEC F707
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231109/86e80e59/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-rollup-pluginutils.log
Type: text/x-log
Size: 161542 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231109/86e80e59/attachment.bin>
More information about the Pkg-javascript-devel
mailing list