You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disclaimer: this may be tied to the fact that I use mariadb instead of mysql.
Packages installed for both:
ii libmariadb-dev 2.3.2-2 amd64 MariaDB Connector/C, development files
ii libmariadb2:amd64 2.3.2-2 amd64 MariaDB Connector/C
ii libmariadbclient-dev 10.1.26-0+deb9u1 amd64 MariaDB database development files
ii libmariadbclient-dev-compat:amd64 10.1.26-0+deb9u1 amd64 MariaDB database development files (libmysqlclient compatibility)
ii libmariadbd-dev:amd64 10.1.26-0+deb9u1 amd64 MariaDB embedded database, development files
ii libmariadbd18:amd64 10.1.26-0+deb9u1 amd64 MariaDB embedded database, shared library
ii mariadb-common 10.1.26-0+deb9u1 all MariaDB common metapackage
.
ii default-libmysqlclient-dev:amd64 1.0.2 amd64 MySQL database development files (metapackage)
ii libmysql++-dev 3.2.2+pristine-2 amd64 MySQL C++ library bindings (development)
ii libmysql++3v5 3.2.2+pristine-2 amd64 MySQL C++ library bindings (runtime)
ii mysql-common 5.8+1.0.2 all MySQL database common files, e.g. /etc/mysql/my.cnf
Compilation fails with:
[…]
Making all in net
make[2]: Entering directory '/tmp/libpki/src/net'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -I. -I../../src/libpki -I.. -DENABLE_ECDSA=1 -D__LIB_BUILD__ -I/usr/include -g -O2 -fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -Wunused-variable -DENABLE_ECDSA=1 -I/usr/include/libxml2 -I/usr/include/mysql -I/usr/include/postgresql -DLINUX -g -O2 -fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -MT libpki_net_la-url.lo -MD -MP -MF .deps/libpki_net_la-url.Tpo -c -o libpki_net_la-url.lo `test -f 'url.c' || echo './'`url.c
libtool: compile: gcc -I. -I../../src/libpki -I.. -DENABLE_ECDSA=1 -D__LIB_BUILD__ -I/usr/include -g -O2 -fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -Wunused-variable -DENABLE_ECDSA=1 -I/usr/include/libxml2 -I/usr/include/mysql -I/usr/include/postgresql -DLINUX -g -O2 -fstack-check -maccumulate-outgoing-args -Werror -Wfatal-errors -MT libpki_net_la-url.lo -MD -MP -MF .deps/libpki_net_la-url.Tpo -c url.c -fPIC -DPIC -o .libs/libpki_net_la-url.o
url.c: In function ‘URL_get_data_url’:
url.c:305:34: error: passing argument 1 of ‘URL_get_data_mysql_url’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
ret = URL_get_data_mysql_url( url, size );
^~~
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors
Makefile:577: recipe for target 'libpki_net_la-url.lo' failed
make[2]: *** [libpki_net_la-url.lo] Error 1
make[2]: Leaving directory '/tmp/libpki/src/net'
Makefile:897: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/libpki/src'
Makefile:839: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Is there a fix about that, or shall I remove mariadb dev packages to replace them with the mysql ones, or is there missing packages, or is it a bug ?
The text was updated successfully, but these errors were encountered:
Hi folks,
Disclaimer: this may be tied to the fact that I use mariadb instead of mysql.
Packages installed for both:
Compilation fails with:
Is there a fix about that, or shall I remove mariadb dev packages to replace them with the mysql ones, or is there missing packages, or is it a bug ?
The text was updated successfully, but these errors were encountered: