[Pkg-javascript-devel] Bug#1078893: node-regexpp: FTBFS: Cannot find module 'undici-types' or its corresponding type declarations.
Santiago Vila
sanvila at debian.org
Sat Aug 17 14:40:22 BST 2024
Package: src:node-regexpp
Version: 3.2.0-4
Severity: serious
Control: close -1 3.2.0-5
Tags: ftbfs bookworm
Dear maintainer:
During a rebuild of all packages in bookworm, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkdir -p node_modules/@types
cp --force --recursive --target node_modules/@types /usr/share/nodejs/@types/eslint /usr/share/nodejs/@types/estree /usr/share/nodejs/@types/json-schema /usr/share/nodejs/@types/node
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cmark-gfm README.md > README.html
cmark-gfm --to plaintext README.md > README.txt
tsc --module es2015
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m325[0m:[93m84[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m325[0m type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m326[0m:[93m85[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m326[0m type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m327[0m:[93m85[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m327[0m type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m328[0m:[93m84[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m328[0m type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m330[0m:[93m22[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m330[0m : import("undici-types").RequestInit;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m336[0m:[93m35[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m336[0m type RequestInfo = import("undici-types").RequestInfo;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m337[0m:[93m35[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m337[0m type HeadersInit = import("undici-types").HeadersInit;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m338[0m:[93m32[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m338[0m type BodyInit = import("undici-types").BodyInit;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m339[0m:[93m39[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m339[0m type RequestRedirect = import("undici-types").RequestRedirect;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m340[0m:[93m42[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m340[0m type RequestCredentials = import("undici-types").RequestCredentials;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m341[0m:[93m35[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m341[0m type RequestMode = import("undici-types").RequestMode;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m342[0m:[93m38[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m342[0m type ReferrerPolicy = import("undici-types").ReferrerPolicy;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m343[0m:[93m34[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m343[0m type Dispatcher = import("undici-types").Dispatcher;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m344[0m:[93m37[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m344[0m type RequestDuplex = import("undici-types").RequestDuplex;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m360[0m:[93m21[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m360[0m : typeof import("undici-types").Request;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m367[0m:[93m21[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m367[0m : typeof import("undici-types").Response;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m374[0m:[93m21[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m374[0m : typeof import("undici-types").FormData;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
[96mnode_modules/@types/node/ts4.8/globals.d.ts[0m:[93m381[0m:[93m21[0m - [91merror[0m[90m TS2307: [0mCannot find module 'undici-types' or its corresponding type declarations.
[7m381[0m : typeof import("undici-types").Headers;
[7m [0m [91m ~~~~~~~~~~~~~~[0m
Found 18 errors in the same file, starting at: node_modules/@types/node/ts4.8/globals.d.ts[90m:325[0m
Files: 109
Lines: 58425
Nodes: 145053
Identifiers: 49977
Symbols: 45341
Types: 17159
Instantiations: 11801
Memory used: 104074K
I/O read: 0.01s
I/O write: 0.00s
Parse time: 0.88s
Bind time: 0.37s
Check time: 1.78s
Emit time: 0.00s
Total time: 3.04s
make[1]: *** [debian/rules:30: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:50: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/bookworm/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Pkg-javascript-devel
mailing list