Article View: linux.debian.bugs.dist
Article #4459Bug#1153945: libmojolicious-plugin-assetpack-perl: dart-sass changes cause breakages
From: Emfox Zhou
Date: Sat, 14 Nov 2026 09:40
Date: Sat, 14 Nov 2026 09:40
56 lines
4117 bytes
4117 bytes
Hi gregor,
thanks for the report. The two problems have different causes, so separately.
On the failing architectures: this is more than a test problem, so let me state
it plainly. ruby-sass was Architecture: all, so /usr/bin/sass existed on every
architecture; dart-sass is a prebuilt native binary and is built only on
amd64/arm64/armhf/riscv64. So Sass compilation through AssetPack now works on
four architectures where it used to work on all of them.
The immediate bug in the upload is separate from that: the test added there
declares "Depends: @, dart-sass" without a restriction, so on the other
architectures the dependencies cannot be satisfied and autopkgtest reports a
failure rather than a skip - which is why the four architectures that pass in
the excuses are exactly the four with dart-sass. It needs one line in
debian/tests/control:
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,4 @@
Test-Command: TEST_SASS=1 prove -Ilib t/sass-bin.t
Depends: @, dart-sass
+Architecture: amd64 arm64 armhf riscv64
Features: test-name=sass
With that the test is skipped instead of failing wherever dart-sass does not
exist.
On openQA I do not think 2.15-2 is the cause. Its autopkgtest has been broken
since ruby-sass 3.7.4-7 (2026-09-28) dropped the command line tools: openQA
uses AssetPack to compile its SASS assets and still depends on ruby-sass,
which no longer ships any binary. #1149563, filed five days before 2.15-2,
already describes it:
"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."
The "failed anyway" was the old command line: 2.15-1 passed Ruby Sass
arguments, and dart-sass reads -s as --style. With the current package both
syntaxes work, which I checked against dart-sass 1.108.1:
$ dart-sass -s --trace --scss -t compressed < in.scss
"--trace" is not an allowed value for option "-s".
$ dart-sass --stdin --trace --style=compressed < in.scss
a{color:red}
$ dart-sass --stdin --trace --indented < in.sass
a { color: red; }
So what is left for openQA is its own dependency: it needs dart-sass instead
of ruby-sass, and on the architectures without dart-sass its asset compilation
has to be skipped as well.
cheers,
Emfox
Technical Details
Message-ID:
<NZioN-bOkH-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<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!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!fu-berlin.de!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: Sat, 14 Nov 2026 10:40:01 +0100 Message-ID: <NZioN-bOkH-1@gated-at.bofh.it> References: <NZaKB-bK2Z-1@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Nov 14 09:31:07 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: quoted-printable MIME-Version: 1.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002521 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 56 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 14 Nov 2026 17:28:41 +0800 X-Original-Message-ID: <179464852179.204172.2089930818034010734@debian.org> X-Original-References: <179461960747.30341.1441115266502862228.reportbug@jadzia.comodo.priv.at>