[Pkg-javascript-devel] Bug#1055653: rebuild fails with node-typescript 4.9.5 in experimental
weepingclown
weepingclown at disroot.org
Thu Nov 9 17:45:08 GMT 2023
Package: node-domhandler
Version: 5.0.3-3
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>>'
tsc
tsc --module esnext --target es2019 --outDir lib/esm
echo '{"type":"module"}' > lib/esm/package.json
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test --buildsystem=nodejs
ln -s ../. node_modules/domhandler
/bin/sh -ex debian/tests/pkg-js/test
+ jest --ci --modulePathIgnorePatterns .pc
FAIL src/index.spec.ts
● Test suite failed to run
[96msrc/index.spec.ts[0m:[93m57[0m:[93m28[0m -
[91merror[0m[90m TS2322: [0mType 'T' is not assignable to type 'object'.
[7m57[0m expect(prop in actual).toBeTruthy();
[7m [0m [91m ~~~~~~[0m
[96msrc/index.spec.ts[0m:[93m51[0m:[93m18[0m
[7m51[0m function compare<T>(actual: T, expected: T) {
[7m [0m [96m ~[0m
This type parameter might need an `extends object` constraint.
PASS src/node.spec.ts
Test Suites: 1 failed, 1 passed, 2 total
Tests: 7 passed, 7 total
Snapshots: 1 passed, 1 total
Time: 1.777 s
Ran all test suites.
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit
code 1
make: *** [debian/rules:8: binary] Error 25
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/7d5e2c69/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-domhandler.log
Type: text/x-log
Size: 168406 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20231109/7d5e2c69/attachment.bin>
More information about the Pkg-javascript-devel
mailing list