[Pkg-javascript-devel] Bug#1058283: node-lib0: 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:34 GMT 2023


Source: node-lib0
Version: 0.2.85-1
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>>'
> dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
> 	cd ./. && rollup -c
> [
>   './array.js',
>   './binary.js',
>   './broadcastchannel.js',
>   './buffer.js',
>   './cache.js',
>   './component.js',
>   './conditions.js',
>   './decoding.js',
>   './diff.js',
>   './dom.js',
>   './encoding.js',
>   './environment.js',
>   './error.js',
>   './eventloop.js',
>   './function.js',
>   './index.js',
>   './indexeddb.js',
>   './isomorphic.js',
>   './iterator.js',
>   './json.js',
>   './list.js',
>   './logging.common.js',
>   './logging.js',
>   './logging.node.js',
>   './map.js',
>   './math.js',
>   './metric.js',
>   './mutex.js',
>   './number.js',
>   './object.js',
>   './observable.js',
>   './pair.js',
>   './performance.js',
>   './performance.node.js',
>   './prng.js',
>   './promise.js',
>   './queue.js',
>   './random.js',
>   './set.js',
>   './sort.js',
>   './statistics.js',
>   './storage.js',
>   './string.js',
>   './symbol.js',
>   './testing.js',
>   './time.js',
>   './tree.js',
>   './url.js',
>   './webcrypto.deno.js',
>   './webcrypto.js',
>   './webcrypto.node.js',
>   './websocket.js',
>   './crypto/aes-gcm.js',
>   './crypto/common.js',
>   './crypto/ecdsa.js',
>   './crypto/jwt.js',
>   './crypto/rsa-oaep.js',
>   './hash/rabin-gf2-polynomial.js',
>   './hash/rabin-uncached.js',
>   './hash/rabin.js',
>   './hash/sha256.js',
>   './hash/sha256.node.js'
> ]
> 
> ./array.js, ./binary.js, ./broadcastchannel.js, ./buffer.js, ./cache.js, ./component.js, ./conditions.js, ./decoding.js, ./diff.js, ./dom.js, ./encoding.js, ./environment.js, ./error.js, ./eventloop.js, ./function.js, ./index.js, ./indexeddb.js, ./isomorphic.js, ./iterator.js, ./json.js, ./list.js, ./logging.common.js, ./logging.js, ./logging.node.js, ./map.js, ./math.js, ./metric.js, ./mutex.js, ./number.js, ./object.js, ./observable.js, ./pair.js, ./performance.js, ./performance.node.js, ./prng.js, ./promise.js, ./queue.js, ./random.js, ./set.js, ./sort.js, ./statistics.js, ./storage.js, ./string.js, ./symbol.js, ./testing.js, ./time.js, ./tree.js, ./url.js, ./webcrypto.deno.js, ./webcrypto.js, ./webcrypto.node.js, ./websocket.js, ./crypto/aes-gcm.js, ./crypto/common.js, ./crypto/ecdsa.js, ./crypto/jwt.js, ./crypto/rsa-oaep.js, ./hash/rabin-gf2-polynomial.js, ./hash/rabin-uncached.js, ./hash/rabin.js, ./hash/sha256.js, ./hash/sha256.node.js → ./dist...
> (!) Unresolved dependencies
> https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
> lib0/logging (imported by "index.js" and "testing.js")
> node:perf_hooks (imported by "performance.node.js")
> (!) Circular dependencies
> buffer.js -> encoding.js -> buffer.js
> buffer.js -> decoding.js -> buffer.js
> created ./dist in 746ms
> Command "rollup -c" succeeded in .
> 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.
> make[1]: *** [debian/rules:12: override_dh_auto_build] Error 2


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/node-lib0_0.2.85-1_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