#1078893 node-regexpp: FTBFS: Cannot find module 'undici-types' or its corresponding type declarations.

#1078893#5
Date:
2024-08-17 13:40:22 UTC
From:
To:
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.

#1078893#18
Date:
2026-05-23 10:18:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-regexpp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1058507@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated node-regexpp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 20 May 2026 00:20:00 +0200
Source: node-regexpp
Architecture: source
Version: 3.2.0-4+deb12u1
Distribution: bookworm
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Closes: 1058507 1078893
Changes:
 node-regexpp (3.2.0-4+deb12u1) bookworm; urgency=medium
 .
   * Team upload.
 .
   [ Yadd ]
   * Add missing link to undici-types. Closes: #1058507, #1078893.
Checksums-Sha1:
 d77df0e1351a6f80a7b5e3a64a9d0d8f0f5c0bd7 1936 node-regexpp_3.2.0-4+deb12u1.dsc
 ce681c820f785c53d32f18318fa18e6628214780 6080 node-regexpp_3.2.0-4+deb12u1.debian.tar.xz
 036a678dcfd7b2cb3d63fa5c3614079adcb38d84 12380 node-regexpp_3.2.0-4+deb12u1_source.buildinfo
Checksums-Sha256:
 4ad44fbbce384d60a1f9f989eb1f646b5755db9aa0ea07c0799393ed456fa1f7 1936 node-regexpp_3.2.0-4+deb12u1.dsc
 d8b2c7c03ad7bd95319d2bd9088c5c141da9d84c3fb9b788391d9f3487fed2b7 6080 node-regexpp_3.2.0-4+deb12u1.debian.tar.xz
 501440cd2016b2058a7242cd800dccf97a85c01cc99ff3fe65905416a7d3bafa 12380 node-regexpp_3.2.0-4+deb12u1_source.buildinfo
Files:
 696184fb1a655f16832cdee00685d464 1936 javascript optional node-regexpp_3.2.0-4+deb12u1.dsc
 e146b67b4faf266275950101fbeb09aa 6080 javascript optional node-regexpp_3.2.0-4+deb12u1.debian.tar.xz
 0a4e056ddd791e050ead044059870b6d 12380 javascript optional node-regexpp_3.2.0-4+deb12u1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmoM7t0ACgkQQc5/C58b
izKrfwf+OCiOEwileJ8zqyOgoZLdII3FFVg2GhxMwqsMFW2i1PIK45DhsKdoZRcr
4T68F8i9w0sL9N/lvaFT/NejFnsabk9S3ZqEN/updzbXX5k0Db3oXDRS9X/6qJEZ
bgaZcBB1ZNBLeRSzNo/g1V1qBtQ4N8CWWuh6cQGTJ8MbT+pTCCJM9cWMTc5c4xYV
dlOmbvu1d3OYW3bROduK6H/oypeNcbdIjguRy3zEo8xqg/qQDbCAvZ8Gy3SoIMhE
qZXDwjKq8ql5RwJ9drJx2wZOQzjBvLaMZ8gCYw1swNMo7WbRfkAJ+KiZHP66p1bo
1aNjB9S+6UYBn1qdEyWikYYTs8GkqQ==
=dJdF
-----END PGP SIGNATURE-----

#1078893#23
Date:
2026-05-23 10:18:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-regexpp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1078893@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated node-regexpp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 20 May 2026 00:20:00 +0200
Source: node-regexpp
Architecture: source
Version: 3.2.0-4+deb12u1
Distribution: bookworm
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Closes: 1058507 1078893
Changes:
 node-regexpp (3.2.0-4+deb12u1) bookworm; urgency=medium
 .
   * Team upload.
 .
   [ Yadd ]
   * Add missing link to undici-types. Closes: #1058507, #1078893.
Checksums-Sha1:
 d77df0e1351a6f80a7b5e3a64a9d0d8f0f5c0bd7 1936 node-regexpp_3.2.0-4+deb12u1.dsc
 ce681c820f785c53d32f18318fa18e6628214780 6080 node-regexpp_3.2.0-4+deb12u1.debian.tar.xz
 036a678dcfd7b2cb3d63fa5c3614079adcb38d84 12380 node-regexpp_3.2.0-4+deb12u1_source.buildinfo
Checksums-Sha256:
 4ad44fbbce384d60a1f9f989eb1f646b5755db9aa0ea07c0799393ed456fa1f7 1936 node-regexpp_3.2.0-4+deb12u1.dsc
 d8b2c7c03ad7bd95319d2bd9088c5c141da9d84c3fb9b788391d9f3487fed2b7 6080 node-regexpp_3.2.0-4+deb12u1.debian.tar.xz
 501440cd2016b2058a7242cd800dccf97a85c01cc99ff3fe65905416a7d3bafa 12380 node-regexpp_3.2.0-4+deb12u1_source.buildinfo
Files:
 696184fb1a655f16832cdee00685d464 1936 javascript optional node-regexpp_3.2.0-4+deb12u1.dsc
 e146b67b4faf266275950101fbeb09aa 6080 javascript optional node-regexpp_3.2.0-4+deb12u1.debian.tar.xz
 0a4e056ddd791e050ead044059870b6d 12380 javascript optional node-regexpp_3.2.0-4+deb12u1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmoM7t0ACgkQQc5/C58b
izKrfwf+OCiOEwileJ8zqyOgoZLdII3FFVg2GhxMwqsMFW2i1PIK45DhsKdoZRcr
4T68F8i9w0sL9N/lvaFT/NejFnsabk9S3ZqEN/updzbXX5k0Db3oXDRS9X/6qJEZ
bgaZcBB1ZNBLeRSzNo/g1V1qBtQ4N8CWWuh6cQGTJ8MbT+pTCCJM9cWMTc5c4xYV
dlOmbvu1d3OYW3bROduK6H/oypeNcbdIjguRy3zEo8xqg/qQDbCAvZ8Gy3SoIMhE
qZXDwjKq8ql5RwJ9drJx2wZOQzjBvLaMZ8gCYw1swNMo7WbRfkAJ+KiZHP66p1bo
1aNjB9S+6UYBn1qdEyWikYYTs8GkqQ==
=dJdF
-----END PGP SIGNATURE-----