[Pkg-javascript-devel] Bug#1078889: node-js-sdsl: FTBFS: TypeError: Cannot set property constructor of [object Object] which has only a getter
Santiago Vila
sanvila at debian.org
Sat Aug 17 14:40:08 BST 2024
Package: src:node-js-sdsl
Version: 4.1.4-2
Severity: serious
Control: close -1 4.1.4-3
Tags: ftbfs bookworm
Dear maintainer:
During a rebuild of all packages in bookworm, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure --buildsystem=nodejs
Link ./node_modules/ts-jest -> /usr/share/nodejs/ts-jest
Link ./node_modules/typescript -> /usr/share/nodejs/typescript
Link ./node_modules/@types/jest -> /usr/share/nodejs/@types/jest
Link ./node_modules/@types/node -> /usr/share/nodejs/@types/node
Link node_modules/ts-transform-paths -> ../debian/build_modules/ts-transform-paths
Link node_modules/ttypescript -> ../debian/build_modules/ttypescript
debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
debian/build_modules/ttypescript/bin/tsc src/index.ts --downlevelIteration --declaration --module commonjs --target es5 --outDir dist/cjs
/<<PKGBUILDDIR>>/debian/build_modules/ttypescript/lib/loadTypescript.js:13
function __() { this.constructor = d; }
^
TypeError: Cannot set property constructor of [object Object] which has only a getter
at new __ (/<<PKGBUILDDIR>>/debian/build_modules/ttypescript/lib/loadTypescript.js:13:42)
at __extends (/<<PKGBUILDDIR>>/debian/build_modules/ttypescript/lib/loadTypescript.js:14:84)
at /<<PKGBUILDDIR>>/debian/build_modules/ttypescript/lib/loadTypescript.js:65:5
at Object.<anonymous> (/<<PKGBUILDDIR>>/debian/build_modules/ttypescript/lib/loadTypescript.js:100:2)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
Node.js v18.19.0
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/bookworm/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.
More information about the Pkg-javascript-devel
mailing list