#1144596 node-mem: FTBFS with node-typescript 6

#1144596#5
Date:
2026-08-16 23:02:43 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/202608/

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-mem, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
	rm -rf ./node_modules/.cache ./.nyc_output
	rm -rf map-age-cleaner/node_modules/.cache map-age-cleaner/.nyc_output
	rm -rf p-defer/node_modules/.cache p-defer/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/mimic-fn
unlink ./node_modules/serialize-javascript
unlink ./node_modules/tape
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/tape
Trying to remove ./node_modules/@types
rm map-age-cleaner/node_modules/.cache
rm p-defer/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/mimic-fn
unlink ./node_modules/serialize-javascript
unlink ./node_modules/tape
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/@types/tape
Trying to remove ./node_modules/@types
unlink node_modules/map-age-cleaner
unlink node_modules/p-defer
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/mimic-fn -> /usr/share/nodejs/mimic-fn
Link ./node_modules/serialize-javascript -> /usr/share/nodejs/serialize-javascript
Link ./node_modules/tape -> /usr/share/nodejs/tape
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/@types/tape -> /usr/share/nodejs/@types/tape
Link node_modules/map-age-cleaner -> ../map-age-cleaner
Link node_modules/p-defer -> ../p-defer
Link node_modules/@sindresorhus/tsconfig -> ../../debian/build_modules/@sindresorhus/tsconfig
Link node_modules/@types/serialize-javascript -> ../../debian/build_modules/@types/serialize-javascript
Link node_modules/delay -> ../debian/build_modules/delay
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/p-defer/build
	cd ./p-defer && sh -ex ../debian/nodejs/p-defer/build
+ mjs2cjs -a index.js
Not found
xo not found in nodejs directories
Not found
ava not found in nodejs directories
Not found
tsd not found in nodejs directories

index.js → ./dhnodejsBundle.cjs...
created ./dhnodejsBundle.cjs in 27ms
Found debian/nodejs/map-age-cleaner/build
	cd ./map-age-cleaner && sh -ex ../debian/nodejs/map-age-cleaner/build
+ tsc
tsconfig.json:3:3 - error TS5011: The common source directory of 'tsconfig.json' is './source'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.
  Visit https://aka.ms/ts6 for migration information.

3   "outDir": "dist",
    ~~~~~~~~

tsconfig.json:9:23 - error TS5107: Option 'moduleResolution=node10' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error.
  Visit https://aka.ms/ts6 for migration information.

9   "moduleResolution": "node",
                        ~~~~~~


Found 2 errors in the same file, starting at: tsconfig.json:3

dh_auto_build: error: cd ./map-age-cleaner && sh -ex ../debian/nodejs/map-age-cleaner/build returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1144596#8
Date:
2026-08-17 10:17:58 UTC
From:
To:
Hello,

Bug #1144596 in node-mem 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-mem/-/commit/827a1d23e94c3039610146db6784a3adbfcde420
------------------------------------------------------------------------
Fix FTBFS with TypeScript 6 in the map-age-cleaner component

Closes: #1144596
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144596

#1144596#15
Date:
2026-08-17 10:34:44 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-mem, 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 1144596@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-mem 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, 17 Aug 2026 11:56:48 +0200
Source: node-mem
Architecture: source
Version: 9.0.2+~cs4.2.0-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1144596
Changes:
 node-mem (9.0.2+~cs4.2.0-5) unstable; urgency=medium
 .
   * Team upload
   * Declare compliance with policy 4.7.4
   * Apply multiarch hints from UDD
   * debian/watch version 5
   * Fix FTBFS with TypeScript 6 in the map-age-cleaner component
     (Closes: #1144596)
Checksums-Sha1:
 62677125482851298a1da895036e3f395cacf1ca 2783 node-mem_9.0.2+~cs4.2.0-5.dsc
 703366664c871d1deab1f4a85d942de98f7cca48 10048 node-mem_9.0.2+~cs4.2.0-5.debian.tar.xz
Checksums-Sha256:
 d8a7e81b7193c7758516eaac49937d845c0488e665a3b569a1cd7669ad214314 2783 node-mem_9.0.2+~cs4.2.0-5.dsc
 a9b7fe4bfd92867e99eab0b39da1218e1c80c8337d036c72a104f17faa79b853 10048 node-mem_9.0.2+~cs4.2.0-5.debian.tar.xz
Files:
 1c06f7564514321ac1865a3f3cf04d9b 2783 javascript optional node-mem_9.0.2+~cs4.2.0-5.dsc
 1e5b20aaad9dbe521a715404a852a34d 10048 javascript optional node-mem_9.0.2+~cs4.2.0-5.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqC374ACgkQ9tdMp8mZ
7ulsXg/8Ct0BFN5lvRcX5v0FVWb8G/d7DTCi6D/hG0y+xMFGH0pX32f8w+OLrdZJ
sYnCJePGPpFD/NkSAUOQkL8n/Qx6g+4q38auZpr1gxw7pCuRxTSh6fCGmWb83uKg
SJyu+o14nY9PIZ09wTa5803jy485tNtiq+RBQTKmzvcl1RZ4k20k3zU0BTuehnqh
lXf6zAGOb9B0UHhl+BEsm6BNjmmVtpMqUERBbF78mztINgRzk4RYt8je6aSYJaY5
rbil4goEaYCAByS7H9fmIf95RtDFRI9atihHpP9dd7pfwL2pB5RycGvWY/YxCTcc
OE4PLQPfROM/Z35ICCJJ/kh/RGQe1bj0W/iFSUKRLixWZ8osAtLu1+p0KS5kiXqJ
n/xFO6d0jRSeOvRNLM3QCMJFJP3aK2632krXD430wwJ7MXnYm4ZHBaxtyXGx8ty9
LKCAVIq/23Ga+79iGxxIv/nIjOx7bC+LLBOCuFczLL+qDq6IbFcWZ58v818ucp9L
GY5a3xQx2Sr+NyVIi9o8Gz76KgdBFgTzqvrGTDZ6rVSTRzXmoGz0rEvMBQn9q9sS
q4hhrMn5SpOuGw9hRecrfbESlL/X9OUOgNkSZ+YfSzF8ZB7dCgo2tgpBIckCZOHf
Kluld5yL68osoRRNRQXndCpBr/kuIwfv+MYMoH/2d01U71lHMzs=
=FmPf
-----END PGP SIGNATURE-----