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

Ubuntu Fatal error on build #35

Open
sergey-s-moiseev opened this issue Aug 27, 2020 · 0 comments
Open

Ubuntu Fatal error on build #35

sergey-s-moiseev opened this issue Aug 27, 2020 · 0 comments

Comments

@sergey-s-moiseev
Copy link

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!

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