Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fcitx5-mozc-ext-neologd-2.29.5111.102.g7896c97-1 インストールがコケる #22

Open
laughk opened this issue Jun 13, 2023 · 1 comment

Comments

@laughk
Copy link
Owner

laughk commented Jun 13, 2023

fcitx5-mozc-ext-neologd を最新に上げようとしたところ以下のエラーでコケてしまう

$ yay -S fcitx5-mozc-ext-neologd
AUR Explicit (1): fcitx5-mozc-ext-neologd-2.29.5111.102.g7896c97-1
:: PKGBUILD up to date, skipping download: fcitx5-mozc-ext-neologd
  1 fcitx5-mozc-ext-neologd          (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
  1 fcitx5-mozc-ext-neologd          (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: fcitx5-mozc-ext-neologd 2.29.5111.102.g7896c97-1 (Tue 13 Jun 2023 09:36:52 AM JST)
==> Retrieving sources...
  -> Updating mozc git repo...
  -> Found jigyosyo-202110.zip
  -> Found x-ken-all-202110.zip
  -> Updating breakpad git repo...
  -> Updating googletest git repo...
  -> Updating gyp git repo...
  -> Updating japanese-usage-dictionary git repo...
  -> Updating jsoncpp git repo...
  -> Updating protobuf git repo...
  -> Updating abseil-cpp git repo...
  -> Updating mozcdict-ext git repo...
==> Validating source files with sha512sums...
    mozc ... Skipped
    jigyosyo-202110.zip ... Passed
    x-ken-all-202110.zip ... Passed
    breakpad ... Skipped
    googletest ... Skipped
    gyp ... Skipped
    japanese-usage-dictionary ... Skipped
    jsoncpp ... Skipped
    protobuf ... Skipped
    abseil-cpp ... Skipped
    mozcdict-ext ... Skipped
:: (1/1) Parsing SRCINFO: fcitx5-mozc-ext-neologd
pub   rsa2048 2010-09-18 [SC]
      2CC8A0609AD2A479C65B6D5C8E8B898CBF2412F9
uid           [ unknown] Weng Xuetian <wengxt@gmail.com>
sub   rsa2048 2010-09-18 [E]

==> Making package: fcitx5-mozc-ext-neologd 2.29.5111.102.g7896c97-1 (Tue 13 Jun 2023 09:36:58 AM JST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating mozc git repo...
  -> Found jigyosyo-202110.zip
  -> Found x-ken-all-202110.zip
  -> Updating breakpad git repo...
  -> Updating googletest git repo...
  -> Updating gyp git repo...
  -> Updating japanese-usage-dictionary git repo...
  -> Updating jsoncpp git repo...
  -> Updating protobuf git repo...
  -> Updating abseil-cpp git repo...
  -> Updating mozcdict-ext git repo...
==> Validating source files with sha512sums...
    mozc ... Skipped
    jigyosyo-202110.zip ... Passed
    x-ken-all-202110.zip ... Passed
    breakpad ... Skipped
    googletest ... Skipped
    gyp ... Skipped
    japanese-usage-dictionary ... Skipped
    jsoncpp ... Skipped
    protobuf ... Skipped
    abseil-cpp ... Skipped
    mozcdict-ext ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of mozc git repo...
Cloning into 'mozc'...
done.
Switched to a new branch 'makepkg'
  -> Extracting jigyosyo-202110.zip with bsdtar
  -> Extracting x-ken-all-202110.zip with bsdtar
  -> Creating working copy of breakpad git repo...
Cloning into 'breakpad'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of googletest git repo...
Cloning into 'googletest'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of gyp git repo...
Cloning into 'gyp'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of japanese-usage-dictionary git repo...
Cloning into 'japanese-usage-dictionary'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of jsoncpp git repo...
Cloning into 'jsoncpp'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of protobuf git repo...
Cloning into 'protobuf'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of abseil-cpp git repo...
Cloning into 'abseil-cpp'...
done.
Switched to a new branch 'makepkg'
  -> Creating working copy of mozcdict-ext git repo...
Cloning into 'mozcdict-ext'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Submodule 'src/third_party/abseil-cpp' (https://github.com/abseil/abseil-cpp.git) registered for path 'src/third_party/abseil-cpp'
Submodule 'src/third_party/breakpad' (https://github.com/google/breakpad.git) registered for path 'src/third_party/breakpad'
Submodule 'src/third_party/gtest' (https://github.com/google/googletest.git) registered for path 'src/third_party/gtest'
Submodule 'src/third_party/gyp' (https://github.com/chromium/gyp.git) registered for path 'src/third_party/gyp'
Submodule 'src/third_party/japanese_usage_dictionary' (https://github.com/hiroyuki-komatsu/japanese-usage-dictionary.git) registered for path 'src/third_party/japanese_usage_dictionary'
Submodule 'src/third_party/protobuf' (https://github.com/google/protobuf.git) registered for path 'src/third_party/protobuf'
Submodule 'src/third_party/wil' (https://github.com/microsoft/wil.git) registered for path 'src/third_party/wil'
Cloning into '/home/laughk/.cache/yay/fcitx5-mozc-ext-neologd/src/mozc/src/third_party/abseil-cpp'...
done.
Cloning into '/home/laughk/.cache/yay/fcitx5-mozc-ext-neologd/src/mozc/src/third_party/breakpad'...
done.
Cloning into '/home/laughk/.cache/yay/fcitx5-mozc-ext-neologd/src/mozc/src/third_party/gtest'...
done.
Cloning into '/home/laughk/.cache/yay/fcitx5-mozc-ext-neologd/src/mozc/src/third_party/gyp'...
done.
Cloning into '/home/laughk/.cache/yay/fcitx5-mozc-ext-neologd/src/mozc/src/third_party/japanese_usage_dictionary'...
done.
Cloning into '/home/laughk/.cache/yay/fcitx5-mozc-ext-neologd/src/mozc/src/third_party/protobuf'...
done.
Cloning into '/home/laughk/.cache/yay/fcitx5-mozc-ext-neologd/src/mozc/src/third_party/wil'...
Submodule path 'src/third_party/abseil-cpp': checked out 'c2435f8342c2d0ed8101cb43adfd605fdc52dca2'
Submodule path 'src/third_party/breakpad': checked out '216cea7bca53fa441a3ee0d0f5fd339a3a894224'
Submodule path 'src/third_party/gtest': checked out '58d77fa8070e8cec2dc1ed015d66b454c8d78850'
Submodule path 'src/third_party/gyp': checked out '9ecf45e37677743503342ee4c6a76eaee80e4a7f'
Submodule path 'src/third_party/japanese_usage_dictionary': checked out 'e5b3425575734c323e1d947009dd74709437b684'
Submodule path 'src/third_party/protobuf': checked out '121b66d987da133cbee63bac08fb7469354256ab'
Submodule path 'src/third_party/wil': checked out 'fc5dbf55989fe20351c71d038a8d12de4b397a6d'
Generating zip code seed...
Done.
Generating extra dictionaries...
Cloning into 'upstream'...
remote: Enumerating objects: 9210, done.
remote: Total 9210 (delta 0), reused 0 (delta 0), pack-reused 9210
Receiving objects: 100% (9210/9210), 452.82 MiB | 22.93 MiB/s, done.
Resolving deltas: 100% (5319/5319), done.
==> Starting pkgver()...
==> Sources are ready.
==> Making package: fcitx5-mozc-ext-neologd 2.29.5111.102.g7896c97-1 (Tue 13 Jun 2023 09:40:06 AM JST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Starting local Bazel server and connecting to it...
INFO: Analyzed 3 targets (149 packages loaded, 6738 targets configured).
INFO: Found 3 targets...
ERROR: /home/laughk/.cache/bazel/_bazel_laughk/e24fd7a63b5b16a7a45d5c5d3798c335/external/com_google_absl/absl/base/BUILD.bazel:65:11: Compiling absl/base/internal/raw_logging.cc [for tool] failed: undeclared inclusion(s) in rule '@com_google_absl//absl/base:raw_logging_internal':
this rule is missing dependency declarations for the following files included by 'absl/base/internal/raw_logging.cc':
  '/usr/lib/gcc/x86_64-pc-linux-gnu/13.1.1/include/stddef.h'
  '/usr/lib/gcc/x86_64-pc-linux-gnu/13.1.1/include/stdarg.h'
  '/usr/lib/gcc/x86_64-pc-linux-gnu/13.1.1/include/limits.h'
  '/usr/lib/gcc/x86_64-pc-linux-gnu/13.1.1/include/syslimits.h'
  '/usr/lib/gcc/x86_64-pc-linux-gnu/13.1.1/include/stdint.h'
INFO: Elapsed time: 9.042s, Critical Path: 2.61s
INFO: 167 processes: 141 internal, 26 linux-sandbox.
FAILED: Build did NOT complete successfully
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: fcitx5-mozc-ext-neologd-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
fcitx5-mozc-ext-neologd - exit status 4
@laughk
Copy link
Owner Author

laughk commented Jun 15, 2023

エラーをちゃんと見てみると、 mozc 関連というよりは依存していると思われる bazel というやつ関連でコケている模様。
全く同じではないものの似たような事例( c++ - bazel "undeclared inclusion(s)" errors after updating gcc - Stack Overflow ) をみつけ、そこに倣って cache を削除したところ問題なくインストールできた

rm -rf ~/.cache/bazel/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant