https://github.com/gevent/gevent/issues/2029 --- gevent-24.2.1/_setupares.py.orig +++ gevent-24.2.1/_setupares.py @@ -42,7 +42,7 @@ ares_configure_command = ' '.join([ "(cd ", quoted_dep_abspath('c-ares'), " && if [ -r include/ares_build.h ]; then cp include/ares_build.h include/ares_build.h.orig; fi ", - " && sh ./configure --disable-dependency-tracking -C " + cflags, + " && sh ./configure --disable-dependency-tracking --disable-tests -C " + cflags, " && cp src/lib/ares_config.h include/ares_build.h \"$OLDPWD\" ", " && cat include/ares_build.h ", " && if [ -r include/ares_build.h.orig ]; then mv include/ares_build.h.orig include/ares_build.h; fi)",