[From nobody Sat May 23 11:21:06 2026
Received: (at submit) by bugs.debian.org; 12 Dec 2023 20:53:23 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
 (2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-105.1 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
 FROMDEVELOPER,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,
 UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
 autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 131; hammy, 150; neutral, 148; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;lucas@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:40790)
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=stravinsky.debian.org, EMAIL=hostmaster@stravinsky.debian.org (verified)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;lucas@debian.org&gt;) id 1rD9kp-00BYba-CV
 for submit@bugs.debian.org; Tue, 12 Dec 2023 20:53:23 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=K6+XtOWvVxFVvNMyXE+8XOplBeOxBBjPR/OnZl5c8EY=; b=bjlqoHNQFNnsbdkqvVNzziua71
 v8Jy1ZwDdgiyUQtqxMCmch5t9e83dt4RIMQ0LHweyZHE06TP4t2oaeWPokWrqriFIhX1TDd9UkT2E
 NnPk1xeatqzJsRQH+K6ZTZ+VA1LeRWj4AYuNhCY36xuFRx5PGXU4G5cCptNtb1xAxtfAoU39/KrpA
 uyMgcQpHZvVBhPZZZGZWGBqvC1hrFOsds0O/8m75nDPbmjCrwkQ2IAzHPfFlkcF6JVXXdkoJk/jRp
 12z5RlZfOW3cAf7PXf0HWALXMX8QyE/kjZ8lOXxUZx34XLqexvkVhdWDFyXTY5eL576MQLEjOtZg4
 arw0kBzg==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.94.2) (envelope-from &lt;lucas@debian.org&gt;) id 1rD9km-006CYC-11
 for submit@bugs.debian.org; Tue, 12 Dec 2023 20:53:21 +0000
Date: Tue, 12 Dec 2023 21:52:59 +0100
From: Lucas Nussbaum &lt;lucas@debian.org&gt;
To: submit@bugs.debian.org
Subject: science.js: FTBFS: SyntaxError: Error parsing
 /&lt;&lt;PKGBUILDDIR&gt;&gt;/package.json: Unexpected end of JSON input
Message-ID: &lt;ZXjIKwm9cQacTogm@grub.nussbaum.fr&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-User: lucas
Delivered-To: submit@bugs.debian.org

Source: science.js
Version: 1.9.3+dfsg-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@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):
&gt; make[2]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
&gt; 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 &gt;&gt; science.core.js
&gt; 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 &gt;&gt; science.lin.js
&gt; 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 &gt;&gt; science.stats.js
&gt; cat science.core.js science.lin.js science.stats.js &gt;&gt; science.v1.js
&gt; uglifyjs &lt; science.v1.js &gt; science.v1.min.js
&gt; node src/package.js &gt; package.json
&gt; node:internal/modules/package_json_reader:92
&gt;         throw error;
&gt;         ^
&gt; 
&gt; SyntaxError: Error parsing /&lt;&lt;PKGBUILDDIR&gt;&gt;/package.json: Unexpected end of JSON input
&gt;     at parse (&lt;anonymous&gt;)
&gt;     at read (node:internal/modules/package_json_reader:79:16)
&gt;     at readPackage (node:internal/modules/package_json_reader:140:10)
&gt;     at readPackageScope (node:internal/modules/package_json_reader:157:19)
&gt;     at shouldUseESMLoader (node:internal/modules/run_main:77:15)
&gt;     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:122:24)
&gt;     at node:internal/main/run_main_module:28:49 {
&gt;   path: '/&lt;&lt;PKGBUILDDIR&gt;&gt;/package.json'
&gt; }
&gt; 
&gt; Node.js v18.19.0
&gt; 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&amp;merged=ign&amp;fnewerval=7&amp;flastmodval=7&amp;fusertag=only&amp;fusertagtag=ftbfs-20231212&amp;fusertaguser=lucas@debian.org&amp;allbugs=1&amp;cseverity=1&amp;ctags=1&amp;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.
]