fcitx / mozc

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

Fixing bazel dependencies. #52

Closed phoepsilonix closed 4 months ago

phoepsilonix commented 4 months ago
bazel cquery --config oss_linux unix/fcitx5:fcitx5-mozc.so
ERROR: mozc/src/unix/fcitx5/BUILD:34:16: no such target '@@fcitx5//:fcitx5': target 'fcitx5' not declared in package and 'referenced by '//unix/fcitx5:mozc_engine'

Description

The update_mozc_deps command failed in fcitx/flatpak-fcitx5. The reason for this was in the description of the bazel dependency.

wengxt commented 4 months ago

No, you didn’t have fcitx5 dev file installed, or pkg config doesn’t find fcitx5 dev files.

The fcitx5 target is defined in WORKSPACE and resolved with pkg config.