You are not logged in.

#1 2024-10-13 21:38:01

Kopa07
Member
Registered: 2022-09-23
Posts: 11

[SOLVED] Poppler update breaks okular

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

#2 2024-10-13 21:46:24

xerxes_
Member
Registered: 2018-04-29
Posts: 787

Re: [SOLVED] Poppler update breaks okular

Do you use X11 xserver or wayland?

Offline

#3 2024-10-13 21:48:26

Kopa07
Member
Registered: 2022-09-23
Posts: 11

Re: [SOLVED] Poppler update breaks okular

xerxes_ wrote:

Do you use X11 xserver or wayland?

Thanks for your answer, I use KDE with wayland, I forgot to specify it.

Offline

#4 2024-10-13 21:51:15

xerxes_
Member
Registered: 2018-04-29
Posts: 787

Re: [SOLVED] Poppler update breaks okular

So maybe you could try X11 or Xwayland to test if okular will run on it.

Offline

#5 2024-10-13 21:54:59

Kopa07
Member
Registered: 2022-09-23
Posts: 11

Re: [SOLVED] Poppler update breaks okular

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

#6 2024-10-13 22:08:17

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,085

Re: [SOLVED] Poppler update breaks okular

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

#7 2024-10-13 22:17:37

Kopa07
Member
Registered: 2022-09-23
Posts: 11

Re: [SOLVED] Poppler update breaks okular

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

#8 2024-10-14 06:23:14

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,576

Re: [SOLVED] Poppler update breaks okular

Thanks for reporting the bug and the swift rebuild. Fixed with poppler 24.09.0-4

Offline

Board footer

Powered by FluxBB