Source: mysql++ Version: 3.2.2+pristine-2 Severity: serious Tags: sid buster Justification: fails to build from source
Hi,
mysql++ FTBFS with mariadb-10.3 in sid:
g++ -c -o mysqlpp_dbdriver.o -I. -fPIC -DPIC -Wdate-time -D_FORTIFY_SOURCE=2
-I/usr/include/mysql -g -O2 -fdebug-prefix-map=/build/mysql++-3.2.2+pristine=.
-fstack-protector-strong -Wformat -Werror=format-security ./lib/dbdriver.cpp
In file included from ./lib/common.h:133,
from ./lib/dbdriver.h:31,
from ./lib/dbdriver.cpp:27:
/usr/include/mysql/mysql_version.h:3:2: warning: #warning This file should not
be included by clients, include only <mysql.h> [-Wcpp]
#warning This file should not be included by clients, include only <mysql.h>
^~~~~~~
./lib/dbdriver.cpp: In member function 'bool
mysqlpp::DBDriver::set_option(unsigned int, bool)':
./lib/dbdriver.cpp:260:10: error: 'CLIENT_LONG_PASSWORD' was not declared in
this scope
(o >= CLIENT_LONG_PASSWORD) &&
^~~~~~~~~~~~~~~~~~~~
./lib/dbdriver.cpp:260:10: note: suggested alternative: 'CLIENT_LONG_FLAG'
(o >= CLIENT_LONG_PASSWORD) &&
^~~~~~~~~~~~~~~~~~~~
CLIENT_LONG_FLAG
./lib/dbdriver.cpp: In member function 'bool
mysqlpp::DBDriver::set_option_impl(mysqlpp::Option*)':
./lib/dbdriver.cpp:303:7: warning: 'template<class> class std::auto_ptr' is
deprecated [-Wdeprecated-declarations]
std::auto_ptr<Option> cleanup(o);
^~~~~~~~
In file included from /usr/include/c++/8/memory:80,
from ./lib/dbdriver.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
template<typename> class auto_ptr;
^~~~~~~~
./lib/dbdriver.cpp: In member function 'bool
mysqlpp::DBDriver::set_option(unsigned int, bool)':
./lib/dbdriver.cpp:282:1: warning: control reaches end of non-void function
[-Wreturn-type]
}
^
make[1]: *** [Makefile:797: mysqlpp_dbdriver.o] Error 1
Cheers,
Andreas
mysql++_3.2.2+pristine-2.log.gz
Description: application/gzip

