🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4620

Bug#1153945: libmojolicious-plugin-assetpack-perl: dart-sass changes cause breakages

#4620
From: Emfox Zhou
Date: Sun, 15 Nov 2026 16:00
46 lines
3807 bytes
Hi Paul,

that expectation is the right one, and it is what I ended up fixing at the
source instead of in the test.

dart-sass 1.108.1-2, which I am about to upload, adds an arch:all package
"sass" that owns /usr/bin/sass.  It is a three-line shell wrapper: it execs
/usr/bin/dart-sass where the native build exists (amd64, arm64, armhf,
riscv64), and runs the dart2js build of the same compiler, shipped in
node-sass, everywhere else.  So the generic command is available again on
every architecture:

    sass          Architecture: all
    Depends: dart-sass | node-sass

Why 1.108.1-1 did not have it: both packages can provide the compiler, but
dart-sass provides it ready-made, while the Node.js one has to be assembled by
hand here -- cli_pkg cannot run in a Debian build, so its bundle has to be
reproduced -- and it is more than twice as slow.  Shipping the native command
and leaving the JavaScript package to bundlers was therefore the default.
What I had not realized is that dart-sass has an architecture gap, and that
gap turned "we provide the command" into "we provide the command on four
architectures".  A bit more work and a bit slower is better than not having it
at all, so the solution is that wrapper: native where it exists, JavaScript
everywhere else.

Both builds come from the same Dart sources and accept the same options; the
only functional gap is --embedded, which the JavaScript build cannot do.  I
verified the fallback on this machine (version output, compilation, --watch
through node-chokidar) and that upgrading from 1.108.1-1, where /usr/bin/sass
was a symlink in dart-sass, takes the path over cleanly.

So the test change is one line after all, just a different one:

  -Depends: @, dart-sass
  +Depends: @, sass

with no Architecture restriction, and openQA can make the same substitution
for its dependency on ruby-sass.

One caveat: "sass" is a new binary package name, so 1.108.1-2 goes through
NEW; until it is accepted the hint may still be needed.  After that the
regression is gone.

Cheers,
Emfox
Technical Details
Message-ID: <NZKO5-c4e8-9@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NZaKB-bK2Z-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Emfox Zhou <emfox@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153945: libmojolicious-plugin-assetpack-perl: dart-sass changes cause breakages
Date: Sun, 15 Nov 2026 17:00:01 +0100
Message-ID: <NZKO5-c4e8-9@gated-at.bofh.it>
References: <NZaKB-bK2Z-1@gated-at.bofh.it>
X-Original-To: 1153945@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov 15 15:59:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.9
Reply-To: Emfox Zhou <emfox@debian.org>, 1153945@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-perl-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 1153945
X-Debian-Pr-Package: src:libmojolicious-plugin-assetpack-perl
X-Debian-Pr-Source: libmojolicious-plugin-assetpack-perl
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002783
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 46
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 15 Nov 2026 23:57:10 +0800
X-Original-Message-ID: <179475823078.3.11651786364576840042@debian.org>
X-Original-References: <179461960747.30341.1441115266502862228.reportbug@jadzia.comodo.priv.at>