Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: fcitx5-hangul is not work #23039

Closed
hansm629 opened this issue Jan 26, 2025 · 7 comments · Fixed by #23040
Closed

[Bug]: fcitx5-hangul is not work #23039

hansm629 opened this issue Jan 26, 2025 · 7 comments · Fixed by #23040
Labels
bug report Something is not working properly x11 Issue is related to stuff requiring X11 environment or x11-packages

Comments

@hansm629
Copy link

Problem description

After updating the fcitx5 packages to the latest version, fcitx5-hangul does not work.

Typing the fcitx5-configtool command in terminal doesn't work either.

What steps will reproduce the bug?

~$ fcitx5-configtool
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted
~$ fcitx5
I2025-01-27 02:28:58.175152 instance.cpp:178] Trying to fallback to compose table for en_US.UTF-8
I2025-01-27 02:28:58.179845 instance.cpp:1394] Override Enabled Addons: {}
I2025-01-27 02:28:58.179873 instance.cpp:1395] Override Disabled Addons: {}
E2025-01-27 02:28:58.182410 addonloader.cpp:65] Failed to load library for addon quickphrase on /data/data/com.termux/files/usr/lib/fcitx5/libquickphrase.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 02:28:58.182447 addonmanager.cpp:201] Could not load addon quickphrase
E2025-01-27 02:28:58.182498 addonloader.cpp:65] Failed to load library for addon imselector on /data/data/com.termux/files/usr/lib/fcitx5/libimselector.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 02:28:58.182537 addonmanager.cpp:201] Could not load addon imselector
E2025-01-27 02:28:58.182617 addonloader.cpp:65] Failed to load library for addon xcb on /data/data/com.termux/files/usr/lib/fcitx5/libxcb.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 02:28:58.182641 addonmanager.cpp:201] Could not load addon xcb
E2025-01-27 02:28:58.182740 addonloader.cpp:65] Failed to load library for addon clipboard on /data/data/com.termux/files/usr/lib/fcitx5/libclipboard.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 02:28:58.182762 addonmanager.cpp:201] Could not load addon clipboard
W2025-01-27 02:28:58.183744 inputmethodmanager.cpp:205] Failed to load input method addon: keyboard
E2025-01-27 02:28:58.183871 addonloader.cpp:65] Failed to load library for addon pinyinhelper on /data/data/com.termux/files/usr/lib/fcitx5/libpinyinhelper.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 02:28:58.183895 addonmanager.cpp:201] Could not load addon pinyinhelper
E2025-01-27 02:28:58.183939 addonloader.cpp:65] Failed to load library for addon unicode on /data/data/com.termux/files/usr/lib/fcitx5/libunicode.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 02:28:58.183964 addonmanager.cpp:201] Could not load addon unicode
I2025-01-27 02:28:58.190481 addonmanager.cpp:205] Loaded addon keyboard
E2025-01-27 02:28:58.190557 addonloader.cpp:65] Failed to load library for addon dbus on /data/data/com.termux/files/usr/lib/fcitx5/libdbus.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 02:28:58.190578 addonmanager.cpp:201] Could not load addon dbus
E2025-01-27 02:28:58.190625 addonloader.cpp:65] Failed to load library for addon classicui on /data/data/com.termux/files/usr/lib/fcitx5/libclassicui.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 02:28:58.190664 addonmanager.cpp:201] Could not load addon classicui
E2025-01-27 02:28:58.190680 instance.cpp:1404] Couldn't find keyboard-us
E2025-01-27 02:28:59.176520 addonloader.cpp:65] Failed to load library for addon hangul on /data/data/com.termux/files/usr/lib/fcitx5/libhangul.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 02:28:59.176612 addonmanager.cpp:201] Could not load addon hangul

What is the expected behavior?

No response

System information

Termux Variables:
TERMUX_API_APP__VERSION_NAME=0.50.1+8651fd9
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP__AM_SOCKET_SERVER_ENABLED=true
TERMUX_APP__APK_PATH=/data/app/~~p1oPAinlL1zHyWTG6-mJQg==/com.termux-Ab-kRe0QmvX1uRj2OJV7Gw==/base.apk
TERMUX_APP__APK_RELEASE=GITHUB
TERMUX_APP__FILES_DIR=/data/user/0/com.termux/files
TERMUX_APP__IS_DEBUGGABLE_BUILD=true
TERMUX_APP__IS_INSTALLED_ON_EXTERNAL_STORAGE=false
TERMUX_APP__PACKAGE_MANAGER=apt
TERMUX_APP__PACKAGE_NAME=com.termux
TERMUX_APP__PACKAGE_VARIANT=apt-android-7
TERMUX_APP__PID=15863
TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c127,c257,c512,c768
TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete
TERMUX_APP__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c127,c257,c512,c768
TERMUX_APP__TARGET_SDK=28
TERMUX_APP__UID=10383
TERMUX_APP__USER_ID=0
TERMUX_APP__VERSION_CODE=118
TERMUX_APP__VERSION_NAME=0.118.0+e59e5c1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0+e59e5c1
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.dev/apt/termux-main stable main
# x11-repo (sources.list.d/x11.list)
deb https://packages-cf.termux.dev/apt/termux-x11 x11 main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
Updatable packages:
fastfetch/stable 2.35.0 aarch64 [upgradable from: 2.34.1]
fcitx5-configtool/x11 5.1.8 aarch64 [upgradable from: 5.1.7-1]
fcitx5-hangul/x11 5.1.6 aarch64 [upgradable from: 5.1.5]
fcitx5-qt/x11 5.1.9-1 aarch64 [upgradable from: 5.1.8]
fluidsynth/stable 2.4.3 aarch64 [upgradable from: 2.4.2]
gtk-update-icon-cache/x11 3.24.48 aarch64 [upgradable from: 3.24.43]
gtk3/x11 3.24.48 aarch64 [upgradable from: 3.24.43]
libnettle/stable 3.10.1 aarch64 [upgradable from: 3.10]
termux-tools version:
1.44.6
Android version:
14
Kernel build information:
Linux localhost 6.1.75-android14-11 #1 SMP PREEMPT Tue Dec 24 04:14:52 UTC 2024 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-S926N
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.x11 versionCode:15
com.termux.api versionCode:51
@hansm629 hansm629 added bug report Something is not working properly untriaged labels Jan 26, 2025
@twaik
Copy link
Member

