Your message dated Tue, 15 Jan 2019 15:04:46 +0000
with message-id <e1gjqgk-000etl...@fasolo.debian.org>
and subject line Bug#919379: fixed in pmacct 1.7.2-1
has caused the Debian Bug report #919379,
regarding pmacct: FTBFS with mariadb-10.3: mysql_plugin.c:672:10: error: 
'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
919379: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919379
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

Attachment: pmacct_1.7.0-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: pmacct
Source-Version: 1.7.2-1

We believe that the bug you reported is fixed in the latest version of
pmacct, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 919...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bernd Zeimetz <b...@debian.org> (supplier of updated pmacct package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 15 Jan 2019 15:26:22 +0100
Source: pmacct
Binary: pmacct
Architecture: source
Version: 1.7.2-1
Distribution: unstable
Urgency: medium
Maintainer: Bernd Zeimetz <b...@debian.org>
Changed-By: Bernd Zeimetz <b...@debian.org>
Description:
 pmacct     - promiscuous mode traffic accountant
Closes: 919379
Changes:
 pmacct (1.7.2-1) unstable; urgency=medium
 .
   * [326164d] Update upstream source from tag 'upstream/1.7.2'
     Update to upstream version '1.7.2'
     with Debian dir b0ab2ffb19367e9d2f35d7823ed4c6e20d9ac8eb
   * [a0b6f73] snapshot changelog
   * [1529cb5] Add gitlab ci file
   * [c054575] Enable nDPI support
   * [bb395f7] Enable MongoDB support.
   * [a2c3c6a] Remove TOOLS from docs, removed by upstream.
   * [8d4d43a] Revert "Enable MongoDB support."
     This reverts commit bb395f7a40b896bcf0ddd68fe0da2e7ecdc6004e.
     Debian ships libmongoc 1.0, supported is 0.8 only.
   * [2b7e587] Revert "Enable nDPI support"
     This reverts commit c054575d0e7b0d846093910684f12e0dc05fba6b.
     Not sure if 2.2 will ever go into testing...
   * [e31b08a] Move exmaples into /usr/lib
   * [9ff3581] Use dh_autoreconf
   * [86066b8] Add patch to include mysql/mysql_version.h.
     Thanks to Andreas Beckmann (Closes: #919379)
Checksums-Sha1:
 e22cd0138c59abe905b3325a22b02c352bd739dc 2048 pmacct_1.7.2-1.dsc
 d51fb49eaca32ec5dbd44eaccba841c675287854 908580 pmacct_1.7.2.orig.tar.xz
 113b462304cc46ff1417032b86d308e3d2fe41f5 12468 pmacct_1.7.2-1.debian.tar.xz
 45bf6e2ab18d869fb0247fd1bbf4c805c96a2800 7079 pmacct_1.7.2-1_source.buildinfo
Checksums-Sha256:
 b6ce8721ec3dff7c616f6ec33f6187b0a51b27cdd28e21f8ae5bef0379c175f4 2048 
pmacct_1.7.2-1.dsc
 746851fccac48a90e0afda2a7d52fcfb6e321c42dcc78c7a366b1b1e1aa98863 908580 
pmacct_1.7.2.orig.tar.xz
 35444bc9e7b632230cdc6cd28a7cc97b22cdf3c740285863b8a6c952dc215157 12468 
pmacct_1.7.2-1.debian.tar.xz
 042104267ec9bdd3a4ef5b57443a9c1db40f781e70b3d2a95818b733d400ce96 7079 
pmacct_1.7.2-1_source.buildinfo
Files:
 0be96bb219258c0701dcbbc2fd4268ad 2048 net optional pmacct_1.7.2-1.dsc
 082eef53205df8a76b915dc318b8a521 908580 net optional pmacct_1.7.2.orig.tar.xz
 c12b3c3069246c3f7500e77412de930c 12468 net optional 
pmacct_1.7.2-1.debian.tar.xz
 2e44a364fd1ff5fd68f015e6eedd179c 7079 net optional 
pmacct_1.7.2-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE7KHj8o4RJDLUhd2V6zYXGm/5Q18FAlw978cACgkQ6zYXGm/5
Q1+4ThAAnSYJyhYgINwiGPxFX57COK2dYyhoOud/EnFrELloO7wwmDaWdGWY7ENB
4cC4Y09W7VpHAHG4GzwxvKjyYoVUrVbD/qBmNwm7pSfFPz3MQ61Bi9wGVn6s68L/
jihno4Yekg1q42hxSgLAvQ4lI35SiCgm9uchRGBSXVf9AEKdw5GzgOZVAjrbF+NT
LQp5Gt94znkuWZQMnC6SVky76LMZyDddmb4E+gh4KxE3qymMvFPOASWghly2r//y
5FO8InLzUPHWVzzlRPmKs9n5DjqIxpu+WN+mw4i/bTxpI2Nd8Y8YjxPkxQEagYA+
588mOrIRL5uPFlGZi7XeKjU3lPESzvAyCscTgvhbXf7o0IqsaF0f5Ow3JVYpN1dh
aspXb2ARnZCHW0wg82f4bdZFJWR0LhzlEhuSuVRUrtwR2AdJlWc3FmVqEQ5SzDTo
QFifJAADhwc0mhQVg3yzzMbxHyMFFxm7Mxl2wZIkxuR/+B4p19CxBWYfIlC1rkT6
8NMIpYpPPk7zdBQMUxXR2ZcRDrZdtyt7hoofag1q17V/o6Ti3dOIHQItFmapRwd+
lio/Y07jeBt/Wq/dWvCuPIfwNo2NIndjlB0p9ubUm6Qk6bJE+xh2ehtJNsI5uMd8
vcFuI/fBqdHVcWqInFMUv/J5e7uW40tuGVWtx9AG6k5MIEvDcb0=
=j8WQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to