[Pkg-javascript-devel] Bug#1058553: node-js-sdsl: FTBFS: TypeError: Cannot set property constructor of [object Object] which has only a getter

Lucas Nussbaum lucas at debian.org
Tue Dec 12 20:48:24 GMT 2023


Source: node-js-sdsl
Version: 4.1.4-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> 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


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/node-js-sdsl_4.1.4-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-javascript-devel mailing list