Bug 6811

Summary: telegram-desktop needs to be rebuilt against qt6-qtbase v.6.6.0
Product: Fedora Reporter: dreua
Component: telegram-desktopAssignee: Vasiliy Glazov <vascom2>
Status: RESOLVED FIXED    
Severity: enhancement CC: alexfails, curie64hkg, leigh123linux
Priority: P1    
Version: f38   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description dreua 2023-12-11 10:27:33 CET
Telegram desktop blocks upgrade of the Qt libraries on Fedora 38

Problem 1: cannot install both qt6-qtbase-6.6.0-6.fc38.x86_64 from updates and qt6-qtbase-6.5.2-5.fc38.x86_64 from @System
  - package AusweisApp2-1.26.7-1.fc38.x86_64 from @System requires libQt6Network.so.6(Qt_6.5_PRIVATE_API)(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package qt6-qtbase-6.5.2-5.fc38.x86_64
  - cannot install the best update candidate for package AusweisApp2-1.26.7-1.fc38.x86_64
 Problem 2: package telegram-desktop-4.8.4-3.fc38.x86_64 from @System requires libQt6Gui.so.6(Qt_6.5_PRIVATE_API)(64bit), but none of the providers can be installed
  - package telegram-desktop-4.8.4-3.fc38.x86_64 from @System requires libQt6Widgets.so.6(Qt_6.5_PRIVATE_API)(64bit), but none of the providers can be installed
  - cannot install both qt6-qtbase-gui-6.6.0-6.fc38.x86_64 from updates and qt6-qtbase-gui-6.5.2-5.fc38.x86_64 from @System
  - cannot install the best update candidate for package telegram-desktop-4.8.4-3.fc38.x86_64
  - cannot install the best update candidate for package qt6-qtbase-gui-6.5.2-5.fc38.x86_64
 Problem 3: problem with installed package telegram-desktop-4.8.4-3.fc38.x86_64
  - package telegram-desktop-4.8.4-3.fc38.x86_64 from @System requires libQt6Core.so.6(Qt_6.5_PRIVATE_API)(64bit), but none of the providers can be installed
  - package telegram-desktop-4.8.4-3.fc38.x86_64 from @System requires qt6-qtbase(x86-64) = 6.5.2, but none of the providers can be installed
  - package telegram-desktop-4.8.4-3.fc38.x86_64 from rpmfusion-free-updates requires libQt6Core.so.6(Qt_6.5_PRIVATE_API)(64bit), but none of the providers can be installed
  - package telegram-desktop-4.8.4-3.fc38.x86_64 from rpmfusion-free-updates requires qt6-qtbase(x86-64) = 6.5.2, but none of the providers can be installed
  - cannot install both qt6-qtbase-6.6.0-6.fc38.x86_64 from updates and qt6-qtbase-6.5.2-5.fc38.x86_64 from @System
  - package gstreamer1-plugins-good-qt6-1.22.5-3.fc38.x86_64 from updates requires libQt6Core.so.6(Qt_6.6)(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package gstreamer1-plugins-good-qt6-1.22.5-1.fc38.x86_64


Let me know if you need any help / further information and thank you for maintaining the package! :)
Comment 1 Vasiliy Glazov 2023-12-11 10:32:05 CET
Telegram 4.8.4 failed to build from sources with new Qt6.
Also more recent versions of Telegram require lib version that is absent in F38 (and not planned to be updated).

So you recommended update to F39.
Comment 2 Nicolas Chauvet 2023-12-11 17:35:53 CET
(In reply to Vasiliy Glazov from comment #1)
> Telegram 4.8.4 failed to build from sources with new Qt6.
> Also more recent versions of Telegram require lib version that is absent in
> F38 (and not planned to be updated).
> 
> So you recommended update to F39.

Is it possible to rebuild the current telegram in f38 with qt5 instead ? 

Or is it possible to build with an older static version so the needs to rebuild telegram for any qt6 updates.


If anyone is able to help with fixing/backporting, please see the fc38 build failure at
https://koji.rpmfusion.org/koji/packageinfo?packageID=492
Submit a PR at https://github.com/rpmfusion/telegram-desktop
Comment 3 Vasiliy Glazov 2023-12-12 12:11:42 CET
Seems I can build telegram-desktop with Qt5.

It will be good decision?
Comment 4 Vasiliy Glazov 2023-12-13 06:46:27 CET
Built in koji.
Comment 5 curie64hkg@gmail.com 2024-03-01 06:42:34 CET
I'm still getting error while systemupgrade from F38 to F39.

Problem: problem with installed package fcitx5-qt-qt6gui-5.1.4-7.fc39.x86_64
  - package fcitx5-qt-qt6gui-5.1.4-7.fc39.x86_64 from @System requires libQt6Core.so.6(Qt_6.6)(64bit), but none of the providers can be installed
  - package fcitx5-qt-qt6gui-5.1.4-7.fc39.x86_64 from updates requires libQt6Core.so.6(Qt_6.6)(64bit), but none of the providers can be installed
  - cannot install both qt6-qtbase-6.5.2-5.fc39.x86_64 from fedora and qt6-qtbase-6.6.2-1.fc39.x86_64 from @System
  - cannot install both qt6-qtbase-6.6.2-1.fc39.x86_64 from updates and qt6-qtbase-6.5.2-5.fc39.x86_64 from fedora
  - package telegram-desktop-4.11.3-1.fc39.x86_64 from rpmfusion-free requires libQt6Core.so.6(Qt_6.5_PRIVATE_API)(64bit), but none of the providers can be installed
  - package telegram-desktop-4.11.3-1.fc39.x86_64 from rpmfusion-free requires qt6-qtbase(x86-64) = 6.5.2, but none of the providers can be installed
  - conflicting requests
  - nothing provides qt6-qtbase(x86-64) = 6.6.0 needed by telegram-desktop-4.15.0-2.fc39.x86_64 from rpmfusion-free-updates
Comment 6 curie64hkg@gmail.com 2024-03-01 06:44:49 CET
I'm still getting error while systemupgrade from F38 to F39.

Problem: problem with installed package fcitx5-qt-qt6gui-5.1.4-7.fc39.x86_64
  - package fcitx5-qt-qt6gui-5.1.4-7.fc39.x86_64 from @System requires libQt6Core.so.6(Qt_6.6)(64bit), but none of the providers can be installed
  - package fcitx5-qt-qt6gui-5.1.4-7.fc39.x86_64 from updates requires libQt6Core.so.6(Qt_6.6)(64bit), but none of the providers can be installed
  - cannot install both qt6-qtbase-6.5.2-5.fc39.x86_64 from fedora and qt6-qtbase-6.6.2-1.fc39.x86_64 from @System
  - cannot install both qt6-qtbase-6.6.2-1.fc39.x86_64 from updates and qt6-qtbase-6.5.2-5.fc39.x86_64 from fedora
  - package telegram-desktop-4.11.3-1.fc39.x86_64 from rpmfusion-free requires libQt6Core.so.6(Qt_6.5_PRIVATE_API)(64bit), but none of the providers can be installed
  - package telegram-desktop-4.11.3-1.fc39.x86_64 from rpmfusion-free requires qt6-qtbase(x86-64) = 6.5.2, but none of the providers can be installed
  - conflicting requests
  - nothing provides qt6-qtbase(x86-64) = 6.6.0 needed by telegram-desktop-4.15.0-2.fc39.x86_64 from rpmfusion-free-updates
Comment 7 Vasiliy Glazov 2024-03-01 06:47:25 CET
Are you enabled rpmfusion-free-updates-testing repo during systemupgrade?
Comment 8 curie64hkg@gmail.com 2024-03-07 01:38:23 CET
(In reply to Vasiliy Glazov from comment #7)
> Are you enabled rpmfusion-free-updates-testing repo during systemupgrade?


NO, I did not.
Comment 9 Vasiliy Glazov 2024-03-07 13:19:39 CET
Now it is no longer relevant.
At that time, the package was in the test repository.

Problem still present?