miyouzi / aniGamerPlus

巴哈姆特動畫瘋自動下載工具,支援命令行
GNU General Public License v3.0
687 stars 95 forks source link

Failed building wheel for gevent Python 3.11 #214

Closed JuenTingShie closed 1 year ago

JuenTingShie commented 2 years ago

問題描述

armhf Docker build error in github action.

log:

       gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.11 -I/usr/local/include/python3.11 -I/tmp/pip-install-cokawfbr/gevent_0719fe0dfc064100b8287807ebf4d82e/deps -Isrc/gevent -Isrc/gevent/libev -Isrc/gevent/resolver -I. -I/usr/local/include/python3.11 -c src/gevent/_greenlet_primitives.c -o build/temp.linux-armv7l-cpython-311/src/gevent/_greenlet_primitives.o
       In file included from src/gevent/_greenlet_primitives.c:1050:
       /tmp/pip-install-cokawfbr/gevent_0719fe0dfc064100b8287807ebf4d82e/deps/greenlet/greenlet.h:42:5: error: unknown type name ‘CFrame’
          42 |     CFrame* cframe;
             |     ^~~~~~
       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 gevent

also some information I search after getting error: https://github.com/gevent/gevent/issues/1903


I'm guessing maybe this issue is cause by https://github.com/miyouzi/aniGamerPlus/blob/master/Dockerfile#L1 is using Python 3.11

Is there any possible way to fix that?

miyouzi commented 2 years ago

@TonyPepeBear Please check

TonyPepeBear commented 1 year ago

在 #222 解決,可以 close 了

JuenTingShie commented 1 year ago

在 #222 解決,可以 close 了

Thank you!