Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#70949 - Alacritty/winit: Failed to open input method: PotentialInputMethods

Attached to Project: Community Packages
Opened by S Shaikh (sshaikh) - Wednesday, 19 May 2021, 18:13 GMT
Last edited by Christian Rebischke (Shibumi) - Friday, 04 June 2021, 19:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Jiachen Yang (farseerfc)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Alacritty fails to start with the following error (snipped):

thread 'main' panicked at 'Failed to open input method: PotentialInputMethods {...}, /build/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/x11/mod.rs:134:17

Additional info:

* Tried with latest from community (0.7.2) and head from git via alacritty-git (aur).
* Reproduced with empty (deleted) config
* Reported upstream here: https://github.com/alacritty/alacritty/issues/5153
* Perhaps related to: https://github.com/rust-windowing/winit/issues/636
* locales setup appears okay
* most recent pacman system updates updated the following, of which libx11-1.7.1-1 seems important?

alsa-card-profiles-1:0.3.28-1
binutils-2.36.1-3
ca-certificates-mozilla-3.65-1
dav1d-0.9.0-1
gcc-11.1.0-1
gcc-libs-11.1.0-1
glibc-2.33-5
gvim-8.2.2859-1
libidn2-2.3.1-1
libmfx-21.1.3-1
libtasn1-4.17.0-1
libtirpc-1.3.2-1
libtool-2.4.6+42+gb88cebd5-16
libx11-1.7.1-1
libxfixes-6.0.0-1
linux-5.12.5.arch1-1
linux-api-headers-5.12.3-1
linux-firmware-20210511.7685cf4-1
nss-3.65-1
pacman-5.2.2-4
pango-1:1.48.5-1
pipewire-1:0.3.28-1
pipewire-media-session-1:0.3.28-1
pipewire-pulse-1:0.3.28-1
starship-0.54.0-1
systemd-248.3-2
systemd-libs-248.3-2
systemd-sysvcompat-248.3-2
vim-runtime-8.2.2859-1


Steps to reproduce:

Update using pacman -Syu
Install working terminal (eg xterm)
Try to run alacritty via command line
This task depends upon

Closed by  Christian Rebischke (Shibumi)
Friday, 04 June 2021, 19:45 GMT
Reason for closing:  Not a bug
Comment by S Shaikh (sshaikh) - Wednesday, 19 May 2021, 18:14 GMT
I've reported this here vs flagging package out of date as latest from git also has the same behaviour.
Comment by S Shaikh (sshaikh) - Friday, 21 May 2021, 10:00 GMT
I'm now seeing this on at least three of my Arch boxes, a mixture of local and remote machines (via rdp). They do share configuration, so my next step is to reproduce on a minimal build with default configuration.
Comment by S Shaikh (sshaikh) - Monday, 24 May 2021, 14:56 GMT
Issue was in my pacman config, namely an overzealous NoExtract:

NoExtract = usr/share/X11/locale/* !usr/share/X11/locale/compose.dir !usr/share/X11/locale/locale* !usr/share/X11/locale/en_GB.UTF-8/*

Removing this and reinstalling (`pacman -Qqn | pacman -S -`) repaired my system.

That said, I've had this directive for a long time so something must have changed recently to have made it an issue (I suspect some kind of optimisation which requires non obvious locales to be present).

Happy for this to be closed, unless the changed behaviour needs to be investigated further.
Comment by Christian Rebischke (Shibumi) - Friday, 04 June 2021, 19:45 GMT
Thanks for clarifying this :) Happy to see this working.

Loading...