[From nobody Sat May 23 11:21:08 2026
Received: (at submit) by bugs.debian.org; 17 Aug 2024 13:41:19 +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=-116.2 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
 autolearn=ham autolearn_force=no
 version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 137; hammy, 150; neutral, 133; 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;sanvila@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:41494)
 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;sanvila@debian.org&gt;)
 id 1sfJgF-008O2i-BH
 for submit@bugs.debian.org; Sat, 17 Aug 2024 13:41:19 +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-Transfer-Encoding:Content-Type
 :To:Subject:From:MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=Dpz0EGXaadKbLX1A4U1H8DkiYLFWmJMMOaMauBZQoZY=; b=pGHWe1EjucCtsELpsnCvX8wQsr
 fVIx2dVcpnF7JdpQmn2eG/Jwmr6Lwb4U6x/fY4rNuAb3kPerWHoukbCghMkFPdOzIRTSQNffUOWyE
 LTmEyjLcagQf9sS4fzFkTAEfak9VVNztvKMIplQu++9eW7he8ImFLY1yG5FKKnO1bFRBPWAo4cCYJ
 FtVGhYwP5/InTeFfcGNn9JdPNfdTTe5oFqqcKdQWaiBMG9uy2HPhyiRU014yf8Y11U0MvYM4dFKjB
 zYk2XfqYtrvuMZOUGL2PA/udXxw6eVgR3ZwWXLPdODFAL+N6y6RWNlq4PsnIK4oZwYFZrHs2lWa9q
 4fty1/BQ==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128)
 (Exim 4.94.2) (envelope-from &lt;sanvila@debian.org&gt;)
 id 1sfJgE-003IYo-MT
 for submit@bugs.debian.org; Sat, 17 Aug 2024 13:41:17 +0000
Message-ID: &lt;1f276cd2-d9fd-4fd9-91eb-471c3fe08cf3@debian.org&gt;
Date: Sat, 17 Aug 2024 15:41:16 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Santiago Vila &lt;sanvila@debian.org&gt;
Subject: science.js: FTBFS: Error parsing /&lt;&lt;PKGBUILDDIR&gt;&gt;/package.json:
 Unexpected end of JSON input
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Content-Language: en-US
X-Debbugs-Cc: sanvila@debian.org
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Debian-User: sanvila
Delivered-To: submit@bugs.debian.org

Package: src:science.js
Version: 1.9.3+dfsg-3
Severity: serious
Control: close -1 1.9.3+dfsg-4
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
/!\ ./package.json not found
    debian/rules override_dh_auto_build
make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make JS_COMPILER=uglifyjs
make[2]: Entering directory '/&lt;&lt;PKGBUILDDIR&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
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
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
cat science.core.js science.lin.js science.stats.js &gt;&gt; science.v1.js
uglifyjs &lt; science.v1.js &gt; science.v1.min.js
node src/package.js &gt; package.json
node:internal/modules/package_json_reader:92
         throw error;
         ^

SyntaxError: Error parsing /&lt;&lt;PKGBUILDDIR&gt;&gt;/package.json: Unexpected end of JSON input
     at parse (&lt;anonymous&gt;)
     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: '/&lt;&lt;PKGBUILDDIR&gt;&gt;/package.json'
}

Node.js v18.19.0
make[2]: *** [Makefile:80: package.json] Error 1
rm science.lin.js science.stats.js science.core.js
make[2]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make[1]: *** [debian/rules:11: override_dh_auto_build] Error 2
make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make: *** [debian/rules:8: 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.
]