Bug 2413564 - F42FailsToInstall: fcitx5-qt5, fcitx5-qt6
Summary: F42FailsToInstall: fcitx5-qt5, fcitx5-qt6
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: fcitx5-qt
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Qiyu Yan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F42FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2025-11-08 18:32 UTC by Fedora Fails To Install
Modified: 2025-11-12 20:21 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-11-12 20:21:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
dnf update before confrim (337.92 KB, text/plain)
2025-11-10 13:05 UTC, jackyzy823
no flags Details

Description Fedora Fails To Install 2025-11-08 18:32:12 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (fcitx5-qt) Fails To Install in Fedora 42:

can't install fcitx5-qt5:
  - nothing provides qt5-qtbase(x86-64) = 5.15.17 needed by fcitx5-qt5-5.1.11-1.fc42.x86_64
  
can't install fcitx5-qt6:
  - nothing provides qt6-qtbase(x86-64) = 6.9.2 needed by fcitx5-qt6-5.1.11-1.fc42.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-42-x86_64 --config-opts mirrored=False install fcitx5-qt5 fcitx5-qt6


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 jackyzy823 2025-11-10 12:02:46 UTC
I hope fcitx5-qt could be rebuilt for F42 with updated qt version as soon as possible.

Today i did a dnf update. Although dnf shows some broken packages, it didn't prevent me to update. (i think this shouldn't happen :( )

After update and reboot , the KDE desktop didn't start. kwin_wayland_wrapper failed to start, it failed to lookup a symbol exported in updated qtbase.

I have to switch to tty and do `dnf remove fcitx5-qt*` and  do `dnf update` again to fix the problem.

Comment 2 jackyzy823 2025-11-10 13:05:50 UTC
Created attachment 2113680 [details]
dnf update before confrim

Attachment is the full log of dnf update

More details:

Dnf try to update kwin

```
 kwin                                                                    x86_64           6.5.2-1.fc42                                                              updates                                      2.0 MiB
   replacing kwin                                                        x86_64           6.4.4-2.fc42                                                              updates                                      2.1 MiB
 kwin-common                                                             x86_64           6.5.2-1.fc42                                                              updates                                     12.4 MiB
   replacing kwin-common                                                 x86_64           6.4.4-2.fc42                                                              updates                                     12.7 MiB
 kwin-libs                                                               x86_64           6.5.2-1.fc42                                                              updates                                      8.8 MiB
   replacing kwin-libs                                                   x86_64           6.4.4-2.fc42                                                              updates                                      8.6 MiB
```

however it allows
```
Skipping packages with conflicts:
 qt5-qtbase                                                              x86_64           5.15.18-1.fc42                                                            updates                                      9.8 MiB
 qt6-qtbase                                                              x86_64           6.9.3-1.fc42                                                              updates                                     12.9 MiB
 qt6-qtbase-common                                                       noarch           6.9.3-1.fc42                                                              updates                                     74.0   B
 qt6-qtbase-gui                                                          x86_64           6.9.3-1.fc42                                                              updates                                     23.7 MiB
 qt6-qtdeclarative                                                       x86_64           6.9.3-1.fc42                                                              updates                                     52.5 MiB
 qt6-qtwayland                                                           x86_64           6.9.3-1.fc42                                                              updates                                      5.0 MiB
 qt5-qtbase                                                              x86_64           5.15.16-2.fc42                                                            fedora                                      10.0 MiB
 qt6-qtbase                                                              x86_64           6.8.2-3.fc42                                                              fedora                                      12.6 MiB
 qt6-qtbase-gui                                                          x86_64           6.8.2-3.fc42                                                              fedora                                      23.4 MiB
 qt6-qtdeclarative                                                       x86_64           6.8.2-1.fc42                                                              fedora                                      49.6 MiB
 qt6-qtwayland                                                           x86_64           6.8.2-1.fc42                                                              fedora                                       4.9 MiB
Skipping packages with broken dependencies:
 fcitx5-qt6                                                              x86_64           5.1.11-1.fc42                                                             updates                                    746.1 KiB
 kf5-frameworkintegration                                                x86_64           5.116.0-10.fc42                                                           updates                                      1.7 MiB
 qt6-qt5compat                                                           x86_64           6.9.3-1.fc42                                                              updates                                      2.1 MiB
 qt6-qtbase-mysql                                                        x86_64           6.9.3-1.fc42                                                              updates                                    113.6 KiB
 qt6-qtconnectivity                                                      x86_64           6.9.3-1.fc42                                                              updates                                      1.5 MiB
 qt6-qtdeclarative                                                       x86_64           6.9.3-1.fc42                                                              updates                                     52.5 MiB
 qt6-qtimageformats                                                      x86_64           6.9.3-1.fc42                                                              updates                                    429.2 KiB
 qt6-qtlocation                                                          x86_64           6.9.3-1.fc42                                                              updates                                      2.8 MiB
 fcitx5-configtool                                                       x86_64           5.1.8-1.fc42                                                              fedora                                     927.4 KiB
 fcitx5-qt-qt6gui                                                        x86_64           5.1.9-3.fc42                                                              fedora                                     256.9 KiB
 fcitx5-qt5                                                              x86_64           5.1.9-3.fc42                                                              fedora                                     269.0 KiB
 fcitx5-qt6                                                              x86_64           5.1.9-3.fc42                                                              fedora                                     741.9 KiB
 kcm-fcitx5                                                              x86_64           5.1.8-1.fc42                                                              fedora                                     567.0 KiB
 qt6-qtwayland                                                           x86_64           6.8.2-1.fc42                                                              fedora                                       4.9 MiB

```

