aboSamoor / pycld2

Apache License 2.0
165 stars 63 forks source link

Ubuntu Fatal error on build #35

Open sergey-s-moiseev opened 4 years ago

sergey-s-moiseev commented 4 years ago
Building wheels for collected packages: pycld2
  Building wheel for pycld2 (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/server/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7a62u7gk/pycld2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7a62u7gk/pycld2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-pbkjxw3u
       cwd: /tmp/pip-install-7a62u7gk/pycld2/
  Complete output (24 lines):
  running bdist_wheel
  The [wheel] section is deprecated. Use [bdist_wheel] instead.
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/pycld2
  copying pycld2/__init__.py -> build/lib.linux-x86_64-3.8/pycld2
  running build_ext
  building 'pycld2._pycld2' extension
  creating build/temp.linux-x86_64-3.8
  creating build/temp.linux-x86_64-3.8/tmp
  creating build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk
  creating build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2
  creating build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2
  creating build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2/internal
  creating build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/bindings
  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/tmp/pip-install-7a62u7gk/pycld2/cld2/internal -I/tmp/pip-install-7a62u7gk/pycld2/cld2/public -I/home/server/include -I/usr/include/python3.8 -c /tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_cjk_compatible.cc -o build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_cjk_compatible.o -w -O2 -m64 -fPIC
  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/tmp/pip-install-7a62u7gk/pycld2/cld2/internal -I/tmp/pip-install-7a62u7gk/pycld2/cld2/public -I/home/server/include -I/usr/include/python3.8 -c /tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_deltaocta0122.cc -o build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_deltaocta0122.o -w -O2 -m64 -fPIC
  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/tmp/pip-install-7a62u7gk/pycld2/cld2/internal -I/tmp/pip-install-7a62u7gk/pycld2/cld2/public -I/home/server/include -I/usr/include/python3.8 -c /tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_distinctocta0122.cc -o build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_distinctocta0122.o -w -O2 -m64 -fPIC
  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/tmp/pip-install-7a62u7gk/pycld2/cld2/internal -I/tmp/pip-install-7a62u7gk/pycld2/cld2/public -I/home/server/include -I/usr/include/python3.8 -c /tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_quad0122.cc -o build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_quad0122.o -w -O2 -m64 -fPIC
  x86_64-linux-gnu-gcc: fatal error: Killed signal terminated program cc1plus
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pycld2
  Running setup.py clean for pycld2
Failed to build pycld2
Installing collected packages: pycld2
    Running setup.py install for pycld2 ... error
    ERROR: Command errored out with exit status 1:
     command: /home/server/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7a62u7gk/pycld2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7a62u7gk/pycld2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-x3yvfim2/install-record.txt --single-version-externally-managed --compile --install-headers /home/server/include/site/python3.8/pycld2
         cwd: /tmp/pip-install-7a62u7gk/pycld2/
    Complete output (23 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.8
    creating build/lib.linux-x86_64-3.8/pycld2
    copying pycld2/__init__.py -> build/lib.linux-x86_64-3.8/pycld2
    running build_ext
    building 'pycld2._pycld2' extension
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/tmp
    creating build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk
    creating build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2
    creating build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2
    creating build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2/internal
    creating build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/bindings
    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/tmp/pip-install-7a62u7gk/pycld2/cld2/internal -I/tmp/pip-install-7a62u7gk/pycld2/cld2/public -I/home/server/include -I/usr/include/python3.8 -c /tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_cjk_compatible.cc -o build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_cjk_compatible.o -w -O2 -m64 -fPIC
    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/tmp/pip-install-7a62u7gk/pycld2/cld2/internal -I/tmp/pip-install-7a62u7gk/pycld2/cld2/public -I/home/server/include -I/usr/include/python3.8 -c /tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_deltaocta0122.cc -o build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_deltaocta0122.o -w -O2 -m64 -fPIC
    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/tmp/pip-install-7a62u7gk/pycld2/cld2/internal -I/tmp/pip-install-7a62u7gk/pycld2/cld2/public -I/home/server/include -I/usr/include/python3.8 -c /tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_distinctocta0122.cc -o build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_distinctocta0122.o -w -O2 -m64 -fPIC
    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/tmp/pip-install-7a62u7gk/pycld2/cld2/internal -I/tmp/pip-install-7a62u7gk/pycld2/cld2/public -I/home/server/include -I/usr/include/python3.8 -c /tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_quad0122.cc -o build/temp.linux-x86_64-3.8/tmp/pip-install-7a62u7gk/pycld2/cld2/internal/cld2_generated_quad0122.o -w -O2 -m64 -fPIC
    x86_64-linux-gnu-gcc: fatal error: Killed signal terminated program cc1plus
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/server/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-7a62u7gk/pycld2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-7a62u7gk/pycld2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-x3yvfim2/install-record.txt --single-version-externally-managed --compile --install-headers /home/server/include/site/python3.8/pycld2 Check the logs for full command output.

I've installed " gcc-multilib libc6-dev-i386" but this is not helps. Help me pls!