#1144624 node-quickjs-emscripten: FTBFS: error TS5011: The common source directory of 'tsconfig.json' is '../../../usr/share/nodejs/fs-extra/lib'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout.

#1144624#5
Date:
2026-08-17 09:18:20 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-quickjs-emscripten, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
   dh_auto_configure --buildsystem=nodejs
/!\ quickjs/package.json not found
/!\ quickjs/package.json not found
Unable to load quickjs
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/@types/fs-extra -> /usr/share/nodejs/@types/fs-extra
Link ./node_modules/@types/mocha -> /usr/share/nodejs/@types/mocha
Link ./node_modules/ts-node -> /usr/share/nodejs/ts-node
/!\ quickjs/package.json not found
Unable to load quickjs
Link ./node_modules/source-map-support -> /usr/share/nodejs/source-map-support
   dh_auto_build --buildsystem=nodejs
/!\ quickjs/package.json not found
/!\ quickjs/package.json not found
Unable to load quickjs
Found debian/nodejs/./build
	cd ./. && sh -ex debian/nodejs/./build
+ mkdir -p ts/generated/
+ make dist
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[2]: Entering directory '/<<PKGBUILDDIR>>'

=====[[ target: build/wrapper/symbols.json, deps: , variant: WASM_RELEASE_SYNC ]]=====
ts-node generate.ts symbols build/wrapper/symbols.json
/usr/share/nodejs/ts-node/src/index.ts:865
    return new TSError(diagnosticText, diagnosticCodes, diagnostics);
           ^
TSError: ⨯ Unable to compile TypeScript:
error TS5011: The common source directory of 'tsconfig.json' is '../../../usr/share/nodejs/fs-extra/lib'. 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.
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.

    at createTSError (/usr/share/nodejs/ts-node/src/index.ts:865:12)
    at reportTSError (/usr/share/nodejs/ts-node/src/index.ts:869:19)
    at /usr/share/nodejs/ts-node/src/index.ts:1385:34
    at Object.compile (/usr/share/nodejs/ts-node/src/index.ts:1464:13)
    at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1623:30)
    at node:internal/modules/cjs/loader:2003:10
    at Object.require.extensions.<computed> [as .js] (/usr/share/nodejs/ts-node/src/index.ts:1627:12)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) {
  diagnosticCodes: [ 5011, 5107 ]
}
make[2]: *** [Makefile:247: build/wrapper/symbols.json] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:185: WASM_RELEASE_SYNC] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: cd ./. && sh -ex debian/nodejs/./build returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1144624#8
Date:
2026-08-17 10:48:54 UTC
From:
To:
Hello,

Bug #1144624 in node-quickjs-emscripten 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-quickjs-emscripten/-/commit/08c63504d20b49268974e3ee61e9af035f3378ae
------------------------------------------------------------------------
Fix FTBFS with TypeScript 6

Closes: #1144624
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1144624

#1144624#15
Date:
2026-08-17 11:04:36 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-quickjs-emscripten, 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 1144624@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-quickjs-emscripten 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 12:44:20 +0200
Source: node-quickjs-emscripten
Architecture: source
Version: 0.23.0+dfsg-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1144624
Changes:
 node-quickjs-emscripten (0.23.0+dfsg-8) unstable; urgency=medium
 .
   * Team upload
   * Fix FTBFS with TypeScript 6: pin the ts-node rootDir (Closes: #1144624)
Checksums-Sha1:
 012f469ae499f156e289e7b325795752130e13c8 2694 node-quickjs-emscripten_0.23.0+dfsg-8.dsc
 e543a770347510c1833cbd0c68f2ea67a82d56f7 10440 node-quickjs-emscripten_0.23.0+dfsg-8.debian.tar.xz
Checksums-Sha256:
 e3f6df10a4806f1a443c09be805cb0d61c41dbb5fb4d1d53de2dda14696265ac 2694 node-quickjs-emscripten_0.23.0+dfsg-8.dsc
 86311abdb91535406507f89e3a07e25ee6a30ad9af06159eacca5058f564c48d 10440 node-quickjs-emscripten_0.23.0+dfsg-8.debian.tar.xz
Files:
 9fa2f5ac1985589c32cd504d2845cacc 2694 javascript optional node-quickjs-emscripten_0.23.0+dfsg-8.dsc
 2cdd0fbc5c567c041c185cddc22f27d9 10440 javascript optional node-quickjs-emscripten_0.23.0+dfsg-8.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqC5wEACgkQ9tdMp8mZ
7ul1TQ//cB5RpVXBzJgWWd89NSGfYLCkdu+TA4mBSzjH6K6ccoCCTBjXQsP3ArNR
WHSm9RuOAm+zfEX1qcOhrmMkLEkDqcF/bBh1BLh88ZSeeC9hLrcfWDEd/derONZM
nykCFDY2dMPustj4ehbNTtNxCZYyyjd7CbQNyBpqtQm+9AtuCkYnvVFAlPh2HVhq
NvYsfY4mIQMOVb4a8FiTexG25onMxiD9v7mIFXMXN/8WGMTUjYPSSLGE4V4yWOz8
ftLZnU0s7gZx0+q5nEkaPOYyLbohmDpkNiLjP6t9q3/BDgeaCtQ4J0PrDmPZAMH9
4nWHdYKphBaOZSD56mknHaeu3WBJZr/tSy5xC6rvWc52KnYVhq/ZPlPr94tHHXXK
3pU//MDaGshNuMarB3MwkADiscPYiLREMl6FwaXkDZchAtKqgiI47dIm++Td9YOZ
S3KYFIFVICQZqfQ2WNIqlYnySdGxkvFzkObJbbakqX5KOp+dlwcOdIvrasfdFXWm
M9AqSt0hMPKNHFAwz19WpMwTTlkplHOUVuRL9XFxw8/JeSL46jqNNoq5Z3Fjz40C
r7jmBvKadUdzDg/sQeVcIutBWiJzLNmzx7/h0NQ36zVVVcoZSjy5ebJs73+PkZQE
VVyb2heiJUNtdKYxGr3lEyottoNkkSuWIm6sCyRB+XUCI1uyvPY=
=k8xg
-----END PGP SIGNATURE-----