[Pkg-javascript-devel] Bug#1058285: node-jschardet: FTBFS: ../node_modules/@types/node/ts4.8/globals.d.ts(381, 21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
Lucas Nussbaum
lucas at debian.org
Tue Dec 12 08:40:31 GMT 2023
Source: node-jschardet
Version: 3.0.0+dfsg+~1.4.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cp chardet/package.json debian/
> perl -i -pe 's/0.0.0-development/1.4.0/' chardet/package.json
> dh_auto_build --buildsystem=nodejs
> Found debian/nodejs/chardet/build
> cd ./chardet && sh -ex ../debian/nodejs/chardet/build
> + tsc
> ../node_modules/@types/node/ts4.8/globals.d.ts(325,84): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(326,85): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(327,85): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(328,84): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(330,22): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(336,35): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(337,35): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(338,32): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(339,39): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(340,42): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(341,35): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(342,38): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(343,34): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(344,37): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(360,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(367,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(374,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> ../node_modules/@types/node/ts4.8/globals.d.ts(381,21): error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/index.js
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/index.js.map
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/index.d.ts
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/match.js
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/match.js.map
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/match.d.ts
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/fs/node.js
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/fs/node.js.map
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/fs/node.d.ts
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/utf8.js
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/utf8.js.map
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/utf8.d.ts
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/unicode.js
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/unicode.js.map
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/unicode.d.ts
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/mbcs.js
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/mbcs.js.map
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/mbcs.d.ts
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/sbcs.js
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/sbcs.js.map
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/sbcs.d.ts
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/iso2022.js
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/iso2022.js.map
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/encoding/iso2022.d.ts
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/index.js
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/index.js.map
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/index.d.ts
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/fs/browser.js
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/fs/browser.js.map
> TSFILE: /<<PKGBUILDDIR>>/chardet/lib/fs/browser.d.ts
> Files: 111
> Lines of Library: 28073
> Lines of Definitions: 43490
> Lines of TypeScript: 5903
> Lines of JavaScript: 0
> Lines of JSON: 0
> Lines of Other: 0
> Nodes of Library: 119644
> Nodes of Definitions: 101973
> Nodes of TypeScript: 9430
> Nodes of JavaScript: 0
> Nodes of JSON: 0
> Nodes of Other: 0
> Identifiers: 80005
> Symbols: 87775
> Types: 39639
> Instantiations: 31123
> Memory used: 172355K
> Assignability cache size: 17009
> Identity cache size: 115
> Subtype cache size: 12
> Strict subtype cache size: 923
> I/O Read time: 0.02s
> Parse time: 0.64s
> ResolveModule time: 0.02s
> ResolveTypeReference time: 0.02s
> Program time: 0.76s
> Bind time: 0.37s
> Check time: 3.16s
> transformTime time: 0.09s
> Source Map time: 0.02s
> commentTime time: 0.00s
> I/O Write time: 0.01s
> printTime time: 0.28s
> Emit time: 0.28s
> Total time: 4.57s
> dh_auto_build: error: cd ./chardet && sh -ex ../debian/nodejs/chardet/build returned exit code 2
> make[1]: *** [debian/rules:17: override_dh_auto_build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/node-jschardet_3.0.0+dfsg+~1.4.0-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
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 mark 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