[Pkg-javascript-devel] Bug#1135427: node-glob: FTBFS: error TS2349: This expression is not callable.
Santiago Vila
sanvila at debian.org
Sat May 2 00:13:22 BST 2026
Package: src:node-glob
Version: 10.3.6+~cs0.4.15-8
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/202605/
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-glob, 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 globalyzer/node_modules/.cache globalyzer/.nyc_output
rm -rf globrex/node_modules/.cache globrex/.nyc_output
rm -rf tiny-glob/node_modules/.cache tiny-glob/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/minimatch
unlink ./node_modules/path-scurry
unlink ./node_modules/minipass
unlink ./node_modules/ts-node
unlink ./node_modules/tap
unlink ./node_modules/mkdirp
unlink ./node_modules/@types/tap
Trying to remove ./node_modules/@types
unlink ./node_modules/memfs
rm globalyzer/node_modules/.cache
rm globrex/node_modules/.cache
rm tiny-glob/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/@types/node
Trying to remove ./node_modules/@types
unlink ./node_modules/minimatch
unlink ./node_modules/path-scurry
unlink ./node_modules/minipass
unlink ./node_modules/ts-node
unlink ./node_modules/tap
unlink ./node_modules/mkdirp
unlink ./node_modules/@types/tap
Trying to remove ./node_modules/@types
unlink ./node_modules/memfs
unlink node_modules/globalyzer
unlink node_modules/globrex
unlink node_modules/tiny-glob
dh_clean
debian/rules execute_after_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf dist
rm -rf deleteme
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link ./node_modules/minimatch -> /usr/share/nodejs/minimatch
Link ./node_modules/path-scurry -> /usr/share/nodejs/path-scurry
Link ./node_modules/minipass -> /usr/share/nodejs/minipass
Link ./node_modules/ts-node -> /usr/share/nodejs/ts-node
Link ./node_modules/tap -> /usr/share/nodejs/tap
Link ./node_modules/mkdirp -> /usr/share/nodejs/mkdirp
Link ./node_modules/@types/tap -> /usr/share/nodejs/@types/tap
Link ./node_modules/memfs -> /usr/share/nodejs/memfs
Link node_modules/globalyzer -> ../globalyzer
Link node_modules/globrex -> ../globrex
Link node_modules/tiny-glob -> ../tiny-glob
debian/rules execute_before_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f src/bin.ts
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build --buildsystem=nodejs
No build command found, searching known files
No build command found, searching known files
No build command found, searching known files
Found debian/nodejs/./build
cd ./. && sh -ex debian/nodejs/./build
+ tsc -p tsconfig/cjs.json
+ tsc -p tsconfig/esm.json
+ bash fixup.sh
dh_auto_test --buildsystem=nodejs
ln -s ../. node_modules/glob
/bin/sh -ex debian/tests/pkg-js/test
+ rm -f test/bin.ts
+ tap -R spec --no-cov --before test/00-setup.ts --node-arg=-r --node-arg=ts-node/register test/00-setup.ts test/absolute-must-be-strings.ts test/absolute.ts test/bash-comparison.ts test/bash-results.ts test/broken-symlink.ts test/custom-fs.ts test/custom-ignore.ts test/cwd-noent.ts test/cwd-test.ts test/dot-relative.ts test/empty-set.ts test/escape.ts test/follow.ts test/has-magic.ts test/ignore.ts test/mark.ts test/match-base.ts test/match-parent.ts test/match-root.ts test/max-depth.ts test/memfs.ts test/nocase-magic-only.ts test/nodir.ts test/pattern.ts test/platform.ts test/progra-tilde.ts test/readme-issue.ts test/realpath.ts test/root.ts test/signal.ts test/slash-cwd.ts test/stat.ts test/stream.ts test/url-cwd.ts test/windows-paths-fs.ts test/windows-paths-no-escape.ts
/usr/share/nodejs/ts-node/src/index.ts:865
return new TSError(diagnosticText, diagnosticCodes, diagnostics);
^
TSError: ⨯ Unable to compile TypeScript:
test/00-setup.ts(38,11): error TS2349: This expression is not callable.
Type 'typeof import("/usr/share/nodejs/mkdirp/dist/mjs/index")' has no call signatures.
test/00-setup.ts(46,11): error TS2349: This expression is not callable.
Type 'typeof import("/usr/share/nodejs/mkdirp/dist/mjs/index")' has no call signatures.
test/00-setup.ts(56,11): error TS2349: This expression is not callable.
Type 'typeof import("/usr/share/nodejs/mkdirp/dist/mjs/index")' has no call signatures.
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 getOutput (/usr/share/nodejs/ts-node/src/index.ts:1083:36)
at Object.compile (/usr/share/nodejs/ts-node/src/index.ts:1439:41)
at Module.m._compile (/usr/share/nodejs/ts-node/src/index.ts:1623:30)
at Module._extensions..js (node:internal/modules/cjs/loader:1961:10)
at Object.require.extensions.<computed> [as .ts] (/usr/share/nodejs/ts-node/src/index.ts:1627:12)
at Module.load (node:internal/modules/cjs/loader:1553:32)
at Module._load (node:internal/modules/cjs/loader:1355:12)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) {
diagnosticCodes: [ 2349, 2349, 2349 ]
}
# failed test/00-setup.ts
# code=1 signal=null
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the Pkg-javascript-devel
mailing list