Bug 461620 - fcitx5-frontend-qt5 broken again in Kde neon
Summary: fcitx5-frontend-qt5 broken again in Kde neon
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-09 01:28 UTC by Mintra
Modified: 2023-05-10 23:07 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mintra 2022-11-09 01:28:07 UTC
SUMMARY
***
Installing fcitx5-frontend-qt5 failed and says

The following packages have unmet dependencies:
 fcitx5-frontend-qt5 : Depends: qtbase-abi-5-15-3

***


STEPS TO REPRODUCE
1. sudo apt install fcitx5-frontend-qt5

OBSERVED RESULT
The following packages have unmet dependencies:
 fcitx5-frontend-qt5 : Depends: qtbase-abi-5-15-3

EXPECTED RESULT
No complain

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.15.0-52-generic
(available in About System)
KDE Plasma Version: 5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Without this package fcitx5 doesn't work on qt apps. There are some bug reports about the same thing that are a year old so not on the latest 22.04 build.
https://bugs.kde.org/show_bug.cgi?id=376120
https://bugs.kde.org/show_bug.cgi?id=446368
The bug doesn't exist on kubuntu 22.04, I have tested it on gnome-boxes. So most likely the problem is on the Kde neon side.
Comment 1 Jumpei Ogawa 2023-04-22 03:35:49 UTC
This issue still happens.
Since Mintra's report is a bit old now, here's the report I reproduced on my end.

SUMMARY

I cannot install fcitx5-frontend-qt5 because of unmet dependency.
The same issue happened before (See ADDITIONAL INFORMATION) and I guess package rebuild is required.

STEPS TO REPRODUCE

1. Run `sudo apt install fcitx5-frontend-qt5`

OBSERVED RESULT

```
$ sudo apt install fcitx5-frontend-qt5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) fcitx5-frontend-qt5:amd64 < none -> 5.0.10-1build1 @un puN Ib >
Broken fcitx5-frontend-qt5:amd64 Depends on qtbase-abi-5-15-3:amd64 < none @un H >
  Considering libqt5core5a:amd64 4014 as a solution to fcitx5-frontend-qt5:amd64 10001
  Considering libqt5core5a:amd64 4014 as a solution to fcitx5-frontend-qt5:amd64 10001
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 fcitx5-frontend-qt5 : Depends: qtbase-abi-5-15-3
E: Unable to correct problems, you have held broken packages.
```

EXPECTED RESULT

fcitx5-frontend-qt5 is successfully installed

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
KDE Plasma Version: 5.27.4 (KDE neon 5.27)
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION

I think this bug is almost the same as the following bug.
https://bugs.kde.org/show_bug.cgi?id=367519
https://github.com/fcitx/fcitx-qt5/issues/17
Comment 2 Jonathan Riddell 2023-04-24 11:08:48 UTC
sorry about this, it did recompile but maybe not at the right time, I've updated the process to do it later
Comment 3 Jumpei Ogawa 2023-04-24 13:19:51 UTC
> I've updated the process to do it later

