#1150090 node-webfont: FTBFS: Error: Cannot find module 'he'

#1150090#5
Date:
2026-10-05 16:40:57 UTC
From:
To:
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-webfont, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
Adding component(s): is-ttf
Adding component(s): fast-xml-parser
	ln -s ../. node_modules/webfont
	cd ./fast-xml-parser && sh -ex ../debian/nodejs/fast-xml-parser/test
+ jasmine spec/arrayMode_spec.js spec/arrayWithExtendedPrototypeProps_spec.js spec/attr_spec.js spec/cdata_spec.js spec/data_spec.js spec/j2x_spec.js spec/large_spec.js spec/stopNodes_spec.js spec/validator_spec.js spec/validator_utf8_with_BOM_spec.js spec/valueProcessors_spec.js spec/x2j_str_spec.js spec/x_cyrillic_2j_str_spec.js spec/xmlParser_spec.js
Error: Cannot find module 'he'
Require stack:
- /<<PKGBUILDDIR>>/fast-xml-parser/spec/attr_spec.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1564:15)
    at wrapResolveFilename (node:internal/modules/cjs/loader:1118:27)
    at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1142:10)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1169:12)
    at Module._load (node:internal/modules/cjs/loader:1341:5)
    at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
    at Module.require (node:internal/modules/cjs/loader:1674:12)
    at require (node:internal/modules/helpers:157:16)
    at Object.<anonymous> (/<<PKGBUILDDIR>>/fast-xml-parser/spec/attr_spec.js:5:12)
    at Module._compile (node:internal/modules/cjs/loader:1929:14) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/<<PKGBUILDDIR>>/fast-xml-parser/spec/attr_spec.js'
  ]
}
dh_auto_test: error: cd ./fast-xml-parser && sh -ex ../debian/nodejs/fast-xml-parser/test returned exit code 1
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1150090#8
Date:
2026-10-05 18:43:26 UTC
From:
To:
Hello,

Bug #1150090 in node-webfont reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/js-team/node-webfont/-/commit/e7a8d05f9b4e04cc5f50cf5bac8034c374d716d3

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1150090

#1150090#15
Date:
2026-10-05 19:06:04 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-webfont, 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 1150090@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-webfont 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: Mon, 05 Oct 2026 19:37:13 +0200
Source: node-webfont
Architecture: source
Version: 11.4.0+dfsg2+~cs35.7.26-22
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1150090
Changes:
 node-webfont (11.4.0+dfsg2+~cs35.7.26-22) unstable; urgency=medium
 .
   * Team upload
   * Add node-he to build dependencies (Closes: #1150090)
   * Allow duplicate suite names in fast-xml-parser tests (jasmine 7)
Checksums-Sha1:
 cc5b81fa5046f47b72fd395bf2ca02800c103cfa 8549 node-webfont_11.4.0+dfsg2+~cs35.7.26-22.dsc
 7616c60de7cf88a8271136b07c2a66a915977d5a 21988 node-webfont_11.4.0+dfsg2+~cs35.7.26-22.debian.tar.xz
Checksums-Sha256:
 20fce85eab7f40ee10a0b0a6656f0d0e05d18e2bccabee7c50e8962259b37bc4 8549 node-webfont_11.4.0+dfsg2+~cs35.7.26-22.dsc
 55aa50e5297e1e99644ffc9b86edfa90acbd5d45e1aacb97b8be4ab20c94eea1 21988 node-webfont_11.4.0+dfsg2+~cs35.7.26-22.debian.tar.xz
Files:
 e9a6c45550ab7948e5cdd12039c8ae36 8549 javascript optional node-webfont_11.4.0+dfsg2+~cs35.7.26-22.dsc
 f68fcd559b6e77cf008df02db80d1fc8 21988 javascript optional node-webfont_11.4.0+dfsg2+~cs35.7.26-22.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmrD75cACgkQ9tdMp8mZ
7ukBTA/+LWPs7oLCxng/EzSvguO7J0WQb9KHv+P9zZK7djPQzUG/Gy6kjcyfkDua
UU8erQbeePBKqgWiYGtbQ4TuXj/9yEWXDAD6rlJzbZxB0j00iY+bSD+Val5X9+Xx
nO8sFIT8VoGAeIKsQynS7rVkfBRtKWzugRK7yr9PBxw32KxE+TluwpT+ZxOX4UZN
IgEFC+8IHyRaEIk0SnoGizDNj9a75bP/rBBKdjcdVm1XyYfQEjCteuekOY1xL6xQ
DUBi9nuua4oaIrJtcb8Rt/6uFCUmFqoTwOeMR682hNi+vLFhyAtZgMTHe/M5tKZy
YnwG7KZs062/9uxT7E3w3TjM6aucSh/Ue7rP5il0cIHR3jBBBfcWofmlCEUxWQtf
SY8VKP1hKoa1OpyiwS8asRnmBYSLdGrByVF3uMVD3fohUJKmG+kFTmlXcRPcpEAs
ZMbNJX/3yN1Jd4oderGcSK27kihh/tsOQs7abgCGkmh6vc+cc6RLx8dbcJVdM6Ap
b4zZfIO6bREZQYy7/Fs4gEfbharDmf+iOEcOAo0aXagKH82FvS1e/aq8DO/EBgL/
U9i/zwU4d2FgLcWHuO4KN6TARHxBMRfai/ZpEhrW6ZTaDpMaOLTxgejF4TY3Obrl
Mpo5B2K35926rBSc4joLW1F3QJHGLQkbKgh0U194RKvAq6Sl+AQ=
=y1qf
-----END PGP SIGNATURE-----