Skip to content

Web-greeter unable to run, looks related to Qt5 EOL and qt5-webengine deprecation #88

@tuurep

Description

@tuurep

@JezerM we have a big problem

Environment

  • OS: Arch Linux 6.17.7-arch1-1
  • 3.5.3
  • 1.32.0

Bug description

(TL;DR unable to launch)

When booting the system, the console cursor top left and mouse cursor alternate a few times and then it's stuck on the console cursor.

Using another greeter, such as lightdm-gtk-greeter allows me to get to my X session, to workaround this.

Running web-greeter in a terminal gives this output:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/lib/web-greeter/__main__.py", line 121, in <module>
    import globales
  File "/usr/lib/web-greeter/globales.py", line 3, in <module>
    from bridge import Config, Greeter, ThemeUtils
  File "/usr/lib/web-greeter/bridge/__init__.py", line 154, in <module>
    from .Greeter import Greeter
  File "/usr/lib/web-greeter/bridge/Greeter.py", line 41, in <module>
    from browser.error_prompt import Dialog, general_error_prompt
  File "/usr/lib/web-greeter/browser/error_prompt.py", line 38, in <module>
    from PyQt5.QtWebEngineWidgets import QWebEnginePage
ImportError: libicui18n.so.76: cannot open shared object file: No such file or directory

This is relevant:

$ ls -l /usr/lib/libicui18n.so
lrwxrwxrwx 1 root root 18 Nov  4 17:46 /usr/lib/libicui18n.so -> libicui18n.so.78.1

Steps to reproduce

Use web-greeter as lightdm greeter and reboot, but be sure you know how to recover with a tty.

Expected behavior

Launch greeter.

Investigation

Arch Linux mailing list: Dropping qt5-webengine:

https://lists.archlinux.org/archives/list/[email protected]/thread/U45C4RAW4IXVLO376XGFNLEGGFFXCULV/

Hi,
Qt5 is EOL since May. In particular, qt5-webengine's Chromium ships with unfixed vulnerabilities. Its code is bitrotting, which also makes it a costly package to maintain due to the frequent API changes in its dependencies (I had to give up on system ffpmeg and switch to its ancient bundled version, and currently doesn't build against ICU 78). I therefore think it's wise to drop it from our repos. Its remaining reverse dependencies are:

csoundqt - can be built without it by disabling remote debugging support, MR at [1]
fcitx-libpinyin - archived upstream for over a year
globalprotect-openconnect - very out of date, a new version switching to wbkitgtk and rust is available in testing.
kchmviewer - dead upstream (no activity in 4 years)
qmc2 - dead upstream (no activity in 1.5 years)
wiznote - dead upstream (no activity in 4 years)
openshot - the only case of a (semi-)maintained application still unported to Qt6 - there was an attempt 3 years ago [2] aborted due to some drama and no signs of new efforts since then, porting is non-trivial.

If there are no objections (that include an offer to pick up maintenance of the package), I will drop it and all its unported reverse dependencies in a few days.

[1] https://gitlab.archlinux.org/archlinux/packaging/packages/csoundqt/-/merge_requests/1
[2] OpenShot/openshot-qt#4836

AUR qt5-webengine is getting a lot of comments, because it's a dependency to build Davinci Resolve.

This commit looks directly relevant to the ICU76 - ICU78 mismatch (even if I am not sure what that means):

https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=qt5-webengine&id=db172a6f1565e80ce7cf78d4e3371032a9b7cd9c

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions