Skip to content

pip install xmlsec fails on windows 11 with python 3.13.0 #335

Description

@elvisior

Apologies, I'm probably doing something wrong but when I try and 'pip install xmlsec' on windows 11 with python 3.13.0 I get the following error:

pip install xmlsec
Defaulting to user installation because normal site-packages is not writeable
Collecting xmlsec
  Using cached xmlsec-1.3.14.tar.gz (68 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting lxml>=3.8 (from xmlsec)
  Using cached lxml-5.3.0-cp313-cp313-win_amd64.whl.metadata (3.9 kB)
Using cached lxml-5.3.0-cp313-cp313-win_amd64.whl (3.8 MB)
Building wheels for collected packages: xmlsec
  Building wheel for xmlsec (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for xmlsec (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [70 lines of output]
      WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
      Traceback (most recent call last):
        File "C:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\setuptools_scm\_integration\pyproject_reading.py", line 36, in read_pyproject
          section = defn.get("tool", {})[tool_name]
                    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      KeyError: 'setuptools_scm'
      running bdist_wheel
      running build
      running build_py
      creating build\lib.win-amd64-cpython-313\xmlsec
      copying src\xmlsec\constants.pyi -> build\lib.win-amd64-cpython-313\xmlsec
      copying src\xmlsec\template.pyi -> build\lib.win-amd64-cpython-313\xmlsec
      copying src\xmlsec\tree.pyi -> build\lib.win-amd64-cpython-313\xmlsec
      copying src\xmlsec\__init__.pyi -> build\lib.win-amd64-cpython-313\xmlsec
      copying src\xmlsec\py.typed -> build\lib.win-amd64-cpython-313\xmlsec
      running build_ext
      starting static build on win32
      Lib sources in:      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\libs
      Retrieving "https://github.com/mxamin/python-xmlsec-win-binaries/releases/download/2024.04.17/libxml2-2.11.7.win64.zip" to "libs\libxml2-2.11.7.win64.zip"
      Retrieving "https://github.com/mxamin/python-xmlsec-win-binaries/releases/download/2024.04.17/libxslt-1.1.37.win64.zip" to "libs\libxslt-1.1.37.win64.zip"
      Retrieving "https://github.com/mxamin/python-xmlsec-win-binaries/releases/download/2024.04.17/zlib-1.2.12.win64.zip" to "libs\zlib-1.2.12.win64.zip"
      Retrieving "https://github.com/mxamin/python-xmlsec-win-binaries/releases/download/2024.04.17/iconv-1.16-1.win64.zip" to "libs\iconv-1.16-1.win64.zip"
      Retrieving "https://github.com/mxamin/python-xmlsec-win-binaries/releases/download/2024.04.17/openssl-3.0.8.win64.zip" to "libs\openssl-3.0.8.win64.zip"
      Retrieving "https://github.com/mxamin/python-xmlsec-win-binaries/releases/download/2024.04.17/xmlsec-1.3.4.win64.zip" to "libs\xmlsec-1.3.4.win64.zip"
      building 'xmlsec' extension
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=__inline -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -DXMLSEC_CRYPTO=\"\\\"openssl\\\"\" -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxslt-1.1.37.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\openssl-3.0.8.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\zlib-1.2.12.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include\xmlsec -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\extlibs -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libexslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\__pycache__ "-IC:\Program Files\Python313\include" "-IC:\Program Files\Python313\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\constants.c /Fo\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\constants.obj /Zi /Os
      constants.c
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): warning C4005: 'LIBXML_ICONV_ENABLED': macro redefinition
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): note: 'LIBXML_ICONV_ENABLED' previously declared on the command line
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=__inline -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -DXMLSEC_CRYPTO=\"\\\"openssl\\\"\" -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxslt-1.1.37.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\openssl-3.0.8.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\zlib-1.2.12.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include\xmlsec -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\extlibs -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libexslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\__pycache__ "-IC:\Program Files\Python313\include" "-IC:\Program Files\Python313\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\ds.c /Fo\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\ds.obj /Zi /Os
      ds.c
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): warning C4005: 'LIBXML_ICONV_ENABLED': macro redefinition
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): note: 'LIBXML_ICONV_ENABLED' previously declared on the command line
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=__inline -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -DXMLSEC_CRYPTO=\"\\\"openssl\\\"\" -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxslt-1.1.37.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\openssl-3.0.8.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\zlib-1.2.12.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include\xmlsec -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\extlibs -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libexslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\__pycache__ "-IC:\Program Files\Python313\include" "-IC:\Program Files\Python313\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\enc.c /Fo\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\enc.obj /Zi /Os
      enc.c
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): warning C4005: 'LIBXML_ICONV_ENABLED': macro redefinition
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): note: 'LIBXML_ICONV_ENABLED' previously declared on the command line
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\enc.c(207): warning C4047: '=': 'PyXmlSec_LxmlElementPtr *' differs in levels of indirection from 'PyXmlSec_LxmlElementPtr'
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=__inline -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -DXMLSEC_CRYPTO=\"\\\"openssl\\\"\" -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxslt-1.1.37.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\openssl-3.0.8.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\zlib-1.2.12.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include\xmlsec -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\extlibs -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libexslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\__pycache__ "-IC:\Program Files\Python313\include" "-IC:\Program Files\Python313\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\exception.c /Fo\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\exception.obj /Zi /Os
      exception.c
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): warning C4005: 'LIBXML_ICONV_ENABLED': macro redefinition
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): note: 'LIBXML_ICONV_ENABLED' previously declared on the command line
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=__inline -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -DXMLSEC_CRYPTO=\"\\\"openssl\\\"\" -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxslt-1.1.37.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\openssl-3.0.8.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\zlib-1.2.12.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include\xmlsec -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\extlibs -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libexslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\__pycache__ "-IC:\Program Files\Python313\include" "-IC:\Program Files\Python313\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\keys.c /Fo\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\keys.obj /Zi /Os
      keys.c
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): warning C4005: 'LIBXML_ICONV_ENABLED': macro redefinition
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): note: 'LIBXML_ICONV_ENABLED' previously declared on the command line
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=__inline -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -DXMLSEC_CRYPTO=\"\\\"openssl\\\"\" -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxslt-1.1.37.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\openssl-3.0.8.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\zlib-1.2.12.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include\xmlsec -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\extlibs -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libexslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\__pycache__ "-IC:\Program Files\Python313\include" "-IC:\Program Files\Python313\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\lxml.c /Fo\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\lxml.obj /Zi /Os
      lxml.c
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): warning C4005: 'LIBXML_ICONV_ENABLED': macro redefinition
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): note: 'LIBXML_ICONV_ENABLED' previously declared on the command line
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=__inline -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -DXMLSEC_CRYPTO=\"\\\"openssl\\\"\" -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxslt-1.1.37.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\openssl-3.0.8.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\zlib-1.2.12.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include\xmlsec -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\extlibs -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libexslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\__pycache__ "-IC:\Program Files\Python313\include" "-IC:\Program Files\Python313\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\main.c /Fo\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\main.obj /Zi /Os
      main.c
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): warning C4005: 'LIBXML_ICONV_ENABLED': macro redefinition
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): note: 'LIBXML_ICONV_ENABLED' previously declared on the command line
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=__inline -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -DXMLSEC_CRYPTO=\"\\\"openssl\\\"\" -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxslt-1.1.37.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\openssl-3.0.8.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\zlib-1.2.12.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include\xmlsec -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\extlibs -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libexslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\__pycache__ "-IC:\Program Files\Python313\include" "-IC:\Program Files\Python313\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\template.c /Fo\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\template.obj /Zi /Os
      template.c
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): warning C4005: 'LIBXML_ICONV_ENABLED': macro redefinition
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): note: 'LIBXML_ICONV_ENABLED' previously declared on the command line
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=__inline -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -DXMLSEC_CRYPTO=\"\\\"openssl\\\"\" -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxslt-1.1.37.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\openssl-3.0.8.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\zlib-1.2.12.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include\xmlsec -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\extlibs -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libexslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\__pycache__ "-IC:\Program Files\Python313\include" "-IC:\Program Files\Python313\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\tree.c /Fo\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\tree.obj /Zi /Os
      tree.c
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): warning C4005: 'LIBXML_ICONV_ENABLED': macro redefinition
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): note: 'LIBXML_ICONV_ENABLED' previously declared on the command line
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DUNICODE=1 -D_UNICODE=1 -DLIBXML_ICONV_ENABLED=1 -DLIBXML_STATIC=1 -DLIBXSLT_STATIC=1 -DXMLSEC_STATIC=1 -Dinline=__inline -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -DXMLSEC_CRYPTO=\"\\\"openssl\\\"\" -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxslt-1.1.37.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\openssl-3.0.8.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\zlib-1.2.12.win64\include -IC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\include\xmlsec -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\extlibs -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libexslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxml -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\libxslt -IC:\Users\elvis\AppData\Local\Temp\pip-build-env-u0xmnnde\overlay\Lib\site-packages\lxml\includes\__pycache__ "-IC:\Program Files\Python313\include" "-IC:\Program Files\Python313\Include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\utils.c /Fo\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\utils.obj /Zi /Os
      utils.c
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): warning C4005: 'LIBXML_ICONV_ENABLED': macro redefinition
      C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\include\libxml/xmlversion.h(274): note: 'LIBXML_ICONV_ENABLED' previously declared on the command line
      "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\lib /LIBPATH:C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxml2-2.11.7.win64\lib /LIBPATH:C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\libxslt-1.1.37.win64\lib /LIBPATH:C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\openssl-3.0.8.win64\lib /LIBPATH:C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\xmlsec-1.3.4.win64\lib /LIBPATH:C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\zlib-1.2.12.win64\lib "/LIBPATH:C:\Program Files\Python313\libs" "/LIBPATH:C:\Program Files\Python313" "/LIBPATH:C:\Program Files\Python313\PCbuild\amd64" "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.22000.0\\um\x64" libxmlsec_a.lib libxmlsec-openssl_a.lib libcrypto.lib iconv_a.lib libxslt_a.lib libexslt_a.lib libxml2_a.lib zlib.lib WS2_32.lib Advapi32.lib User32.lib Gdi32.lib Crypt32.lib /EXPORT:PyInit_xmlsec \Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\constants.obj \Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\ds.obj \Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\enc.obj \Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\exception.obj \Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\keys.obj \Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\lxml.obj \Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\main.obj \Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\template.obj \Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\tree.obj \Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\utils.obj /OUT:build\lib.win-amd64-cpython-313\xmlsec.cp313-win_amd64.pyd /IMPLIB:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\xmlsec.cp313-win_amd64.lib
      fatal error C1047: The object or library file 'C:\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\build\tmp\libs\iconv-1.16-1.win64\lib\iconv_a.lib' was created by a different version of the compiler than other objects like '\Users\elvis\AppData\Local\Temp\pip-install-lq165azl\xmlsec_6822b82d28e94a81907865b93bdb6aa5\src\constants.obj'; rebuild all objects and libraries with the same compiler
      LINK : fatal error LNK1257: code generation failed
      error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\link.exe' failed with exit code 1257
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for xmlsec
Failed to build xmlsec
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (xmlsec)

