fcitx / mozc

Mozc - a Japanese Input Method Editor designed for multi-platform
Other
136 stars 15 forks source link

Fix fcitx4 bazel build #70

Closed phoepsilonix closed 1 week ago

phoepsilonix commented 1 week ago
Repository rule new_local_repository defined at:
  /home/rhino/.cache/bazel/_bazel_rhino/37d3d36439ed68847add093e7342170a/external/bazel_tools/tools/build_defs/repo/local.bzl:103:39: in <toplevel>
ERROR: /home/rhino/.cache/bazel/_bazel_rhino/37d3d36439ed68847add093e7342170a/external/bazel_tools/tools/build_defs/repo/local.bzl:55:13: An error occurred during the fetch of repository '_main~_repo_rules~fcitx':
   Traceback (most recent call last):
    File "/home/rhino/.cache/bazel/_bazel_rhino/37d3d36439ed68847add093e7342170a/external/bazel_tools/tools/build_defs/repo/local.bzl", line 86, column 29, in _new_local_repository_impl
        children = _get_dir_path(rctx).readdir()
    File "/home/rhino/.cache/bazel/_bazel_rhino/37d3d36439ed68847add093e7342170a/external/bazel_tools/tools/build_defs/repo/local.bzl", line 55, column 13, in _get_dir_path
        fail(
Error in fail: The repository's path is "/home/csslayer/Develop/build/fcitx" (absolute: "/home/csslayer/Develop/build/fcitx") but it does not exist or is not a directory.
ERROR: no such package '@@_main~_repo_rules~fcitx//': The repository's path is "/home/csslayer/Develop/build/fcitx" (absolute: "/home/csslayer/Develop/build/fcitx") but it does not exist or is not a directory.
ERROR: /__w/mozc-deb/mozc-deb/source/src/unix/fcitx/BUILD.bazel:89:15: //unix/fcitx:fcitx-mozc.so depends on @@_main~_repo_rules~fcitx//:fcitx in repository @@_main~_repo_rules~fcitx which failed to fetch. no such package '@@_main~_repo_rules~fcitx//': The repository's path is "/home/csslayer/Develop/build/fcitx" (absolute: "/home/csslayer/Develop/build/fcitx") but it does not exist or is not a directory.
ERROR: Analysis of target '//unix/fcitx:fcitx-mozc.so' failed; build aborted: Analysis failed