Notebook

これは日々の作業を通して学んだことや毎日の生活で気づいたことをを記録しておく備忘録である。

HTML ファイル生成日時: 2026/08/14 10:38:14.953 (台灣標準時)

pkgsrc-2026Q2 の mozc について

pkgsrc-2026Q2 では、 inputmethod/mozc-elisp, inputmethod/mozc-renderer, inputmethod/mozc-server, inputmethod/mozc-tool をインストールしようとすると、コンパイルに失敗す るでござる。 llvm, clang などについて、以前に version 19 のものをイン ストールしてから mozc をコンパイルするとうまく行ったのでござるが、再び 試してみたら、うまく行かなくなっていたでござる。原因を探すのは簡単では なさそうだったので、別の解決方法を探してみることにしたでござる。 inputmethod/mozc-elisp226, inputmethod/mozc-renderer226, inputmethod/mozc-server226, inputmethod/mozc-tool226 をインストールし てみることにしたでござる。なれど、 devel/gyp のコンパイルに失敗したで ござる。


[08/11/26 10:11:13] ERROR    fatal: detected dubious ownership in     _git.py:32
                             repository at                                      
                             '/usr/pkgsrc_2026Q2/pkgsrc/devel/gyp/wor           
                             k/gyp'                                             
                             To add an exception for this directory,            
                             call:                                              
                                                                                
                                     git config --global --add                  
                             safe.directory                                     
                             /usr/pkgsrc_2026Q2/pkgsrc/devel/gyp/work           
                             /gyp                                               
git introspection failed: fatal: detected dubious ownership in repository at '/usr/pkgsrc_2026Q2/pkgsrc/devel/gyp/work/gyp'

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

Stop.
make[1]: stopped making "install" in /usr/pkgsrc_2026Q2/pkgsrc/devel/gyp
*** Error code 1

Stop.
make: stopped making "install" in /usr/pkgsrc/devel/gyp


fatal: detected dubious ownership in repository at '/source/netbsd/pkgsrc/pkgsrc_2026Q2/pkgsrc/devel/gyp/work/gyp'
To add an exception for this directory, call:

        git config --global --add safe.directory /source/netbsd/pkgsrc/pkgsrc_2026Q2/pkgsrc/devel/gyp/work/gyp
git introspection failed: fatal: detected dubious ownership in repository at '/source/netbsd/pkgsrc/pkgsrc_2026Q2/pkgsrc/devel/gyp/work/gyp'

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

Stop.
make[1]: stopped making "install" in /source/netbsd/pkgsrc/pkgsrc_2026Q2/pkgsrc/devel/gyp
*** Error code 1

Stop.
make: stopped making "install" in /usr/pkgsrc/devel/gyp

どうすればよいのかと思ったら、以下のようにすればよいようでござった。


# cd /usr/pkgsrc/devel/gyp
# make install
# chown -R root work/gyp
# make install



Frequently accessed files

  1. Computer___Network/20260127_00.html
  2. Misc___Taiwan/20240207_00.html
  3. Computer___NetBSD/20250301_01.html
  4. Misc___Taiwan/20240819_00.html
  5. Book___Chinese/20240424_00.html
  6. Computer___TeX/20231107_00.html
  7. Computer___TeX/20240414_01.html
  8. Misc___Japan/20240610_00.html
  9. Computer___TeX/20240411_00.html
  10. Computer___Network/20241214_00.html
  11. Computer___TeX/20230726_01.html
  12. Misc___Japan/20240718_00.html
  13. Computer___Python/20230803_00.html
  14. Misc___Taiwan/20240903_01.html
  15. Computer___Network/20230516_00.html
  16. Computer___NetBSD/20230119_00.html
  17. Computer___NetBSD/20250113_00.html
  18. Computer___FreeBSD/20220621_0.html
  19. Computer___TeX/20240414_00.html
  20. Computer___Network/20240130_00.html
  21. Computer___TeX/20240410_00.html
  22. Computer___Python/20250330_00.html
  23. Computer___NetBSD/20220818_1.html
  24. Computer___NetBSD/20250307_00.html
  25. Computer___NetBSD/20240805_03.html
  26. Computer___TeX/20230503_00.html
  27. Computer___Python/20240101_00.html
  28. Computer___NetBSD/20240101_03.html
  29. Computer___Network/20220413_1.html
  30. Computer___NetBSD/20220406_0.html


HTML file generated by Kinoshita Daisuke.