[From nobody Sun Apr 19 07:07:08 2026
Received: (at submit) by bugs.debian.org; 18 Apr 2026 17:32:17 +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=-121.6 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 PP_MIME_FAKE_ASCII_TEXT,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, 44; hammy, 150; neutral, 189; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--forky, 0.000-+--H*F:U*sanvila,
 0.000-+--H*rp:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:40046)
 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 1wE9Wj-00HGRk-0w
 for submit@bugs.debian.org; Sat, 18 Apr 2026 17:32:17 +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 muffat.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 1wE9Wj-0088SS-0h
 for submit@bugs.debian.org; Sat, 18 Apr 2026 17:32:17 +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=STW+j48mru2YHkxz+Y1Qm/hXMKCLJnYE3DBKMPHtXlQ=; b=NJIyCmEl2MjYJqptDs5763revM
 T0Tg/VlNwJChVWusXLxUkHFMG7bTZ4zvX6SLPzAYWJow0Fe10gzG/iX6qP6zx96uqhlzZvgSomjjG
 SfcH1DyM3nZBuU2v25q9cTsw7mUBo9kI2ESDHzit521SQoA6qd6HDM3cakMAXy51crNhPqzMH8oyl
 KicQyQecUGkPVv5/htRQqSolvgQpTRK7KZ3UgXLwkuL1iLQk1Brrb6u0ua1UIzbATlzNC9tahWSha
 2na3bbcSJ/EP511U0+mwsx4d2DOUtlP3IA99BsdEU1bLtn2A6wd3AjM7SVs5nYuAgzJ9yczwt0Ldv
 AK/QJpzQ==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wE9Wj-00EB6Q-0K
 for submit@bugs.debian.org; Sat, 18 Apr 2026 17:32:17 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: node-react-toastify: 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;E1wE9Wj-00EB6Q-0K@paradis.debian.org&gt;
Date: Sat, 18 Apr 2026 17:32:17 +0000
Delivered-To: submit@bugs.debian.org

Package: src:node-react-toastify
Version: 9.1.2+~1.2.1-4
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-react-toastify, 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 clsx/node_modules/.cache clsx/.nyc_output
rm ./node_modules/.cache
unlink ./node_modules/tslib
unlink ./node_modules/@types/react
Trying to remove ./node_modules/@types
rm clsx/node_modules/.cache
rm ./node_modules/.cache
unlink ./node_modules/tslib
unlink ./node_modules/@types/react
Trying to remove ./node_modules/@types
unlink node_modules/clsx
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure --buildsystem=nodejs
Link ./node_modules/tslib -&gt; /usr/share/nodejs/tslib
Link ./node_modules/@types/react -&gt; /usr/share/nodejs/@types/react
Link node_modules/clsx -&gt; ../clsx
   debian/rules override_dh_auto_build
make[1]: Entering directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
dh_auto_build --buildsystem=nodejs
Found debian/nodejs/clsx/build
	cd ./clsx &amp;&amp; sh -ex ../debian/nodejs/clsx/build
+ pkgjs-pjson . main
+ MAIN=dist/clsx.js
+ pkgjs-pjson . module
+ ES=dist/clsx.m.js
+ pkgjs-pjson . unpkg
+ UNPKG=dist/clsx.min.js
+ rollup -p @rollup/plugin-commonjs -o dist/cjs.js -f cjs src/index.js
[36m
[1msrc/index.js[22m → [1mdist/cjs.js[22m...[39m
[1m[33m(!) Mixing named and default exports[39m[22m
[90mhttps://rollupjs.org/configuration-options/#output-exports[39m
[1mThe following entry modules are using named and default exports together:[22m
src/index.js

Consumers of your bundle will have to use chunk.default to access their default export, which may not be what you want. Use `output.exports: &quot;named&quot;` to disable this warning.
[32mcreated [1mdist/cjs.js[22m in [1m35ms[22m[39m
+ grep -v ^export dist/cjs.js
+ echo module.exports = clsx;
+ echo module.exports.clsx = clsx;
+ rm -f dist/cjs.js
+ terser -o dist/clsx.min.js dist/clsx.js
+ cp src/index.js dist/clsx.m.js
rollup -p @rollup/plugin-babel -p rollup-plugin-typescript -p rollup-plugin-terser --external react,clsx -f es -o ./dist/react-toastify.esm.mjs src/index.ts
[36m
[1msrc/index.ts[22m → [1m./dist/react-toastify.esm.mjs[22m...[39m
babelHelpers: 'bundled' option was used by default. It is recommended to configure this option explicitly, read more here: https://github.com/rollup/plugins/tree/master/packages/babel#babelhelpers
[1m[31m[!] [1mRollupError: Unexpected token (Note that you need plugins to import files that are not JavaScript)[22m[1m[39m[22m
src/index.ts (10:7)
[2m 8:   Zoom,
 9:   Icons,
10:   type IconProps,
           ^
11:   type CloseButtonProps
12: } from './components';[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


make[1]: *** [debian/rules:18: override_dh_auto_build] Error 1
make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make: *** [debian/rules:14: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]