🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #25

Bug#1150123: marked as done (node-preact: FTBFS: TypeError: Mocha is not a constructor)

#25
From: Debian Bug Tracking System
Date: Wed, 07 Oct 2026 07:30
298 lines
14279 bytes
This is a multi-part message in MIME format...

------------=_1791358032-658746-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Wed, 07 Oct 2026 07:20:09 +0000
with message-id <E1xELwf-00000006ndP-0qQw@fasolo.debian.org>
and subject line Bug#1150123: fixed in node-preact 10.29.8-3
has caused the Debian Bug report #1150123,
regarding node-preact: FTBFS: TypeError: Mocha is not a constructor
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1150123: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1150123
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1791358032-658746-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 5 Oct 2026 20:08:17 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-121.4 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_PASS,
	SPF_PASS,USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 91; spammy,
	0. spammytokens: hammytokens:0.000-+--HTo:N*Debian, 0.000-+--forky,
	0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila, 0.000-+--H*r:sanvila
Return-path: <sanvila@debian.org>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:46032)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1xDoyv-00F2BY-2g
	for submit@bugs.debian.org;
	Mon, 05 Oct 2026 20:08:17 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,EMAIL=hostmaster@paradis.debian.org (verified)
	by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1xDoyu-004e4D-1j
	for submit@bugs.debian.org;
	Mon, 05 Oct 2026 20:08:16 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.paradis; h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
	MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=1Sn6xu0PYWx2PTmClXFL09ZXfxtxsnwjFbdNEvbZT/4=; b=a7kIaP4kNsHPBxILlQBduHIHWj
	78VuJE6RQk4UxUHJ/k/WgLcIDQQncHh+v6HJW9fgOOXI8LQZK7E56fSrSIQGj4xmW6y3pOvKNirWH
	8q+G8PnR6Okp7GobC15rJs2p5R1jhP1TvrSBfI/auK+dYBgky+1rDQYJlRKQ2nzo/atrQFSsr5+jN
	t2dhLQ4AXq4TR45DQc6rx8IaI/nnq1sDXx/IYbRkLVUw4V+Y3SfkV28hSbiFRmn2K+BOTxN3cpyOT
	O9mowil+C+G0dT5rHqcfcB7HodtSqIBj80BWuXWL6QIsyRSQEZE8bFvF+l2GdpHf4aJCv77fDXLIh
	OdjMCCpA==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1xDoyt-004Hnq-0r
	for submit@bugs.debian.org;
	Mon, 05 Oct 2026 20:08:15 +0000
From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: node-preact: FTBFS: TypeError: Mocha is not a constructor
X-Debbugs-Cc: sanvila@debian.org
Message-Id: <E1xDoyt-004Hnq-0r@paradis.debian.org>
Date: Mon, 05 Oct 2026 20:08:15 +0000
Delivered-To: submit@bugs.debian.org

Package: src:node-preact
Version: 10.29.8-2
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202610/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot 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 add an affects on src:node-preact, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
+ sort
/tmp/tmp.vDLTdkrfTj:6
const mocha = new Mocha();
              ^

TypeError: Mocha is not a constructor
    at Object.<anonymous> (/tmp/tmp.vDLTdkrfTj:6:15)
    at Module._compile (node:internal/modules/cjs/loader:1929:14)
    at Object.<anonymous> (node:internal/modules/cjs/loader:2060:10)
    at Module.load (node:internal/modules/cjs/loader:1651:32)
    at Module._load (node:internal/modules/cjs/loader:1443:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
    at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5)
    at node:internal/main/run_main_module:33:47

Node.js v24.21.0
+ rm -f /tmp/tmp.cf4qvrxBYA /tmp/tmp.vDLTdkrfTj
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 123
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

------------=_1791358032-658746-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1150123-close) by bugs.debian.org; 7 Oct 2026 07:20:10 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-113.7 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,
	HAS_BUG_NUMBER,MD5_SHA1_SUM,MONEY,PGPSIGNATURE,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 90; hammy, 150; neutral, 100; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:47296)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xELwg-002k94-0M
	for 1150123-close@bugs.debian.org;
	Wed, 07 Oct 2026 07:20:10 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xELwf-006FV5-3B
	for 1150123-close@bugs.debian.org;
	Wed, 07 Oct 2026 07:20:09 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=HKEIDGmOqwOqbfE5xNiPnQTE6Alzqtktzh8aJTUHlg8=; b=ilpzgq+oGumLT/Y0RWpWToWZ4q
	uDMtNZXAVh2d/Jy7pU6zK33QHFJSgxLb2puemFPGVBRey2cNZLbejKwVgjlMxq+xaNstlMmy1coEu
	MlFcwNbM5hjnoZUvC5PmggW0+YSKT3UjtENiU/uuVS4okiQFFjLDWr6BfqiEC6/dOwr4hjJJb1HUz
	qW/BhFrvwUly4inKvUi4wSUM/dxokgQynIyVqPdCH7/lyLm+yOMHQcDG/NwNKJPrO0CvIdZAF1Xh+
	oofwS/OxFAMZyaZAwZHqoV4r+AaWKYaIoX+AslawKCkmmoqTb4LE8P7FU70xfOb+1C1STmcY6986Z
	ABBPLOwA==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xELwf-00000006ndP-0qQw;
	Wed, 07 Oct 2026 07:20:09 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Xavier Guimard <yadd@debian.org>
