[From nobody Sun Apr 19 06:35:06 2026
Received: (at submit) by bugs.debian.org; 18 Apr 2026 17:32:14 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-120.6 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
 PP_MIME_FAKE_ASCII_TEXT,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,
 USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 49; hammy, 150; neutral, 96; spammy,
 0. spammytokens: hammytokens:0.000-+--forky, 0.000-+--H*F:U*sanvila,
 0.000-+--H*rp:U*sanvila, 0.000-+--HTo:N*Debian, 0.000-+--sk:dh_auto
Return-path: &lt;sanvila@debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:60454)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wE9Wg-00HGQH-0l
 for submit@bugs.debian.org; Sat, 18 Apr 2026 17:32:14 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mitropoulos.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wE9We-008Uyh-23
 for submit@bugs.debian.org; Sat, 18 Apr 2026 17:32:12 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=eY6o5z0k272ccmhh/KuA5vH0aPZVCQ0+FPGf63KndYA=; b=bNPzoqEAnp3cdGLvuLXBTLE0Re
 pzYSDscQgv3rDwd3xlWvvqMI5d7FEVUUPdCNsBPkQY3Noi9ffHlVe6wUMlye05VY4d8ErYMhthjpm
 G+MoCRhVSctpIJvinob4WdjsASsr1/hahSI2uKJtgSVn7YWog7cUddYtL7TWZEHPrBDz+VBTMZkDy
 yTtGhvQ1mIy+Xc6PQNIWt0BB7PBKEBioqhOHiPL4opJL7K2ldWqNfgIP9uwjlBUgA2oBVjeFJbZSb
 3L6VQgu6aibaFYmSzHR10MVm1/mdz7adHujtUh6SERtOls3jmN8uBPjYzwQ0rkTL+ulHI9EKzZeRj
 cc33aSDg==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wE9Wd-00EB66-0A
 for submit@bugs.debian.org; Sat, 18 Apr 2026 17:32:11 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: node-miragejs: FTBFS: Error: Unexpected token (Note that you need
 plugins to import files that are not JavaScript)
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1wE9Wd-00EB66-0A@paradis.debian.org&gt;
Date: Sat, 18 Apr 2026 17:32:11 +0000
Delivered-To: submit@bugs.debian.org

Package: src:node-miragejs
Version: 0.1.46+~cs5.6.11-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202604/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot 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 add an affects on src:node-miragejs, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean --buildsystem=nodejs
	rm -rf ./node_modules/.cache ./.nyc_output
	rm -rf fake-xml-http-request/node_modules/.cache fake-xml-http-request/.nyc_output
	rm -rf miragejs-pretender-node-polyfill/node_modules/.cache miragejs-pretender-node-polyfill/.nyc_output
	rm -rf pretender/node_modules/.cache pretender/.nyc_output
rm ./node_modules/.cache
rm fake-xml-http-request/node_modules/.cache
rm miragejs-pretender-node-polyfill/node_modules/.cache
rm pretender/node_modules/.cache
rm ./node_modules/.cache
unlink node_modules/fake-xml-http-request
unlink node_modules/@miragejs/pretender-node-polyfill
unlink node_modules/pretender
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link node_modules/fake-xml-http-request -&gt; ../fake-xml-http-request
Link node_modules/@miragejs/pretender-node-polyfill -&gt; ../../miragejs-pretender-node-polyfill
Link node_modules/pretender -&gt; ../pretender
   dh_auto_build --buildsystem=nodejs
Found debian/nodejs/pretender/build
	cd ./pretender &amp;&amp; sh -ex ../debian/nodejs/pretender/build
+ mkdir -p node_modules
+ cp -a /usr/share/nodejs/whatwg-fetch node_modules/
+ rollup -c
[36m
[1msrc/index.ts[22m → [1m./dist/pretender.js, ./dist/pretender.es.js[22m...[39m
[1m[31m[!] [1mRollupError: Unexpected token (Note that you need plugins to import files that are not JavaScript)[22m[1m[39m[22m
src/parse-url.ts (19:36)
[2m17:  * }
18:  */
19: export default function parseURL(url: string) {
                                        ^
20:   let parsedUrl = new urlParse(url);[22m
[2m    at error (/usr/share/nodejs/rollup/dist/shared/rollup.js:321:30)
    at Module.error (/usr/share/nodejs/rollup/dist/shared/rollup.js:15310:16)
    at Module.tryParse (/usr/share/nodejs/rollup/dist/shared/rollup.js:16041:25)
    at Module.setSource (/usr/share/nodejs/rollup/dist/shared/rollup.js:15642:39)
    at ModuleLoader.addModuleSource (/usr/share/nodejs/rollup/dist/shared/rollup.js:26213:20)[22m


dh_auto_build: error: cd ./pretender &amp;&amp; sh -ex ../debian/nodejs/pretender/build returned exit code 1
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]