[From nobody Mon Oct  5 22:07:07 2026
Received: (at submit) by bugs.debian.org; 30 Sep 2026 18:39:16 +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=-133.3 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 PGPSIGNATURE,SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST
 autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 41; hammy, 150; neutral, 272; 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;terceiro@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:58800)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;terceiro@debian.org&gt;) id 1xBzD2-00Fd19-2z
 for submit@bugs.debian.org; Wed, 30 Sep 2026 18:39:16 +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=ci5r1NToK8Kej2Ns5stvQ3uBcQVo6ygdSpeHlBRfGys=; b=OsGoc3BVhWjoR0tuBVMozPHRv6
 xfGw9o4XUzhsqdTUFkz7fd9ffTBXbXodejnmtiA69wnKGfQPF+pRGSg82t2E3agy+8G2AcEhNNFkx
 TT6vW5xoB53Rk9htmGxyOFdaoeW/ptRmi65XSM7GStPjxWzHjyFK0U8Zvlh5SeNNHtz/iOQz3E6Lt
 Im02aRF3pwlHPqG+b0o5IiSAi7AWq45IpyjkJ7IJjSfe3V8GO1SDGMCEB1O3ObRLjRr4FuQWX7ipB
 opPubIGTJNkIcVjYWqdhFAgQF+TSQ2YA9wtbeqGS6SP+4utJJ+ZPPenJ1TFCsYlpQrYvv4doTNp5W
 jKuJpYLg==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;terceiro@debian.org&gt;)
 id 1xBzD0-009NpA-2j; Wed, 30 Sep 2026 18:39:15 +0000
Received: from localhost (ava [IPv6:2804:14d:7224:88bd:b38e:cd50:1e1d:e09a])
 by vps.terceiro.xyz (Postfix) with ESMTPSA id 9678140031;
 Wed, 30 Sep 2026 15:39:10 -0300 (-03)
Date: Wed, 30 Sep 2026 15:39:09 -0300
From: Antonio Terceiro &lt;terceiro@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libmojolicious-plugin-assetpack-perl: does not work with `sass`
 binary from dart-sass
Message-ID: &lt;ar1XSqtOkbeMXA6y@debian.org&gt;
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol=&quot;application/pgp-signature&quot;; boundary=&quot;wj5Q9rF6k4Fv44cR&quot;
Content-Disposition: inline
X-Reportbug-Version: 13.2.0+nmu1
X-Debian-User: terceiro
Delivered-To: submit@bugs.debian.org

--wj5Q9rF6k4Fv44cR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: libmojolicious-plugin-assetpack-perl
Version: 2.15-1
Severity: important
Tags: upstream
Control: affects -1 src:openqa
Control: affects -1 dart-sass
X-Debbugs-CC: openqa@packages.debian.org, dart-sass@packages.debian.org=20

Dear Maintainer,

Mojolicious::Plugin-AssetPack is used by openqa to compile its assets,
including SASS files. The current implementation provising a `sass`
binary up to a few days ago was ruby-sass, which is deprecated and
reached EOL in 2019 as you can read here:

https://sass-lang.com/ruby-sass/

dart-sass is the currently maintained implementation, and it entered
Debian recently. ruby-sass has been uploaded dropping any command line
tools, to open space for the new `sass` binary provided by dart-sass.

This caused a regression in openqa, due to the missing command line
tool, as its tests fail when compiling sass assets. I tried patching
openqa to depend on dart-sass instead of ruby-sass, but it then failed
anyway.

I then I tracked this down to this package, and could represent a
similar failure by running the tests with TEST_SASS=3D1:

----------------8&lt;----------------8&lt;----------------8&lt;-----------------
$ dpkg-query --show ruby-sass dart-sass
dart-sass	1.105.0-5
ruby-sass=09
$ TEST_SASS=3D1 prove -Ilib t/sass-bin.t=20
t/sass-bin.t .. 1/? [Pipe::Sass] Could not compile &quot;sass.sass&quot; with opts=3D=
{&quot;include_paths&quot; =3D&gt; [bless( do{\(my $o =3D &quot;/home/terceiro/src/debian/lib=
mojolicious-plugin-assetpack-perl/t/assets&quot;)}, 'Mojo::Home' )],&quot;source_map_=
file&quot; =3D&gt; &quot;__Mojolicious_Plugin_AssetPack_Pipe_Sass__&quot;,&quot;source_map_file_ur=
ls&quot; =3D&gt; 1}:  at /home/terceiro/src/debian/libmojolicious-plugin-assetpack-=
perl/lib/Mojolicious/Plugin/AssetPack/Pipe/Sass.pm line 70.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 64 just after 1.
t/sass-bin.t .. Dubious, test returned 64 (wstat 16384, 0x4000)
All 1 subtests passed=20

