Bug#1149563: libmojolicious-plugin-assetpack-perl: does not work with `sass` binary from dart-sass

Antonio Terceiro terceiro at debian.org
Thu Oct 1 13:20:16 BST 2026


Control: tag -1 + patch
Control: forwarded -1 https://salsa.debian.org/perl-team/modules/packages/libmojolicious-plugin-assetpack-perl/-/merge_requests/1

On Thu, Oct 01, 2026 at 11:48:57AM +0800, Emfox Zhou wrote:
> Hi Antonio,
> 
> I maintain dart-sass in Debian.
> 
> The failure is in the command line options.  AssetPack runs
> 
>     sass -s --trace -I <path> [--scss] [-t compressed]
> 
> but in dart-sass `-s` is short for --style and takes a value, so
> `-s --trace` is parsed as -s=--trace:
> 
>     $ sass -s --trace -I . -t compressed < in.scss
>     "--trace" is not an allowed value for option "-s".      (exit 64)
> 
> which is the exit status in your report.  dart-sass also dropped --scss
> (SCSS is the default, the indented syntax is --indented) and -t (use
> --style=compressed).
> 
> dart-sass implements the current upstream Sass command line, so I would
> rather not add a ruby-sass compatibility mode to it.  The attached patch
> fixes the command line branch instead: with it, TEST_SASS=1 on 2.15-1
> passes (Files=1, Tests=18) against dart-sass 1.105, where it currently
> exits 64 as in your report.  The CSS::Sass path is untouched.

Thanks, confirmed that this fixes it for me. I created a MR with your
patch that should be ready for consumption the the maintainers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20261001/c1a42f8c/attachment.sig>


More information about the pkg-perl-maintainers mailing list