Source: monitoring-plugins Version: 2.2-4 Severity: serious Justification: fails to build from source (but built successfully in the past)
Hi,
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;
^~~~~~~~~~
MYSQL_STMT
make[3]: *** [Makefile:1869: check_mysql-check_mysql.o] Error 1
Cheers,
Andreas
monitoring-plugins_2.2-4.log.gz
Description: application/gzip

