You are not logged in.
Hello! I just updated the following packages:
[2024-10-13T18:12:39-0300] [ALPM] upgraded xkeyboard-config (2.42-1 -> 2.43-1)
[2024-10-13T18:12:39-0300] [ALPM] upgraded libadwaita (1:1.6.0-1 -> 1:1.6.1-1)
[2024-10-13T18:12:39-0300] [ALPM] upgraded poppler (24.09.0-2 -> 24.09.0-3)
[2024-10-13T18:12:39-0300] [ALPM] upgraded poppler-glib (24.09.0-2 -> 24.09.0-3)
[2024-10-13T18:12:39-0300] [ALPM] upgraded poppler-qt6 (24.09.0-2 -> 24.09.0-3)
[2024-10-13T18:12:39-0300] [ALPM] upgraded python-coverage (7.6.1-1 -> 7.6.2-1)
And now I can't open PDFs with Okular. The following error appears in the terminal:
$ okular ctut.pdf
kf.windowsystem: static int KX11Extras::currentDesktop() may only be used on X11
kf.coreaddons: "Could not load plugin from /usr/lib/qt6/plugins/okular_generators/okularGenerator_poppler.so: Cannot load library /usr/lib/qt6/plugins/okular_generators/okularGenerator_poppler.so: /usr/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libpoppler-qt6.so.3)"
org.kde.okular.core: Failed to load plugin "/usr/lib/qt6/plugins/okular_generators/okularGenerator_poppler.so": "Could not load plugin from /usr/lib/qt6/plugins/okular_generators/okularGenerator_poppler.so: Cannot load library /usr/lib/qt6/plugins/okular_generators/okularGenerator_poppler.so: /usr/lib/libQt6Core.so.6: version `Qt_6.8' not found (required by /usr/lib/libpoppler-qt6.so.3)"
The problem is resolved after downgrading poppler, poppler-qt6 and poppler-glib
Has it happened to anyone else?
Edit: Using KDE Plasma with wayland, but the error is also in X11.
Last edited by Kopa07 (2024-10-13 22:18:17)
Offline
Do you use X11 xserver or wayland?
Offline
Do you use X11 xserver or wayland?
Thanks for your answer, I use KDE with wayland, I forgot to specify it.
Offline
So maybe you could try X11 or Xwayland to test if okular will run on it.
Offline
I just tried with X11 session and updated poppler, the error is the same.
Only the line
kf.windowsystem: static int KX11Extras::currentDesktop() may only be used on X11
doesn't appear anymore, but I don't think it's related.
Offline
Looks like poppler-qt6 was built against qt6-base 6.8.0 that's still in Extra-Testing. This is a packaging bug.
I opened https://gitlab.archlinux.org/archlinux/ … -/issues/1
Last edited by Scimmia (2024-10-13 22:15:22)
Offline
Thanks for your response, then that's it. I'm going to ignore the new poppler packages until the new version of qt6-base comes out of extra-testing.
I'll mark the post as solved.
Offline
Thanks for reporting the bug and the swift rebuild. Fixed with poppler 24.09.0-4
Offline