[Pkg-nagios-devel] Bug#919375: monitoring-plugins: FTBFS with mariadb-10.3: check_mysql.c:61:24: error: 'MYSQL_PORT' undeclared

Andreas Beckmann anbe at debian.org
Tue Jan 15 11:17:32 GMT 2019

Source: monitoring-plugins
Version: 2.2-4
Severity: serious
Justification: fails to build from source (but built successfully in the past)


monitoring-plugins FTBFS with mariadb-10.3 in sid:

i686-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I..  -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include/postgresql -I/usr/include -I/usr/include/mariadb -I/usr/include/ma
riadb/mysql -Wdate-time -D_FORTIFY_SOURCE=2 -DNP_VERSION='"2.2"' -I/usr/include/mariadb -I/usr/include/mariadb/mysql -g -O2 -fdebug-prefix-map=/build/monitoring-plugins-2.2=. -fstack-protector-strong -Wformat -We
rror=format-security -Wall -Wl,-z,now -MT check_mysql-check_mysql.o -MD -MP -MF .deps/check_mysql-check_mysql.Tpo -c -o check_mysql-check_mysql.o `test -f 'check_mysql.c' || echo './'`check_mysql.c
check_mysql.c:61:24: error: 'MYSQL_PORT' undeclared here (not in a function); did you mean 'MYSQL_STMT'?
 unsigned int db_port = MYSQL_PORT;
make[3]: *** [Makefile:1869: check_mysql-check_mysql.o] Error 1


-------------- next part --------------
A non-text attachment was scrubbed...
Name: monitoring-plugins_2.2-4.log.gz
Type: application/gzip
Size: 25637 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-devel/attachments/20190115/1858c753/attachment.gz>

More information about the Pkg-nagios-devel mailing list