twaik commented Jan 26, 2025

Probably we can avoid using fcitx by merging termux/termux-x11#768, but I can not merge it without testing.

@hansm629
Copy link
Author

@twaik
Would it work if I install Termux-X11, which is currently in testing?

@Biswa96
Copy link
Member

Biswa96 commented Jan 26, 2025

Error: libdl.a is a stub --- use libdl.so instead

That reminds me of 58fb213 commit. So, it could be a easy fix.

@twaik
Copy link
Member

twaik commented Jan 26, 2025

You can use the apk artifact from here.

@hansm629
Copy link
Author

@twaik
Unfortunately, even after installing that apk, fcitx5-hangul still does not work.

~$ fcitx5-configtool
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted
fcitx5
I2025-01-27 03:11:30.082025 instance.cpp:178] Trying to fallback to compose table for en_US.UTF-8
I2025-01-27 03:11:30.087409 instance.cpp:1394] Override Enabled Addons: {}
I2025-01-27 03:11:30.087485 instance.cpp:1395] Override Disabled Addons: {}
E2025-01-27 03:11:30.090256 addonloader.cpp:65] Failed to load library for addon quickphrase on /data/data/com.termux/files/usr/lib/fcitx5/libquickphrase.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 03:11:30.090329 addonmanager.cpp:201] Could not load addon quickphrase
E2025-01-27 03:11:30.090411 addonloader.cpp:65] Failed to load library for addon imselector on /data/data/com.termux/files/usr/lib/fcitx5/libimselector.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 03:11:30.090455 addonmanager.cpp:201] Could not load addon imselector
E2025-01-27 03:11:30.090534 addonloader.cpp:65] Failed to load library for addon xcb on /data/data/com.termux/files/usr/lib/fcitx5/libxcb.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 03:11:30.090562 addonmanager.cpp:201] Could not load addon xcb
E2025-01-27 03:11:30.090619 addonloader.cpp:65] Failed to load library for addon clipboard on /data/data/com.termux/files/usr/lib/fcitx5/libclipboard.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 03:11:30.090648 addonmanager.cpp:201] Could not load addon clipboard
W2025-01-27 03:11:30.091537 inputmethodmanager.cpp:205] Failed to load input method addon: keyboard
E2025-01-27 03:11:30.091698 addonloader.cpp:65] Failed to load library for addon pinyinhelper on /data/data/com.termux/files/usr/lib/fcitx5/libpinyinhelper.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 03:11:30.091746 addonmanager.cpp:201] Could not load addon pinyinhelper
E2025-01-27 03:11:30.091814 addonloader.cpp:65] Failed to load library for addon unicode on /data/data/com.termux/files/usr/lib/fcitx5/libunicode.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 03:11:30.091866 addonmanager.cpp:201] Could not load addon unicode
I2025-01-27 03:11:30.098003 addonmanager.cpp:205] Loaded addon keyboard
E2025-01-27 03:11:30.098078 addonloader.cpp:65] Failed to load library for addon dbus on /data/data/com.termux/files/usr/lib/fcitx5/libdbus.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 03:11:30.098100 addonmanager.cpp:201] Could not load addon dbus
E2025-01-27 03:11:30.098143 addonloader.cpp:65] Failed to load library for addon classicui on /data/data/com.termux/files/usr/lib/fcitx5/libclassicui.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 03:11:30.098163 addonmanager.cpp:201] Could not load addon classicui
E2025-01-27 03:11:30.098221 instance.cpp:1404] Couldn't find keyboard-us
E2025-01-27 03:11:31.081644 addonloader.cpp:65] Failed to load library for addon hangul on /data/data/com.termux/files/usr/lib/fcitx5/libhangul.so. Error: libdl.a is a stub --- use libdl.so instead
I2025-01-27 03:11:31.081691 addonmanager.cpp:201] Could not load addon hangul

@Biswa96
Can you fix it?

@twaik
Copy link
Member

twaik commented Jan 26, 2025

I did not mean that apk will make fcitx work. I mean termux-x11's input solution could replace it.

@hansm629
Copy link
Author

@twaik
Aha, now I understand.

@Biswa96 Biswa96 added x11 Issue is related to stuff requiring X11 environment or x11-packages and removed untriaged labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something is not working properly x11 Issue is related to stuff requiring X11 environment or x11-packages
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants