[From nobody Sat May 23 11:21:04 2026
Received: (at submit) by bugs.debian.org; 17 Aug 2024 13:40:07 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-116.2 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
 autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 110; hammy, 150; neutral, 246; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;sanvila@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:49730)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=stravinsky.debian.org, EMAIL=hostmaster@stravinsky.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;sanvila@debian.org&gt;)
 id 1sfJf5-008NqU-2i
 for submit@bugs.debian.org; Sat, 17 Aug 2024 13:40:07 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :To:Subject:From:MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=gz9RKQ+AW+gGpatvfnXMhDW4FdhraWbI+tfCVL1ob4k=; b=DEhjcFQR2Ie4dWcKYkLPG8pjWK
 VEqziRZGsO76nzNpZbIMjHQ/I5Lm9fyfvhVUAVIBl3kRAGakPRxY5gPFImWLh0BjeDze4c0FyoJRq
 OgkAbw9hIP+WJCHuFuY2Jj0bDJ2qXSUh9jecakTA9NPmyjgMXJDO7bZX1+WnLgpPAxDGJADKEOU+1
 gRzCuH0OgA0t8iHWCdX4j3Fs36wJ4dzjTCI+lLlpu2xIvmO9XWlz/pIEoYcJumHlhhGU+TA2QrcsM
 S8/e2ZuZ1EBOxePzC7ZQkcmilalqRMvHwCB1Lkf295RM/B2VGPZyOTctHwExs5ge4ZyU2vNYj36cW
 ffufiOAg==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
 (Exim 4.94.2) (envelope-from &lt;sanvila@debian.org&gt;)
 id 1sfJf4-003IWi-F5
 for submit@bugs.debian.org; Sat, 17 Aug 2024 13:40:05 +0000
Message-ID: &lt;25e684ac-9192-4894-ae6e-a2756c3734ad@debian.org&gt;
Date: Sat, 17 Aug 2024 15:40:04 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Santiago Vila &lt;sanvila@debian.org&gt;
Subject: node-jschardet: FTBFS: error TS2307: Cannot find module
 'undici-types' or its corresponding type declarations.
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Content-Language: en-US
X-Debbugs-Cc: sanvila@debian.org
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-User: sanvila
Delivered-To: submit@bugs.debian.org

Package: src:node-jschardet
Version: 3.0.0+dfsg+~1.4.0-2
Severity: serious
Control: close -1 3.0.0+dfsg+~1.4.0-3
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
    dh_auto_configure --buildsystem=nodejs
Copy /usr/share/nodejs/@babel/parser -&gt; ./node_modules/@babel
Copy /usr/share/nodejs/@babel/types -&gt; ./node_modules/@babel
Copy /usr/share/nodejs/@types/istanbul-lib-coverage -&gt; ./node_modules/@types
Copy /usr/share/nodejs/@types/istanbul-lib-report -&gt; ./node_modules/@types
Copy /usr/share/nodejs/@types/node -&gt; ./node_modules/@types
Link node_modules/chardet -&gt; ../chardet
    debian/rules override_dh_auto_build
make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
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 &amp;&amp; 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: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/index.js
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/index.js.map
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/index.d.ts
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/match.js
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/match.js.map
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/match.d.ts
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/fs/node.js
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/fs/node.js.map
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/fs/node.d.ts
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/utf8.js
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/utf8.js.map
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/utf8.d.ts
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/unicode.js
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/unicode.js.map
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/unicode.d.ts
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/mbcs.js
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/mbcs.js.map
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/mbcs.d.ts
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/sbcs.js
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/sbcs.js.map
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/sbcs.d.ts
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/iso2022.js
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/iso2022.js.map
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/encoding/iso2022.d.ts
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/index.js
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/index.js.map
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/index.d.ts
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/fs/browser.js
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/chardet/lib/fs/browser.js.map
TSFILE: /&lt;&lt;PKGBUILDDIR&gt;&gt;/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:               165865K
Assignability cache size:    17009
Identity cache size:           115
Subtype cache size:             12
Strict subtype cache size:     923
I/O Read time:               0.01s
Parse time:                  0.77s
ResolveModule time:          0.03s
ResolveTypeReference time:   0.01s
Program time:                0.89s
Bind time:                   0.49s
Check time:                  3.10s
transformTime time:          0.07s
Source Map time:             0.03s
commentTime time:            0.00s
I/O Write time:              0.00s
printTime time:              0.25s
Emit time:                   0.25s
Total time:                  4.73s
dh_auto_build: error: cd ./chardet &amp;&amp; sh -ex ../debian/nodejs/chardet/build returned exit code 2
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 25
make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make: *** [debian/rules:12: 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.
]