Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829537 - app-i18n/mozc-2.26.4220_p20201212102434_p20201219202429-r1 is broken
Summary: app-i18n/mozc-2.26.4220_p20201212102434_p20201219202429-r1 is broken
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-18 09:23 UTC by WGH
Modified: 2021-12-18 17:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (app-i18n:mozc-2.26.4220_p20201212102434_p20201219202429-r1:20211218-165150.log,534.35 KB, text/x-log)
2021-12-18 17:44 UTC, WGH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description WGH 2021-12-18 09:23:35 UTC
I'm using Mozc with ibus. The previous version, 2.23.2815.102-r1, works fine.

When I upgrade to mozc-2.26.4220_p20201212102434_p20201219202429-r1, it's just completely broken.

Choosing Mozc through either hotkey or tray icon apparently does nothing. The icon does get changed from "EN" to "A", but there's no effect otherwise. IME is never activated. I checked Alacritty, Firefox (GTK), KeePassXC (Qt), where the previous version did work. Left click menu in the tray does not give the usual entries that switch hiragana/direct/etc mode, open settings, etc.

In the Input Method tab of ibus-setup, clicking "Preferences" for Mozc does nothing.

The process tree looks normal:

├─ /usr/bin/ibus-daemon --xim --verbose
│  ├─ /usr/libexec/ibus-dconf
│  ├─ /usr/libexec/ibus-ui-gtk3
│  ├─ /usr/libexec/ibus-extension-gtk3
│  ├─ /usr/libexec/ibus-engine-mozc --ibus
│  │  └─ /usr/libexec/mozc/mozc_server
│  │  └─ /usr/libexec/ibus-engine-simple
├─ /usr/libexec/ibus-x11 --kill-daemon
└─ /usr/libexec/ibus-portal

ibus-daemon --verbose gives zero useful logging output:

Dec 18 12:03:39 sixty-four systemd[1326]: Started ibus.
Dec 18 12:03:39 sixty-four ibus-extension-[531510]: panelbinding.vala:246: Checking Wayland is disabled
Dec 18 12:03:39 sixty-four ibus-ui-gtk3[531509]: ibus_bus_call_sync: org.freedesktop.DBus.Properties.Get: GDBus.Error:org.freedesktop.DBus.Error.Failed: No global engine.

Only once, after I edited ~/.config/mozc/ibus_config.textproto and restarted ibus, it worked (the "Preferences" button still did nothing, but everything else worked). It never worked again, so I believe editing config was just a coincidence.

I have no info about fcitx as I don't use it.

(At some point, I wanted to bisect the upstream repo, but the build system frustrated me immensely and I gave up. I have huge respect for the one who managed to package mozc as a ebuild.)


Reproducible: Always




Portage 3.0.28 (python 3.9.9-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.0, glibc-2.33-r7, 5.15.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.7-gentoo-x86_64-AMD_Ryzen_5_PRO_4650U_with_Radeon_Graphics-with-glibc2.33
KiB Mem:    65267640 total,  45954384 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 17 Dec 2021 01:30:01 +0000
Head commit of repository gentoo: d3626a548719804d2712e24aada8b227b0624028
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p8::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r3::gentoo
dev-lang/python:           2.7.18_p13::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:             1.56.1::gentoo
dev-util/cmake:            3.20.5::gentoo
dev-util/meson:            0.59.4::gentoo
sys-apps/baselayout:       2.7-r3::gentoo
sys-apps/sandbox:          2.25::gentoo
sys-apps/systemd:          249.6-r1::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.4::gentoo
sys-devel/binutils:        2.37_p1::gentoo
sys-devel/binutils-config: 5.4::gentoo
sys-devel/clang:           13.0.0::gentoo
sys-devel/gcc:             11.2.0::gentoo
sys-devel/gcc-config:      2.4::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/lld:             13.0.0::gentoo
sys-devel/llvm:            13.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.10-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.33-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C target-cpu=native"
SHELL="/bin/zsh"
USE="acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl systemd udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, L10N, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

app-i18n/mozc-2.26.4220_p20201212102434_p20201219202429-r1::gentoo was built with the following:
USE="gui ibus -debug -emacs -fcitx4 -renderer -test" ABI_X86="(64)"
FEATURES="unmerge-logs pid-sandbox binpkg-docompress network-sandbox distlocks news ipc-sandbox unmerge-orphans userpriv multilib-strict binpkg-dostrip usersync usersandbox merge-sync xattr sandbox config-protect-if-modified sfperms userfetch protect-owned assume-digests ebuild-locks qa-unresolved-soname-deps strict parallel-fetch unknown-features-warn fixlafiles preserve-libs binpkg-logs"


app-i18n/ibus-1.5.25-r1::gentoo was built with the following:
USE="X emoji gtk gtk2 introspection nls python unicode -kde -test -vala -wayland" ABI_X86="(64)" PYTHON_TARGETS="python3_9 (-python3_10) -python3_8"
FEATURES="xattr distlocks parallel-fetch fail-clean preserve-libs binpkg-docompress merge-sync userfetch userpriv ebuild-locks sfperms unmerge-orphans news config-protect-if-modified ipc-sandbox binpkg-logs protect-owned network-sandbox multilib-strict assume-digests binpkg-dostrip unmerge-logs sandbox pid-sandbox strict usersandbox fixlafiles qa-unresolved-soname-deps unknown-features-warn usersync"
Comment 1 Jonas Stein gentoo-dev 2021-12-18 16:31:18 UTC
Please provide
* the complete build.log as attachment
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Comment 2 WGH 2021-12-18 17:44:26 UTC
Created attachment 759612 [details]
build.log
Comment 3 WGH 2021-12-18 17:50:00 UTC
I don't know what changed, but it now works even accross ibus restarts. I still can't open the settings from ibus-setup, but I can do it from the tray menu.