To: 1150123-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: node-preact
Debian: DAK
Debian-Changes: node-preact_10.29.8-3_sourceonly.changes
Debian-Source: node-preact
Debian-Version: 10.29.8-3
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1150123: fixed in node-preact 10.29.8-3
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============4318883176572518944=="
Message-Id: <E1xELwf-00000006ndP-0qQw@fasolo.debian.org>
Date: Wed, 07 Oct 2026 07:20:09 +0000

--===============4318883176572518944==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: node-preact
Source-Version: 10.29.8-3
Done: Xavier Guimard <yadd@debian.org>

We believe that the bug you reported is fixed in the latest version of
node-preact, 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 1150123@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-preact 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 07 Oct 2026 07:59:01 +0200
Source: node-preact
Architecture: source
Version: 10.29.8-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.=
debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1150123
Changes:
 node-preact (10.29.8-3) unstable; urgency=3Dmedium
 .
   * Team upload
   * Fix test for mocha 12 (Closes: #1150123)
Checksums-Sha1:=20
 1dd87cd74003d42d4da80d50e3da4d6d874490a4 2130 node-preact_10.29.8-3.dsc
 c8d8835e30b854d62085cd6a904e49e68553101e 4960 node-preact_10.29.8-3.debian.t=
ar.xz
Checksums-Sha256:=20
 938fddfe1a46c5c8c3f47f8c302ab7559a86dfee9ce5acde418aa62aae33aa65 2130 node-p=
react_10.29.8-3.dsc
 e9b536c1099455605bc01d35d9aa262a975a36bb8024b766846295c970ee4cb4 4960 node-p=
react_10.29.8-3.debian.tar.xz
Files:=20
 0b3084ec556b75987e7d70fce50b4e15 2130 javascript optional node-preact_10.29.=
8-3.dsc
 cfb9a3cfc889e2f5c5dba67eea18939e 4960 javascript optional node-preact_10.29.=
8-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmrF7+kACgkQ9tdMp8mZ
7umJQg//YuQ4CJDwiHx0pXb0WiM9QhpZNSHBzQ6reuIxx/8IcDnnGnYD53+g4RXO
VDZUz+KD9ZyDKSO6SSLuBt5WEuufwdCEN1d21/B1ZrPlF5bKGRTQoDkVB3y1krAJ
y7/gNyuyDbqT3O/u8r7bFMY+AKP+Pf1yBeFWj0HqcI80EUZ/moGAy3k2wnoKYHy9
yF0m9F5uyqyRjzfEqJYjmESv3I/7xnDwdYWf0450E+d3EinW6BRGmpulrfsuxUHa
oUS7Q0zdapN5tNGuY3JCxS0UuCqp8n6944V2aAfvMBUyxmN/zKOFBLZQcqlVq66I
KEvViaFQIrU+rfzP65FVbdyhW01B+LuvSGGhDqA/usHh8yFhcahNSKuoiVNqri7E
BDn9ccvb5tAqPgNf92Pj1bf0Ni60opYGcnNdRkHDRYm7ixxsVeouWA4f8x0GReW9
oiIQeE+rcuOZKqA8oJxvnYLaNlCShqbNavOK5a8xOHQZH3DpbytXfKuRCeGouU3c
bLfv7XSUaYwjIsuQ1E2TufcxghEKJfRPVLi6WpSdFl9rblqViAIwowBi2142s36A
EhK+44F3LoVigVLAKrBcCGiDsaQEyBhokQZoTyK7CzbYSM/75p5Bm8b73gyxRzuU
o8f7HZ7OfwEUEqNd/xyv7el4ivyJCKr9Mj3Su9pv4XlVzJx740I=3D
=3DncHA
-----END PGP SIGNATURE-----


--===============4318883176572518944==
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCasXyqQAKCRCb9qggYcy5
IQBOAQD5Ffeq+/3Qq7o8GkkUn1kpJ3lVUtW34wRwRF7rqG1yTgD/SQ14T3dJxT+p
un2LonnsmC5MRrGmXlsxTa0xuEA7wg8=
=LiLL
-----END PGP SIGNATURE-----

--===============4318883176572518944==--
------------=_1791358032-658746-0--
Technical Details
Message-ID: <NLug9-42lg-17@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NLug9-42lg-19@gated-at.bofh.it> <NKXay-3KUS-29@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: "Debian Bug Tracking System" <owner@bugs.debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1150123: marked as done (node-preact: FTBFS: TypeError: Mocha  is not a constructor)
Date: Wed, 07 Oct 2026 09:30:01 +0200
Message-ID: <NLug9-42lg-17@gated-at.bofh.it>
References: <NLug9-42lg-19@gated-at.bofh.it> <NKXay-3KUS-29@gated-at.bofh.it>
X-Original-To: Xavier Guimard <yadd@debian.org>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Wed Oct  7 07:27:21 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -2
MIME-Version: 1.0
X-Mailer: MIME-tools 5.510 (Entity 5.510)
X-Debian-Pr-Message: closed 1150123
X-Debian-Pr-Package: src:node-preact
X-Debian-Pr-Keywords: forky sid ftbfs
X-Debian-Pr-Source: node-preact
Reply-To: 1150123@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1791358032-658746-0"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/833750
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 298
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 07 Oct 2026 07:27:12 +0000
X-Original-Message-ID: <handler.1150123.D1150123.1791357610654053.ackdone@bugs.debian.org>
X-Original-References: <E1xELwf-00000006ndP-0qQw@fasolo.debian.org>
 <E1xDoyt-004Hnq-0r@paradis.debian.org>