Activity

  1. ThiefMaster commented on Nov 25, 2024

    @ThiefMaster

    Same on Linux. Seems to be incompatible with 3.13:

    $ uv pip install xmlsec
    Resolved 2 packages in 5ms
    error: Failed to prepare distributions
      Caused by: Failed to fetch wheel: xmlsec==1.3.14
      Caused by: Build backend failed to build wheel through `build_wheel()` with exit status: 1
    --- stdout:
    running bdist_wheel
    running build
    running build_py
    copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-313/xmlsec
    copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-313/xmlsec
    copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-313/xmlsec
    copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-313/xmlsec
    copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-313/xmlsec
    running build_ext
    building 'xmlsec' extension
    gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HTTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -I/usr/include/xmlse
    c1 -I/usr/include/libxml2 -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/extlibs -I/home/adrian/.cache/uv/
    builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libexslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/inclu
    de -I/home/adrian/.pyenv/versions/3.13.0/include/python3.13 -c /home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/constants.c -o build/temp.linux-x86_64-cpython-313/home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.g
    z/src/constants.o -g -std=c99 -fPIC -fno-strict-aliasing -Wno-error=declaration-after-statement -Werror=implicit-function-declaration -Os
    gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HTTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -I/usr/include/xmlse
    c1 -I/usr/include/libxml2 -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/extlibs -I/home/adrian/.cache/uv/
    builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libexslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/inclu
    de -I/home/adrian/.pyenv/versions/3.13.0/include/python3.13 -c /home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/ds.c -o build/temp.linux-x86_64-cpython-313/home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/d
    s.o -g -std=c99 -fPIC -fno-strict-aliasing -Wno-error=declaration-after-statement -Werror=implicit-function-declaration -Os
    gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_HTTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.14 -I/usr/include/xmlse
    c1 -I/usr/include/libxml2 -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/extlibs -I/home/adrian/.cache/uv/
    builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxml -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libexslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/lxml/includes/libxslt -I/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/inclu
    de -I/home/adrian/.pyenv/versions/3.13.0/include/python3.13 -c /home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/enc.c -o build/temp.linux-x86_64-cpython-313/home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/
    enc.o -g -std=c99 -fPIC -fno-strict-aliasing -Wno-error=declaration-after-statement -Werror=implicit-function-declaration -Os
    --- stderr:
    WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
    Traceback (most recent call last):
      File "/home/adrian/.cache/uv/builds-v0/.tmpPoTpHw/lib/python3.13/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
        section = defn.get("tool", {})[tool_name]
                  ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
    KeyError: 'setuptools_scm'
    /home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/enc.c: In function ‘PyXmlSec_ClearReplacedNodes’:
    /home/adrian/.cache/uv/built-wheels-v3/pypi/xmlsec/1.3.14/dvtSA16luQwA4O7yIc-Wk/xmlsec-1.3.14.tar.gz/src/enc.c:207:14: error: assignment to ‘struct LxmlElement **’ from incompatible pointer type ‘PyXmlSec_LxmlElementPtr’ {aka ‘struct LxmlElement *’} [-Wincompatible-pointer-types]
      207 |         elem = PyXmlSec_elementFactory(doc, n);
          |              ^
    error: command '/usr/bin/gcc' failed with exit code 1
    ---
    
    
  2. IgnacioMaestro commented on Nov 28, 2024

    @IgnacioMaestro

    I think there is still a problem with the wheels:
    #327 (comment)

  3. rafaeelaudibert commented on Dec 3, 2024

    @rafaeelaudibert

    I'm seeing the same error with Python 3.11.0 as well, but only with xmlsec==1.3.13, patch 14 works just fine

    > pip install xmlsec==1.3.13 --no-cache-dir
    Collecting xmlsec==1.3.13
      Downloading xmlsec-1.3.13.tar.gz (64 kB)
      Installing build dependencies ... done
      Getting requirements to build wheel ... done
      Preparing metadata (pyproject.toml) ... done
    Requirement already satisfied: lxml>=3.8 in ./.venv/lib/python3.11/site-packages (from xmlsec==1.3.13) (5.3.0)
    Building wheels for collected packages: xmlsec
      Building wheel for xmlsec (pyproject.toml) ... error
      error: subprocess-exited-with-error
    
      × Building wheel for xmlsec (pyproject.toml) did not run successfully.
      │ exit code: 1
      ╰─> [20 lines of output]
          WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
          Traceback (most recent call last):
            File "/tmp/pip-build-env-ftnnu64n/overlay/lib/python3.11/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
              section = defn.get("tool", {})[tool_name]
                        ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
          KeyError: 'setuptools_scm'
          running bdist_wheel
          running build
          running build_py
          creating build/lib.linux-x86_64-cpython-311/xmlsec
          copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
          copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
          copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
          copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
          copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-311/xmlsec
          running build_ext
          building 'xmlsec' extension
          creating build/temp.linux-x86_64-cpython-311/tmp/pip-install-xo0ljcnh/xmlsec_f01c0706dd3546e5914816881d4ed70c/src
          clang -pthread -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -fPIC -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_SIZE_T -DXMLSEC_OPENSSL3_ENGINES=1 -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DMODULE_NAME=xmlsec -DMODULE_VERSION=1.3.13 -I/usr/include/xmlsec1 -I/usr/include/libxml2 -I/tmp/pip-build-env-ftnnu64n/overlay/lib/python3.11/site-packages/lxml/includes -I/tmp/pip-build-env-ftnnu64n/overlay/lib/python3.11/site-packages/lxml -I/tmp/pip-build-env-ftnnu64n/overlay/lib/python3.11/site-packages/lxml/includes/libxml -I/tmp/pip-build-env-ftnnu64n/overlay/lib/python3.11/site-packages/lxml/includes/__pycache__ -I/tmp/pip-build-env-ftnnu64n/overlay/lib/python3.11/site-packages/lxml/includes/extlibs -I/tmp/pip-build-env-ftnnu64n/overlay/lib/python3.11/site-packages/lxml/includes/libxslt -I/tmp/pip-build-env-ftnnu64n/overlay/lib/python3.11/site-packages/lxml/includes/libexslt -I/home/rafael/Documents/posthog/posthog/.venv/include -I/home/rafael/.local/share/uv/python/cpython-3.11.10-linux-x86_64-gnu/include/python3.11 -c /tmp/pip-install-xo0ljcnh/xmlsec_f01c0706dd3546e5914816881d4ed70c/src/constants.c -o build/temp.linux-x86_64-cpython-311/tmp/pip-install-xo0ljcnh/xmlsec_f01c0706dd3546e5914816881d4ed70c/src/constants.o -g -std=c99 -fPIC -fno-strict-aliasing -Wno-error=declaration-after-statement -Werror=implicit-function-declaration -Os
          error: command 'clang' failed: No such file or directory
          [end of output]
    
      note: This error originates from a subprocess, and is likely not a problem with pip.
      ERROR: Failed building wheel for xmlsec
    Failed to build xmlsec
    ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (xmlsec)
    

    Fails with uv as well

    > uv pip install xmlsec==1.3.13 --no-cache-dir
    Resolved 2 packages in 269ms
      × Failed to download and build `xmlsec==1.3.13`
      ╰─▶ Build backend failed to build wheel through `build_wheel` (exit status: 1)
    
          [stdout]
          running bdist_wheel
          running build
          running build_py
          creating build/lib.linux-x86_64-cpython-311/xmlsec
          copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
          copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
          copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
          copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
          copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-311/xmlsec
          running build_ext
          building 'xmlsec' extension
          creating build/temp.linux-x86_64-cpython-311/tmp/.tmpB9hddj/sdists-v6/pypi/xmlsec/1.3.13/xY4uD7g7owfBSHzB3k5Wt/src/src
          clang -pthread -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -fPIC -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_SIZE_T -DXMLSEC_OPENSSL3_ENGINES=1
          -DXMLSEC_NO_FTP=1 -DXMLSEC_NO_MD5=1 -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO_OPENSSL=1 -DMODULE_NAME=xmlsec
          -DMODULE_VERSION=1.3.13 -I/usr/include/xmlsec1 -I/usr/include/libxml2 -I/tmp/.tmpB9hddj/builds-v0/.tmpxHiKz4/lib/python3.11/site-packages/lxml/includes
          -I/tmp/.tmpB9hddj/builds-v0/.tmpxHiKz4/lib/python3.11/site-packages/lxml -I/tmp/.tmpB9hddj/builds-v0/.tmpxHiKz4/lib/python3.11/site-packages/lxml/includes/libxml
          -I/tmp/.tmpB9hddj/builds-v0/.tmpxHiKz4/lib/python3.11/site-packages/lxml/includes/extlibs -I/tmp/.tmpB9hddj/builds-v0/.tmpxHiKz4/lib/python3.11/site-packages/lxml/includes/libxslt
          -I/tmp/.tmpB9hddj/builds-v0/.tmpxHiKz4/lib/python3.11/site-packages/lxml/includes/libexslt -I/tmp/.tmpB9hddj/builds-v0/.tmpxHiKz4/include
          -I/home/rafael/.local/share/uv/python/cpython-3.11.10-linux-x86_64-gnu/include/python3.11 -c /tmp/.tmpB9hddj/sdists-v6/pypi/xmlsec/1.3.13/xY4uD7g7owfBSHzB3k5Wt/src/src/constants.c -o
          build/temp.linux-x86_64-cpython-311/tmp/.tmpB9hddj/sdists-v6/pypi/xmlsec/1.3.13/xY4uD7g7owfBSHzB3k5Wt/src/src/constants.o -g -std=c99 -fPIC -fno-strict-aliasing -Wno-error=declaration-after-statement
          -Werror=implicit-function-declaration -Os
    
          [stderr]
          WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
          Traceback (most recent call last):
            File "/tmp/.tmpB9hddj/builds-v0/.tmpxHiKz4/lib/python3.11/site-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
              section = defn.get("tool", {})[tool_name]
                        ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
          KeyError: 'setuptools_scm'
          error: command 'clang' failed: No such file or directory
    
  4. agronholm commented on Dec 11, 2024

    @agronholm

    error: command 'clang' failed: No such file or directory <- you don't have clang (the C/C++ compiler) installed.

  5. aripollak commented on Mar 10, 2025

    @aripollak
  6. pennersr commented on Mar 10, 2025

    @pennersr

    @aripollak There is no 1.3.15 release on PyPI? https://pypi.org/project/xmlsec/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions