Skip to content

Instantly share code, notes, and snippets.

@kevwil
Created July 8, 2020 16:45
Show Gist options
  • Save kevwil/ebd9af6c6be6c7d4d469ff0652d4cb9e to your computer and use it in GitHub Desktop.
Save kevwil/ebd9af6c6be6c7d4d469ff0652d4cb9e to your computer and use it in GitHub Desktop.
pyuv install error on mac with homebrew python 3.8.3
Building wheel for pyuv (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/fh/l0dd3k4n0cg6371cmpp5pqw00000gn/T/pip-install-766rijlk/pyuv/setup.py'"'"'; __file__='"'"'/private/var/folders/fh/l0dd3k4n0cg6371cmpp5pqw00000gn/T/pip-install-766rijlk/pyuv/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 /private/var/folders/fh/l0dd3k4n0cg6371cmpp5pqw00000gn/T/pip-wheel-se28f3ge
cwd: /private/var/folders/fh/l0dd3k4n0cg6371cmpp5pqw00000gn/T/pip-install-766rijlk/pyuv/
Complete output (210 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.15-x86_64-3.8
creating build/lib.macosx-10.15-x86_64-3.8/pyuv
copying pyuv/_version.py -> build/lib.macosx-10.15-x86_64-3.8/pyuv
copying pyuv/__init__.py -> build/lib.macosx-10.15-x86_64-3.8/pyuv
running build_ext
building 'pyuv._cpyuv' extension
creating build/temp.macosx-10.15-x86_64-3.8
creating build/temp.macosx-10.15-x86_64-3.8/src
creating build/temp.macosx-10.15-x86_64-3.8/deps
creating build/temp.macosx-10.15-x86_64-3.8/deps/libuv
creating build/temp.macosx-10.15-x86_64-3.8/deps/libuv/src
creating build/temp.macosx-10.15-x86_64-3.8/deps/libuv/src/unix
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/[email protected]/include: -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8 -Ideps/libuv/include -Ideps/libuv/src -c src/pyuv.c -o build/temp.macosx-10.15-x86_64-3.8/src/pyuv.o
In file included from src/pyuv.c:4:
src/common.c:42:16: warning: 'PyUnicode_EncodeUTF8' is deprecated [-Wdeprecated-declarations]
return PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(unicode), PyUnicode_GET_SIZE(unicode), "surrogateescape");
^
/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/unicodeobject.h:821:1: note: 'PyUnicode_EncodeUTF8' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF8(
^
/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
In file included from src/pyuv.c:4:
src/common.c:76:14: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
if (size != strlen(data)) {
~~~~ ^ ~~~~~~~~~~~~
In file included from src/pyuv.c:16:
src/stream.c:369:19: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
if (buf_count > ARRAY_SIZE(ctx->viewsml))
~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/pyuv.c:23:
src/udp.c:321:19: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
if (buf_count > ARRAY_SIZE(ctx->viewsml))
~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/[email protected]/include: -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/fs-poll.c -o build/temp.macosx-10.15-x86_64-3.8/deps/libuv/src/fs-poll.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/[email protected]/include: -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/inet.c -o build/temp.macosx-10.15-x86_64-3.8/deps/libuv/src/inet.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/[email protected]/include: -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/threadpool.c -o build/temp.macosx-10.15-x86_64-3.8/deps/libuv/src/threadpool.o
deps/libuv/src/threadpool.c:261:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_unregister(req->loop, req);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:141:26: note: expanded from macro 'uv__req_unregister'
QUEUE_REMOVE(&(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:103:21: note: expanded from macro 'QUEUE_REMOVE'
QUEUE_PREV_NEXT(q) = QUEUE_NEXT(q); \
~~~~~~~~~~~~~~~~^~
deps/libuv/src/queue.h:26:52: note: expanded from macro 'QUEUE_PREV_NEXT'
#define QUEUE_PREV_NEXT(q) (QUEUE_NEXT(QUEUE_PREV(q)))
~~~~~~~~~~~~~~~~~~~~~~^~~
deps/libuv/src/queue.h:25:47: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
^
deps/libuv/src/queue.h:24:47: note: expanded from macro 'QUEUE_NEXT'
#define QUEUE_NEXT(q) (*(QUEUE **) &((*(q))[0]))
^
deps/libuv/src/threadpool.c:261:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_unregister(req->loop, req);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:141:26: note: expanded from macro 'uv__req_unregister'
QUEUE_REMOVE(&(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:103:37: note: expanded from macro 'QUEUE_REMOVE'
QUEUE_PREV_NEXT(q) = QUEUE_NEXT(q); \
~~~~~~~~~~~^~
deps/libuv/src/queue.h:24:47: note: expanded from macro 'QUEUE_NEXT'
#define QUEUE_NEXT(q) (*(QUEUE **) &((*(q))[0]))
^
deps/libuv/src/threadpool.c:261:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_unregister(req->loop, req);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:141:26: note: expanded from macro 'uv__req_unregister'
QUEUE_REMOVE(&(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:104:21: note: expanded from macro 'QUEUE_REMOVE'
QUEUE_NEXT_PREV(q) = QUEUE_PREV(q); \
~~~~~~~~~~~~~~~~^~
deps/libuv/src/queue.h:27:52: note: expanded from macro 'QUEUE_NEXT_PREV'
#define QUEUE_NEXT_PREV(q) (QUEUE_PREV(QUEUE_NEXT(q)))
~~~~~~~~~~~~~~~~~~~~~~^~~
deps/libuv/src/queue.h:24:47: note: expanded from macro 'QUEUE_NEXT'
#define QUEUE_NEXT(q) (*(QUEUE **) &((*(q))[0]))
^
deps/libuv/src/queue.h:25:47: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
^
deps/libuv/src/threadpool.c:261:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_unregister(req->loop, req);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:141:26: note: expanded from macro 'uv__req_unregister'
QUEUE_REMOVE(&(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:104:37: note: expanded from macro 'QUEUE_REMOVE'
QUEUE_NEXT_PREV(q) = QUEUE_PREV(q); \
~~~~~~~~~~~^~
deps/libuv/src/queue.h:25:47: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
^
deps/libuv/src/threadpool.c:277:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:53: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:94:16: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_NEXT(q) = (h); \
~~~~~~~~~~~^~
deps/libuv/src/queue.h:24:47: note: expanded from macro 'QUEUE_NEXT'
#define QUEUE_NEXT(q) (*(QUEUE **) &((*(q))[0]))
^
deps/libuv/src/threadpool.c:277:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:53: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:95:16: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV(q) = QUEUE_PREV(h); \
~~~~~~~~~~~^~
deps/libuv/src/queue.h:25:47: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
^
deps/libuv/src/threadpool.c:277:3: error: subscripted value is not an array, pointer, or vector
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:5: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/queue.h:95:21: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV(q) = QUEUE_PREV(h); \
^~~~~~~~~~~~~
deps/libuv/src/queue.h:25:50: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
~~~~~~^~
deps/libuv/src/threadpool.c:277:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:53: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:96:21: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV_NEXT(q) = (q); \
~~~~~~~~~~~~~~~~^~
deps/libuv/src/queue.h:26:52: note: expanded from macro 'QUEUE_PREV_NEXT'
#define QUEUE_PREV_NEXT(q) (QUEUE_NEXT(QUEUE_PREV(q)))
~~~~~~~~~~~~~~~~~~~~~~^~~
deps/libuv/src/queue.h:25:47: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
^
deps/libuv/src/queue.h:24:47: note: expanded from macro 'QUEUE_NEXT'
#define QUEUE_NEXT(q) (*(QUEUE **) &((*(q))[0]))
^
deps/libuv/src/threadpool.c:277:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:53: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:96:27: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV_NEXT(q) = (q); \
^
deps/libuv/src/threadpool.c:277:3: error: subscripted value is not an array, pointer, or vector
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:5: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/queue.h:97:5: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV(h) = (q); \
^~~~~~~~~~~~~
deps/libuv/src/queue.h:25:50: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
~~~~~~^~
deps/libuv/src/threadpool.c:277:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:53: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:97:22: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV(h) = (q); \
^
11 errors generated.
error: command 'clang' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pyuv
Running setup.py clean for pyuv
Failed to build pyuv
Installing collected packages: pyuv
Running setup.py install for pyuv ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/opt/[email protected]/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/fh/l0dd3k4n0cg6371cmpp5pqw00000gn/T/pip-install-766rijlk/pyuv/setup.py'"'"'; __file__='"'"'/private/var/folders/fh/l0dd3k4n0cg6371cmpp5pqw00000gn/T/pip-install-766rijlk/pyuv/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/fh/l0dd3k4n0cg6371cmpp5pqw00000gn/T/pip-record-7zp6yk_a/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/pyuv
cwd: /private/var/folders/fh/l0dd3k4n0cg6371cmpp5pqw00000gn/T/pip-install-766rijlk/pyuv/
Complete output (210 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.15-x86_64-3.8
creating build/lib.macosx-10.15-x86_64-3.8/pyuv
copying pyuv/_version.py -> build/lib.macosx-10.15-x86_64-3.8/pyuv
copying pyuv/__init__.py -> build/lib.macosx-10.15-x86_64-3.8/pyuv
running build_ext
building 'pyuv._cpyuv' extension
creating build/temp.macosx-10.15-x86_64-3.8
creating build/temp.macosx-10.15-x86_64-3.8/src
creating build/temp.macosx-10.15-x86_64-3.8/deps
creating build/temp.macosx-10.15-x86_64-3.8/deps/libuv
creating build/temp.macosx-10.15-x86_64-3.8/deps/libuv/src
creating build/temp.macosx-10.15-x86_64-3.8/deps/libuv/src/unix
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/[email protected]/include: -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8 -Ideps/libuv/include -Ideps/libuv/src -c src/pyuv.c -o build/temp.macosx-10.15-x86_64-3.8/src/pyuv.o
In file included from src/pyuv.c:4:
src/common.c:42:16: warning: 'PyUnicode_EncodeUTF8' is deprecated [-Wdeprecated-declarations]
return PyUnicode_EncodeUTF8(PyUnicode_AS_UNICODE(unicode), PyUnicode_GET_SIZE(unicode), "surrogateescape");
^
/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8/cpython/unicodeobject.h:821:1: note: 'PyUnicode_EncodeUTF8' has been explicitly marked deprecated here
Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_EncodeUTF8(
^
/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
In file included from src/pyuv.c:4:
src/common.c:76:14: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
if (size != strlen(data)) {
~~~~ ^ ~~~~~~~~~~~~
In file included from src/pyuv.c:16:
src/stream.c:369:19: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
if (buf_count > ARRAY_SIZE(ctx->viewsml))
~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/pyuv.c:23:
src/udp.c:321:19: warning: comparison of integers of different signs: 'Py_ssize_t' (aka 'long') and 'unsigned long' [-Wsign-compare]
if (buf_count > ARRAY_SIZE(ctx->viewsml))
~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/[email protected]/include: -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/fs-poll.c -o build/temp.macosx-10.15-x86_64-3.8/deps/libuv/src/fs-poll.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/[email protected]/include: -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/inet.c -o build/temp.macosx-10.15-x86_64-3.8/deps/libuv/src/inet.o
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -I/usr/local/opt/[email protected]/include: -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -D_DARWIN_UNLIMITED_SELECT=1 -I/usr/local/include -I/usr/local/opt/[email protected]/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/[email protected]/3.8.3_1/Frameworks/Python.framework/Versions/3.8/include/python3.8 -Ideps/libuv/include -Ideps/libuv/src -c deps/libuv/src/threadpool.c -o build/temp.macosx-10.15-x86_64-3.8/deps/libuv/src/threadpool.o
deps/libuv/src/threadpool.c:261:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_unregister(req->loop, req);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:141:26: note: expanded from macro 'uv__req_unregister'
QUEUE_REMOVE(&(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:103:21: note: expanded from macro 'QUEUE_REMOVE'
QUEUE_PREV_NEXT(q) = QUEUE_NEXT(q); \
~~~~~~~~~~~~~~~~^~
deps/libuv/src/queue.h:26:52: note: expanded from macro 'QUEUE_PREV_NEXT'
#define QUEUE_PREV_NEXT(q) (QUEUE_NEXT(QUEUE_PREV(q)))
~~~~~~~~~~~~~~~~~~~~~~^~~
deps/libuv/src/queue.h:25:47: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
^
deps/libuv/src/queue.h:24:47: note: expanded from macro 'QUEUE_NEXT'
#define QUEUE_NEXT(q) (*(QUEUE **) &((*(q))[0]))
^
deps/libuv/src/threadpool.c:261:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_unregister(req->loop, req);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:141:26: note: expanded from macro 'uv__req_unregister'
QUEUE_REMOVE(&(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:103:37: note: expanded from macro 'QUEUE_REMOVE'
QUEUE_PREV_NEXT(q) = QUEUE_NEXT(q); \
~~~~~~~~~~~^~
deps/libuv/src/queue.h:24:47: note: expanded from macro 'QUEUE_NEXT'
#define QUEUE_NEXT(q) (*(QUEUE **) &((*(q))[0]))
^
deps/libuv/src/threadpool.c:261:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_unregister(req->loop, req);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:141:26: note: expanded from macro 'uv__req_unregister'
QUEUE_REMOVE(&(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:104:21: note: expanded from macro 'QUEUE_REMOVE'
QUEUE_NEXT_PREV(q) = QUEUE_PREV(q); \
~~~~~~~~~~~~~~~~^~
deps/libuv/src/queue.h:27:52: note: expanded from macro 'QUEUE_NEXT_PREV'
#define QUEUE_NEXT_PREV(q) (QUEUE_PREV(QUEUE_NEXT(q)))
~~~~~~~~~~~~~~~~~~~~~~^~~
deps/libuv/src/queue.h:24:47: note: expanded from macro 'QUEUE_NEXT'
#define QUEUE_NEXT(q) (*(QUEUE **) &((*(q))[0]))
^
deps/libuv/src/queue.h:25:47: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
^
deps/libuv/src/threadpool.c:261:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_unregister(req->loop, req);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:141:26: note: expanded from macro 'uv__req_unregister'
QUEUE_REMOVE(&(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:104:37: note: expanded from macro 'QUEUE_REMOVE'
QUEUE_NEXT_PREV(q) = QUEUE_PREV(q); \
~~~~~~~~~~~^~
deps/libuv/src/queue.h:25:47: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
^
deps/libuv/src/threadpool.c:277:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:53: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:94:16: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_NEXT(q) = (h); \
~~~~~~~~~~~^~
deps/libuv/src/queue.h:24:47: note: expanded from macro 'QUEUE_NEXT'
#define QUEUE_NEXT(q) (*(QUEUE **) &((*(q))[0]))
^
deps/libuv/src/threadpool.c:277:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:53: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:95:16: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV(q) = QUEUE_PREV(h); \
~~~~~~~~~~~^~
deps/libuv/src/queue.h:25:47: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
^
deps/libuv/src/threadpool.c:277:3: error: subscripted value is not an array, pointer, or vector
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:5: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/queue.h:95:21: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV(q) = QUEUE_PREV(h); \
^~~~~~~~~~~~~
deps/libuv/src/queue.h:25:50: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
~~~~~~^~
deps/libuv/src/threadpool.c:277:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:53: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:96:21: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV_NEXT(q) = (q); \
~~~~~~~~~~~~~~~~^~
deps/libuv/src/queue.h:26:52: note: expanded from macro 'QUEUE_PREV_NEXT'
#define QUEUE_PREV_NEXT(q) (QUEUE_NEXT(QUEUE_PREV(q)))
~~~~~~~~~~~~~~~~~~~~~~^~~
deps/libuv/src/queue.h:25:47: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
^
deps/libuv/src/queue.h:24:47: note: expanded from macro 'QUEUE_NEXT'
#define QUEUE_NEXT(q) (*(QUEUE **) &((*(q))[0]))
^
deps/libuv/src/threadpool.c:277:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:53: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:96:27: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV_NEXT(q) = (q); \
^
deps/libuv/src/threadpool.c:277:3: error: subscripted value is not an array, pointer, or vector
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:5: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/queue.h:97:5: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV(h) = (q); \
^~~~~~~~~~~~~
deps/libuv/src/queue.h:25:50: note: expanded from macro 'QUEUE_PREV'
#define QUEUE_PREV(q) (*(QUEUE **) &((*(q))[1]))
~~~~~~^~
deps/libuv/src/threadpool.c:277:3: error: no member named 'active_queue' in 'struct uv_work_s'
uv__req_init(loop, req, UV_WORK);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:242:5: note: expanded from macro 'uv__req_init'
uv__req_register(loop, req); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
deps/libuv/src/uv-common.h:134:53: note: expanded from macro 'uv__req_register'
QUEUE_INSERT_TAIL(&(loop)->active_reqs, &(req)->active_queue); \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
deps/libuv/src/queue.h:97:22: note: expanded from macro 'QUEUE_INSERT_TAIL'
QUEUE_PREV(h) = (q); \
^
11 errors generated.
error: command 'clang' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/opt/[email protected]/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/fh/l0dd3k4n0cg6371cmpp5pqw00000gn/T/pip-install-766rijlk/pyuv/setup.py'"'"'; __file__='"'"'/private/var/folders/fh/l0dd3k4n0cg6371cmpp5pqw00000gn/T/pip-install-766rijlk/pyuv/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/fh/l0dd3k4n0cg6371cmpp5pqw00000gn/T/pip-record-7zp6yk_a/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/pyuv Check the logs for full command output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment