Comments (12)
from pycares.
This is very weird, I don't think I've seen it before :-/
from pycares.
Oh, good to know, thanks!
from pycares.
this works for me to 3.7.2 has some problem it seems
from pycares.
I meet the some problem in 3.6 too.
from pycares.
Can you paste your error please? I want to see if it's any different.
from pycares.
Seeing this error on 10.14 too.
` ----------------------------------------
Failed building wheel for pycares
Running setup.py clean for pycares
Failed to build pycares
Installing collected packages: pycares, aiodns, schedule, geographiclib, geopy, twint
Running setup.py install for pycares ... error
Complete output from command /Users/devanshu/miniconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-install-zzfuv_bd/pycares/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/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-record-sblq5n_n/install-record.txt --single-version-externally-managed --compile --user --prefix=:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.6
creating build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/errno.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/_version.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/init.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/utils.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/main.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
running build_ext
generating cffi module 'build/temp.macosx-10.7-x86_64-3.6/_cares.c'
creating build/temp.macosx-10.7-x86_64-3.6
building '_cares' extension
creating build/temp.macosx-10.7-x86_64-3.6/build
creating build/temp.macosx-10.7-x86_64-3.6/build/temp.macosx-10.7-x86_64-3.6
creating build/temp.macosx-10.7-x86_64-3.6/deps
creating build/temp.macosx-10.7-x86_64-3.6/deps/c-ares
creating build/temp.macosx-10.7-x86_64-3.6/deps/c-ares/src
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/devanshu/miniconda3/include -arch x86_64 -I/Users/devanshu/miniconda3/include -arch x86_64 -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -I/Users/devanshu/miniconda3/include/python3.6m -Ideps/c-ares/src -Ideps/c-ares/src/config_darwin -c build/temp.macosx-10.7-x86_64-3.6/_cares.c -o build/temp.macosx-10.7-x86_64-3.6/build/temp.macosx-10.7-x86_64-3.6/_cares.o
build/temp.macosx-10.7-x86_64-3.6/_cares.c:2573:55: error: too many arguments to function call, expected 6, have 7
return ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6);
~~~~~~~~~~~~~~~~~~~~ ^~
/Users/devanshu/miniconda3/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf,
^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:2657:59: error: too many arguments to function call, expected 6, have 7
{ result = ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6); }
~~~~~~~~~~~~~~~~~~~~ ^~
/Users/devanshu/miniconda3/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char abuf,
^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4316:14: error: no member named 'ttl' in 'struct ares_mx_reply'
(void)((p->ttl) | 0); / check that 'struct ares_mx_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4332:14: error: no member named 'ttl' in 'struct ares_naptr_reply'
(void)((p->ttl) | 0); / check that 'struct ares_naptr_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4372:14: error: no member named 'ttl' in 'struct ares_soa_reply'
(void)((p->ttl) | 0); / check that 'struct ares_soa_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4386:14: error: no member named 'ttl' in 'struct ares_srv_reply'
(void)((p->ttl) | 0); / check that 'struct ares_srv_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4399:14: error: no member named 'ttl' in 'struct ares_txt_ext'
(void)((p->ttl) | 0); / check that 'struct ares_txt_ext.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4411:14: error: no member named 'ttl' in 'struct ares_txt_reply'
(void)((p->ttl) | 0); / check that 'struct ares_txt_reply.ttl' is an integer */
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4666:12: error: no member named 'ttl' in 'ares_mx_reply'
{ "ttl", offsetof(struct ares_mx_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4667:48: error: no member named 'ttl' in 'struct ares_mx_reply'
sizeof(((struct ares_mx_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4690:12: error: no member named 'ttl' in 'ares_naptr_reply'
{ "ttl", offsetof(struct ares_naptr_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4691:51: error: no member named 'ttl' in 'struct ares_naptr_reply'
sizeof(((struct ares_naptr_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4762:12: error: no member named 'ttl' in 'ares_soa_reply'
{ "ttl", offsetof(struct ares_soa_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4763:49: error: no member named 'ttl' in 'struct ares_soa_reply'
sizeof(((struct ares_soa_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4780:12: error: no member named 'ttl' in 'ares_srv_reply'
{ "ttl", offsetof(struct ares_srv_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4781:49: error: no member named 'ttl' in 'struct ares_srv_reply'
sizeof(((struct ares_srv_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4795:12: error: no member named 'ttl' in 'ares_txt_ext'
{ "ttl", offsetof(struct ares_txt_ext, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4796:47: error: no member named 'ttl' in 'struct ares_txt_ext'
sizeof(((struct ares_txt_ext *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4807:12: error: no member named 'ttl' in 'ares_txt_reply'
{ "ttl", offsetof(struct ares_txt_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/Users/devanshu/miniconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-install-zzfuv_bd/pycares/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/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-record-sblq5n_n/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /private/var/folders/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-install-zzfuv_bd/pycares/
dempred-backend on master [$!] took 24s
❯ conda install -c conda-forge pycares
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- pycares
Current channels:
- https://conda.anaconda.org/conda-forge/osx-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/osx-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
dempred-backend on master [$!] took 1m 47s
❯ brew uninstall --ignore-dependencies c-ares
Error: No such keg: /usr/local/Cellar/c-ares
dempred-backend on master [$!] took 3s
❯ rf kjkdhgd
dempred-backend on master [$!]
❯ brew install pycares
Updating Homebrew...
Error: No available formula with the name "pycares"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
dempred-backend on master [$!] took 26s
❯ pi pycares
Collecting pycares
Using cached https://files.pythonhosted.org/packages/85/de/cd46a73e43e206a6ad1e9cf9cc893c3ed1b21caf57f1e0a8d9a119d290eb/pycares-3.0.0.tar.gz
Requirement already satisfied: cffi>=1.5.0 in /Users/devanshu/miniconda3/lib/python3.6/site-packages (from pycares) (1.11.5)
Requirement already satisfied: pycparser in /Users/devanshu/miniconda3/lib/python3.6/site-packages (from cffi>=1.5.0->pycares) (2.19)
Building wheels for collected packages: pycares
Running setup.py bdist_wheel for pycares ... error
Complete output from command /Users/devanshu/miniconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-install-jcr16hpj/pycares/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/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-wheel-6epkmcjo --python-tag cp36:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.6
creating build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/errno.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/_version.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/init.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/utils.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/main.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
running build_ext
generating cffi module 'build/temp.macosx-10.7-x86_64-3.6/_cares.c'
creating build/temp.macosx-10.7-x86_64-3.6
building '_cares' extension
creating build/temp.macosx-10.7-x86_64-3.6/build
creating build/temp.macosx-10.7-x86_64-3.6/build/temp.macosx-10.7-x86_64-3.6
creating build/temp.macosx-10.7-x86_64-3.6/deps
creating build/temp.macosx-10.7-x86_64-3.6/deps/c-ares
creating build/temp.macosx-10.7-x86_64-3.6/deps/c-ares/src
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/devanshu/miniconda3/include -arch x86_64 -I/Users/devanshu/miniconda3/include -arch x86_64 -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -I/Users/devanshu/miniconda3/include/python3.6m -Ideps/c-ares/src -Ideps/c-ares/src/config_darwin -c build/temp.macosx-10.7-x86_64-3.6/_cares.c -o build/temp.macosx-10.7-x86_64-3.6/build/temp.macosx-10.7-x86_64-3.6/_cares.o
build/temp.macosx-10.7-x86_64-3.6/_cares.c:2573:55: error: too many arguments to function call, expected 6, have 7
return ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6);
~~~~~~~~~~~~~~~~~~~~ ^~
/Users/devanshu/miniconda3/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf,
^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:2657:59: error: too many arguments to function call, expected 6, have 7
{ result = ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6); }
~~~~~~~~~~~~~~~~~~~~ ^~
/Users/devanshu/miniconda3/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char abuf,
^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4316:14: error: no member named 'ttl' in 'struct ares_mx_reply'
(void)((p->ttl) | 0); / check that 'struct ares_mx_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4332:14: error: no member named 'ttl' in 'struct ares_naptr_reply'
(void)((p->ttl) | 0); / check that 'struct ares_naptr_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4372:14: error: no member named 'ttl' in 'struct ares_soa_reply'
(void)((p->ttl) | 0); / check that 'struct ares_soa_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4386:14: error: no member named 'ttl' in 'struct ares_srv_reply'
(void)((p->ttl) | 0); / check that 'struct ares_srv_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4399:14: error: no member named 'ttl' in 'struct ares_txt_ext'
(void)((p->ttl) | 0); / check that 'struct ares_txt_ext.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4411:14: error: no member named 'ttl' in 'struct ares_txt_reply'
(void)((p->ttl) | 0); / check that 'struct ares_txt_reply.ttl' is an integer */
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4666:12: error: no member named 'ttl' in 'ares_mx_reply'
{ "ttl", offsetof(struct ares_mx_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4667:48: error: no member named 'ttl' in 'struct ares_mx_reply'
sizeof(((struct ares_mx_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4690:12: error: no member named 'ttl' in 'ares_naptr_reply'
{ "ttl", offsetof(struct ares_naptr_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4691:51: error: no member named 'ttl' in 'struct ares_naptr_reply'
sizeof(((struct ares_naptr_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4762:12: error: no member named 'ttl' in 'ares_soa_reply'
{ "ttl", offsetof(struct ares_soa_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4763:49: error: no member named 'ttl' in 'struct ares_soa_reply'
sizeof(((struct ares_soa_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4780:12: error: no member named 'ttl' in 'ares_srv_reply'
{ "ttl", offsetof(struct ares_srv_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4781:49: error: no member named 'ttl' in 'struct ares_srv_reply'
sizeof(((struct ares_srv_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4795:12: error: no member named 'ttl' in 'ares_txt_ext'
{ "ttl", offsetof(struct ares_txt_ext, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4796:47: error: no member named 'ttl' in 'struct ares_txt_ext'
sizeof(((struct ares_txt_ext *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4807:12: error: no member named 'ttl' in 'ares_txt_reply'
{ "ttl", offsetof(struct ares_txt_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command 'gcc' failed with exit status 1
Failed building wheel for pycares
Running setup.py clean for pycares
Failed to build pycares
Installing collected packages: pycares
Running setup.py install for pycares ... error
Complete output from command /Users/devanshu/miniconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-install-jcr16hpj/pycares/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/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-record-5u9yoi7u/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-3.6
creating build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/errno.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/_version.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/init.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/utils.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
copying src/pycares/main.py -> build/lib.macosx-10.7-x86_64-3.6/pycares
running build_ext
generating cffi module 'build/temp.macosx-10.7-x86_64-3.6/_cares.c'
creating build/temp.macosx-10.7-x86_64-3.6
building '_cares' extension
creating build/temp.macosx-10.7-x86_64-3.6/build
creating build/temp.macosx-10.7-x86_64-3.6/build/temp.macosx-10.7-x86_64-3.6
creating build/temp.macosx-10.7-x86_64-3.6/deps
creating build/temp.macosx-10.7-x86_64-3.6/deps/c-ares
creating build/temp.macosx-10.7-x86_64-3.6/deps/c-ares/src
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/devanshu/miniconda3/include -arch x86_64 -I/Users/devanshu/miniconda3/include -arch x86_64 -DHAVE_CONFIG_H=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_DARWIN_USE_64_BIT_INODE=1 -I/Users/devanshu/miniconda3/include/python3.6m -Ideps/c-ares/src -Ideps/c-ares/src/config_darwin -c build/temp.macosx-10.7-x86_64-3.6/_cares.c -o build/temp.macosx-10.7-x86_64-3.6/build/temp.macosx-10.7-x86_64-3.6/_cares.o
build/temp.macosx-10.7-x86_64-3.6/_cares.c:2573:55: error: too many arguments to function call, expected 6, have 7
return ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6);
~~~~~~~~~~~~~~~~~~~~ ^~
/Users/devanshu/miniconda3/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char *abuf,
^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:2657:59: error: too many arguments to function call, expected 6, have 7
{ result = ares_parse_ptr_reply(x0, x1, x2, x3, x4, x5, x6); }
~~~~~~~~~~~~~~~~~~~~ ^~
/Users/devanshu/miniconda3/include/ares.h:581:14: note: 'ares_parse_ptr_reply' declared here
CARES_EXTERN int ares_parse_ptr_reply(const unsigned char abuf,
^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4316:14: error: no member named 'ttl' in 'struct ares_mx_reply'
(void)((p->ttl) | 0); / check that 'struct ares_mx_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4332:14: error: no member named 'ttl' in 'struct ares_naptr_reply'
(void)((p->ttl) | 0); / check that 'struct ares_naptr_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4372:14: error: no member named 'ttl' in 'struct ares_soa_reply'
(void)((p->ttl) | 0); / check that 'struct ares_soa_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4386:14: error: no member named 'ttl' in 'struct ares_srv_reply'
(void)((p->ttl) | 0); / check that 'struct ares_srv_reply.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4399:14: error: no member named 'ttl' in 'struct ares_txt_ext'
(void)((p->ttl) | 0); / check that 'struct ares_txt_ext.ttl' is an integer /
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4411:14: error: no member named 'ttl' in 'struct ares_txt_reply'
(void)((p->ttl) | 0); / check that 'struct ares_txt_reply.ttl' is an integer */
~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4666:12: error: no member named 'ttl' in 'ares_mx_reply'
{ "ttl", offsetof(struct ares_mx_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4667:48: error: no member named 'ttl' in 'struct ares_mx_reply'
sizeof(((struct ares_mx_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4690:12: error: no member named 'ttl' in 'ares_naptr_reply'
{ "ttl", offsetof(struct ares_naptr_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4691:51: error: no member named 'ttl' in 'struct ares_naptr_reply'
sizeof(((struct ares_naptr_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4762:12: error: no member named 'ttl' in 'ares_soa_reply'
{ "ttl", offsetof(struct ares_soa_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4763:49: error: no member named 'ttl' in 'struct ares_soa_reply'
sizeof(((struct ares_soa_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4780:12: error: no member named 'ttl' in 'ares_srv_reply'
{ "ttl", offsetof(struct ares_srv_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4781:49: error: no member named 'ttl' in 'struct ares_srv_reply'
sizeof(((struct ares_srv_reply *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4795:12: error: no member named 'ttl' in 'ares_txt_ext'
{ "ttl", offsetof(struct ares_txt_ext, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4796:47: error: no member named 'ttl' in 'struct ares_txt_ext'
sizeof(((struct ares_txt_ext *)0)->ttl),
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
build/temp.macosx-10.7-x86_64-3.6/_cares.c:4807:12: error: no member named 'ttl' in 'ares_txt_reply'
{ "ttl", offsetof(struct ares_txt_reply, ttl),
^ ~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include/stddef.h:120:24: note: expanded from macro 'offsetof'
#define offsetof(t, d) __builtin_offsetof(t, d)
^ ~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/Users/devanshu/miniconda3/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-install-jcr16hpj/pycares/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/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-record-5u9yoi7u/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/j0/8vhbm9ys3dz_mlrctdt87jcr0000gn/T/pip-install-jcr16hpj/pycares/`
from pycares.
@devanshuDesai Your error is different. You seem to gave c-ares installed system wide. As the REAME mentions, that's not supported.
from pycares.
encountered same issue with python 3.7.4 on osx 10.14.6. looks like the pycares 3.0.0 doesn't work well with the in-built c-ares from osx.
from pycares.
I encountered same problem.Uninstall the c-ares by "brew uninstall c-ares" and "pip3 install pycares" ok.
from pycares.
I encountered same problem.Uninstall the c-ares by "brew uninstall c-ares" and "pip3 install pycares" ok.
same here. just did the same, and worked.
from pycares.
Yes, it's documented as not working due to ABI differences.
from pycares.
Related Issues (20)
- CNAME answers to A request HOT 6
- pytest failed in [email protected] on centos8_aarch64 HOT 1
- Error FileNotFound when installing pycares==4.1.1 HOT 8
- 4.1.2: pytest is failing HOT 5
- `pycares.reverse_address` Import Error HOT 2
- Security vulnerability HOT 2
- 4.2.0: sphinx warnings `reference target not found` HOT 2
- 3.11 wheels HOT 2
- Can't build from sources on EL8 HOT 3
- 4.2.2: pytest is failing in two units HOT 8
- Fail to install on centos docker HOT 4
- 4.3.0: pytest is failing in `tests/test_all.py::DNSTest::test_custom_resolvconf` unit HOT 5
- test_query_class_chaos started failing
- TLSA record HOT 2
- pycares fails to install in arm8 android device HOT 16
- Update c-ares to 1.24 HOT 1
- [NOT_CRITICAL] Missing Flags: ARES_FLAG_EDNS, ARES_FLAG_NO_DFLT_SVR HOT 1
- Intermittent freeze: Channel.query() call never returning HOT 1
- Cannot build in termux amr8v
- Test regression with c-ares 1.32 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pycares.