[debian-mysql] Bug#1114200: mariadb-connector-odbc: FTBFS: /<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:55:10: error: 'uint8_t' does not name a type
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:20:16 BST 2025
Package: src:mariadb-connector-odbc
Version: 3.2.6-1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:mariadb-connector-odbc, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/odbc-mariadb.substvars debian/files
rm -fr -- debian/odbc-mariadb/ debian/tmp/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
-DMARIADB_LINK_DYNAMIC=yes \
-DINSTALL_LAYOUT=DEB \
-DINSTALL_LIBDIR=lib/x86_64-linux-gnu/odbc \
-DINSTALL_DOCDIR=share/doc/odbc-mariadb \
-DINSTALL_LICENSEDIR=share/doc/odbc-mariadb
cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DMARIADB_LINK_DYNAMIC=yes -DINSTALL_LAYOUT=DEB -DINSTALL_LIBDIR=lib/x86_64-linux-gnu/odbc -DINSTALL_DOCDIR=share/doc/odbc-mariadb -DINSTALL_LICENSEDIR=share/doc/odbc-mariadb ..
-- The CXX compiler identification is GNU 15.2.0
-- The C compiler identification is GNU 15.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- MariaDB Connector ODBC: INSTALL_BINDIR=bin
-- MariaDB Connector ODBC: INSTALL_LIBDIR=lib/x86_64-linux-gnu/odbc
-- MariaDB Connector ODBC: INSTALL_PCDIR=lib/x86_64-linux-gnu/x86_64-linux-gnu/pkgconfig
-- MariaDB Connector ODBC: INSTALL_INCLUDEDIR=include/mariadb
-- MariaDB Connector ODBC: INSTALL_DOCDIR=share/doc/odbc-mariadb
-- MariaDB Connector ODBC: INSTALL_LICENSEDIR=share/doc/odbc-mariadb
-- MariaDB Connector ODBC: INSTALL_PLUGINDIR=lib/x86_64-linux-gnu/x86_64-linux-gnu/libmariadb/plugin
-- MariaDB Connector ODBC: INSTALL_PLUGINDIR_CLIENT=lib/x86_64-linux-gnu/x86_64-linux-gnu/libmariadb/plugin
-- Configuring to build without SSL support
-- Linking against libmariadb installed on the system
-- Looking for floor
-- Looking for floor - not found
-- Looking for floor in m
-- Looking for floor in m - found
-- odbc_config is not found
-- Found ODBC Driver Manager includes: /usr/include
-- Found ODBC Driver Manager libraries: /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu
-- Found DM header: /usr/include/sql.h
-- Checking if SQLColAttribute expects SQLPOINTER FALSE
-- C/C library found here /usr/lib/x86_64-linux-gnu/libmariadb.so
-- C/C headers have been found here /usr/include/mariadb
-- Linking Connector/C library dynamically(/usr/lib/x86_64-linux-gnu/libmariadb.so)
-- Version script: /<<PKGBUILDDIR>>/driver/maodbc.def
-- All linked targets/external dependencies: /usr/lib/x86_64-linux-gnu/libmariadb.so odbcinst m
-- Setup library is not supported on this platform
-- Configuring to install libmaodbc.pc
-- Package Name: mariadb-connector-odbc-3.2.6-linux-x86_64 Generator: TGZ
-- License File: /<<PKGBUILDDIR>>/COPYING
-- ReadMe File: /<<PKGBUILDDIR>>/README
-- Source Package Filename: mariadb-connector-odbc-3.2.6-src.TGZ
-- Configuring done (0.5s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
CMAKE_FIND_USE_PACKAGE_REGISTRY
FETCHCONTENT_FULLY_DISCONNECTED
-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build
cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/build.make CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/build.make CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Nothing to be done for 'CMakeFiles/DEPENDENCIES_FOR_PACKAGE.dir/build'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 0%] Built target DEPENDENCIES_FOR_PACKAGE
make -f driver/CMakeFiles/maodbc.dir/build.make driver/CMakeFiles/maodbc.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/driver /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/driver /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/driver/CMakeFiles/maodbc.dir/DependInfo.cmake "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f driver/CMakeFiles/maodbc.dir/build.make driver/CMakeFiles/maodbc.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 2%] Building CXX object driver/CMakeFiles/maodbc.dir/odbc_3_api.cpp.o
[ 4%] Building CXX object driver/CMakeFiles/maodbc.dir/ma_api_internal.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/driver && /usr/bin/c++ -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/<<PKGBUILDDIR>> -I/usr/include/mariadb -I/usr/local/include/mariadb -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/driver -I/<<PKGBUILDDIR>>/driver/interface -I/<<PKGBUILDDIR>>/driver/template -I/<<PKGBUILDDIR>>/driver/class -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/driver -I/<<PKGBUILDDIR>>/class -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -fPIC -MD -MT driver/CMakeFiles/maodbc.dir/odbc_3_api.cpp.o -MF CMakeFiles/maodbc.dir/odbc_3_api.cpp.o.d -o CMakeFiles/maodbc.dir/odbc_3_api.cpp.o -c /<<PKGBUILDDIR>>/driver/odbc_3_api.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/driver && /usr/bin/c++ -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/<<PKGBUILDDIR>> -I/usr/include/mariadb -I/usr/local/include/mariadb -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/driver -I/<<PKGBUILDDIR>>/driver/interface -I/<<PKGBUILDDIR>>/driver/template -I/<<PKGBUILDDIR>>/driver/class -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/driver -I/<<PKGBUILDDIR>>/class -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -fPIC -MD -MT driver/CMakeFiles/maodbc.dir/ma_api_internal.cpp.o -MF CMakeFiles/maodbc.dir/ma_api_internal.cpp.o.d -o CMakeFiles/maodbc.dir/ma_api_internal.cpp.o -c /<<PKGBUILDDIR>>/driver/ma_api_internal.cpp
In file included from /<<PKGBUILDDIR>>/driver/interface/PrepareResult.h:28,
from /<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:25,
from /<<PKGBUILDDIR>>/driver/ma_api_internal.cpp:28:
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:55:10: error: âuint8_tâ does not name a type
55 | static uint8_t maxCharlen[];
| ^~~~~~~
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:30:1: note: âuint8_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
29 | #include "SQLString.h"
+++ |+#include <cstdint>
30 |
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:64:3: error: âuint32_tâ does not name a type
64 | uint32_t length= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:64:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:88:3: error: âuint32_tâ does not name a type
88 | uint32_t getLength() const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:88:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:89:3: error: âuint32_tâ does not name a type
89 | uint32_t getMaxLength() const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:89:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:91:3: error: âuint32_tâ does not name a type
91 | uint32_t getDisplaySize() const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:91:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:92:3: error: âuint8_tâ does not name a type
92 | uint8_t getDecimals() const;
| ^~~~~~~
/<<PKGBUILDDIR>>/driver/class/ColumnDefinition.h:92:3: note: âuint8_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
In file included from /<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:28:
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:46:3: error: âuint32_tâ does not name a type
46 | uint32_t getColumnCount();
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:1:1: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
+++ |+#include <cstdint>
1 | /************************************************************************************
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:48:24: error: âuint32_tâ has not been declared
48 | bool isAutoIncrement(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:48:24: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:49:24: error: âuint32_tâ has not been declared
49 | bool isCaseSensitive(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:49:24: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:50:21: error: âuint32_tâ has not been declared
50 | bool isSearchable(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:50:21: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:51:22: error: âuint32_tâ has not been declared
51 | int32_t isNullable(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:51:22: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:52:17: error: âuint32_tâ has not been declared
52 | bool isSigned(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:52:17: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:53:3: error: âuint32_tâ does not name a type
53 | uint32_t getColumnDisplaySize(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:53:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:54:28: error: âuint32_tâ has not been declared
54 | SQLString getColumnLabel(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:54:28: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:55:27: error: âuint32_tâ has not been declared
55 | SQLString getColumnName(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:55:27: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:56:28: error: âuint32_tâ has not been declared
56 | SQLString getCatalogName(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:56:28: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:57:3: error: âuint32_tâ does not name a type
57 | uint32_t getPrecision(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:57:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:58:3: error: âuint32_tâ does not name a type
58 | uint32_t getScale(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:58:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:59:26: error: âuint32_tâ has not been declared
59 | SQLString getTableName(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:59:26: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:60:27: error: âuint32_tâ has not been declared
60 | SQLString getSchemaName(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:60:27: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:61:25: error: âuint32_tâ has not been declared
61 | int32_t getColumnType(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:61:25: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:62:31: error: âuint32_tâ has not been declared
62 | SQLString getColumnTypeName(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:62:31: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:63:19: error: âuint32_tâ has not been declared
63 | bool isReadOnly(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:63:19: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:64:19: error: âuint32_tâ has not been declared
64 | bool isWritable(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:64:19: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:65:29: error: âuint32_tâ has not been declared
65 | bool isDefinitelyWritable(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:65:29: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:66:19: error: âuint32_tâ has not been declared
66 | bool isZerofill(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:66:19: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:67:32: error: âuint32_tâ has not been declared
67 | SQLString getColumnCollation(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:67:32: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:70:47: error: âuint32_tâ has not been declared
70 | const ColumnDefinition& getColumnDefinition(uint32_t column) const;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/class/ResultSetMetaData.h:70:47: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:38:57: error: âuint32_tâ has not been declared
38 | virtual bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr)= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:29:1: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
28 | #include "class/ResultSetMetaData.h"
+++ |+#include <cstdint>
29 | namespace mariadb
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:38:74: error: âuint32_tâ has not been declared
38 | virtual bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr)= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:38:74: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:46:57: error: âuint32_tâ has not been declared [-Wtemplate-body]
46 | virtual bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) { return T(data, bind, col_nr, row_nr); }
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:46:57: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:46:74: error: âuint32_tâ has not been declared [-Wtemplate-body]
46 | virtual bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) { return T(data, bind, col_nr, row_nr); }
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:46:74: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:54:39: error: âuint32_tâ has not been declared
54 | virtual void operator()(void *data, uint32_t col_nr, unsigned char *row, unsigned long length)= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:54:39: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:63:39: error: âuint32_tâ has not been declared [-Wtemplate-body]
63 | virtual void operator()(void *data, uint32_t col_nr, unsigned char *row, unsigned long length) { T(data, col_nr, row); }
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:63:39: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:84:3: error: âuint32_tâ does not name a type
84 | uint32_t batchArraySize= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:84:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:86:3: error: âuint32_tâ does not name a type
86 | uint32_t queryTimeout= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:86:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:111:37: error: âuint32_tâ has not been declared
111 | virtual void executeBatchInternal(uint32_t queryParameterSize)=0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:111:37: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:142:11: error: âuint32_tâ does not name a type
142 | virtual uint32_t getErrno()=0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:142:11: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:146:29: error: âuint32_tâ has not been declared
146 | virtual bool sendLongData(uint32_t paramNum, const char* data, std::size_t length)=0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:146:29: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:153:55: error: âuint32_tâ has not been declared
153 | virtual bool setParamCallback(ParamCodec* callback, uint32_t param= uint32_t(-1))= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:153:55: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:153:71: error: âuint32_tâ was not declared in this scope
153 | virtual bool setParamCallback(ParamCodec* callback, uint32_t param= uint32_t(-1))= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/PreparedStatement.h:153:71: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
In file included from /<<PKGBUILDDIR>>/driver/interface/ResultSet.h:30,
from /<<PKGBUILDDIR>>/driver/ma_api_internal.cpp:29:
/<<PKGBUILDDIR>>/driver/interface/Row.h:40:40: error: âuint32_tâ has not been declared
40 | int64_t safer_strtoll(const char* str, uint32_t len, const char **stopChar= nullptr);
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/Row.h:25:1: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
24 | #include <sstream>
+++ |+#include <cstdint>
25 | #include <vector>
/<<PKGBUILDDIR>>/driver/interface/Row.h:41:1: error: âuint64_tâ does not name a type
41 | uint64_t stoull(const SQLString& str, std::size_t* pos= nullptr);
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/Row.h:41:1: note: âuint64_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/Row.h:42:1: error: âuint64_tâ does not name a type
42 | uint64_t stoull(const char* str, std::size_t len= -1, std::size_t* pos= nullptr);
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/Row.h:42:1: note: âuint64_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/Row.h:43:43: error: âuint32_tâ has not been declared
43 | long double safer_strtod(const char* str, uint32_t len);
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/Row.h:43:43: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/Row.h:96:3: error: âuint32_tâ does not name a type
96 | uint32_t length;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/Row.h:96:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/Row.h:107:3: error: âuint32_tâ does not name a type
107 | uint32_t getLengthMaxFieldSize();
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/Row.h:107:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/Row.h:108:3: error: âuint32_tâ does not name a type
108 | uint32_t getMaxFieldSize();
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/Row.h:108:3: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/Row.h:119:11: error: âuint64_tâ does not name a type
119 | virtual uint64_t getInternalULong(const ColumnDefinition* columnInfo)=0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/Row.h:119:11: note: âuint64_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:47:10: error: âuint64_tâ does not name a type
47 | static uint64_t MAX_ARRAY_SIZE;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:31:1: note: âuint64_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
30 | #include "Row.h"
+++ |+#include <cstdint>
31 | #include "ColumnDefinition.h"
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:178:44: error: âuint32_tâ has not been declared
178 | bool getCached(MYSQL_BIND* bind, uint32_t column0basedIdx, uint64_t offset);
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:178:44: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:178:70: error: âuint64_tâ has not been declared
178 | bool getCached(MYSQL_BIND* bind, uint32_t column0basedIdx, uint64_t offset);
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:178:70: note: âuint64_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:185:11: error: âuint64_tâ does not name a type
185 | virtual uint64_t getUInt64(int32_t columnIndex) const=0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:185:11: note: âuint64_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:186:11: error: âuint32_tâ does not name a type
186 | virtual uint32_t getUInt(int32_t columnIndex) const=0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:186:11: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:205:40: error: âuint32_tâ has not been declared
205 | virtual bool get(MYSQL_BIND* result, uint32_t column0basedIdx, uint64_t offset)= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:205:40: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:205:66: error: âuint64_tâ has not been declared
205 | virtual bool get(MYSQL_BIND* result, uint32_t column0basedIdx, uint64_t offset)= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:205:66: note: âuint64_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:208:57: error: âuint32_tâ has not been declared
208 | virtual bool setResultCallback(ResultCodec* callback, uint32_t column= uint32_t(-1))= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:208:57: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:208:74: error: âuint32_tâ was not declared in this scope
208 | virtual bool setResultCallback(ResultCodec* callback, uint32_t column= uint32_t(-1))= 0;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/interface/ResultSet.h:208:74: note: âuint32_tâ is defined in header â<cstdint>â; this is probably fixable by adding â#include <cstdint>â
[ 6%] Building CXX object driver/CMakeFiles/maodbc.dir/ma_error.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/driver && /usr/bin/c++ -DMAODBC_DEBUG -DSQLCOLATTRIB_SQLLEN_PTR -Dmaodbc_EXPORTS -I/<<PKGBUILDDIR>> -I/usr/include/mariadb -I/usr/local/include/mariadb -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/driver -I/<<PKGBUILDDIR>>/driver/interface -I/<<PKGBUILDDIR>>/driver/template -I/<<PKGBUILDDIR>>/driver/class -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/driver -I/<<PKGBUILDDIR>>/class -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -fPIC -MD -MT driver/CMakeFiles/maodbc.dir/ma_error.cpp.o -MF CMakeFiles/maodbc.dir/ma_error.cpp.o.d -o CMakeFiles/maodbc.dir/ma_error.cpp.o -c /<<PKGBUILDDIR>>/driver/ma_error.cpp
In file included from /<<PKGBUILDDIR>>/driver/ma_odbc.h:424,
from /<<PKGBUILDDIR>>/driver/ma_api_internal.cpp:30:
/<<PKGBUILDDIR>>/driver/ma_codec.h:37:8: error: âbool mariadb::IgnoreRow::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
37 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override {
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:56:8: error: âbool mariadb::FixedSizeCopyCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
56 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:66:8: error: âbool mariadb::CopyCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
66 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:83:8: error: âbool mariadb::WcharCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
83 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:94:8: error: âbool mariadb::BitCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
94 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:105:8: error: âbool mariadb::Str2TimeCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
105 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:116:8: error: âbool mariadb::Str2DateCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
116 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:127:8: error: âbool mariadb::Str2TimestampCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
127 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:140:8: error: âbool mariadb::NumericCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
140 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:151:8: error: âbool mariadb::Ts2DateCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
151 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:162:8: error: âbool mariadb::Ts2TimeCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
162 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:173:8: error: âbool mariadb::TsCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
173 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:185:8: error: âbool mariadb::Time2TsCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
185 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:197:8: error: âbool mariadb::IntrervalHmsCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
197 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:208:8: error: âbool mariadb::DateCodec::operator()(void*, MYSQL_BIND*, uint32_t, uint32_t)â marked âoverrideâ, but does not override
208 | bool operator()(void *data, MYSQL_BIND *bind, uint32_t col_nr, uint32_t row_nr) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:222:8: error: âvoid mariadb::NullRCodec::operator()(void*, uint32_t, unsigned char*, long unsigned int)â marked âoverrideâ, but does not override
222 | void operator()(void *data, uint32_t col_nr, unsigned char* row, unsigned long length) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:237:8: error: âvoid mariadb::WcharRCodec::operator()(void*, uint32_t, unsigned char*, long unsigned int)â marked âoverrideâ, but does not override
237 | void operator()(void *data, uint32_t col_nr, unsigned char* row, unsigned long length) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_codec.h:252:8: error: âvoid mariadb::StringRCodec::operator()(void*, uint32_t, unsigned char*, long unsigned int)â marked âoverrideâ, but does not override
252 | void operator()(void *data, uint32_t col_nr, unsigned char* row, unsigned long length) override;
| ^~~~~~~~
/<<PKGBUILDDIR>>/driver/ma_api_internal.cpp: In function âSQLRETURN MA_SQLGetData(SQLHSTMT, SQLUSMALLINT, SQLSMALLINT, SQLPOINTER, SQLLEN, SQLLEN*)â:
/<<PKGBUILDDIR>>/driver/ma_api_internal.cpp:1589:34: error: âclass mariadb::ResultSetMetaDataâ has no member named âgetColumnCountâ
1589 | for (i= 0; i < Stmt->metadata->getColumnCount(); i++)
| ^~~~~~~~~~~~~~
make[3]: *** [driver/CMakeFiles/maodbc.dir/build.make:96: driver/CMakeFiles/maodbc.dir/ma_api_internal.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:211: driver/CMakeFiles/maodbc.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the pkg-mysql-maint
mailing list