• Status Assigned
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Packages → Packages: Stable
  • Assigned To
    Andreas Baumann
  • Operating System pentium4
  • Severity Medium
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Arch Linux 32
Opened by Sky Barnes - 30.07.2022

FS#279 - Telegram Desktop doesn't start

Telegram Desktop fails to start with an error about incompatible Qt libraries, I think it needs to be rebuilt.

Admin
Andreas Baumann commented on 31.07.2022 08:02
telegram-desktop: symbol lookup error: /usr/lib/libQt6WaylandClient.so.6: undefined symbol: _ZN28QBasicPlatformVulkanInstance17loadVulkanLibraryERK7QString, version Qt_6_PRIVATE_API
[guest@arch32-stable-pentium4 ~]$ c++filt 
_ZN28QBasicPlatformVulkanInstance17loadVulkanLibraryERK7QString,
QBasicPlatformVulkanInstance::loadVulkanLibrary(QString const&),

Rebuilding telegram isn't enough, there is something wrong around Vulkan,
Wayland and Qt6 here..

Admin
Andreas Baumann commented on 01.08.2022 07:43

So, is vulkan disabled:

QBasicPlatformVulkanInstance::loadVulkanLibrary(QString const&)

or LTO removed the function..

pacman -Qo /usr/lib/libQt6WaylandClient.so.6
qt6-wayland

Let's rebuild 'qt6-wayland'

Admin
Andreas Baumann commented on 01.08.2022 10:01

Interesting..

/usr/src/debug/build/include/QtWaylandClient/6.3.1/QtWaylandClient/private/../../../../../src/client/wayland-wayland-client-protocol.h:1438:6: warning: type ‘wl_shm_format’ violates the C++ One Definition Rule [-Wodr]
/usr/include/wayland-client-protocol.h:1459:6: note: an enum with different number of values is defined in another translation unit
 1459 | enum wl_shm_format {
      |      ^

Maybe more to rebuild, like wayland itself?

Admin
Andreas Baumann commented on 01.08.2022 11:04

mmh, this even sounds like a compiler bug…

Admin
Andreas Baumann commented on 01.08.2022 12:02

Qt6-wayland is ok now, but:

[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
error: : cannot open
error: : cannot open
error: : cannot open
QNetworkReplyImplPrivate::error: Internal problem, this method must only be called once.
Cannot mix incompatible Qt library (6.2.3) with this library (6.3.1)

Aha, down to a Qt library mixup. So let's rebuild all Qt libraries.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing