Source: pmacct Version: 1.7.0-1 Severity: serious Justification: fails to build from source (but built successfully in the past)
Hi, pmacct FTBFS with mariadb-10.3 in sid: btool: compile: gcc -DPACKAGE_NAME=\"pmacct\" -DPACKAGE_TARNAME=\"pmacct\" -DPACKAGE_VERSION=\"1.7.0\" "-DPACKAGE_STRING=\"pmacct 1.7.0\"" -DPACKAGE_BUGREPORT=\"pa...@pmacct.net\" -DPACKAGE_URL=\"\" -DPACKAGE= \"pmacct\" -DVERSION=\"1.7.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNIST D_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DLINUX=1 -DPROGNAME=1 -DIM_LITTLE_ENDIAN=1 -DHAVE_L2=1 -DHAVE_INET_PTON=1 -DHAVE_INET_NTOP=1 -DENABLE_IPV6=1 -DENABLE_PLABEL=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCA P_NOBPF=1 -DPCAP_TYPE_linux=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DWITH_SQLITE3=1 -DWITH_RABBITMQ=1 -DWITH_ZMQ=1 -DWITH_KAFKA=1 -DWITH_GEOIPV2=1 -DWITH_JANSSON=1 -DHAVE_LIBJANSSON=1 -DHAVE_JSON_OBJECT_UPDATE_MISSING=1 -DHAVE_DLOPEN=1 -DHAVE_ZLIB=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_U_INT64_T=1 -DHAVE_U_INT32_T=1 -DHAVE_U_INT16_T=1 -DHAVE_U_INT8_T=1 -DHAVE_UI NT64_T=1 -DHAVE_UINT32_T=1 -DHAVE_UINT16_T=1 -DHAVE_UINT8_T=1 -DHAVE_64BIT_COUNTERS=1 -DENABLE_THREADS=1 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -DWITH_NFLOG=1 -DHAVE_TRAFFIC_BINS=1 -DHAVE_BGP_BINS=1 -DHAVE_BMP_BINS= 1 -DHAVE_ST_BINS=1 -DRETSIGTYPE=void -DHAVE_VSNPRINTF=1 -DHAVE_MALLOPT=1 -DHAVE_TDESTROY=1 "-DCOMPILE_ARGS=\" '--build=i686-linux-gnu' '--prefix=/usr' '--includedir=\${prefix}/include' '--mandir=\${prefix}/share/ man' '--infodir=\${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=\${prefix}/lib/i386-linux-gnu' '--libexecdir=\${prefix}/lib/i386-linux-gnu' '--disable-maintain er-mode' '--disable-dependency-tracking' '--with-pgsql-includes=/usr/include/postgresql' '--enable-l2' '--enable-ipv6' '--enable-plabel' '--enable-mysql' '--enable-pgsql' '--enable-sqlite3' '--enable-rabbitmq' '- -enable-zmq' '--enable-kafka' '--enable-geoipv2' '--enable-jansson' '--enable-64bit' '--enable-threads' '--enable-traffic-bins' '--enable-bgp-bins' '--enable-bmp-bins' '--enable-st-bins' '--enable-nflog' 'build_a lias=i686-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/pmacct-1.7.0=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'\"" -I. -Wd ate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include/postgresql -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.2 -I/usr/lib/i386-linux-gnu/pgm-5.2/include -I/usr/in clude/i386-linux-gnu -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include/postgresql -isystem /usr/include/mit-krb5 -I/usr/include/pgm-5.2 -I/usr/lib/i386-linux-gnu/pgm-5.2/include -O2 -g -O2 -fdebu g-prefix-map=/build/pmacct-1.7.0=. -fstack-protector-strong -Wformat -Werror=format-security -c mysql_plugin.c -fPIC -DPIC -o .libs/libdaemons_la-mysql_plugin.o In file included from mysql_plugin.c:30: sql_common_m.c: In function 'SQL_SetENV_child': sql_common_m.c:261:43: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'time_t' {aka 'const long int'} [-Wformat=] snprintf(tmpptr, envbuf.end-tmpptr, "%u", idata->elap_time); ~^ ~~~~~~~~~~~~~~~~ %lu sql_common_m.c:294:43: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'time_t' {aka 'const long int'} [-Wformat=] snprintf(tmpptr, envbuf.end-tmpptr, "%u", idata->basetime); ~^ ~~~~~~~~~~~~~~~ %lu sql_common_m.c:305:43: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'time_t' {aka 'const long int'} [-Wformat=] snprintf(tmpptr, envbuf.end-tmpptr, "%u", idata->timeslot); ~^ ~~~~~~~~~~~~~~~ %lu mysql_plugin.c: In function 'MY_DB_Connect': mysql_plugin.c:672:10: error: 'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect' dbptr->reconnect = TRUE; ^~ mysql_plugin.c: In function 'MY_mysql_get_version': mysql_plugin.c:771:24: error: 'MYSQL_SERVER_VERSION' undeclared (first use in this function); did you mean 'MYSQL_PS_CONVERSION'? printf("MySQL %s\n", MYSQL_SERVER_VERSION); ^~~~~~~~~~~~~~~~~~~~ MYSQL_PS_CONVERSION mysql_plugin.c:771:24: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [Makefile:1039: libdaemons_la-mysql_plugin.lo] Error 1 Cheers, Andreas
pmacct_1.7.0-1.log.gz
Description: application/gzip