Test Summary Report
-------------------
t/sass-bin.t (Wstat: 16384 (exited 64) Tests: 1 Failed: 0)
  Non-zero exit status: 64
  Parse errors: No plan found in TAP output
Files=3D1, Tests=3D1,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.40 cusr  =
0.02 csys =3D  0.45 CPU)
Result: FAIL
----------------8&lt;----------------8&lt;----------------8&lt;-----------------

If I remove dart-sass and revert ruby-sass to the version in testing,
then those tests pass:

----------------8&lt;----------------8&lt;----------------8&lt;-----------------
[1]$ sudo apt -qy install ruby-sass/testing dart-sass-
[...]
$ TEST_SASS=3D1 prove -Ilib t/sass-bin.t=20
t/sass-bin.t .. ok   =20
All tests successful.
Files=3D1, Tests=3D18,  2 wallclock secs ( 0.03 usr  0.00 sys +  2.04 cusr =
 0.24 csys =3D  2.31 CPU)
Result: PASS
----------------8&lt;----------------8&lt;----------------8&lt;-----------------

Looking at the code, Mojolicious::Plugin::AssetPack::Pipe::Sass seems to
depend on the exact command line options provided by sass from
ruby-sass, but dart-sass does not really support the same options.

It's also valid to point out that these tests are not running by
default, because they need TEST_SASS=3D1. There are also a few other tests
that get skipped due to missing environment variables, it would be great
if the test coverage could be improved to actually test the usage of the
texternal tools used for handling assets.

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: arm64 (aarch64)

Kernel: Linux 7.2.6+deb14-arm64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=3Dpt_BR.UTF-8, LC_CTYPE=3Dpt_BR.UTF-8 (charmap=3DUTF-8), LANGU=
AGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libmojolicious-plugin-assetpack-perl depends on:
ii  libfile-which-perl   1.27-2
ii  libipc-run3-perl     0.049-1
ii  libmojolicious-perl  9.48+dfsg-1
ii  perl                 5.42.3-1

libmojolicious-plugin-assetpack-perl recommends no packages.

libmojolicious-plugin-assetpack-perl suggests no packages.

--wj5Q9rF6k4Fv44cR
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmq9V0oACgkQ/A2xu81G
C95uNw//VhudySLyyun+gerw3jwd9ASgCs9Bn+XvGz161frvkmM3PbwL67M5rAsd
rHRQfW8JQ8jRlr5FnROEyf832F/Fr8LRHDxU6d++517YcksXGsjmxcJqsIX9b1Ej
RttEPSiu6NrWpDr4B6CLZeLWY5f6ws95/sy/dmPVc9xHWXZNKhWcF/JaDrtGUL0H
mtKA1qMtFXgUPDIhRdtbJav8j1iFS7NcicoF3Vqo3+5/gc1XmDpl7AlPE2aldLJ1
3Kf8wRFI9ugALkSP2zzgSAIE5DAhxr3jCYBXw6TZOKBlDFv9V+jiuu8bCf0mqtKu
qNxvg8QzhbeTpq2Pn0QoTGTSkJ/JtYkHIAvv6ZvfOZVItZOmxKa4n0MlxWg2QcI7
fYYxiIRI1c966vvFM5w5qGDnNWNjNsSf1nKkB3zTWBVLYXvkld55EpPpefh0IQan
UXtjr+zLB0x3/YK4dQUcWNQdI3LDXOxUgs7Z1D1xcGwccEkon4ToSqg0iGDlq5W7
ryGtsf7szF+2j4qsDoxLFD3f4yuO5p1FV49r8fIcwqy342h7amdR7MLw9r3moopx
qRo/yRVPIWW0OQ2eOX93oMzXJJURuBmnUra6ScO1guNMPIk0/YfEggL4OMcwCgmw
W/O8l088c/sHv04DDzL4r4tNwSJhS+WtsTyUZlb4ZFc+Rjye56s=
=gBGy
-----END PGP SIGNATURE-----

--wj5Q9rF6k4Fv44cR--
]