Which is weird, it shouldn't allow.


----------------------
I tested with a new installed OS from F42 livecd , install old fcitx5-qt6 (5.1.9) with `dnf --disable-repo=updates` (or without flag , since it don't allow me to install 5.1.11) then do dnf update, it would skip updating kwin 6.3.4 to the latest version.

Comment 3 jackyzy823 2025-11-10 14:17:16 UTC
fcitx5-qt has already been rebuilt in https://bodhi.fedoraproject.org/updates/FEDORA-2025-976ccd79ae , but not in updates https://dl.fedoraproject.org/pub/fedora/linux/updates/42/Everything/x86_64/Packages/f/ , however it could be installed in update-archives. 

this makes me more confused.

Comment 4 daidavid0609 2025-11-10 15:27:15 UTC
Same issue when running sudo dnf update on F42 Sway Spin

Problem 1: cannot install the best update candidate for package fcitx5-qt6-5.1.10-10.fc42.x86_64
  - nothing provides qt6-qtbase(x86-64) = 6.9.2 needed by fcitx5-qt6-5.1.11-1.fc42.x86_64 from updates
 Problem 2: cannot install both qt5-qtbase-5.15.18-1.fc42.x86_64 from updates and qt5-qtbase-5.15.17-2.fc42.x86_64 from @System
  - installed package fcitx5-qt5-5.1.11-1.fc42.x86_64 requires qt5-qtbase(x86-64) = 5.15.17, but none of the providers can be installed
  - cannot install the best update candidate for package qt5-qtbase-5.15.17-2.fc42.x86_64
  - cannot install the best update candidate for package fcitx5-qt5-5.1.11-1.fc42.x86_64
 Problem 3: problem with installed package
  - installed package fcitx5-qt5-5.1.11-1.fc42.x86_64 requires qt5-qtbase(x86-64) = 5.15.17, but none of the providers can be installed
  - package fcitx5-qt5-5.1.11-1.fc42.x86_64 from updates requires qt5-qtbase(x86-64) = 5.15.17, but none of the providers can be installed
  - package fcitx5-qt5-5.1.9-3.fc42.x86_64 from fedora requires qt5-qtbase(x86-64) = 5.15.16, but none of the providers can be installed
  - cannot install both qt5-qtbase-5.15.18-1.fc42.x86_64 from updates and qt5-qtbase-5.15.17-2.fc42.x86_64 from @System
  - cannot install both qt5-qtbase-5.15.16-2.fc42.x86_64 from fedora and qt5-qtbase-5.15.18-1.fc42.x86_64 from updates
  - package python3-qt5-base-5.15.11-13.fc42.x86_64 from updates requires qt5-qtbase(x86-64) = 5.15.18, but none of the providers can be installed
  - cannot install the best update candidate for package python3-qt5-base-5.15.11-7.fc42.x86_64

Skipping packages with conflicts:
 qt5-qtbase                                             x86_64      5.15.18-1.fc42                                          updates                                9.8 MiB
 qt5-qtbase                                             x86_64      5.15.16-2.fc42                                          fedora                                10.0 MiB
Skipping packages with broken dependencies:
 fcitx5-qt5                                             x86_64      5.1.11-1.fc42                                           updates                              269.0 KiB
 fcitx5-qt6                                             x86_64      5.1.11-1.fc42                                           updates                              746.1 KiB
 python3-qt5-base                                       x86_64      5.15.11-13.fc42                                         updates                               15.5 MiB
 fcitx5-qt5                                             x86_64      5.1.9-3.fc42                                            fedora                               269.0 KiB

It seems like a smiliar bug to this https://bugzilla.redhat.com/show_bug.cgi?id=2406641, which I also encountered recently on my machine.

Comment 5 Chris Tao 2025-11-10 16:39:39 UTC
I'm hit by the same issue. fcitx5-qt-5.1.11-1.fc42 still depends on an older version of qt, which breaks my KDE plasma desktop, due to missing symbols. I cannot login to my desktop anymore.
Somehow the kde/plasma packages did not depend on the correct version of qt.

Comment 6 jackyzy823 2025-11-11 12:03:22 UTC
> Somehow the kde/plasma packages did not depend on the correct version of qt.

Yes, 

fcitx5-qt has  stricter qt version than kwin, so dnf will pin qt to 6.9.1 and allow user to continue updating, since kwin don't care about qt version.

But actually kwin will failed to start with qt 6.9.1 due to qt API change.

```
sddm-helper-start-wayland[1914]: "/usr/bin/kwin_wayland: symbol lookup error: /usr/bin/kwin_wayland: undefined symbol: _ZN21QPlatformBackingStore8rhiFlushEP7QWindowdRK7QRegionRK6QPointP20QPlatformTextureListbd, version Qt_6.9_PRIVATE_API\n"
```


-------------

I opened a ticket on kwin side. https://bugzilla.redhat.com/show_bug.cgi?id=2414020

Comment 7 Jan Grulich 2025-11-11 12:58:15 UTC
This is weird, we have done a rebuild of fcitx5-qt and it was in the same update with Qt 6.9.3. I opened a ticket for that: https://pagure.io/releng/issue/13074

Comment 8 Fedora Fails To Install 2025-11-12 20:21:57 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 42.

Thanks for taking care of it!


Note You need to log in before you can comment on or make changes to this bug.