[Pkg-javascript-devel] Bug#1058552: science.js: FTBFS: SyntaxError: Error parsing /<<PKGBUILDDIR>>/package.json: Unexpected end of JSON input

Lucas Nussbaum lucas at debian.org
Tue Dec 12 20:52:59 GMT 2023


Source: science.js
Version: 1.9.3+dfsg-3
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[2]: Entering directory '/<<PKGBUILDDIR>>'
> cat src/core/core.js src/core/ascending.js src/core/constants.js src/core/expm1.js src/core/functor.js src/core/hypot.js src/core/quadratic.js src/core/zeroes.js >> science.core.js
> cat src/lin/lin.js src/lin/decompose.js src/lin/cross.js src/lin/dot.js src/lin/length.js src/lin/normalize.js src/lin/determinant.js src/lin/gaussjordan.js src/lin/inverse.js src/lin/multiply.js src/lin/transpose.js src/lin/tridag.js >> science.lin.js
> cat src/stats/stats.js src/stats/bandwidth.js src/stats/distance.js src/stats/erf.js src/stats/phi.js src/stats/kernel.js src/stats/kde.js src/stats/kmeans.js src/stats/hcluster.js src/stats/iqr.js src/stats/loess.js src/stats/mean.js src/stats/median.js src/stats/mode.js src/stats/quantiles.js src/stats/variance.js src/stats/distribution.js src/stats/distribution/gaussian.js >> science.stats.js
> cat science.core.js science.lin.js science.stats.js >> science.v1.js
> uglifyjs < science.v1.js > science.v1.min.js
> node src/package.js > package.json
> node:internal/modules/package_json_reader:92
>         throw error;
>         ^
> 
> SyntaxError: Error parsing /<<PKGBUILDDIR>>/package.json: Unexpected end of JSON input
>     at parse (<anonymous>)
>     at read (node:internal/modules/package_json_reader:79:16)
>     at readPackage (node:internal/modules/package_json_reader:140:10)
>     at readPackageScope (node:internal/modules/package_json_reader:157:19)
>     at shouldUseESMLoader (node:internal/modules/run_main:77:15)
>     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:122:24)
>     at node:internal/main/run_main_module:28:49 {
>   path: '/<<PKGBUILDDIR>>/package.json'
> }
> 
> Node.js v18.19.0
> make[2]: *** [Makefile:80: package.json] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/science.js_1.9.3+dfsg-3_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