[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
node_modules/@types/node/ts4.8/globals.d.ts:325:84 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

325         type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request;
                                                                                       ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:326:85 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

326         type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response;
                                                                                        ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:327:85 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

327         type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData;
                                                                                        ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:328:84 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

328         type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers;
                                                                                       ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:330:22 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

330             : import("undici-types").RequestInit;
                         ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:336:35 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

336         type RequestInfo = import("undici-types").RequestInfo;
                                      ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:337:35 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

337         type HeadersInit = import("undici-types").HeadersInit;
                                      ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:338:32 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

338         type BodyInit = import("undici-types").BodyInit;
                                   ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:339:39 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

339         type RequestRedirect = import("undici-types").RequestRedirect;
                                          ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:340:42 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

340         type RequestCredentials = import("undici-types").RequestCredentials;
                                             ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:341:35 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

341         type RequestMode = import("undici-types").RequestMode;
                                      ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:342:38 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

342         type ReferrerPolicy = import("undici-types").ReferrerPolicy;
                                         ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:343:34 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

343         type Dispatcher = import("undici-types").Dispatcher;
                                     ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:344:37 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

344         type RequestDuplex = import("undici-types").RequestDuplex;
                                        ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:360:21 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

360     : typeof import("undici-types").Request;
                        ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:367:21 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

367     : typeof import("undici-types").Response;
                        ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:374:21 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

374     : typeof import("undici-types").FormData;
                        ~~~~~~~~~~~~~~

node_modules/@types/node/ts4.8/globals.d.ts:381:21 - error TS2307: Cannot find module 'undici-types' or its corresponding type declarations.

381     : typeof import("undici-types").Headers;
                        ~~~~~~~~~~~~~~


Found 18 errors in the same file, starting at: node_modules/@types/node/ts4.8/globals.d.ts:325

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