Source: kannel Version: 1.4.5-2 Severity: serious Justification: fails to build from source (but built successfully in the past)
Hi,
kannel FTBFS against mariadb-10.3:
gcc -D_REENTRANT=1 -I. -Igw -g -O2 -fdebug-prefix-map=/build/kannel-1.4.5=.
-fstack-protector-strong -Wformat -Werror=format-security -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_
LARGE_FILES= -I/usr/include/libxml2 -Wall -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Winline -Wformat -Wformat-security
-Wmissing-format-attribute -I/usr/include -I/usr/include/mariadb -I/usr/
include/mariadb/mysql -I/usr/include/postgresql -I/usr/include/hiredis
-I/usr/include -o gwlib/utils.o -c gwlib/utils.c
In file included from gwlib/utils.c:98:
/usr/include/mariadb/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>
^~~~~~~
gwlib/utils.c: In function 'version_report_string':
gwlib/utils.c:602:14: error: 'MYSQL_SERVER_VERSION' undeclared (first use in
this function); did you mean 'MYSQL_PS_CONVERSION'?
MYSQL_SERVER_VERSION, mysql_get_client_info(),
^~~~~~~~~~~~~~~~~~~~
MYSQL_PS_CONVERSION
gwlib/utils.c:602:14: note: each undeclared identifier is reported only once
for each function it appears in
gwlib/utils.c:622:1: warning: control reaches end of non-void function
[-Wreturn-type]
}
^
make[1]: *** [Makefile:226: gwlib/utils.o] Error 1
Cheers,
Andreas
kannel_1.4.5-2.log.gz
Description: application/gzip

