[Pkg-kde-extras] Bug#1071050: kwin-bismuth: Does not work after binary-only upload as typescript transpiled incorrectly with es2022 features

Petr Gajdůšek petr.gajdusek at egston.com
Mon May 13 14:06:59 BST 2024


Package: kwin-bismuth
Version: 3.1.4-4+b1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: petr.gajdusek at egston.com

Dear Maintainer,

After upgrade to 3.1.4-4+b1 kwin-bismuth no more works with following error in
syslog:

kwin_x11[3514]: kwin_scripting: Component failed to load:
(file:///usr/share/kwin/scripts/bismuth/contents/ui/main.qml:5:1: Script
file:///usr/share/kwin/scripts/bismuth/contents/code/index.mjs unavailable
kwin_x11[3514]:     import "../code/index.mjs" as Bismuth
kwin_x11[3514]:     ^,
file:///usr/share/kwin/scripts/bismuth/contents/code/index.mjs:795:10:
Unexpected token `{'
kwin_x11[3514]:       static {
kwin_x11[3514]:              ^,
file:///usr/share/kwin/scripts/bismuth/contents/code/index.mjs:796:9: Expected
token `('
kwin_x11[3514]:         this.id = "MonocleLayout";
kwin_x11[3514]:             ^)

The resulting JS oviously uses ES2022 features despite the project's
tsconfig.js has target set to es2016.

After rebuilding the kwin-bismuth package locally on my system (just dpkg-
buildpackage), it works just fine.

Thank you, Petr


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable-debug'), (500, 'oldoldstable-updates'), (500, 'oldoldstable-debug'), (500, 'oldoldstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (300, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.4.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kwin-bismuth depends on:
ii  libc6                         2.38-10
ii  libgcc-s1                     14-20240330-1
ii  libkdecorations2-5v5          4:5.27.10-1+b1
ii  libkf5configcore5             5.115.0-2
ii  libkf5configgui5              5.115.0-2
ii  libkf5coreaddons5             5.115.0-2
ii  libkf5globalaccel-bin         5.115.0-2
ii  libkf5globalaccel5            5.115.0-2
ii  libkf5i18n5                   5.115.1-2
ii  libkf5quickaddons5            5.115.0-3
ii  libqt5core5t64                5.15.10+dfsg-7.2+b1
ii  libqt5dbus5t64                5.15.10+dfsg-7.2+b1
ii  libqt5gui5t64                 5.15.10+dfsg-7.2+b1
ii  libqt5qml5                    5.15.10+dfsg-2+b2
ii  libqt5quick5                  5.15.10+dfsg-2+b2
ii  libqt5widgets5t64             5.15.10+dfsg-7.2+b1
ii  libstdc++6                    14-20240330-1
ii  plasma-workspace              4:5.27.10-3+b1
ii  qml-module-org-kde-kcm        5.115.0-3
ii  qml-module-org-kde-kirigami2  5.115.0-2
ii  qml-module-qtquick-controls   5.15.10-2+b2
ii  qml-module-qtquick-layouts    5.15.10+dfsg-2+b2
ii  qml-module-qtquick2           5.15.10+dfsg-2+b2

kwin-bismuth recommends no packages.

kwin-bismuth suggests no packages.

-- no debconf information



More information about the pkg-kde-extras mailing list