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

not working with python 3.10 #69

Open
apolinux opened this issue Jan 15, 2025 · 0 comments
Open

not working with python 3.10 #69

apolinux opened this issue Jan 15, 2025 · 0 comments

Comments

@apolinux
Copy link

When installing from pip I get this:
`pip install gaffer
Collecting gaffer
Using cached gaffer-0.5.2.tar.gz (371 kB)
Preparing metadata (setup.py) ... done
Collecting pyuv>=0.8.3 (from gaffer)
Using cached pyuv-1.4.0.tar.gz (400 kB)
Preparing metadata (setup.py) ... done
Collecting six (from gaffer)
Using cached six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
Collecting psutil (from gaffer)
Using cached psutil-6.1.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (22 kB)
Collecting tornado==2.4.1 (from gaffer)
Using cached tornado-2.4.1.tar.gz (348 kB)
Preparing metadata (setup.py) ... done
Collecting colorama (from gaffer)
Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
Collecting setproctitle (from gaffer)
Using cached setproctitle-1.3.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (10 kB)
Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Downloading psutil-6.1.1-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (287 kB)
Downloading setproctitle-1.3.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30 kB)
Downloading six-1.17.0-py2.py3-none-any.whl (11 kB)
Building wheels for collected packages: gaffer, tornado, pyuv
Building wheel for gaffer (setup.py) ... done
Created wheel for gaffer: filename=gaffer-0.5.2-cp310-cp310-linux_x86_64.whl size=185858 sha256=c6788db1087afedd849851f72c255326f293b8c8192ac418e3a4e49518cc6ca1
Stored in directory: /home/drako/.cache/pip/wheels/d0/ba/8c/93eb62813509232ffd8fb75cfafbeff413f5f87c442158358f
Building wheel for tornado (setup.py) ... done
Created wheel for tornado: filename=tornado-2.4.1-py3-none-any.whl size=314849 sha256=2f884637e42c8a78f4a5b9836f3302660b949de92b79057c3cfb21074327d110
Stored in directory: /home/drako/.cache/pip/wheels/73/af/12/d94cbb0e542d2272530747601d19a80e796e928d25e601299c
Building wheel for pyuv (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [244 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/pyuv
copying pyuv/_version.py -> build/lib.linux-x86_64-3.10/pyuv
copying pyuv/init.py -> build/lib.linux-x86_64-3.10/pyuv
running build_ext
building 'pyuv._cpyuv' extension
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/deps
creating build/temp.linux-x86_64-3.10/deps/libuv
creating build/temp.linux-x86_64-3.10/deps/libuv/src
creating build/temp.linux-x86_64-3.10/deps/libuv/src/unix
creating build/temp.linux-x86_64-3.10/src
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/fs-poll.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/fs-poll.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/inet.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/inet.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/threadpool.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/threadpool.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/async.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/async.o
In file included from deps/libuv/src/uv-common.h:42,
from deps/libuv/src/unix/internal.h:25,
from deps/libuv/src/unix/async.c:26:
deps/libuv/src/unix/async.c: In function ‘uv__async_io’:
deps/libuv/src/queue.h:68:19: warning: storing the address of local variable ‘queue’ in ‘((void * ()[2])MEM[(void [2] * )loop_22(D) + 432B])[1]’ [-Wdangling-pointer=]
68 | QUEUE_PREV(q) = (n);
| ^
deps/libuv/src/queue.h:78:7: note: in expansion of macro ‘QUEUE_SPLIT’
78 | QUEUE_SPLIT(h, q, n);
| ^~~~~~~~~~~
deps/libuv/src/unix/async.c:104:3: note: in expansion of macro ‘QUEUE_MOVE’
104 | QUEUE_MOVE(&loop->async_handles, &queue);
| ^~~~~~~~~~
deps/libuv/src/unix/async.c:80:9: note: ‘queue’ declared here
80 | QUEUE queue;
| ^~~~~
deps/libuv/src/unix/async.c:77:37: note: ‘loop’ declared here
77 | static void uv__async_io(uv_loop_t
loop, uv__io_t
w, unsigned int events) {
| ~~~~~~~~~~~^~~~
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/core.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/core.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/dl.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/dl.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/fs.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/fs.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/getaddrinfo.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/getaddrinfo.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/getnameinfo.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/getnameinfo.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/linux-core.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/linux-core.o
deps/libuv/src/unix/linux-core.c: In function ‘uv__io_poll’:
deps/libuv/src/unix/linux-core.c:343:5: warning: converting a packed ‘struct uv__epoll_event’ pointer (alignment 1) to a ‘uv__io_t’ {aka ‘struct uv__io_s’} pointer (alignment 8) may result in an unaligned pointer value [-Waddress-of-packed-member]
343 | loop->watchers[loop->nwatchers] = (void*) events;
| ^~~~
In file included from deps/libuv/src/unix/internal.h:38,
from deps/libuv/src/unix/linux-core.c:27:
deps/libuv/src/unix/linux-syscalls.h:90:8: note: defined here
90 | struct uv__epoll_event {
| ^~~~~~~~~~~~~~~
In file included from deps/libuv/include/uv.h:62,
from deps/libuv/src/unix/linux-core.c:26:
deps/libuv/include/uv-unix.h:91:8: note: defined here
91 | struct uv__io_s {
| ^~~~~~~~
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/linux-inotify.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/linux-inotify.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/linux-syscalls.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/linux-syscalls.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/loop-watcher.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/loop-watcher.o
In file included from deps/libuv/src/uv-common.h:42,
from deps/libuv/src/unix/internal.h:25,
from deps/libuv/src/unix/loop-watcher.c:23:
deps/libuv/src/unix/loop-watcher.c: In function ‘uv__run_prepare’:
deps/libuv/src/queue.h:68:19: warning: storing the address of local variable ‘queue’ in ‘((void * (
)[2])MEM[(void *[2] * )loop_12(D) + 384B])[1]’ [-Wdangling-pointer=]
68 | QUEUE_PREV(q) = (n);
| ^
deps/libuv/src/queue.h:78:7: note: in expansion of macro ‘QUEUE_SPLIT’
78 | QUEUE_SPLIT(h, q, n);
| ^~~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:52:5: note: in expansion of macro ‘QUEUE_MOVE’
52 | QUEUE_MOVE(&loop->name##handles, &queue);
| ^~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:66:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’
66 | UV_LOOP_WATCHER_DEFINE(prepare, PREPARE)
| ^~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:50:11: note: ‘queue’ declared here
50 | QUEUE queue;
| ^~~~~
deps/libuv/src/unix/loop-watcher.c:66:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’
66 | UV_LOOP_WATCHER_DEFINE(prepare, PREPARE)
| ^~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:48:34: note: ‘loop’ declared here
48 | void uv__run
##name(uv_loop_t
loop) {
| ~~~~~~~~~~~^~~~
deps/libuv/src/unix/loop-watcher.c:66:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’
66 | UV_LOOP_WATCHER_DEFINE(prepare, PREPARE)
| ^~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c: In function ‘uv__run_check’:
deps/libuv/src/queue.h:68:19: warning: storing the address of local variable ‘queue’ in ‘((void * ()[2])MEM[(void *[2] * )loop_12(D) + 400B])[1]’ [-Wdangling-pointer=]
68 | QUEUE_PREV(q) = (n);
| ^
deps/libuv/src/queue.h:78:7: note: in expansion of macro ‘QUEUE_SPLIT’
78 | QUEUE_SPLIT(h, q, n);
| ^~~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:52:5: note: in expansion of macro ‘QUEUE_MOVE’
52 | QUEUE_MOVE(&loop->name##handles, &queue);
| ^~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:67:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’
67 | UV_LOOP_WATCHER_DEFINE(check, CHECK)
| ^~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:50:11: note: ‘queue’ declared here
50 | QUEUE queue;
| ^~~~~
deps/libuv/src/unix/loop-watcher.c:67:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’
67 | UV_LOOP_WATCHER_DEFINE(check, CHECK)
| ^~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:48:34: note: ‘loop’ declared here
48 | void uv__run
##name(uv_loop_t
loop) {
| ~~~~~~~~~~~^~~~
deps/libuv/src/unix/loop-watcher.c:67:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’
67 | UV_LOOP_WATCHER_DEFINE(check, CHECK)
| ^~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c: In function ‘uv__run_idle’:
deps/libuv/src/queue.h:68:19: warning: storing the address of local variable ‘queue’ in ‘((void * (
)[2])MEM[(void [2] * )loop_12(D) + 416B])[1]’ [-Wdangling-pointer=]
68 | QUEUE_PREV(q) = (n);
| ^
deps/libuv/src/queue.h:78:7: note: in expansion of macro ‘QUEUE_SPLIT’
78 | QUEUE_SPLIT(h, q, n);
| ^~~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:52:5: note: in expansion of macro ‘QUEUE_MOVE’
52 | QUEUE_MOVE(&loop->name##handles, &queue);
| ^~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:68:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’
68 | UV_LOOP_WATCHER_DEFINE(idle, IDLE)
| ^~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:50:11: note: ‘queue’ declared here
50 | QUEUE queue;
| ^~~~~
deps/libuv/src/unix/loop-watcher.c:68:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’
68 | UV_LOOP_WATCHER_DEFINE(idle, IDLE)
| ^~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/unix/loop-watcher.c:48:34: note: ‘loop’ declared here
48 | void uv__run
##name(uv_loop_t
loop) {
| ~~~~~~~~~~~^~~~
deps/libuv/src/unix/loop-watcher.c:68:1: note: in expansion of macro ‘UV_LOOP_WATCHER_DEFINE’
68 | UV_LOOP_WATCHER_DEFINE(idle, IDLE)
| ^~~~~~~~~~~~~~~~~~~~~~
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/loop.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/loop.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/pipe.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/pipe.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/poll.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/poll.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/process.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/process.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/procfs-exepath.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/procfs-exepath.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/proctitle.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/proctitle.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/signal.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/signal.o
deps/libuv/src/unix/signal.c: In function ‘uv__signal_stop’:
deps/libuv/src/unix/signal.c:528:7: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
528 | int ret;
| ^~~
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/stream.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/stream.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/sysinfo-loadavg.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/sysinfo-loadavg.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/sysinfo-memory.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/sysinfo-memory.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/tcp.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/tcp.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/thread.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/thread.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/timer.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/timer.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/tty.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/tty.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/unix/udp.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/unix/udp.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/uv-common.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/uv-common.o
In file included from deps/libuv/src/uv-common.h:42,
from deps/libuv/src/uv-common.c:23:
deps/libuv/src/uv-common.c: In function ‘uv_walk’:
deps/libuv/src/queue.h:68:19: warning: storing the address of local variable ‘queue’ in ‘((void * (**)[2])MEM[(void [2] * )loop_13(D) + 16B])[1]’ [-Wdangling-pointer=]
68 | QUEUE_PREV(q) = (n);
| ^
deps/libuv/src/queue.h:78:7: note: in expansion of macro ‘QUEUE_SPLIT’
78 | QUEUE_SPLIT(h, q, n);
| ^~~~~~~~~~~
deps/libuv/src/uv-common.c:352:3: note: in expansion of macro ‘QUEUE_MOVE’
352 | QUEUE_MOVE(&loop->handle_queue, &queue);
| ^~~~~~~~~~
deps/libuv/src/uv-common.c:348:9: note: ‘queue’ declared here
348 | QUEUE queue;
| ^~~~~
deps/libuv/src/uv-common.c:347:25: note: ‘loop’ declared here
347 | void uv_walk(uv_loop_t
loop, uv_walk_cb walk_cb, void
arg) {
| ~~~~~~~~~~~^~~~
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/version.c -o build/temp.linux-x86_64-3.10/deps/libuv/src/version.o
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -fwrapv -O2 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3 -fPIC -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -I/home/drako/devel/Python/3DM/python310venv/include -I/usr/include/python3.10 -Ideps/libuv/include -Ideps/libuv/src -c src/pyuv.c -o build/temp.linux-x86_64-3.10/src/pyuv.o
In file included from src/pyuv.c:4:
src/common.c: In function ‘pyuv_PyUnicode_EncodeFSDefault’:
src/common.c:42:9: warning: ‘PyUnicode_EncodeUTF8’ is deprecated [-Wdeprecated-declarations]
42 | return PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(unicode), PyUnicode_GET_SIZE(unicode), "surrogateescape");
| ^~~~~~
In file included from /usr/include/python3.10/unicodeobject.h:1046,
from /usr/include/python3.10/Python.h:83,
from src/pyuv.h:7,
from src/pyuv.c:2:
/usr/include/python3.10/cpython/unicodeobject.h:780:42: note: declared here
780 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject
) PyUnicode_EncodeUTF8(
| ^~~~~~~~~~~~~~~~~~~~
src/common.c:42:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
42 | return PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(unicode), PyUnicode_GET_SIZE(unicode), "surrogateescape");
| ^~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
src/common.c:42:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
42 | return PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(unicode), PyUnicode_GET_SIZE(unicode), "surrogateescape");
| ^~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/common.c:42:9: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
42 | return PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(unicode), PyUnicode_GET_SIZE(unicode), "surrogateescape");
| ^~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
| ^~~~~~~~~~~~~~~~~~~
src/common.c:42:9: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
42 | return PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(unicode), PyUnicode_GET_SIZE(unicode), "surrogateescape");
| ^~~~~~
/usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/common.c: In function ‘pyuv_PyUnicode_FSConverter’:
src/common.c:76:14: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
76 | if (size != strlen(data)) {
| ^~
In file included from src/pyuv.c:8:
src/handle.c: In function ‘resurrect_object’:
src/handle.c:17:21: error: lvalue required as left operand of assignment
17 | Py_REFCNT(self) = refcnt;
| ^
In file included from src/pyuv.c:16:
src/stream.c: In function ‘pyuv__stream_write_sequence’:
src/stream.c:369:19: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
369 | if (buf_count > ARRAY_SIZE(ctx->viewsml))
| ^
In file included from src/pyuv.c:23:
src/udp.c: In function ‘pyuv__udp_send_sequence’:
src/udp.c:321:19: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
321 | if (buf_count > ARRAY_SIZE(ctx->viewsml))
| ^
src/pyuv.c: In function ‘init_pyuv’:
src/pyuv.c:75:5: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations]
75 | PyEval_InitThreads();
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/python3.10/Python.h:130:
/usr/include/python3.10/ceval.h:122:37: note: declared here
122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
error: command '/usr/bin/x86_64-linux-gnu-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 pyuv
Running setup.py clean for pyuv
Successfully built gaffer tornado
Failed to build pyuv
`

pip freeze
asgiref==3.8.1
Django==5.1.4
django-bootstrap5==24.3
mysqlclient==2.2.6
sqlparse==0.5.3
typing_extensions==4.12.2

python --version
Python 3.10.16

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