信息收集自动化工具

Overview

水泽-信息收集自动化工具

GitHub release

郑重声明:文中所涉及的技术、思路和工具仅供以安全为目的的学习交流使用,任何人不得将其用于非法用途以及盈利等目的,否则后果自行承担。

0x01 介绍

作者:Ske

团队:0x727,未来一段时间将陆续开源工具,地址:https://github.com/0x727

定位:协助红队人员快速的信息收集,测绘目标资产,寻找薄弱点

语言:python3开发

功能:一条龙服务,只需要输入根域名即可全方位收集相关资产,并检测漏洞。也可以输入多个域名、C段IP等,具体案例见下文。

调用:脚本借用了ksubdomain爆破子域名和theHarvester收集邮箱,感谢ksubdomain和theHarvester作者

0x02 安装

为了避免踩坑,建议安装在如下环境中

  • 当前用户对该目录有写权限,不然扫描结果无法生成。root权限即可

  • Python环境必须是3.7以上,因为使用了异步。建议VPS环境是ubuntu20,默认是python3.8

  • 在配置文件iniFile/config.ini里加入api(fofa、shodan、github、virustotal)

chmod 777 build.sh
./build.sh

image-20210728153419131

python3 ShuiZe.py -h

image-20210728154929084

0x03 效果展示

备案反查顶级域名

image-20210728155358378

不是泛解析,调用ksubdomain爆破子域名

image-20210728155541501

theHarvest获取邮箱

image-20210728161507035

image-20210728163216047

第三方数据接口 -> 获取子域名

image-20210728160705706

github -> 从github获取子域名,并把查询结果保存到txt,并匹配关键字获取敏感信息

image-20210728161022348

百度和必应爬虫

image-20210728161117459

证书

image-20210728161711534

子域名友链

image-20210728161339208

解析子域名A记录,检测是否CDN和整理C段的IP

image-20210728162655684

image-20210728162049962

网络空间搜索引擎:Fofa和Shodan

image-20210728162119531

IP反查域名

image-20210728162303312

存活探测

image-20210728162441132

漏洞检测

image-20210728165612314

扫描结果保存在excel文件里

image-20210728170303756

excel的内容如下

备案反查顶级域名

image-20210728163926763

image-20210728163940918

邮箱

image-20210728164010063

Github敏感信息

image-20210728164040649

爬虫

image-20210728164146630

证书

image-20210728164211552

子域名A记录和CDN

image-20210728164316747

动态链接和后台地址

image-20210728164555141

网络空间搜索引擎

image-20210728164745820

ip反查域名

image-20210728164811422

存活网站标题

image-20210728164933353

指纹和漏洞

image-20210728165004202

相关域名和C段

image-20210728165052361

0x04 POC编写

POC的模板文件例子:Plugins/Vul/Web/__template__.py

只需要在run_detect方法里调用POC的利用方法即可。

0x05 使用方法

语法 功能
python3 ShuiZe.py -d domain.com 收集单一的根域名资产
python3 ShuiZe.py --domainFile domain.txt 批量跑根域名列表
python3 ShuiZe.py -c 192.168.1.0,192.168.2.0,192.168.3.0 收集C段资产
python3 ShuiZe.py -f url.txt 对url里的网站漏洞检测
python3 ShuiZe.py --fofaTitle XXX大学 从fofa里收集标题为XXX大学的资产,然后漏洞检测
python3 ShuiZe.py -d domain.com --justInfoGather 1 仅信息收集,不检测漏洞
python3 ShuiZe.py -d domain.com --ksubdomain 0 不调用ksubdomain爆破子域名

0x06 实现原理

image-20210728132752381

整理上面所有的子域名

  • 对所有子域名判断是否是CDN并解析出A记录

  • 统计每个c段出现IP的个数

  • 调用网络空间搜索引擎

    • fofa -> 需要API
    • shodan -> 需要API
  • 前面获得的ip反查域名得到相关资产的子域名,整理出所有的子域名和IP

image-20210728133047590

  • 整理所有资产探测漏洞

    • Web -> 存活探测

      • 获取标题
        • 自动跑后台路径(['admin', 'login', 'system', 'manager', 'admin.jsp', 'login.jsp', 'admin.php', 'login.php','admin.aspx', 'login.aspx', 'admin.asp', 'login.asp'])
        • 如果URL是IP则查询IP的归属地
      • 漏洞检测 -> Plugins/Vul/Web

      image-20210728134051049

      image-20210728134115608

      image-20210728134131076

    • 非Web服务 --> 未授权和弱口令

    image-20210728134212279

其他功能

image-20210728134304533

结果展示:

image-20210728132105833

完整流程图:

0x07 新增功能

2021.7.31 增加了Censys接口,需要在iniFile/config.ini的[censys api]中填入API。 功能是获取域名的所有解析IP记录,一是为了Host碰撞,二是更加准确的得到C段IP

需要censys的api,免费的账户一个月只有250次查询,所以后期需要注意,用完了要更新api

2021.7.31 增加了Host碰撞访问内网系统漏洞,感谢小洲提交的建议

2021.8.1 修复了CDN判断的bug,感谢 leveryd 师傅提交的bug。

issues地址:https://github.com/0x727/ShuiZe_0x727/issues/3

2021.8.3 修复了chinazApi接口请求超时太长的bug,设置默认时间10秒,感谢 k0njac 师傅提交的bug。

issues地址:https://github.com/0x727/ShuiZe_0x727/issues/11

0x08 反馈

ShuiZe(水泽) 是一个免费且开源的项目,我们欢迎任何人为其开发和进步贡献力量。

  • 在使用过程中出现任何问题,可以通过 issues 来反馈。
  • Bug 的修复可以直接提交 Pull Request 到 dev 分支。
  • 如果是增加新的功能特性,请先创建一个 issue 并做简单描述以及大致的实现方法,提议被采纳后,就可以创建一个实现新特性的 Pull Request。
  • 欢迎对说明文档做出改善,帮助更多的人使用 ShuiZe。
  • 贡献代码请提交 PR 至 dev 分支,master 分支仅用于发布稳定可用版本。

