void-linux / void-packages

The Void source packages collection
https://voidlinux.org
Other
2.5k stars 2.11k forks source link

Qt6 crash: undefined symbol: version Qt_6_PRIVATE_API #50953

Open hunt3r0one opened 2 months ago

hunt3r0one commented 2 months ago

Is this a new report?

Yes

System Info

Void 6.1.94_1 x86_64 AuthenticAMD uptodate FFFFFF

Package(s) Affected

qt6-*-6.6.0_1,qt6-*-6.7.2_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

Qt applications such as K3b or PCManFM-Qt should start without any error.

Actual behaviour

Qt applications launched from a window manager do not run, and running them from a terminal gives an error such as pcmanfm-qt: symbol lookup error: /usr/lib/libQt6WaylandClient.so.6: undefined symbol: _ZTIN16QNativeInterface7Private14QWaylandScreenE, version Qt_6_PRIVATE_API

It could potentially be linked to several of the qt6 package updates but for now this is what I get.

Steps to reproduce

  1. Update qt6
  2. Launch a Qt application
hunt3r0one commented 2 months ago

It seems to be more than just qt6-wayland. qt6-wayland, qt6-svg, qt6-webchannel, and qt6-websockets were updated to 6.7.2_1, and this is the error now:

pcmanfm-qt: symbol lookup error: /usr/lib/libLayerShellQtInterface.so.6: undefined symbol: _ZN15QtWaylandClient14QWaylandWindow12handleExposeERK7QRegion, version Qt_6_PRIVATE_API

3hg4hj commented 2 months ago

ImportError: /usr/lib/python3.12/site-packages/PyQt6/QtCore.abi3.so: undefined symbol: _ZN14QReadWriteLock16destroyRecursiveEP21QReadWriteLockPrivate, version Qt_6_PRIVATE_API

all matching cases online suggest towards rebuilding all qt6 apps against upstream qt6

classabbyamp commented 2 months ago

currently in progress: https://build.voidlinux.org/waterfall

foxlet commented 2 months ago

Plasma 6 also fails to start due to the Qt6 update

plasmashell: symbol lookup error: /usr/lib/libLayerShellQtInterface.so.6: undefined symbol: _ZN15QtWaylandClient14QWaylandWindow12handleExposeERK7QRegion, version Qt_6_PRIVATE_API
TheKamboy commented 2 months ago

PrismLauncher and Kdenlive don't work

SpidFightFR commented 2 months ago

With the latest updates i can't connect into plasma 6 using sddm, it loops back to sddm after entering the password...

basiliscos commented 2 months ago

qtcreator fails because of this :-/

Norman-Normandy commented 2 months ago

With the latest updates i can't connect into plasma 6 using sddm, it loops back to sddm after entering the password...

Don't know why all comments including this one are saying resolved. Particularly this one. This is still a prominent issue.

sgn commented 2 months ago

With the latest updates i can't connect into plasma 6 using sddm, it loops back to sddm after entering the password...

Don't know why all comments including this one are saying resolved. Particularly this one. This is still a prominent issue.

They're queued to be rebuilt. I need to hide them to keep track of which one was processed.

SilverKeeper commented 2 months ago

Dunno if it's necessary to individually mention apps, but rssguard is also affected.

devlocalhost commented 2 months ago

telegram-desktop affected too, telegram-desktop: symbol lookup error: telegram-desktop: undefined symbol: _ZN14QReadWriteLock16destroyRecursiveEP21QReadWriteLockPrivate, version Qt_6_PRIVATE_API

hunt3r0one commented 2 months ago

PCManFM-Qt and other applications now work with the latest packages that have finished building. Will close.

Eloitor commented 2 months ago

I have the same issue with dooble.

Luciogi commented 2 months ago

Is this resolved ?

sgn commented 2 months ago

Is this resolved ?

Unless you're going to test all packages that requires Qt6, or rebuild all of them, no!

totallyuniquelily commented 2 months ago