Package Details: emacs-mozc-ut-full 2.31.5851.102.20250816-1

Git Clone URL: https://aur.archlinux.org/mozc-ut-full.git (read-only, click to copy)
Package Base: mozc-ut-full
Description: Emacs engine module for Mozc with UT dictionary
Upstream URL: https://github.com/fcitx/mozc
Licenses: custom
Conflicts: emacs-mozc
Replaces: emacs-mozc
Submitter: brli
Maintainer: brli
Last Packager: brli
Votes: 7
Popularity: 0.92
First Submitted: 2022-07-04 17:27 (UTC)
Last Updated: 2025-08-21 16:41 (UTC)

Required by (0)

Sources (21)

Latest Comments

1 2 3 4 5 Next › Last »

Bitals commented on 2025-08-26 15:43 (UTC)

@brli sure, sorry for the lack of context. I think it should be universally reproducible with a clean build now as github changing existing files checksums is a well known problem with an issue created long ago.

Still, here are some additional details. Package: mozc-ut-full-common Stage: build()

14:13:43 ==> Starting build()...
14:13:43 Extracting Bazel installation...
14:13:44 Starting local Bazel server (8.3.1) and connecting to it...
14:13:45 Computing main repo mapping: 
...
14:13:57 Analyzing: 6 targets (178 packages loaded, 5374 targets configured)
14:13:57 WARNING: Download from https://github.com/hiroyuki-komatsu/japanpost_zipcode/raw/refs/heads/main/jigyosyo.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Checksum was f390501cbfe143921a939884178e5b33ca246181803d814e5f58676c19e91a6c but wanted 0e62af72f56a3039409dc105057051df0e374c2e373a2a068172daaaa1a9af13
14:13:57 INFO: Repository +_repo_rules7+zip_code_jigyosyo instantiated at:
14:13:57   <builtin>: in <toplevel>
14:13:57 Repository rule http_archive defined at:
14:13:57   /home/builder/.cache/bazel/_bazel_builder/ad1e64ce2a5749c9b6295b7eb211686d/external/bazel_tools/tools/build_defs/repo/http.bzl:394:31: in <toplevel>
14:13:57 ERROR: /home/builder/.cache/bazel/_bazel_builder/ad1e64ce2a5749c9b6295b7eb211686d/external/bazel_tools/tools/build_defs/repo/http.bzl:139:45: An error occurred during the fetch of repository '+_repo_rules7+zip_code_jigyosyo':
14:13:57    Traceback (most recent call last):
14:13:57    File "/home/builder/.cache/bazel/_bazel_builder/ad1e64ce2a5749c9b6295b7eb211686d/external/bazel_tools/tools/build_defs/repo/http.bzl", line 139, column 45, in _http_archive_impl
14:13:57        download_info = ctx.download_and_extract(
14:13:57 Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/hiroyuki-komatsu/japanpost_zipcode/raw/refs/heads/main/jigyosyo.zip] to /home/builder/.cache/bazel/_bazel_builder/ad1e64ce2a5749c9b6295b7eb211686d/external/+_repo_rules7+zip_code_jigyosyo/temp15090556650305586974/jigyosyo.zip: Checksum was f390501cbfe143921a939884178e5b33ca246181803d814e5f58676c19e91a6c but wanted 0e62af72f56a3039409dc105057051df0e374c2e373a2a068172daaaa1a9af13
14:13:58 ERROR: no such package '@@+_repo_rules7+zip_code_jigyosyo//': java.io.IOException: Error downloading [https://github.com/hiroyuki-komatsu/japanpost_zipcode/raw/refs/heads/main/jigyosyo.zip] to /home/builder/.cache/bazel/_bazel_builder/ad1e64ce2a5749c9b6295b7eb211686d/external/+_repo_rules7+zip_code_jigyosyo/temp15090556650305586974/jigyosyo.zip: Checksum was f390501cbfe143921a939884178e5b33ca246181803d814e5f58676c19e91a6c but wanted 0e62af72f56a3039409dc105057051df0e374c2e373a2a068172daaaa1a9af13
14:14:00 ERROR: /home/builder/.cache/aurutils/sync/mozc-ut-full/src/mozc/src/dictionary/BUILD.bazel:743:11: //dictionary:zip_code_data depends on @@+_repo_rules7+zip_code_jigyosyo//:JIGYOSYO.CSV in repository @@+_repo_rules7+zip_code_jigyosyo which failed to fetch. no such package '@@+_repo_rules7+zip_code_jigyosyo//': java.io.IOException: Error downloading [https://github.com/hiroyuki-komatsu/japanpost_zipcode/raw/refs/heads/main/jigyosyo.zip] to /home/builder/.cache/bazel/_bazel_builder/ad1e64ce2a5749c9b6295b7eb211686d/external/+_repo_rules7+zip_code_jigyosyo/temp15090556650305586974/jigyosyo.zip: Checksum was f390501cbfe143921a939884178e5b33ca246181803d814e5f58676c19e91a6c but wanted 0e62af72f56a3039409dc105057051df0e374c2e373a2a068172daaaa1a9af13
14:14:00 ERROR: Analysis of target '//server:mozc_server' failed; build aborted: Analysis failed
INFO: Elapsed time: 24.515s, Critical Path: 0.04s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully
FAILED: 
==> ERROR: A failure occurred in build().
    Aborting...

brli commented on 2025-08-26 14:38 (UTC)

Hi, @Bitals

Would you mind share more lines between which this error line happens?

At what step of the process do the build system try to download and verify checksum?

Bitals commented on 2025-08-26 14:16 (UTC)

'@@+_repo_rules7+zip_code_jigyosyo//': java.io.IOException: Error downloading [https://github.com/hiroyuki-komatsu/japanpost_zipcode/raw/refs/heads/main/jigyosyo.zip] to /home/builder/.cache/bazel/_bazel_builder/ad1e64ce2a5749c9b6295b7eb211686d/external/+_repo_rules7+zip_code_jigyosyo/temp15090556650305586974/jigyosyo.zip: Checksum was f390501cbfe143921a939884178e5b33ca246181803d814e5f58676c19e91a6c but wanted 0e62af72f56a3039409dc105057051df0e374c2e373a2a068172daaaa1a9af13

Kovariszt commented on 2025-04-11 22:18 (UTC)

This fails to build with a segfault. This is because protobuf currently can't be compiled with clang.

veronika commented on 2025-02-01 14:46 (UTC)

thank you

soylens commented on 2025-02-01 08:47 (UTC)

i'd recommend to just skip the checksums for those sources which update themselves. @veronika

veronika commented on 2025-02-01 07:52 (UTC)

Hi. Have you updated the sha512 sums in the pkgbuild? When I run the script, the package won't start compiling because the sha512 sums don't match

brli commented on 2025-01-19 07:21 (UTC)

the recipe has been updated.

should be cohere with utuhiro78's script and fcitx's change to build system.

Dettorer commented on 2024-11-03 01:01 (UTC)

I think this package wasn't update along the recent design changes:

  • the dictionaries' filename in source changed, they end with .txt.bz2 instead of .txt.tar.bz2 now;
  • their respective checksum changed accordingly;
  • the file names also contain the _dictdate value in them it seems, so the cat command fails;
  • the script used in the PKGBUILD don't exist anymore (I guess the were replaced with the merge/tmerge_dictionaries.py script?).

ToastedWookiee commented on 2024-10-24 14:14 (UTC) (edited on 2024-10-25 06:12 (UTC) by ToastedWookiee)

In "merge-ut-dictionaries" in a commit 3 days ago the files for "remove_duplicate_ut_entries.py", "count_word_hits.py", and "apply_word_hits.py" were removed from the "src" directory and are located in "src/merge"

https://github.com/utuhiro78/merge-ut-dictionaries/commit/b2198e7f15145f1ed4ef84ac0ffaa5f81a8931e0

==> 2. Patch python scripts to avoid downloading
sed: can't read count_word_hits.py: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: mozc-ut-full-exit status 4

but then in the current file, there is an error, due to the removal of the file download line, which has been changed in the src:

==> 3. Run the python scripts as in original make.sh, it may take some time...
  File "/home/scott/.cache/yay/mozc-ut-full/src/merge-ut-dictionaries/src/merge/count_word_hits.py", line 11
    ['wget', '-N', 'https://dumps.wikimedia.org/jawiki/latest/' +
IndentationError: unexpected indent
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: mozc-ut-full-exit status 4