@asday This package normally receives an update once a month, i.e. when the UT dictionary puts out a new version, and along with UT it pulls in the latest monthly updates to Mozc. These last couple of months have been an exception to the rule, with 2 or 3 updates per month, some of them because of Mozc changes that introduced incompatibilities and/or build failures and required an update to address them, and some of them because for whatever reason there were multiple versions of UT released within a single month.
The problem is that, even when only the UT dictionary is updated, the package still requires recompilation because the way things currently work, the dictionary file is not loaded externally by Mozc but must rather be compiled into the Mozc binary itself - i.e. it's not a matter of simply updating the dictionary file and calling it a day.
As for the recompilation of the dependencies, which is mainly about protobuf: as far as I can tell by looking into it just now, it has long been kind of a pain for Bazel users (see e.g. here). You're right that it shouldn't be recompiling on each and every update of Mozc (I hadn't noticed it myself because on my system the whole process takes less than a couple of minutes to finish, so it never bothered me enough to make me look into what exactly it's doing when compiling) but to be completely honest with you, I have no idea why it does so. Maybe it's the way Bazel is set up and called from within the PKGBUILD, or maybe the build rules provided by Mozc are not written properly, or maybe it's some weird quirk of Bazel that needs to be identified and dealt with, or maybe it's something else entirely.
I'll try to look for a solution in the next few days, but I can't make any promises because Bazel is a terribly convoluted tool and I doubt I'll have much luck without seriously investing myself into learning its ins and outs. So for the time being, as tiring as it is for you and your laptop, you'll unfortunately have to bear with these huge updates :/
Pinned Comments
Nocifer commented on 2022-05-29 21:54 (UTC) (edited on 2023-08-22 09:33 (UTC) by Nocifer)
If you're getting compilation errors, please delete your Bazel cache (
~/.cache/bazel
by default).