Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Duplicate
-
1.1.5
-
None
Description
Running setup.py install for mariadb ... error
error: subprocess-exited-with-error
× Running setup.py install for mariadb did not run successfully.
│ exit code: 1
╰─> [39 lines of output]
running install
/dados/env/py310/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/mariadb
copying mariadb/_init_.py -> build/lib.linux-x86_64-cpython-310/mariadb
copying mariadb/connectionpool.py -> build/lib.linux-x86_64-cpython-310/mariadb
copying mariadb/connections.py -> build/lib.linux-x86_64-cpython-310/mariadb
creating build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/constants/_init_.py -> build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/constants/CAPABILITY.py -> build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/constants/CLIENT.py -> build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/constants/CURSOR.py -> build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/constants/ERR.py -> build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/constants/FIELD_FLAG.py -> build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/constants/INDICATOR.py -> build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/constants/INFO.py -> build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/constants/STATUS.py -> build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/constants/TPC_STATE.py -> build/lib.linux-x86_64-cpython-310/mariadb/constants
copying mariadb/cursors.py -> build/lib.linux-x86_64-cpython-310/mariadb
copying mariadb/dbapi20.py -> build/lib.linux-x86_64-cpython-310/mariadb
copying mariadb/field.py -> build/lib.linux-x86_64-cpython-310/mariadb
copying mariadb/release_info.py -> build/lib.linux-x86_64-cpython-310/mariadb
running build_ext
building 'mariadb._mariadb' extension
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/mariadb
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=5 -DPY_MARIADB_PRE_RELEASE_SEGMENT=\"\" -I/usr/include/mysql -I/usr/include/mysql/mysql -I./include -I/dados/env/py310/include -I/usr/local/include/python3.10 -c mariadb/mariadb.c -o build/temp.linux-x86_64-cpython-310/mariadb/mariadb.o -DDEFAULT_PLUGINS_SUBDIR=\"/usr/lib/mysql/plugin\"
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=5 -DPY_MARIADB_PRE_RELEASE_SEGMENT=\"\" -I/usr/include/mysql -I/usr/include/mysql/mysql -I./include -I/dados/env/py310/include -I/usr/local/include/python3.10 -c mariadb/mariadb_codecs.c -o build/temp.linux-x86_64-cpython-310/mariadb/mariadb_codecs.o -DDEFAULT_PLUGINS_SUBDIR=\"/usr/lib/mysql/plugin\"
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_MARIADB_MAJOR_VERSION=1 -DPY_MARIADB_MINOR_VERSION=1 -DPY_MARIADB_PATCH_VERSION=5 -DPY_MARIADB_PRE_RELEASE_SEGMENT=\"\" -I/usr/include/mysql -I/usr/include/mysql/mysql -I./include -I/dados/env/py310/include -I/usr/local/include/python3.10 -c mariadb/mariadb_connection.c -o build/temp.linux-x86_64-cpython-310/mariadb/mariadb_connection.o -DDEFAULT_PLUGINS_SUBDIR=\"/usr/lib/mysql/plugin\"
mariadb/mariadb_connection.c: In function ‘MrdbConnection_Initialize’:
mariadb/mariadb_connection.c:337:9: error: ‘MrdbConnection’ has no member named ‘status_callback’
337 | self->status_callback= status_callback;
^~ error: command '/usr/bin/gcc' failed with exit code 1 [end of output] |
note: This error originates from a subprocess, and is likely not a problem with pip.
Rolling back uninstall of mariadb
Moving to /dados/env/py310/lib/python3.10/site-packages/mariadb-1.1.4-py3.10.egg-info
from /dados/env/py310/lib/python3.10/site-packages/~ariadb-1.1.4-py3.10.egg-info
Moving to /dados/env/py310/lib/python3.10/site-packages/mariadb/
from /dados/env/py310/lib/python3.10/site-packages/~ariadb
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> mariadb
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
Attachments
Issue Links
- is duplicated by
-
CONPY-233 mariadb python adapter installation broken in new 1.1.5 release
- Closed