Thanks, I'm looking for the package update!
Comment 4 Hachimaki 2023-04-25 11:09:57 UTC
Hi, I want to clarify something. fcitx-qt5(https://github.com/fcitx/fcitx-qt5) is qt frontend for fcitx4 (old generation of fcitx). Currently Neon have fcitx-qt5 built against latest qt5/6 in repo. fcitx5-qt(https://github.com/fcitx/fcitx5-qt) is qt frontend for fcitx5 (new generation of fcitx, most users have shifted to this version). Neon doesn't have his own fcitx5-qt package built against latest qt5/6 in repo. fcitx5-qt in Ubuntu repo does't work on Neon. Btw, fcitx5-qt in Ubuntu repo isn't built with -DENABLE_QT6=On so there is no fcitx-fronend-qt6 package and no fcitx5 support for qt6 application. I hope Neon can have his own fcitx5-qt built again latest qt5/6 with -DENABLE_QT6=On.
Comment 5 Jonathan Riddell 2023-04-25 11:15:19 UTC
I've made a new todo about fcitx5-qt
https://invent.kde.org/teams/neon/-/issues/147
Comment 6 Jonathan Riddell 2023-04-25 11:21:24 UTC
New build is now available
Comment 7 Jumpei Ogawa 2023-04-26 04:28:52 UTC
Thanks, I will check it later!
Comment 8 Jumpei Ogawa 2023-04-28 06:23:02 UTC
I have checked if I can install fcitx5-frontend-qt5, but unfortunately, I couldn't. The problem still persists.

```
$ sudo apt update -qq
All packages are up to date.
$ sudo apt install fcitx5-frontend-qt5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) fcitx5-frontend-qt5:amd64 < none -> 5.0.10-1build1 @un puN Ib >
Broken fcitx5-frontend-qt5:amd64 Depends on qtbase-abi-5-15-3:amd64 < none @un H >
  Considering libqt5core5a:amd64 4003 as a solution to fcitx5-frontend-qt5:amd64 9999
  Considering libqt5core5a:amd64 4003 as a solution to fcitx5-frontend-qt5:amd64 9999
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 fcitx5-frontend-qt5 : Depends: qtbase-abi-5-15-3
E: Unable to correct problems, you have held broken packages.
```
Comment 9 Carlos De Maine 2023-04-29 01:25:49 UTC
fcitx-qt5 has a new build.  i'm currently wrestling the build servers to build xcb-imdkit, fcitx5 and then fcitx5-qt.  should be available soon.
Comment 10 Jumpei Ogawa 2023-04-29 01:32:14 UTC
Oops, so fcitx5-frontend-qt5 is not rebuilt yet. Sorry for the misunderstanding.
Comment 11 Carlos De Maine 2023-05-10 10:22:03 UTC
ok.  finally managed to get fcittx5* into all editions.  can you please update and install and report back
Comment 12 Jumpei Ogawa 2023-05-10 10:40:54 UTC
Thanks!

However, I couldn't install fcitx5-frontend-qt5 yet.
The problem still happens on my end.

```
$ sudo apt update
[sudo] password for phanect: 
Hit:1 http://download.virtualbox.org/virtualbox/debian jammy InRelease
Hit:2 https://download.docker.com/linux/ubuntu jammy InRelease                                                                                                                                                    
Hit:3 http://packages.microsoft.com/repos/code stable InRelease                                                                                                                                                   
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                                     
Hit:5 https://apt.releases.hashicorp.com jammy InRelease                                                                                                                                                          
Hit:6 https://packages.microsoft.com/repos/edge stable InRelease                                                                                                                                                  
Hit:7 https://deb.nodesource.com/node_18.x jammy InRelease                                                                                                                                                        
Hit:8 http://security.ubuntu.com/ubuntu jammy-security InRelease                                                                                                                                                  
Hit:9 http://archive.ubuntu.com/ubuntu jammy InRelease                                                                                                                        
Hit:10 http://repository.spotify.com stable InRelease                                                                                                   
Hit:11 http://archive.ubuntu.com/ubuntu jammy-updates InRelease                                                                                         
Hit:12 https://apt.packages.shiftkey.dev/ubuntu any InRelease                                                                    
Hit:13 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease                             
Get:14 http://archive.neon.kde.org/user jammy InRelease [189 kB]                     
Fetched 189 kB in 2s (90.3 kB/s)    
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
$ sudo apt install fcitx5-frontend-qt5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) fcitx5-frontend-qt5:amd64 < none -> 5.0.10-1build1 @un puN Ib >
Broken fcitx5-frontend-qt5:amd64 Depends on qtbase-abi-5-15-3:amd64 < none @un H >
  Considering libqt5core5a:amd64 4003 as a solution to fcitx5-frontend-qt5:amd64 9999
  Considering libqt5core5a:amd64 4003 as a solution to fcitx5-frontend-qt5:amd64 9999
Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 fcitx5-frontend-qt5 : Depends: qtbase-abi-5-15-3
E: Unable to correct problems, you have held broken packages.
```
Comment 13 Jumpei Ogawa 2023-05-10 10:49:01 UTC
Here's my `apt show` results.

```
$ apt show fcitx5-frontend-qt5
Package: fcitx5-frontend-qt5
Version: 5.0.10-1build1
Priority: optional
Section: universe/libs
Source: fcitx5-qt
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 381 kB
Depends: libfcitx5-qt1 (= 5.0.10-1build1), libc6 (>= 2.34), libfcitx5utils2 (>= 5.0.14), libgcc-s1 (>= 3.3.1), libqt5core5a (>= 5.15.1), libqt5dbus5 (>= 5.0.2), libqt5gui5 (>= 5.9.0~beta) | libqt5gui5-gles (>= 5.9.0~beta), libqt5widgets5 (>= 5.0.2), libstdc++6 (>= 11), libxcb1, libxkbcommon0 (>= 0.5.0), qtbase-abi-5-15-3
Homepage: https://github.com/fcitx/fcitx5-qt
Task: ubuntukylin-desktop
Download-Size: 110 kB
APT-Sources: http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
Description: IM module for fcitx5
```

I checked the Packages file on the repository and its Version is 1.2.7-2+22.04+jammy+release+build6. 
https://origin.archive.neon.kde.org/user/dists/jammy/main/binary-amd64/Packages

```
Package: fcitx-frontend-qt5
Priority: optional
Section: libs
Installed-Size: 197
Maintainer: Neon CI <neon@kde.org>
Architecture: amd64
Source: fcitx-qt5
Version: 1.2.7-2+22.04+jammy+release+build6
Depends: fcitx-module-dbus, libc6 (>= 2.14), libgcc-s1 (>= 3.0), libqt5core5a (>= 5.15.9+p22.04+tunstable+git20230418.1325), libqt5dbus5 (>= 5.15.9+p22.04+tunstable+git20230418.1325), libqt5gui5 (>= 5.15.9+p22.04+tunstable+git20230418.1325), libstdc++6 (>= 11), libxkbcommon0 (>= 0.5.0)
Filename: pool/main/f/fcitx-qt5/fcitx-frontend-qt5_1.2.7-2+22.04+jammy+release+build6_amd64.deb
Size: 58636
MD5sum: 78ca8770162f07f982205f43daa83be0
SHA1: 594b6b51d876cec589b82d3aa73dd1a66977729b
SHA256: b10165f8bfb2118d8695e58ee10353592a14462a3f770a364b0fe7671c35dde4
SHA512: d906bdb9d10586f061a8ac02072b6f24e94e2cdadbb51fb3320e99b56971ca31703061d0978e2b6b48e3bb0b2bb3676669cb8c7fb8bb2d7367903b658d94c94c
Description: Free Chinese Input Toy of X - Qt5 IM Module frontend
 Fcitx is the Free Chinese Input Toy of X, which was initially designed
 ...
Homepage: https://www.fcitx-im.org
Multi-Arch: same
```

Is it the cause?
Comment 14 Jumpei Ogawa 2023-05-10 11:11:06 UTC
Sorry, my last comment was unclear.

On Ubuntu repository, fcitx5-frontend-qt5's version is 5.0.10-1build1.
On the other hand, on KDEneon repository, fcitx5-frontend-qt5's version is 1.2.7-2+22.04+jammy+release+build6.

Since fcitx5-frontend-qt5 version is newer on Ubuntu repository, apt tries to install fcitx5-frontend-qt5 from Ubuntu repo when I run `sudo apt install fcitx5-frontend-qt5`.

I guess Ubuntu's fcitx5-frontend-qt5 derives from https://github.com/fcitx/fcitx5-qt which is the latest version is 5.0.17 and KDEneon's derives from https://github.com/fcitx/fcitx-qt5 which is the latest version is 1.2.7. (See git tags to check the released versions) You may have built fcitx-qt5 but you might have to build fcitx5-qt as well as Ubuntu.
Comment 15 Jonathan Riddell 2023-05-10 19:00:44 UTC
try now, I've done a new user snapshot so new packages are published
Comment 16 Jumpei Ogawa 2023-05-10 23:07:06 UTC
Thanks, I successfully installed fcitx5-frontend-qt5!
Closing this bug.