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

Could not build wheels for tgcrypto, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects #72

Closed
PBhadoo opened this issue Oct 30, 2022 · 1 comment

Comments

@PBhadoo
Copy link

PBhadoo commented Oct 30, 2022

Building wheels for collected packages: pyaes, tgcrypto, frozenlist, multidict, yarl
  Building wheel for pyaes (setup.py): started
  Building wheel for pyaes (setup.py): finished with status 'done'
  Created wheel for pyaes: filename=pyaes-1.6.1-py3-none-any.whl size=26347 sha256=d92a8d01a94078815ad6c8eff934a79088875712072f3f5b4c2b25a7f0bf5ed8
  Stored in directory: /root/.cache/pip/wheels/8d/24/e6/a6bac41c7b64fad71633e93db18cb8b3b62986bbd44daf0e0a
  Building wheel for tgcrypto (pyproject.toml): started
  Building wheel for tgcrypto (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for tgcrypto (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [22 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/tests
      copying tests/__init__.py -> build/lib.linux-x86_64-cpython-311/tests
      creating build/lib.linux-x86_64-cpython-311/tests/ctr
      copying tests/ctr/test_ctr.py -> build/lib.linux-x86_64-cpython-311/tests/ctr
      copying tests/ctr/__init__.py -> build/lib.linux-x86_64-cpython-311/tests/ctr
      creating build/lib.linux-x86_64-cpython-311/tests/cbc
      copying tests/cbc/__init__.py -> build/lib.linux-x86_64-cpython-311/tests/cbc
      copying tests/cbc/test_cbc.py -> build/lib.linux-x86_64-cpython-311/tests/cbc
      creating build/lib.linux-x86_64-cpython-311/tests/ige
      copying tests/ige/test_ige.py -> build/lib.linux-x86_64-cpython-311/tests/ige
      copying tests/ige/__init__.py -> build/lib.linux-x86_64-cpython-311/tests/ige
      running build_ext
      building 'tgcrypto' extension
      creating build/temp.linux-x86_64-cpython-311
      creating build/temp.linux-x86_64-cpython-311/tgcrypto
      gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.11 -c tgcrypto/aes256.c -o build/temp.linux-x86_64-cpython-311/tgcrypto/aes256.o
      error: command 'gcc' failed: No such file or directory
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for tgcrypto
  Building wheel for frozenlist (pyproject.toml): started
  Building wheel for frozenlist (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for frozenlist (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [36 lines of output]
      *********************
      * Accelerated build *
      *********************
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/frozenlist
      copying frozenlist/__init__.py -> build/lib.linux-x86_64-cpython-311/frozenlist
      running egg_info
      writing frozenlist.egg-info/PKG-INFO
      writing dependency_links to frozenlist.egg-info/dependency_links.txt
      writing top-level names to frozenlist.egg-info/top_level.txt
      reading manifest file 'frozenlist.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '*.pyd' found anywhere in distribution
      warning: no previously-included files matching '*.so' found anywhere in distribution
      warning: no previously-included files matching '*.lib' found anywhere in distribution
      warning: no previously-included files matching '*.dll' found anywhere in distribution
      warning: no previously-included files matching '*.a' found anywhere in distribution
      warning: no previously-included files matching '*.obj' found anywhere in distribution
      warning: no previously-included files found matching 'frozenlist/*.html'
      no previously-included directories found matching 'docs/_build'
      adding license file 'LICENSE'
      writing manifest file 'frozenlist.egg-info/SOURCES.txt'
      copying frozenlist/__init__.pyi -> build/lib.linux-x86_64-cpython-311/frozenlist
      copying frozenlist/_frozenlist.pyx -> build/lib.linux-x86_64-cpython-311/frozenlist
      copying frozenlist/py.typed -> build/lib.linux-x86_64-cpython-311/frozenlist
      running build_ext
      building 'frozenlist._frozenlist' extension
      creating build/temp.linux-x86_64-cpython-311
      creating build/temp.linux-x86_64-cpython-311/frozenlist
      gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.11 -c frozenlist/_frozenlist.c -o build/temp.linux-x86_64-cpython-311/frozenlist/_frozenlist.o
      error: command 'gcc' failed: No such file or directory
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for frozenlist
  Building wheel for multidict (pyproject.toml): started
  Building wheel for multidict (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for multidict (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [62 lines of output]
      *********************
      * Accelerated build *
      *********************
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/multidict
      copying multidict/__init__.py -> build/lib.linux-x86_64-cpython-311/multidict
      copying multidict/_abc.py -> build/lib.linux-x86_64-cpython-311/multidict
      copying multidict/_multidict_base.py -> build/lib.linux-x86_64-cpython-311/multidict
      copying multidict/_compat.py -> build/lib.linux-x86_64-cpython-311/multidict
      copying multidict/_multidict_py.py -> build/lib.linux-x86_64-cpython-311/multidict
      running egg_info
      writing multidict.egg-info/PKG-INFO
      writing dependency_links to multidict.egg-info/dependency_links.txt
      writing top-level names to multidict.egg-info/top_level.txt
      reading manifest file 'multidict.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files found matching 'multidict/_multidict.html'
      warning: no previously-included files found matching 'multidict/*.so'
      warning: no previously-included files found matching 'multidict/*.pyd'
      warning: no previously-included files found matching 'multidict/*.pyd'
      no previously-included directories found matching 'docs/_build'
      adding license file 'LICENSE'
      writing manifest file 'multidict.egg-info/SOURCES.txt'
      /tmp/pip-build-env-ld6v1w39/overlay/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'multidict._multilib' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'multidict._multilib' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'multidict._multilib' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'multidict._multilib' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      copying multidict/__init__.pyi -> build/lib.linux-x86_64-cpython-311/multidict
      copying multidict/py.typed -> build/lib.linux-x86_64-cpython-311/multidict
      running build_ext
      building 'multidict._multidict' extension
      creating build/temp.linux-x86_64-cpython-311
      creating build/temp.linux-x86_64-cpython-311/multidict
      gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.11 -c multidict/_multidict.c -o build/temp.linux-x86_64-cpython-311/multidict/_multidict.o -O2 -std=c99 -Wall -Wsign-compare -Wconversion -fno-strict-aliasing -pedantic
      error: command 'gcc' failed: No such file or directory
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for multidict
  Building wheel for yarl (pyproject.toml): started
  Building wheel for yarl (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for yarl (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [40 lines of output]
      /tmp/pip-build-env-zicgiadr/overlay/lib/python3.11/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
        warnings.warn(msg, warning_class)
      **********************
      * Accelerated build *
      **********************
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/yarl
      copying yarl/_url.py -> build/lib.linux-x86_64-cpython-311/yarl
      copying yarl/_quoting_py.py -> build/lib.linux-x86_64-cpython-311/yarl
      copying yarl/__init__.py -> build/lib.linux-x86_64-cpython-311/yarl
      copying yarl/_quoting.py -> build/lib.linux-x86_64-cpython-311/yarl
      running egg_info
      writing yarl.egg-info/PKG-INFO
      writing dependency_links to yarl.egg-info/dependency_links.txt
      writing requirements to yarl.egg-info/requires.txt
      writing top-level names to yarl.egg-info/top_level.txt
      reading manifest file 'yarl.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '*.cache' found anywhere in distribution
      warning: no previously-included files found matching 'yarl/*.html'
      warning: no previously-included files found matching 'yarl/*.so'
      warning: no previously-included files found matching 'yarl/*.pyd'
      no previously-included directories found matching 'docs/_build'
      adding license file 'LICENSE'
      writing manifest file 'yarl.egg-info/SOURCES.txt'
      copying yarl/__init__.pyi -> build/lib.linux-x86_64-cpython-311/yarl
      copying yarl/_quoting_c.pyi -> build/lib.linux-x86_64-cpython-311/yarl
      copying yarl/_quoting_c.pyx -> build/lib.linux-x86_64-cpython-311/yarl
      copying yarl/py.typed -> build/lib.linux-x86_64-cpython-311/yarl
      running build_ext
      building 'yarl._quoting_c' extension
      creating build/temp.linux-x86_64-cpython-311
      creating build/temp.linux-x86_64-cpython-311/yarl
      gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/local/include/python3.11 -c yarl/_quoting_c.c -o build/temp.linux-x86_64-cpython-311/yarl/_quoting_c.o
      error: command 'gcc' failed: No such file or directory
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for yarl
ERROR: Could not build wheels for tgcrypto, frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects

I am unable to fix this issue using Docker

@PBhadoo
Copy link
Author

PBhadoo commented Nov 4, 2022

Resolved that issue. but after deployment, Site is not accessible. Bot keeps working.

This site can’t be reached

974289561cf1   stream-bot   "python3 -m WebStrea…"   2 minutes ago   Up 2 minutes   0.0.0.0:8000->8000/tcp, :::8000->8000/tcp   fsb

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

2 participants