提醒:和项目相关的问题最好在 issues 中反馈,这样方便其他有类似问题的人可以快速查找解决方法,并且也避免了我们重复回答一些问题。

Stargazers over time

Stargazers over time

Comments
  • nuclei 能否使用-as功能

    nuclei 能否使用-as功能

    描述 看配置文件 nuclei配置 nuclei_config = -rl 300 -c 50 -timeout 5 -stats -silent -severity critical,high
    这配置应该是跑所有的 high 以上漏洞吧? 会不会产生很多无效的请求? 能加个 -as 参数,先使用 wappalyzer 进行指纹识别,在进行扫描?

    当然我可以自己在配置文件里面修改nuclei_config ,只是想确认下,-as参数是否有价值

    opened by anquanbiji 4
  • Mac+python3.9时othersApiSubdomain.py模块报错

    Mac+python3.9时othersApiSubdomain.py模块报错

    问题:othersApiSubdomain()报错: TypeError: deprecated() got an unexpected keyword argument 'name'

    环境1:macOS(x86)+python3.9 ;(水泽 版本:2022.3.23;2022.8.20)报错如下:

    WX20220928-091800@2x 未解决该问题

    环境2: win7+python3.8.0 水泽版本:2022.3.23:

    WX20220928-091932@2x的副本

    opened by hkxueqi 2
  • Centos7运行,加载配置文件报错

    Centos7运行,加载配置文件报错

    --------------------------------------------------Load ksubdomain ...-------------------------------------------------- ./Plugins/infoGather/subdomain/ksubdomain/ksubdomain_linux: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory [total: 0] ksubdomain: [] len [0] [total: 0] theHarvester: [] len [0] --------------------------------------------------Load VirusTotal threatcrowd url.fht.im ...-------------------------------------------------- DEPRECATION: The OpenSSL being used by this python install (OpenSSL 1.0.2k-fips 26 Jan 2017) does not meet the minimum supported version (>= OpenSSL 1.1.1) in order to support TLS 1.3 required by Cloudflare, You may encounter an unexpected Captcha or cloudflare 1020 blocks. Traceback (most recent call last): File "/root/ShuiZe_0x727/ShuiZe.py", line 1567, in _init() File "/root/ShuiZe_0x727/ShuiZe.py", line 1484, in _init run_subdomain() File "/root/ShuiZe_0x727/ShuiZe.py", line 1011, in run_subdomain othersApiTotalSubdomains = othersApiSubdomain() File "/root/ShuiZe_0x727/ShuiZe.py", line 260, in othersApiSubdomain othersApiTotalSubdomains = othersApiRun(domain) # 列表,存放子域名 File "/root/ShuiZe_0x727/Plugins/infoGather/subdomain/othersApiSubdomains/othersApiSubdomains.py", line 410, in othersApiRun init(domain) File "/root/ShuiZe_0x727/Plugins/infoGather/subdomain/othersApiSubdomains/othersApiSubdomains.py", line 401, in init securitytrailsApi = cf.get('securitytrails api', 'Securitytrails_API') File "/usr/local/python3/lib/python3.9/configparser.py", line 781, in get d = self._unify_values(section, vars) File "/usr/local/python3/lib/python3.9/configparser.py", line 1152, in _unify_values raise NoSectionError(section) from None configparser.NoSectionError: No section: 'securitytrails api'

    opened by 2632980713 2
  • quake api未返回对应字段导致报错

    quake api未返回对应字段导致报错

    使用quake api查询部分域名时会报以下错误 image

    测试发现似乎是quake api有时候返回的data里可能出现不存在service.http.title这个字段导致的

    文件路径:

    Plugins\infoGather\WebspaceSearchEngine\quakeApi.py

    相关代码:

    if 'http' in service.keys():
        http = service['http']
        host = http['host'] 
        title = http['title']  # 此处为报错的第62行,由于返回数据里可能没有title这个字段导致报错
    

    经测试使用dict get方法后即可正常运行,建议改成以下形式:

    if 'http' in service.keys():
        http = service['http']
        host = http['host'] 
        title = http.get('title','not exist') 
    
    opened by Zimba5880 1
  • 刚试用了下出错了

    刚试用了下出错了

    Traceback (most recent call last): File "ShuiZe.py", line 1567, in _init() File "ShuiZe.py", line 1484, in _init run_subdomain() File "ShuiZe.py", line 983, in run_subdomain Aiqicha(companyName) File "ShuiZe.py", line 189, in Aiqicha selfIcpinfo_infos, invest_infos, holds_infos, branch_infos = run_aiqicha(companyName) File "/root/ts/ShuiZe/Plugins/infoGather/subdomain/Aiqicha/Aiqicha.py", line 280, in run_aiqicha selfIcpinfo_infos, invest_infos, holds_infos, branch_infos = start(searchContent) File "/root/ts/ShuiZe/Plugins/infoGather/subdomain/Aiqicha/Aiqicha.py", line 224, in start if _["id"] == "basic": TypeError: string indices must be integers

    opened by history3 1
  • 调用ksubdomain出现错误

    调用ksubdomain出现错误

    docker方式安装 错误信息如下: ./Plugins/infoGather/subdomain/ksubdomain/ksubdomain_linux: error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory

    opened by eam0nyu 1
  • 使用报错(run_webSpace)

    使用报错(run_webSpace)

    --------------------------------------------------run_webSpace ...-------------------------------------------------- Traceback (most recent call last): File "ShuiZe.py", line 1536, in _init() File "ShuiZe.py", line 1516, in _init run_subdomain() File "ShuiZe.py", line 1035, in run_subdomain run_cSubnet(CIP_List, Subdomains_ips, notCDNSubdomains, param_Links) File "ShuiZe.py", line 1056, in run_cSubnet webSpace_web_host_port, webSpace_service_host_port = run_webSpace(domain, SubdomainAndNotCDNIPs, [], '') File "ShuiZe.py", line 439, in run_webSpace from Plugins.infoGather.WebspaceSearchEngine import fofaApi, shodanApi, quakeApi File "/root/ShuiZe_0x727/Plugins/infoGather/WebspaceSearchEngine/quakeApi.py", line 17, in X_QuakeToken = cf.get('quake api', 'X-QuakeToken') File "/usr/local/python38/lib/python3.8/configparser.py", line 781, in get d = self._unify_values(section, vars) File "/usr/local/python38/lib/python3.8/configparser.py", line 1149, in _unify_values raise NoSectionError(section) from None configparser.NoSectionError: No section: 'quake api'

    opened by helenadmin 0
  • 安装cffi lxml uvloop编译一直无法通过,尝试了网上各种方式仍未排除错误。

    安装cffi lxml uvloop编译一直无法通过,尝试了网上各种方式仍未排除错误。

    cmd@kali:~/ShuiZe_0x727$ sudo ./build.sh ........ Requirement already satisfied: zope.interface in /usr/lib/python3/dist-packages (from gevent->-r requirements.txt (line 27)) (5.4.0) Building wheels for collected packages: cffi, lxml, uvloop Building wheel for cffi (setup.py) ... error error: subprocess-exited-with-error

    × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [58 lines of output] /usr/lib/python3/dist-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. warnings.warn(msg, warning_class) running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/cffi copying cffi/error.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/api.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/verifier.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/ffiplatform.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/pkgconfig.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/recompiler.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/init.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/commontypes.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/cparser.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/lock.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/model.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/vengine_gen.py -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/_cffi_include.h -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/parse_c_type.h -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/_embedding.h -> build/lib.linux-x86_64-cpython-310/cffi copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-cpython-310/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/c x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.10 -c c/_cffi_backend.c -o build/temp.linux-x86_64-cpython-310/c/_cffi_backend.o c/_cffi_backend.c: In function ‘ctypedescr_dealloc’: c/_cffi_backend.c:407:23: error: lvalue required as left operand of assignment 407 | Py_REFCNT(ct) = 43; | ^ c/_cffi_backend.c:410:23: error: lvalue required as left operand of assignment 410 | Py_REFCNT(ct) = 0; | ^ c/_cffi_backend.c: In function ‘prepare_callback_info_tuple’: c/_cffi_backend.c:6136:5: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 6136 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.10/Python.h:130, from c/_cffi_backend.c:2: /usr/include/python3.10/ceval.h:122:37: note: declared here 122 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ c/_cffi_backend.c: In function ‘b_callback’: c/_cffi_backend.c:6196:5: warning: ‘ffi_prep_closure’ is deprecated: use ffi_prep_closure_loc instead [-Wdeprecated-declarations] 6196 | if (ffi_prep_closure(closure, &cif_descr->cif, | ^~ In file included from c/_cffi_backend.c:15: /usr/include/x86_64-linux-gnu/ffi.h:375:1: note: declared here 375 | ffi_prep_closure (ffi_closure*, | ^~~~~~~~~~~~~~~~ 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 cffi Running setup.py clean for cffi
    Building wheel for lxml (setup.py) ... error error: subprocess-exited-with-error

    × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [194 lines of output] Building lxml version 4.5.1. Building without Cython. Building against libxml2 2.9.14 and libxslt 1.1.35 running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/builder.py -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/_elementpath.py -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/cssselect.py -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/doctestcompare.py -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/pyclasslookup.py -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/init.py -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/ElementInclude.py -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/usedoctest.py -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/sax.py -> build/lib.linux-x86_64-cpython-310/lxml creating build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/init.py -> build/lib.linux-x86_64-cpython-310/lxml/includes creating build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/builder.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/soupparser.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/init.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/formfill.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/diff.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/defs.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/html5parser.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.linux-x86_64-cpython-310/lxml/html copying src/lxml/html/clean.py -> build/lib.linux-x86_64-cpython-310/lxml/html creating build/lib.linux-x86_64-cpython-310/lxml/isoschematron copying src/lxml/isoschematron/init.py -> build/lib.linux-x86_64-cpython-310/lxml/isoschematron copying src/lxml/etree.h -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/etree_api.h -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/lxml.etree.h -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/lxml.etree_api.h -> build/lib.linux-x86_64-cpython-310/lxml copying src/lxml/includes/etreepublic.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/schematron.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/uri.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/xslt.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/tree.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/xmlerror.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/dtdvalid.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/c14n.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/xinclude.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/htmlparser.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/xmlschema.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/init.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/config.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/xmlparser.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/relaxng.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/xpath.pxd -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/lxml-version.h -> build/lib.linux-x86_64-cpython-310/lxml/includes copying src/lxml/includes/etree_defs.h -> build/lib.linux-x86_64-cpython-310/lxml/includes creating build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources creating build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/rng copying src/lxml/isoschematron/resources/rng/iso-schematron.rng -> build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/rng creating build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl -> build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/xsl copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl -> build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/xsl creating build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl -> build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl -> build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl -> build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl -> build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl -> build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt -> build/lib.linux-x86_64-cpython-310/lxml/isoschematron/resources/xsl/iso-schematron-xslt1 running build_ext building 'lxml.etree' extension creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/src creating build/temp.linux-x86_64-cpython-310/src/lxml x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DCYTHON_CLINE_IN_TRACEBACK=0 -I/usr/include/libxml2 -Isrc -Isrc/lxml/includes -I/usr/include/python3.10 -c src/lxml/etree.c -o build/temp.linux-x86_64-cpython-310/src/lxml/etree.o -w src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree__LogEntry’: src/lxml/etree.c:225191:5: error: lvalue required as increment operand 225191 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:225193:5: error: lvalue required as decrement operand 225193 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree__Document’: src/lxml/etree.c:226254:5: error: lvalue required as increment operand 226254 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:226256:5: error: lvalue required as decrement operand 226256 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree__Element’: src/lxml/etree.c:226587:5: error: lvalue required as increment operand 226587 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:226589:5: error: lvalue required as decrement operand 226589 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree__MultiTagMatcher’: src/lxml/etree.c:228274:5: error: lvalue required as increment operand 228274 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:228276:5: error: lvalue required as decrement operand 228276 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree__ParserDictionaryContext’: src/lxml/etree.c:232830:5: error: lvalue required as increment operand 232830 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:232832:5: error: lvalue required as decrement operand 232832 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree__ParserContext’: src/lxml/etree.c:233095:5: error: lvalue required as increment operand 233095 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:233097:5: error: lvalue required as decrement operand 233097 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree__IncrementalFileWriter’: src/lxml/etree.c:235299:5: error: lvalue required as increment operand 235299 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:235301:5: error: lvalue required as decrement operand 235301 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree__XPathEvaluatorBase’: src/lxml/etree.c:237626:5: error: lvalue required as increment operand 237626 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:237628:5: error: lvalue required as decrement operand 237628 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree_XPath’: src/lxml/etree.c:237963:5: error: lvalue required as increment operand 237963 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:237965:5: error: lvalue required as decrement operand 237965 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree_XSLTAccessControl’: src/lxml/etree.c:238595:5: error: lvalue required as increment operand 238595 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:238597:5: error: lvalue required as decrement operand 238597 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree_XSLT’: src/lxml/etree.c:238944:5: error: lvalue required as increment operand 238944 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:238946:5: error: lvalue required as decrement operand 238946 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree_DTD’: src/lxml/etree.c:240466:5: error: lvalue required as increment operand 240466 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:240468:5: error: lvalue required as decrement operand 240468 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree_RelaxNG’: src/lxml/etree.c:240832:5: error: lvalue required as increment operand 240832 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:240834:5: error: lvalue required as decrement operand 240834 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree_XMLSchema’: src/lxml/etree.c:241178:5: error: lvalue required as increment operand 241178 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:241180:5: error: lvalue required as decrement operand 241180 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree__ParserSchemaValidationContext’: src/lxml/etree.c:241300:5: error: lvalue required as increment operand 241300 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:241302:5: error: lvalue required as decrement operand 241302 | --Py_REFCNT(o); | ^~ src/lxml/etree.c: In function ‘__pyx_tp_dealloc_4lxml_5etree_Schematron’: src/lxml/etree.c:241658:5: error: lvalue required as increment operand 241658 | ++Py_REFCNT(o); | ^~ src/lxml/etree.c:241660:5: error: lvalue required as decrement operand 241660 | --Py_REFCNT(o); | ^~ Compile failed: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 creating tmp cc -I/usr/include/libxml2 -I/usr/include/libxml2 -c /tmp/xmlXPathInittk9yftfi.c -o tmp/xmlXPathInittk9yftfi.o cc tmp/xmlXPathInittk9yftfi.o -lxml2 -o a.out 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 lxml Running setup.py clean for lxml
    Building wheel for uvloop (setup.py) ... error error: subprocess-exited-with-error

    × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [545 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-cpython-310 creating build/lib.linux-x86_64-cpython-310/uvloop copying uvloop/_patch.py -> build/lib.linux-x86_64-cpython-310/uvloop copying uvloop/_noop.py -> build/lib.linux-x86_64-cpython-310/uvloop copying uvloop/init.py -> build/lib.linux-x86_64-cpython-310/uvloop copying uvloop/_testbase.py -> build/lib.linux-x86_64-cpython-310/uvloop running egg_info writing uvloop.egg-info/PKG-INFO writing dependency_links to uvloop.egg-info/dependency_links.txt writing top-level names to uvloop.egg-info/top_level.txt reading manifest file 'uvloop.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '' found under directory 'vendor/libuv/.git' warning: no previously-included files matching '' found under directory 'vendor/libuv/docs' warning: no previously-included files matching '*' found under directory 'vendor/libuv/img' adding license file 'LICENSE-APACHE' adding license file 'LICENSE-MIT' writing manifest file 'uvloop.egg-info/SOURCES.txt' /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'uvloop.handles' as data is deprecated, please list it in packages. !!

          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'uvloop.handles' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'uvloop.handles' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'uvloop.handles' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      /usr/lib/python3/dist-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning:     Installing 'uvloop.includes' as data is deprecated, please list it in `packages`.
          !!
      
      
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'uvloop.includes' as an importable package,
          but it is not listed in the `packages` configuration of setuptools.
      
          'uvloop.includes' has been automatically added to the distribution only
          because it may contain data files, but this behavior is likely to change
          in future versions of setuptools (and therefore is considered deprecated).
      
          Please make sure that 'uvloop.includes' is included as a package by using
          the `packages` configuration field or the proper discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).
      
          You can read more about "package discovery" and "data files" on setuptools
          documentation page.
      
      
      !!
      
        check.warn(importable)
      copying uvloop/cbhandles.pxd -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/cbhandles.pyx -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/dns.pyx -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/errors.pyx -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/loop.c -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/loop.pxd -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/loop.pyx -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/lru.pyx -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/pseudosock.pyx -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/request.pxd -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/request.pyx -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/server.pxd -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/server.pyx -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/sslproto.pxd -> build/lib.linux-x86_64-cpython-310/uvloop
      copying uvloop/sslproto.pyx -> build/lib.linux-x86_64-cpython-310/uvloop
      creating build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/async_.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/async_.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/basetransport.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/basetransport.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/check.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/check.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/handle.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/handle.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/idle.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/idle.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/pipe.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/pipe.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/poll.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/poll.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/process.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/process.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/stream.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/stream.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/streamserver.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/streamserver.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/tcp.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/tcp.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/timer.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/timer.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/udp.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      copying uvloop/handles/udp.pyx -> build/lib.linux-x86_64-cpython-310/uvloop/handles
      creating build/lib.linux-x86_64-cpython-310/uvloop/includes
      copying uvloop/includes/__init__.py -> build/lib.linux-x86_64-cpython-310/uvloop/includes
      copying uvloop/includes/compat.h -> build/lib.linux-x86_64-cpython-310/uvloop/includes
      copying uvloop/includes/consts.pxi -> build/lib.linux-x86_64-cpython-310/uvloop/includes
      copying uvloop/includes/debug.h -> build/lib.linux-x86_64-cpython-310/uvloop/includes
      copying uvloop/includes/debug.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/includes
      copying uvloop/includes/flowcontrol.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/includes
      copying uvloop/includes/fork_handler.h -> build/lib.linux-x86_64-cpython-310/uvloop/includes
      copying uvloop/includes/python.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/includes
      copying uvloop/includes/stdlib.pxi -> build/lib.linux-x86_64-cpython-310/uvloop/includes
      copying uvloop/includes/system.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/includes
      copying uvloop/includes/uv.pxd -> build/lib.linux-x86_64-cpython-310/uvloop/includes
      running build_ext
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
      checking for gawk... gawk
      checking whether make sets $(MAKE)... yes
      checking whether make supports nested variables... yes
      checking build system type... x86_64-unknown-linux-gnu
      checking host system type... x86_64-unknown-linux-gnu
      checking for gcc... gcc
      checking whether the C compiler works... yes
      checking for C compiler default output file name... a.out
      checking for suffix of executables...
      checking whether we are cross compiling... no
      checking for suffix of object files... o
      checking whether we are using the GNU C compiler... yes
      checking whether gcc accepts -g... yes
      checking for gcc option to accept ISO C89... none needed
      checking whether gcc understands -c and -o together... yes
      checking for style of include used by make... GNU
      checking dependency style of gcc... gcc3
      checking if gcc supports -pedantic flag... yes
      checking for gcc way to treat warnings as errors... -Werror
      checking if gcc supports -fvisibility=hidden... yes
      checking if gcc supports -g flag... yes
      checking if gcc supports -std=gnu89 flag... yes
      checking if gcc supports -Wall flag... yes
      checking if gcc supports -Wextra flag... yes
      checking if gcc supports -Wno-long-long flag... yes
      checking if gcc supports -Wno-unused-parameter flag... yes
      checking if gcc supports -Wstrict-prototypes flag... yes
      checking for ar... ar
      checking the archiver (ar) interface... ar
      checking how to print strings... printf
      checking for a sed that does not truncate output... /usr/bin/sed
      checking for grep that handles long lines and -e... /usr/bin/grep
      checking for egrep... /usr/bin/grep -E
      checking for fgrep... /usr/bin/grep -F
      checking for ld used by gcc... /usr/bin/ld
      checking if the linker (/usr/bin/ld) is GNU ld... yes
      checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
      checking the name lister (/usr/bin/nm -B) interface... BSD nm
      checking whether ln -s works... yes
      checking the maximum length of command line arguments... 1572864
      checking whether the shell understands some XSI constructs... yes
      checking whether the shell understands "+="... yes
      checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
      checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
      checking for /usr/bin/ld option to reload object files... -r
      checking for objdump... objdump
      checking how to recognize dependent libraries... pass_all
      checking for dlltool... no
      checking how to associate runtime and link libraries... printf %s\n
      checking for archiver @FILE support... @
      checking for strip... strip
      checking for ranlib... ranlib
      checking command to parse /usr/bin/nm -B output from gcc object... ok
      checking for sysroot... no
      checking for mt... mt
      checking if mt is a manifest tool... no
      checking how to run the C preprocessor... gcc -E
      checking for ANSI C header files... yes
      checking for sys/types.h... yes
      checking for sys/stat.h... yes
      checking for stdlib.h... yes
      checking for string.h... yes
      checking for memory.h... yes
      checking for strings.h... yes
      checking for inttypes.h... yes
      checking for stdint.h... yes
      checking for unistd.h... yes
      checking for dlfcn.h... yes
      checking for objdir... .libs
      checking if gcc supports -fno-rtti -fno-exceptions... no
      checking for gcc option to produce PIC... -fPIC -DPIC
      checking if gcc PIC flag -fPIC -DPIC works... yes
      checking if gcc static flag -static works... yes
      checking if gcc supports -c -o file.o... yes
      checking if gcc supports -c -o file.o... (cached) yes
      checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
      checking whether -lc should be explicitly linked in... no
      checking dynamic linker characteristics... GNU/Linux ld.so
      checking how to hardcode library paths into programs... immediate
      checking whether stripping libraries is possible... yes
      checking if libtool supports shared libraries... yes
      checking whether to build shared libraries... yes
      checking whether to build static libraries... yes
      checking whether make supports nested variables... (cached) yes
      checking for dlopen in -ldl... yes
      checking for kstat_lookup in -lkstat... no
      checking for gethostbyname in -lnsl... yes
      checking for perfstat_cpu in -lperfstat... no
      checking for pthread_mutex_init in -lpthread... yes
      checking for clock_gettime in -lrt... yes
      checking for sendfile in -lsendfile... no
      checking for socket in -lsocket... no
      checking for special C compiler options needed for large files... no
      checking for _FILE_OFFSET_BITS value needed for large files... no
      checking sys/ahafs_evProds.h usability... no
      checking sys/ahafs_evProds.h presence... no
      checking for sys/ahafs_evProds.h... no
      checking that generated files are newer than configure... done
      configure: creating ./config.status
      config.status: creating Makefile
      config.status: creating libuv.pc
      config.status: executing depfiles commands
      config.status: executing libtool commands
        CC       src/libuv_la-fs-poll.lo
        CC       src/libuv_la-idna.lo
        CC       src/libuv_la-inet.lo
        CC       src/libuv_la-random.lo
        CC       src/libuv_la-strscpy.lo
        CC       src/libuv_la-threadpool.lo
        CC       src/libuv_la-timer.lo
        CC       src/libuv_la-uv-data-getter-setters.lo
        CC       src/libuv_la-uv-common.lo
        CC       src/libuv_la-version.lo
        CC       src/unix/libuv_la-async.lo
        CC       src/unix/libuv_la-core.lo
        CC       src/unix/libuv_la-dl.lo
        CC       src/unix/libuv_la-fs.lo
        CC       src/unix/libuv_la-getaddrinfo.lo
        CC       src/unix/libuv_la-getnameinfo.lo
        CC       src/unix/libuv_la-loop-watcher.lo
      In file included from src/uv-common.h:42,
                       from src/uv-common.c:23:
      src/uv-common.c: In function 'uv_walk':
      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);                                                      \
            |                   ^
      src/queue.h:78:7: note: in expansion of macro 'QUEUE_SPLIT'
         78 |       QUEUE_SPLIT(h, q, n);                                                   \
            |       ^~~~~~~~~~~
      src/uv-common.c:450:3: note: in expansion of macro 'QUEUE_MOVE'
        450 |   QUEUE_MOVE(&loop->handle_queue, &queue);
            |   ^~~~~~~~~~
      src/uv-common.c:446:9: note: 'queue' declared here
        446 |   QUEUE queue;
            |         ^~~~~
      src/queue.h:40:27: note: '((void * (**)[2])loop)[2]' declared here
         40 |   ((const QUEUE *) (q) == (const QUEUE *) QUEUE_NEXT(q))
            |                           ^
      src/queue.h:74:9: note: in expansion of macro 'QUEUE_EMPTY'
         74 |     if (QUEUE_EMPTY(h))                                                       \
            |         ^~~~~~~~~~~
      src/uv-common.c:450:3: note: in expansion of macro 'QUEUE_MOVE'
        450 |   QUEUE_MOVE(&loop->handle_queue, &queue);
            |   ^~~~~~~~~~
        CC       src/unix/libuv_la-loop.lo
        CC       src/unix/libuv_la-pipe.lo
        CC       src/unix/libuv_la-poll.lo
        CC       src/unix/libuv_la-process.lo
        CC       src/unix/libuv_la-random-devurandom.lo
        CC       src/unix/libuv_la-signal.lo
        CC       src/unix/libuv_la-stream.lo
        CC       src/unix/libuv_la-tcp.lo
        CC       src/unix/libuv_la-thread.lo
        CC       src/unix/libuv_la-tty.lo
      src/unix/thread.c: In function 'thread_stack_size':
      src/unix/thread.c:194:24: warning: comparison of integer expressions of different signedness: 'rlim_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
        194 |       if (lim.rlim_cur >= PTHREAD_STACK_MIN)
            |                        ^~
      src/unix/thread.c: In function 'uv_thread_create_ex':
      src/unix/thread.c:242:20: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare]
        242 |     if (stack_size < PTHREAD_STACK_MIN)
            |                    ^
      In file included from ./src/uv-common.h:42,
                       from src/unix/internal.h:25,
                       from src/unix/stream.c:23:
      src/unix/stream.c: In function 'uv__write_callbacks':
      ./src/queue.h:68:19: warning: storing the address of local variable 'pq' in '((void * (**)[2])MEM[(void *[2] * *)stream_24(D) + 208B])[1]' [-Wdangling-pointer=]
         68 |     QUEUE_PREV(q) = (n);                                                      \
            |                   ^
      ./src/queue.h:78:7: note: in expansion of macro 'QUEUE_SPLIT'
         78 |       QUEUE_SPLIT(h, q, n);                                                   \
            |       ^~~~~~~~~~~
      src/unix/stream.c:935:3: note: in expansion of macro 'QUEUE_MOVE'
        935 |   QUEUE_MOVE(&stream->write_completed_queue, &pq);
            |   ^~~~~~~~~~
      src/unix/stream.c:930:9: note: 'pq' declared here
        930 |   QUEUE pq;
            |         ^~
      ./src/queue.h:40:27: note: '((void * (**)[2])stream)[26]' declared here
         40 |   ((const QUEUE *) (q) == (const QUEUE *) QUEUE_NEXT(q))
            |                           ^
      src/unix/stream.c:932:7: note: in expansion of macro 'QUEUE_EMPTY'
        932 |   if (QUEUE_EMPTY(&stream->write_completed_queue))
            |       ^~~~~~~~~~~
        CC       src/unix/libuv_la-udp.lo
        CC       src/unix/libuv_la-linux-core.lo
        CC       src/unix/libuv_la-linux-inotify.lo
        CC       src/unix/libuv_la-linux-syscalls.lo
      src/unix/linux-core.c: In function 'uv__io_poll':
      src/unix/linux-core.c:363:5: warning: converting a packed 'struct 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]
        363 |     loop->watchers[loop->nwatchers] = (void*) events;
            |     ^~~~
      In file included from src/unix/linux-core.c:38:
      /usr/include/x86_64-linux-gnu/sys/epoll.h:84:8: note: defined here
         84 | struct epoll_event
            |        ^~~~~~~~~~~
      In file included from ./include/uv.h:66,
                       from src/unix/linux-core.c:26:
      ./include/uv/unix.h:94:8: note: defined here
         94 | struct uv__io_s {
            |        ^~~~~~~~
        CC       src/unix/libuv_la-procfs-exepath.lo
        CC       src/unix/libuv_la-proctitle.lo
        CC       src/unix/libuv_la-random-getrandom.lo
      In file included from ./src/uv-common.h:42,
                       from src/unix/internal.h:25,
                       from src/unix/linux-inotify.c:23:
      src/unix/linux-inotify.c: In function 'uv__inotify_fork':
      ./src/queue.h:68:19: warning: storing the address of local variable 'queue' in '((void * (**)[2])MEM[(void *[2] * *)&tmp_watcher_list + 32B])[1]' [-Wdangling-pointer=]
         68 |     QUEUE_PREV(q) = (n);                                                      \
            |                   ^
      ./src/queue.h:78:7: note: in expansion of macro 'QUEUE_SPLIT'
         78 |       QUEUE_SPLIT(h, q, n);                                                   \
            |       ^~~~~~~~~~~
      src/unix/linux-inotify.c:160:5: note: in expansion of macro 'QUEUE_MOVE'
        160 |     QUEUE_MOVE(&tmp_watcher_list.watchers, &queue);
            |     ^~~~~~~~~~
      src/unix/linux-inotify.c:119:9: note: 'queue' declared here
        119 |   QUEUE queue;
            |         ^~~~~
      ./src/queue.h:40:27: note: '*(void * (**)[2])((char *)&tmp_watcher_list + offsetof(struct watcher_list, watchers[0]))' declared here
         40 |   ((const QUEUE *) (q) == (const QUEUE *) QUEUE_NEXT(q))
            |                           ^
      ./src/queue.h:74:9: note: in expansion of macro 'QUEUE_EMPTY'
         74 |     if (QUEUE_EMPTY(h))                                                       \
            |         ^~~~~~~~~~~
      src/unix/linux-inotify.c:160:5: note: in expansion of macro 'QUEUE_MOVE'
        160 |     QUEUE_MOVE(&tmp_watcher_list.watchers, &queue);
            |     ^~~~~~~~~~
        CC       src/unix/libuv_la-random-sysctl.lo
        CC       src/unix/libuv_la-sysinfo-loadavg.lo
        CCLD     libuv.la
      ar: `u' modifier ignored since `D' is the default (see `U')
      building 'uvloop.loop' extension
      creating build/temp.linux-x86_64-cpython-310
      creating build/temp.linux-x86_64-cpython-310/uvloop
      x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.10 -I/tmp/pip-install-o4a_f4k_/uvloop_1891f51f6c254e49bc6b0afd4f12649c/vendor/libuv/include -c uvloop/loop.c -o build/temp.linux-x86_64-cpython-310/uvloop/loop.o -O2
      uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_UVHandle’:
      uvloop/loop.c:144572:5: error: lvalue required as increment operand
      144572 |     ++Py_REFCNT(o);
             |     ^~
      uvloop/loop.c:144574:5: error: lvalue required as decrement operand
      144574 |     --Py_REFCNT(o);
             |     ^~
      uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_Loop’:
      uvloop/loop.c:145376:5: error: lvalue required as increment operand
      145376 |     ++Py_REFCNT(o);
             |     ^~
      uvloop/loop.c:145378:5: error: lvalue required as decrement operand
      145378 |     --Py_REFCNT(o);
             |     ^~
      uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_Handle’:
      uvloop/loop.c:145831:5: error: lvalue required as increment operand
      145831 |     ++Py_REFCNT(o);
             |     ^~
      uvloop/loop.c:145833:5: error: lvalue required as decrement operand
      145833 |     --Py_REFCNT(o);
             |     ^~
      uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_TimerHandle’:
      uvloop/loop.c:146003:5: error: lvalue required as increment operand
      146003 |     ++Py_REFCNT(o);
             |     ^~
      uvloop/loop.c:146005:5: error: lvalue required as decrement operand
      146005 |     --Py_REFCNT(o);
             |     ^~
      uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_UVProcess’:
      uvloop/loop.c:147170:5: error: lvalue required as increment operand
      147170 |     ++Py_REFCNT(o);
             |     ^~
      uvloop/loop.c:147172:5: error: lvalue required as decrement operand
      147172 |     --Py_REFCNT(o);
             |     ^~
      uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop__SSLProtocolTransport’:
      uvloop/loop.c:147612:5: error: lvalue required as increment operand
      147612 |     ++Py_REFCNT(o);
             |     ^~
      uvloop/loop.c:147614:5: error: lvalue required as decrement operand
      147614 |     --Py_REFCNT(o);
             |     ^~
      uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_SSLProtocol’:
      uvloop/loop.c:147797:5: error: lvalue required as increment operand
      147797 |     ++Py_REFCNT(o);
             |     ^~
      uvloop/loop.c:147799:5: error: lvalue required as decrement operand
      147799 |     --Py_REFCNT(o);
             |     ^~
      uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop__StreamWriteContext’:
      uvloop/loop.c:148673:5: error: lvalue required as increment operand
      148673 |     ++Py_REFCNT(o);
             |     ^~
      uvloop/loop.c:148675:5: error: lvalue required as decrement operand
      148675 |     --Py_REFCNT(o);
             |     ^~
      uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop_AddrInfo’:
      uvloop/loop.c:149133:5: error: lvalue required as increment operand
      149133 |     ++Py_REFCNT(o);
             |     ^~
      uvloop/loop.c:149135:5: error: lvalue required as decrement operand
      149135 |     --Py_REFCNT(o);
             |     ^~
      uvloop/loop.c: In function ‘__pyx_tp_dealloc_6uvloop_4loop__UDPSendContext’:
      uvloop/loop.c:149480:5: error: lvalue required as increment operand
      149480 |     ++Py_REFCNT(o);
             |     ^~
      uvloop/loop.c:149482:5: error: lvalue required as decrement operand
      149482 |     --Py_REFCNT(o);
             |     ^~
      uvloop/loop.c: In function ‘__Pyx_decode_c_string’:
      uvloop/loop.c:162028:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
      162028 |         return PyUnicode_FromUnicode(NULL, 0);
             |         ^~~~~~
      In file included from /usr/include/python3.10/unicodeobject.h:1046,
                       from /usr/include/python3.10/Python.h:83,
                       from uvloop/loop.c:20:
      /usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
        551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
            |                                          ^~~~~~~~~~~~~~~~~~~~~
      uvloop/loop.c: In function ‘__Pyx_ParseOptionalKeywords’:
      uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
      163233 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                     ^
      /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      uvloop/loop.c:163233:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
      163233 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                     ^
      /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
        580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
            |                                             ^~~~~~~~~~~~~~~~~~~
      uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
      163233 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                     ^
      /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
      163233 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                     ^
      /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      uvloop/loop.c:163233:21: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
      163233 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                     ^
      /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
        580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
            |                                             ^~~~~~~~~~~~~~~~~~~
      uvloop/loop.c:163233:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
      163233 |                     (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                     ^
      /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
      163249 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                         ^
      /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      uvloop/loop.c:163249:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
      163249 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                         ^
      /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
        580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
            |                                             ^~~~~~~~~~~~~~~~~~~
      uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
      163249 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                         ^
      /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
      163249 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                         ^
      /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      uvloop/loop.c:163249:25: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations]
      163249 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                         ^
      /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here
        580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
            |                                             ^~~~~~~~~~~~~~~~~~~
      uvloop/loop.c:163249:25: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations]
      163249 |                         (PyUnicode_GET_SIZE(**argname) != PyUnicode_GET_SIZE(key)) ? 1 :
             |                         ^
      /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here
        446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
            |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~
      uvloop/loop.c: In function ‘__Pyx_Coroutine_Send’:
      uvloop/loop.c:165292:19: warning: implicit declaration of function ‘_PyGen_Send’; did you mean ‘_PyGen_yf’? [-Wimplicit-function-declaration]
      165292 |             ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
             |                   ^~~~~~~~~~~
             |                   _PyGen_yf
      uvloop/loop.c:165292:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
      165292 |             ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
             |                 ^
      uvloop/loop.c:165297:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
      165297 |             ret = _PyGen_Send((PyGenObject*)yf, value == Py_None ? NULL : value);
             |                 ^
      uvloop/loop.c: In function ‘__Pyx_Generator_Next’:
      uvloop/loop.c:165381:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
      165381 |             ret = _PyGen_Send((PyGenObject*)yf, NULL);
             |                 ^
      uvloop/loop.c: In function ‘__Pyx_decode_c_bytes’:
      uvloop/loop.c:167057:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations]
      167057 |         return PyUnicode_FromUnicode(NULL, 0);
             |         ^~~~~~
      /usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here
        551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
            |                                          ^~~~~~~~~~~~~~~~~~~~~
      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 uvloop Running setup.py clean for uvloop
    Failed to build cffi lxml uvloop Installing collected packages: XlsxWriter, uvloop, texttable, soupsieve, PyMySQL, pymongo, netaddr, jdcal, IPy, FOFA, dnslib, chardet, certifi, altgraph, zope.event, Werkzeug, urllib3, tqdm, six, scapy, redis, PyYAML, PythonDNS, pyparsing, PyInstaller, pycryptodome, pycparser, multidict, maxminddb, MarkupSafe, macholib, lxml, ldap3, itsdangerous, idna, greenlet, dnspython, Cython, colorama, Click, beautifulsoup4, attrs, async-timeout, aiosqlite, yarl, requests, plotly, kazoo, Jinja2, google, gevent, elasticsearch, cffi, bs4, shodan, requests-file, PyNaCl, pycares, Flask, cryptography, cloudscraper, bcrypt, aiohttp, tldextract, paramiko, geoip2, aiodns Attempting uninstall: XlsxWriter Found existing installation: XlsxWriter 3.0.2 ERROR: Cannot uninstall 'XlsxWriter'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

    opened by a113nGIT 0
  • 安装过程中报网络不可达错误,有大佬遇到过没

    安装过程中报网络不可达错误,有大佬遇到过没

    Requirement already satisfied: pip in /usr/lib/python3/dist-packages (22.3) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc7ecfd4c70>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/pip/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc7ecfd4fa0>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/pip/
    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc7ecfd5300>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/pip/
    WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc7ecfd54b0>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/pip/
    WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fc7ecfd5660>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/pip/
    WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f90572a9270>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/openpyxl/
    WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f90572a95a0>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/openpyxl/
    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f90572a8670>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/openpyxl/

    这个网络配置在哪里?

    opened by a113nGIT 0
  • configparser.NoSectionError: No section: 'kuaidaili'

    configparser.NoSectionError: No section: 'kuaidaili'

    获取版本信息失败... www.baidu.com None 0 None None Traceback (most recent call last): File "ShuiZe.py", line 1642, in _init() File "ShuiZe.py", line 1468, in _init kuaidaili_tunnel = cf.get('kuaidaili', 'tunnel') File "/usr/lib/python3.8/configparser.py", line 781, in get d = self._unify_values(section, vars) File "/usr/lib/python3.8/configparser.py", line 1149, in _unify_values raise NoSectionError(section) from None configparser.NoSectionError: No section: 'kuaidaili'

    opened by qiuluo-oss 0
Releases(v1.0)
Owner
0x727
learn more, share more
0x727