-
Notifications
You must be signed in to change notification settings - Fork 53
Description
I am trying to deploy brawl-demo. When I run docker-compose up in brawl-demo, it ends with the following error:
I tried python 3.6 and later with python 3.7.
Stored in directory: /root/.cache/pip/wheels/c4/c1/3b/9c4a709c65f1f920d99173301fa647ea73168a28dfee1966ee
Building wheel for gevent (pyproject.toml): started
Building wheel for gevent (pyproject.toml): still running...
Building wheel for gevent (pyproject.toml): still running...
Building wheel for gevent (pyproject.toml): still running...
Building wheel for gevent (pyproject.toml): still running...
Building wheel for gevent (pyproject.toml): finished with status 'done'
Created wheel for gevent: filename=gevent-21.1.2-cp310-cp310-linux_x86_64.whl size=6146348 sha256=3bb1e1c2224d22864deaf6a4822620d2ebd7166a7fc5e09b0302940ae2ca44fd
Stored in directory: /root/.cache/pip/wheels/51/85/ad/c179bb389ca5c34376c22496120d81af8e94fc44b934f3e500
Building wheel for greenlet (setup.py): started
Building wheel for greenlet (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [85 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/greenlet
copying src/greenlet/init.py -> build/lib.linux-x86_64-3.10/greenlet
creating build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_contextvars.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/init.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_cpp.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_version.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_leaks.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_throw.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_generator_nested.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_tracing.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_extension_interface.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_generator.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_gc.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_weakref.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_greenlet.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_stack_saved.py -> build/lib.linux-x86_64-3.10/greenlet/tests
running egg_info
writing src/greenlet.egg-info/PKG-INFO
writing dependency_links to src/greenlet.egg-info/dependency_links.txt
writing requirements to src/greenlet.egg-info/requires.txt
writing top-level names to src/greenlet.egg-info/top_level.txt
reading manifest file 'src/greenlet.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no files found matching '.py' under directory 'appveyor'
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 '.coverage' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'LICENSE.PSF'
adding license file 'AUTHORS'
writing manifest file 'src/greenlet.egg-info/SOURCES.txt'
copying src/greenlet/greenlet.c -> build/lib.linux-x86_64-3.10/greenlet
copying src/greenlet/greenlet.h -> build/lib.linux-x86_64-3.10/greenlet
copying src/greenlet/slp_platformselect.h -> build/lib.linux-x86_64-3.10/greenlet
creating build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_mips_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_s390_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x32_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x86_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/tests/_test_extension.c -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.linux-x86_64-3.10/greenlet/tests
running build_ext
building 'greenlet._greenlet' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
creating build/temp.linux-x86_64-3.10/src/greenlet
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c src/greenlet/greenlet.c -o build/temp.linux-x86_64-3.10/src/greenlet/greenlet.o
src/greenlet/greenlet.c: In function ‘g_calltrace’:
src/greenlet/greenlet.c:570:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?
570 | tstate->use_tracing = 0;
| ^~~~~~~~~~~
| tracing
src/greenlet/greenlet.c:573:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?
573 | tstate->use_tracing =
| ^~~~~~~~~~~
| tracing
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for greenlet
Running setup.py clean for greenlet
Building wheel for markupsafe (setup.py): started
Building wheel for markupsafe (setup.py): finished with status 'done'
Created wheel for markupsafe: filename=MarkupSafe-1.1.1-cp310-cp310-linux_x86_64.whl size=27860 sha256=eb7f5fa7edc13599bd8f6c5b48854b5b0fbdce379d667853960eadd812e587ad
Stored in directory: /root/.cache/pip/wheels/a6/81/81/3fcafa7c24e4b4e25bcf383c792b343e53c38e6196f44bc3e3
Building wheel for pymongo (setup.py): started
Building wheel for pymongo (setup.py): finished with status 'done'
Created wheel for pymongo: filename=pymongo-3.11.3-cp310-cp310-linux_x86_64.whl size=499651 sha256=f191cc1f9e57089df8081242c8c21e5c1a931febc2386ac3b4c615cc2e3d7322
Stored in directory: /root/.cache/pip/wheels/ba/2f/3c/ab8d7268a4f8d09746ecf039748c0ec403eb41448d349c0dcc
Building wheel for pyyaml (pyproject.toml): started
Building wheel for pyyaml (pyproject.toml): finished with status 'done'
Created wheel for pyyaml: filename=PyYAML-5.4.1-cp310-cp310-linux_x86_64.whl size=562081 sha256=e04771e5ec7369d8c26af2c2773b3d316bed289697243f047313120261442101
Stored in directory: /root/.cache/pip/wheels/c7/0d/22/696ee92245ad710f506eee79bb05c740d8abccd3ecdb778683
Building wheel for splunk-sdk (setup.py): started
Building wheel for splunk-sdk (setup.py): finished with status 'done'
Created wheel for splunk-sdk: filename=splunk_sdk-1.6.15-py3-none-any.whl size=123209 sha256=e2a4d69e1d6f8c1faf4571c7076709041d48fbe8d6eaf6bafcb1de3b00597a35
Stored in directory: /root/.cache/pip/wheels/b5/b8/ac/5169427c37e088d61f559d3d396ee4b099dd3fcaaca2f3d81f
Building wheel for zope.interface (setup.py): started
Building wheel for zope.interface (setup.py): finished with status 'done'
Created wheel for zope.interface: filename=zope.interface-5.2.0-cp310-cp310-linux_x86_64.whl size=237598 sha256=9611e62a5befcf97c38d85fd6989b82ce2e0425a6bdaccf201679fb93975a244
Stored in directory: /root/.cache/pip/wheels/11/ce/9e/f1aaa4d67af06409a077584f46fba9af6e0072109c6805beca
Successfully built antlr4-python3-runtime cffi gevent markupsafe pymongo pyyaml splunk-sdk zope.interface
Failed to build greenlet
Installing collected packages: splunk-sdk, passlib, certifi, antlr4-python3-runtime, zope.interface, zope.event, zipp, werkzeug, urllib3, six, pyyaml, pymongo, pycparser, markupsafe, markdown, itsdangerous, idna, greenlet, click, chardet, requests, python-dateutil, mongoengine, jinja2, gevent, elasticsearch, cffi, gevent-websocket, flask, cryptography, pyopenssl
Running setup.py install for greenlet: started
Running setup.py install for greenlet: finished with status 'error'
error: subprocess-exited-with-error
× Running setup.py install for greenlet did not run successfully.
│ exit code: 1
╰─> [85 lines of output]
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/greenlet
copying src/greenlet/init.py -> build/lib.linux-x86_64-3.10/greenlet
creating build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_contextvars.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/init.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_cpp.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_version.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_leaks.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_throw.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_generator_nested.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_tracing.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_extension_interface.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_generator.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_gc.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_weakref.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_greenlet.py -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/test_stack_saved.py -> build/lib.linux-x86_64-3.10/greenlet/tests
running egg_info
writing src/greenlet.egg-info/PKG-INFO
writing dependency_links to src/greenlet.egg-info/dependency_links.txt
writing requirements to src/greenlet.egg-info/requires.txt
writing top-level names to src/greenlet.egg-info/top_level.txt
reading manifest file 'src/greenlet.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
warning: no files found matching '.py' under directory 'appveyor'
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 '.coverage' found anywhere in distribution
adding license file 'LICENSE'
adding license file 'LICENSE.PSF'
adding license file 'AUTHORS'
writing manifest file 'src/greenlet.egg-info/SOURCES.txt'
copying src/greenlet/greenlet.c -> build/lib.linux-x86_64-3.10/greenlet
copying src/greenlet/greenlet.h -> build/lib.linux-x86_64-3.10/greenlet
copying src/greenlet/slp_platformselect.h -> build/lib.linux-x86_64-3.10/greenlet
creating build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_mips_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_s390_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x32_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/platform/switch_x86_unix.h -> build/lib.linux-x86_64-3.10/greenlet/platform
copying src/greenlet/tests/_test_extension.c -> build/lib.linux-x86_64-3.10/greenlet/tests
copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.linux-x86_64-3.10/greenlet/tests
running build_ext
building 'greenlet._greenlet' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/src
creating build/temp.linux-x86_64-3.10/src/greenlet
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c src/greenlet/greenlet.c -o build/temp.linux-x86_64-3.10/src/greenlet/greenlet.o
src/greenlet/greenlet.c: In function ‘g_calltrace’:
src/greenlet/greenlet.c:570:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?
570 | tstate->use_tracing = 0;
| ^~~~~~~~~~~
| tracing
src/greenlet/greenlet.c:573:13: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?
573 | tstate->use_tracing =
| ^~~~~~~~~~~
| tracing
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> greenlet
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
WARNING: You are using pip version 22.0.4; however, version 22.1.2 is available.
You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command.
ERROR: Service 'cascade_web' failed to build: The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1