【ログ】Ubuntu 20.04: sudo python setup.py install(cabocha-0.69 の configure, make, make check, make install 実行後)

  • 実行日:2021/06/06
  • 実行環境:Ubuntu 20.04sadf
$ python setup.py install
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
copying CaboCha.py -> build/lib.linux-x86_64-3.9
running build_ext
building '_CaboCha' extension
creating build/temp.linux-x86_64-3.9
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/include -I/var/www/meatthezoo.org/chikapedia/html/dj_proj/include -I/usr/include/python3.9 -c CaboCha_wrap.cxx -o build/temp.linux-x86_64-3.9/CaboCha_wrap.o
In file included from /usr/include/string.h:495,
                 from /usr/include/python3.9/Python.h:30,
                 from CaboCha_wrap.cxx:154:
In function ‘char* strncpy(char*, const char*, size_t)’,
    inlined from ‘void SWIG_Python_FixMethods(PyMethodDef*, swig_const_info*, swig_type_info**, swig_type_info**)’ at CaboCha_wrap.cxx:5972:22,
    inlined from ‘PyObject* PyInit__CaboCha()’ at CaboCha_wrap.cxx:6070:25:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying 10 bytes from a string of the same length [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: no library file corresponding to '-L/usr/lib/x86_64inux-gnu' found (skipping)
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.9/CaboCha_wrap.o -L/usr/local/lib -lcabocha -lcrfpp -lmecab -lmecab -lstdc++ -o build/lib.linux-x86_64-3.9/_CaboCha.cpython-39-x86_64-linux-gnu.so
running install_lib
copying build/lib.linux-x86_64-3.9/CaboCha.py -> /var/www/meatthezoo.org/chikapedia/html/dj_proj/lib/python3.9/site-packages
copying build/lib.linux-x86_64-3.9/_CaboCha.cpython-39-x86_64-linux-gnu.so -> /var/www/meatthezoo.org/chikapedia/html/dj_proj/lib/python3.9/site-packages
byte-compiling /var/www/meatthezoo.org/chikapedia/html/dj_proj/lib/python3.9/site-packages/CaboCha.py to CaboCha.cpython-39.pyc
running install_egg_info
Writing /var/www/meatthezoo.org/chikapedia/html/dj_proj/lib/python3.9/site-packages/cabocha_python-0.69.egg-info
$ 

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です