Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-179

mariadb-connector-python-1.0.8 - Build error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.0.8
    • 1.0.10
    • Build
    • None
    • Windows PC
    • 3.8

    Description

      Error during build:

      Command "python setup.py install" fails, error at the end:

      Found MariaDB Connector/C in 'c:\Program Files\MariaDB\MariaDB Connector C 64-bit'
      running install
      running bdist_egg
      running egg_info
      writing mariadb.egg-info\PKG-INFO
      writing dependency_links to mariadb.egg-info\dependency_links.txt
      writing top-level names to mariadb.egg-info\top_level.txt
      reading manifest file 'mariadb.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no files found matching '*.py' under directory 'test'
      warning: no files found matching 'MANIFEST'
      writing manifest file 'mariadb.egg-info\SOURCES.txt'
      installing library code to build\bdist.win-amd64\egg
      running install_lib
      running build_py
      running build_ext
      building 'mariadb._mariadb' extension
      creating build\temp.win-amd64-3.8
      creating build\temp.win-amd64-3.8\Release
      creating build\temp.win-amd64-3.8\Release\mariadb
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=0 -DPY_MARIADB_PATCH_VERSION=8 -I.\include "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include\mysql" -IC:\Users\olivsch0\.conda\envs\ETI\include -IC:\Users\olivsch0\.conda\envs\ETI\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      cppwinrt" /Tcmariadb/mariadb.c /Fobuild\temp.win-amd64-3.8\Release\mariadb/mariadb.obj ""-DDEFAULT_PLUGINS_SUBDIR=\""c:/Program Files/MariaDB/MariaDB Connector C 64-bit/lib/plugin"\""" /MD
      mariadb.c
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=0 -DPY_MARIADB_PATCH_VERSION=8 -I.\include "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include\mysql" -IC:\Users\olivsch0\.conda\envs\ETI\include -IC:\Users\olivsch0\.conda\envs\ETI\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      cppwinrt" /Tcmariadb/mariadb_connection.c /Fobuild\temp.win-amd64-3.8\Release\mariadb/mariadb_connection.obj ""-DDEFAULT_PLUGINS_SUBDIR=\""c:/Program Files/MariaDB/MariaDB Connector C 64-bit/lib/plugin"\""" /MD
      mariadb_connection.c
      mariadb/mariadb_connection.c(290): warning C4090: 'function': different 'const' qualifiers
      mariadb/mariadb_connection.c(291): warning C4090: 'function': different 'const' qualifiers
      mariadb/mariadb_connection.c(292): warning C4090: 'function': different 'const' qualifiers
      mariadb/mariadb_connection.c(293): warning C4090: 'function': different 'const' qualifiers
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=0 -DPY_MARIADB_PATCH_VERSION=8 -I.\include "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include\mysql" -IC:\Users\olivsch0\.conda\envs\ETI\include -IC:\Users\olivsch0\.conda\envs\ETI\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      cppwinrt" /Tcmariadb/mariadb_exception.c /Fobuild\temp.win-amd64-3.8\Release\mariadb/mariadb_exception.obj ""-DDEFAULT_PLUGINS_SUBDIR=\""c:/Program Files/MariaDB/MariaDB Connector C 64-bit/lib/plugin"\""" /MD
      mariadb_exception.c
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=0 -DPY_MARIADB_PATCH_VERSION=8 -I.\include "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include\mysql" -IC:\Users\olivsch0\.conda\envs\ETI\include -IC:\Users\olivsch0\.conda\envs\ETI\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      cppwinrt" /Tcmariadb/mariadb_cursor.c /Fobuild\temp.win-amd64-3.8\Release\mariadb/mariadb_cursor.obj ""-DDEFAULT_PLUGINS_SUBDIR=\""c:/Program Files/MariaDB/MariaDB Connector C 64-bit/lib/plugin"\""" /MD
      mariadb_cursor.c
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=0 -DPY_MARIADB_PATCH_VERSION=8 -I.\include "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include\mysql" -IC:\Users\olivsch0\.conda\envs\ETI\include -IC:\Users\olivsch0\.conda\envs\ETI\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      cppwinrt" /Tcmariadb/mariadb_codecs.c /Fobuild\temp.win-amd64-3.8\Release\mariadb/mariadb_codecs.obj ""-DDEFAULT_PLUGINS_SUBDIR=\""c:/Program Files/MariaDB/MariaDB Connector C 64-bit/lib/plugin"\""" /MD
      mariadb_codecs.c
      mariadb/mariadb_codecs.c(412): warning C4146: unary minus operator applied to unsigned type, result still unsigned
      mariadb/mariadb_codecs.c(413): warning C4146: unary minus operator applied to unsigned type, result still unsigned
      mariadb/mariadb_codecs.c(414): warning C4146: unary minus operator applied to unsigned type, result still unsigned
      mariadb/mariadb_codecs.c(415): warning C4146: unary minus operator applied to unsigned type, result still unsigned
      mariadb/mariadb_codecs.c(1498): warning C4244: '=': conversion from 'double' to 'long', possible loss of data
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=0 -DPY_MARIADB_PATCH_VERSION=8 -I.\include "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include\mysql" -IC:\Users\olivsch0\.conda\envs\ETI\include -IC:\Users\olivsch0\.conda\envs\ETI\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      cppwinrt" /Tcmariadb/mariadb_field.c /Fobuild\temp.win-amd64-3.8\Release\mariadb/mariadb_field.obj ""-DDEFAULT_PLUGINS_SUBDIR=\""c:/Program Files/MariaDB/MariaDB Connector C 64-bit/lib/plugin"\""" /MD
      mariadb_field.c
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=0 -DPY_MARIADB_PATCH_VERSION=8 -I.\include "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include\mysql" -IC:\Users\olivsch0\.conda\envs\ETI\include -IC:\Users\olivsch0\.conda\envs\ETI\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      cppwinrt" /Tcmariadb/mariadb_parser.c /Fobuild\temp.win-amd64-3.8\Release\mariadb/mariadb_parser.obj ""-DDEFAULT_PLUGINS_SUBDIR=\""c:/Program Files/MariaDB/MariaDB Connector C 64-bit/lib/plugin"\""" /MD
      mariadb_parser.c
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=0 -DPY_MARIADB_PATCH_VERSION=8 -I.\include "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include\mysql" -IC:\Users\olivsch0\.conda\envs\ETI\include -IC:\Users\olivsch0\.conda\envs\ETI\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      cppwinrt" /Tcmariadb/mariadb_pooling.c /Fobuild\temp.win-amd64-3.8\Release\mariadb/mariadb_pooling.obj ""-DDEFAULT_PLUGINS_SUBDIR=\""c:/Program Files/MariaDB/MariaDB Connector C 64-bit/lib/plugin"\""" /MD
      mariadb_pooling.c
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=0 -DPY_MARIADB_PATCH_VERSION=8 -I.\include "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include\mysql" -IC:\Users\olivsch0\.conda\envs\ETI\include -IC:\Users\olivsch0\.conda\envs\ETI\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      cppwinrt" /Tcmariadb/mariadb_dbapitype.c /Fobuild\temp.win-amd64-3.8\Release\mariadb/mariadb_dbapitype.obj ""-DDEFAULT_PLUGINS_SUBDIR=\""c:/Program Files/MariaDB/MariaDB Connector C 64-bit/lib/plugin"\""" /MD
      mariadb_dbapitype.c
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=0 -DPY_MARIADB_PATCH_VERSION=8 -I.\include "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include" "-Ic:\Program Files\MariaDB\MariaDB Connector C 64-bit\include\mysql" -IC:\Users\olivsch0\.conda\envs\ETI\include -IC:\Users\olivsch0\.conda\envs\ETI\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0
      cppwinrt" /Tcmariadb/mariadb_indicator.c /Fobuild\temp.win-amd64-3.8\Release\mariadb/mariadb_indicator.obj ""-DDEFAULT_PLUGINS_SUBDIR=\""c:/Program Files/MariaDB/MariaDB Connector C 64-bit/lib/plugin"\""" /MD
      mariadb_indicator.c
      C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO "/LIBPATH:c:\Program Files\MariaDB\MariaDB Connector C 64-bit\lib" /LIBPATH:C:\Users\olivsch0\.conda\envs\ETI\libs /LIBPATH:C:\Users\olivsch0\.conda\envs\ETI\PCbuild\amd64 "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\\lib\10.0.19041.0\\um\x64" ws2_32.lib advapi32.lib kernel32.lib shlwapi.lib crypt32.lib secur32.lib bcrypt.lib mariadbclient.lib /EXPORT:PyInit__mariadb build\temp.win-amd64-3.8\Release\mariadb/mariadb.obj build\temp.win-amd64-3.8\Release\mariadb/mariadb_connection.obj build\temp.win-amd64-3.8\Release\mariadb/mariadb_exception.obj build\temp.win-amd64-3.8\Release\mariadb/mariadb_cursor.obj build\temp.win-amd64-3.8\Release\mariadb/mariadb_codecs.obj build\temp.win-amd64-3.8\Release\mariadb/mariadb_field.obj build\temp.win-amd64-3.8\Release\mariadb/mariadb_parser.obj build\temp.win-amd64-3.8\Release\mariadb/mariadb_pooling.obj build\temp.win-amd64-3.8\Release\mariadb/mariadb_dbapitype.obj build\temp.win-amd64-3.8\Release\mariadb/mariadb_indicator.obj /OUT:build\lib.win-amd64-3.8\mariadb_mariadb.cp38-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.8\Release\mariadb_mariadb.cp38-win_amd64.lib /NODEFAULTLIB:LIBCMT
      Creating library build\temp.win-amd64-3.8\Release\mariadb_mariadb.cp38-win_amd64.lib and object build\temp.win-amd64-3.8\Release\mariadb_mariadb.cp38-win_amd64.exp
      Generating code
      Finished generating code
      creating build\bdist.win-amd64
      creating build\bdist.win-amd64\egg
      creating build\bdist.win-amd64\egg\mariadb
      creating build\bdist.win-amd64\egg\mariadb\constants
      copying build\lib.win-amd64-3.8\mariadb\constants\CLIENT.py -> build\bdist.win-amd64\egg\mariadb\constants
      copying build\lib.win-amd64-3.8\mariadb\constants\CURSOR.py -> build\bdist.win-amd64\egg\mariadb\constants
      copying build\lib.win-amd64-3.8\mariadb\constants\FIELD_TYPE.py -> build\bdist.win-amd64\egg\mariadb\constants
      copying build\lib.win-amd64-3.8\mariadb\constants\INDICATOR.py -> build\bdist.win-amd64\egg\mariadb\constants
      copying build\lib.win-amd64-3.8\mariadb\constants_init_.py -> build\bdist.win-amd64\egg\mariadb\constants
      copying build\lib.win-amd64-3.8\mariadb_mariadb.cp38-win_amd64.pyd -> build\bdist.win-amd64\egg\mariadb
      copying build\lib.win-amd64-3.8\mariadb_init_.py -> build\bdist.win-amd64\egg\mariadb
      byte-compiling build\bdist.win-amd64\egg\mariadb\constants\CLIENT.py to CLIENT.cpython-38.pyc
      error: [Errno 2] No such file or directory: 'build\\bdist.win-amd64\\egg\\mariadb\\constants\\_pycache_
      CLIENT.cpython-38.pyc.2034218878256'

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              TK2588 Oliver Scheb
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.