#1128988 node-rollup-plugin-sass: FTBFS randomly: FAIL test/index.test.ts

#1128988#5
Date:
2026-02-25 13:58:50 UTC
From:
To:
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/202602/

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

Note: The failure happens randomly with low probability (so that's
why I'm reporting this at normal severity), but so far I've seen
this to happen:

- Once in the official autobuilders:

https://buildd.debian.org/status/fetch.php?pkg=node-rollup-plugin-sass&arch=all&ver=1.12.22-2&stamp=1772018957&raw=0

- Once in my private salsa fork (which I've already removed).

- Once in my autobuilding setup after many tries (this is the build log
I've put in people.debian.org).

So there seems to be a real problem behind those failures.

Thanks.
--------------------------------------------------------------------------------
[...]
   dh_auto_test --buildsystem=nodejs
	ln -s ../. node_modules/rollup-plugin-sass
	/bin/sh -ex debian/tests/pkg-js/test
+ jest --preset ts-jest test/index.test.ts test/style.test.ts
FAIL test/index.test.ts
  ● Console

    console.warn
      Generated an empty chunk: "index".

      1546 |     switch (level) {
      1547 |         case LOGLEVEL_WARN: {
    > 1548 |             return console.warn(message);
           |                            ^
      1549 |         }
      1550 |         case LOGLEVEL_DEBUG: {
      1551 |             return console.debug(message);

      at defaultPrintLog (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:1548:28)
      at logger (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:2001:9)
      at Chunk.renderModules (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:18050:13)
      at Chunk.render (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:17505:111)
      at ../../../usr/share/nodejs/rollup/dist/shared/rollup.js:19136:72
          at Array.map (<anonymous>)
      at renderChunks (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:19136:53)
      at Bundle.generate (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:19378:19)
      at ../../../usr/share/nodejs/rollup/dist/shared/rollup.js:27612:27
      at catchUnfinishedHookActions (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:26781:16)

    console.warn
      Generated an empty chunk: "index".

      1546 |     switch (level) {
      1547 |         case LOGLEVEL_WARN: {
    > 1548 |             return console.warn(message);
           |                            ^
      1549 |         }
      1550 |         case LOGLEVEL_DEBUG: {
      1551 |             return console.debug(message);

      at defaultPrintLog (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:1548:28)
      at logger (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:2001:9)
      at Chunk.renderModules (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:18050:13)
      at Chunk.render (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:17505:111)
      at ../../../usr/share/nodejs/rollup/dist/shared/rollup.js:19136:72
          at Array.map (<anonymous>)
      at renderChunks (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:19136:53)
      at Bundle.generate (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:19378:19)
      at ../../../usr/share/nodejs/rollup/dist/shared/rollup.js:27612:27
      at catchUnfinishedHookActions (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:26781:16)

    console.warn
      Generated an empty chunk: "index".

      1546 |     switch (level) {
      1547 |         case LOGLEVEL_WARN: {
    > 1548 |             return console.warn(message);
           |                            ^
      1549 |         }
      1550 |         case LOGLEVEL_DEBUG: {
      1551 |             return console.debug(message);

      at defaultPrintLog (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:1548:28)
      at logger (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:2001:9)
      at Chunk.renderModules (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:18050:13)
      at Chunk.render (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:17505:111)
      at ../../../usr/share/nodejs/rollup/dist/shared/rollup.js:19136:72
          at Array.map (<anonymous>)
      at renderChunks (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:19136:53)
      at Bundle.generate (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:19378:19)
      at ../../../usr/share/nodejs/rollup/dist/shared/rollup.js:27612:27
      at catchUnfinishedHookActions (../../../usr/share/nodejs/rollup/dist/shared/rollup.js:26781:16)

  ● should support output as function

    expect(received).toBe(expected) // Object.is equality

    Expected: true
    Received: false

      175 |     .then(rslt => expect(squash(rslt.toString()) === '').toBe(true))
      176 |     .then(() => expect(outputSpy.calledWith(expectedSpyArg)).toBe(true))
    > 177 |     .catch(() => expect(false).toBe(true));
          |                                ^
      178 | });
      179 |
      180 | test('should support output as (non-previously existent) path', async () => {

      at test/index.test.ts:177:32

PASS test/style.test.ts

Test Suites: 1 failed, 1 passed, 2 total
Tests:       1 failed, 18 passed, 19 total
Snapshots:   0 total
Time:        4.027 s
Ran all test suites matching /test\/index.test.ts|test\/style.test.ts/i.
dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1128988#10
Date:
2026-08-17 18:23:34 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-rollup-plugin-sass, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1128988@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Xavier Guimard <yadd@debian.org> (supplier of updated node-rollup-plugin-sass package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 17 Aug 2026 19:43:35 +0200
Source: node-rollup-plugin-sass
Architecture: source
Version: 1.12.22-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Xavier Guimard <yadd@debian.org>
Closes: 1128988
Changes:
 node-rollup-plugin-sass (1.12.22-5) unstable; urgency=medium
 .
   * Team upload
   * Fix random FTBFS: make concatenated CSS output order deterministic
     (Closes: #1128988)
Checksums-Sha1:
 295630dcebd54a0927c10fc4fe429187a528f2f4 2387 node-rollup-plugin-sass_1.12.22-5.dsc
 0a3f1981050d12cafe1dbd3899538c1b1ec7ce81 14808 node-rollup-plugin-sass_1.12.22-5.debian.tar.xz
Checksums-Sha256:
 d1926e0b54747a3b6063e7b92631a788b787e3b2047b98bba25df26a9497e628 2387 node-rollup-plugin-sass_1.12.22-5.dsc
 bae2f3f1106607e7ce30f541bb89e43c3d443923f8384be523ebbbf33ca2ba29 14808 node-rollup-plugin-sass_1.12.22-5.debian.tar.xz
Files:
 79028eaa5ee1e42a8cd47e1d311c64f1 2387 javascript optional node-rollup-plugin-sass_1.12.22-5.dsc
 c0bae3ecf3f979cc924471d0c895f85f 14808 javascript optional node-rollup-plugin-sass_1.12.22-5.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAmqDSPQACgkQ9tdMp8mZ
7umCjg//fcpuM5sOMxebR7pLnBtE5pStEN47ctQDxMefy4Ryr6Z0ZNvzwRTLT7zM
W/HgTMoxvuKTXnRbWyW4pKp3NvtN8hHdsT7pdW5s1ZfM1q8g4aSU/9ds4mc4FC0y
C9McWh0H4/x9qmm3fDUxs63emWSraFec07dfaJW+t/72fkQ9M12/y2CkdPUp3SPb
2avs/ZAJR89eeQHs262v0xGsrFinDwNVKouzuwxDvzq22O7H3nA/91egnmDjfY2x
oFCAAvNps8aKwAnizxb089HY7vALg4dHRER8Zn8lZjMVkc0BLCsAces644ZuLgNC
EoOHs0Fzx8LA4HlhTLUZRDgaLk9lpRUetVQOmLiHg0FFPRtaPYiIo9DPYFzQH1nB
wTmTDTQluIgEMvg+RxcWyV8ExIQa1AgrfCEeYXNFXHT8kF7PIMX/dMPU5AgRS0YI
YtYfSsxX/JJEIDPHA3FzPmqtcFEkP5xpxbkSCvuESmafvk/5hD65oPcyTednG05U
kiQ/u7a0gKEN00wsR6aRN356WqQ3BMbtyHNRcHAhfgYzgDr7Yt54v5PP1NzsPmbu
Ir/iknEYx8dFPihER/SA6dnzT11uK6jZuHethF15GxQllxW1UwvHy0iscNUCeer3
GPebL5bbrFdMTZURS1svWVF/HAXm96mVVGm0ij64VQVSFwN+vDE=
=QPG/
-----END PGP SIGNATURE-----