=> Building mail/dbmail22 Started : Friday, 8 MAR 2019 at 17:08:53 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for dbmail22-2.2.18_5: DOCS=on: Build and/or install documentation LDAP=off: LDAP protocol support SIEVE=off: Support for Sieve mail sorting language ====> Options available for the multi DB: you have to choose at least one of them MYSQL=on: MySQL database support PGSQL=off: PostgreSQL database support SQLITE=off: SQLite database support ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- LOCALBASE=/usr/local MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/construction/mail/dbmail22 XDG_CONFIG_HOME=/construction/mail/dbmail22 HOME=/construction/mail/dbmail22 TMPDIR="/tmp" PATH=/construction/mail/dbmail22/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --with-pkglibdir=/usr/local/lib/dbmail --without-ldap --with-mysql --without-pgsql --without-sieve --without-sqlite --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/construction/mail/dbmail22 XDG_CONFIG_HOME=/construction/mail/dbmail22 HOME=/construction/mail/dbmail22 TMPDIR="/tmp" PATH=/construction/mail/dbmail22/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath,/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- mandir=/usr/local/man DESTDIR=/construction/mail/dbmail22/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTNAME=dbmail PORTDOCS="" DOCS="" NO_DOCS="@comment " LDAP="@comment " NO_LDAP="" MYSQL="" NO_MYSQL="@comment " PGSQL="@comment " NO_PGSQL="" SIEVE="@comment " NO_SIEVE="" SQLITE="@comment " NO_SQLITE="" GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/dbmail" EXAMPLESDIR="share/examples/dbmail" DATADIR="share/dbmail" WWWDIR="www/dbmail" ETCDIR="etc/dbmail" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- DOCS="" NO_DOCS="@comment " LDAP="@comment " NO_LDAP="" MYSQL="" NO_MYSQL="@comment " PGSQL="@comment " NO_PGSQL="" SIEVE="@comment " NO_SIEVE="" SQLITE="@comment " NO_SQLITE="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/dbmail DOCSDIR=/usr/local/share/doc/dbmail EXAMPLESDIR=/usr/local/share/examples/dbmail WWWDIR=/usr/local/www/dbmail ETCDIR=/usr/local/etc/dbmail -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> dbmail22-2.2.18_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> dbmail22-2.2.18_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of dbmail22-2.2.18_5 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by dbmail22-2.2.18_5 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by dbmail22-2.2.18_5 for building => SHA256 Checksum OK for dbmail-2.2.18.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by dbmail22-2.2.18_5 for building ===> Extracting for dbmail22-2.2.18_5 => SHA256 Checksum OK for dbmail-2.2.18.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for dbmail22-2.2.18_5 ===> Applying ports patches for dbmail22-2.2.18_5 ===> Applying dragonfly patches for dbmail22-2.2.18_5 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> dbmail22-2.2.18_5 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> dbmail22-2.2.18_5 depends on executable: gmake - found ===> Returning to build of dbmail22-2.2.18_5 ===> dbmail22-2.2.18_5 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.6.0,1.txz Installing pkgconf-1.6.0,1... Extracting pkgconf-1.6.0,1: .......... done ===> dbmail22-2.2.18_5 depends on package: pkgconf>=1.3.0_1 - found ===> Returning to build of dbmail22-2.2.18_5 ===> dbmail22-2.2.18_5 depends on file: /usr/local/lib/libcrypto.so.44 - not found ===> Installing existing package /packages/All/libressl-2.8.3.txz Installing libressl-2.8.3... Extracting libressl-2.8.3: .......... done ===> dbmail22-2.2.18_5 depends on file: /usr/local/lib/libcrypto.so.44 - found ===> Returning to build of dbmail22-2.2.18_5 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> dbmail22-2.2.18_5 depends on shared library: libgmime-2.0.so - not found ===> Installing existing package /packages/All/gmime2-2.2.27_2.txz Installing gmime2-2.2.27_2... `-- Installing glib-2.56.3_3,1... | `-- Installing libffi-3.2.1_3... | `-- Extracting libffi-3.2.1_3: .......... done | `-- Installing libiconv-1.14_11... | `-- Extracting libiconv-1.14_11: .......... done | `-- Installing libxml2-2.9.8... | `-- Extracting libxml2-2.9.8: .......... done | `-- Installing pcre-8.42_1... | `-- Extracting pcre-8.42_1: .......... done | `-- Installing python27-2.7.15... | | `-- Installing expat-2.2.6_1... | | `-- Extracting expat-2.2.6_1: .......... done | | `-- Installing ncurses-6.1.20190112... | | `-- Extracting ncurses-6.1.20190112: .......... done | | `-- Installing readline-7.0.5... | | `-- Extracting readline-7.0.5: .......... done | `-- Extracting python27-2.7.15: .......... done `-- Extracting glib-2.56.3_3,1: .......... done No schema files found: doing nothing. Extracting gmime2-2.2.27_2: .......... done Message from python27-2.7.15: =========================================================================== Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter =========================================================================== ===> dbmail22-2.2.18_5 depends on shared library: libgmime-2.0.so - found (/usr/local/lib/libgmime-2.0.so) ===> Returning to build of dbmail22-2.2.18_5 ===> dbmail22-2.2.18_5 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> dbmail22-2.2.18_5 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> dbmail22-2.2.18_5 depends on shared library: libmysqlclient.so.18 - not found ===> Installing existing package /packages/All/mysql56-client-5.6.43.txz Installing mysql56-client-5.6.43... `-- Installing libedit-3.1.20181209_2,1... `-- Extracting libedit-3.1.20181209_2,1: .......... done `-- Installing libevent-2.1.8_2... `-- Extracting libevent-2.1.8_2: .......... done `-- Installing liblz4-1.8.3,1... `-- Extracting liblz4-1.8.3,1: .......... done `-- Installing perl5-5.28.1... `-- Extracting perl5-5.28.1: .......... done Extracting mysql56-client-5.6.43: .......... done Message from perl5-5.28.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. Message from mysql56-client-5.6.43: * * * * * * * * * * * * * * * * * * * * * * * * Please be aware the database client is vulnerable to CVE-2015-3152 - SSL Downgrade aka "BACKRONYM". You may find more information at the following URL: http://www.vuxml.org/freebsd/36bd352d-299b-11e5-86ff-14dae9d210b8.html Although this database client is not listed as "affected", it is vulnerable and will not be receiving a patch. Please take note of this when deploying this software. * * * * * * * * * * * * * * * * * * * * * * * * ===> dbmail22-2.2.18_5 depends on shared library: libmysqlclient.so.18 - found (/usr/local/lib/mysql/libmysqlclient.so.18) ===> Returning to build of dbmail22-2.2.18_5 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for dbmail22-2.2.18_5 configure: loading site script /xports/Templates/config.site This is dbmail's GNU configure script. It's going to run a bunch of strange tests to hopefully make your compile work without much twiddling. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether to provide manual pages... yes checking for mysql_config... /usr/local/bin/mysql_config checking MySQL headers... -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing -g -fno-omit-frame-pointer -fno-strict-aliasing checking MySQL libraries... -L/usr/local/lib/mysql -lmysqlclient -pthread -lz -lm -lexecinfo -L/usr/local/lib -lssl -lcrypto checking for style of include used by gmake... GNU checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking for pkg-config... /usr/local/bin/pkg-config checking GLib headers... -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include checking GLib libraries... checking GLib version >= 2.16... yes -L/usr/local/lib -lglib-2.0 -lintl checking GModule headers... -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include checking GModule libraries... -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl checking for pkg-config... /usr/local/bin/pkg-config checking GMime headers... -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread checking GMime libraries... -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl checking GMime version >= 2.2.10... yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for --with-gc... no checking for getopt.h... (cached) yes checking for getopt_long_only... (cached) yes checking whether optreset is declared... yes checking for connect... yes checking for res_search... yes checking for dn_expand... yes checking for dns_lookup... no checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking dependency style of cc... (cached) gcc3 checking maximum warning verbosity option... for C++ -W -Wall -Wpointer-arith -Wstrict-prototypes for C checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking endian.h usability... no checking endian.h presence... no checking for endian.h... no checking crypt.h usability... no checking crypt.h presence... no checking for crypt.h... no checking for crypt in -lcrypt... (cached) yes checking build system type... x86_64-portbld-dragonfly5.5 checking host system type... x86_64-portbld-dragonfly5.5 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly5.5 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating ./config.status config.status: creating dbmail.h config.status: creating Makefile config.status: creating modules/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands DM_LOGDIR: /var/log DM_CONFDIR: /etc DM_STATEDIR: /var DM_PKGLIBDIR: /usr/local/lib/dbmail USE_DM_GETOPT: 1 CFLAGS: -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes GLIB: -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl GMIME: -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl MYSQL: -L/usr/local/lib/mysql -lmysqlclient -pthread -lz -lm -lexecinfo -L/usr/local/lib -lssl -lcrypto PGSQL: SQLITE: SIEVE: LDAP: MANPAGES: yes SHARED: yes STATIC: no CHECK: no SOCKETS: -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for dbmail22-2.2.18_5 gmake[1]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18' gmake all-recursive gmake[2]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18' Making all in modules gmake[3]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18/modules' /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing -g -fno-omit-frame-pointer -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT sortnull.lo -MD -MP -MF .deps/sortnull.Tpo -c -o sortnull.lo sortnull.c /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing -g -fno-omit-frame-pointer -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT dbmysql.lo -MD -MP -MF .deps/dbmysql.Tpo -c -o dbmysql.lo dbmysql.c /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing -g -fno-omit-frame-pointer -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT authsql.lo -MD -MP -MF .deps/authsql.Tpo -c -o authsql.lo authsql.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing -g -fno-omit-frame-pointer -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT dbmysql.lo -MD -MP -MF .deps/dbmysql.Tpo -c dbmysql.c -fPIC -DPIC -o .libs/dbmysql.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing -g -fno-omit-frame-pointer -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT authsql.lo -MD -MP -MF .deps/authsql.Tpo -c authsql.c -fPIC -DPIC -o .libs/authsql.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing -g -fno-omit-frame-pointer -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT sortnull.lo -MD -MP -MF .deps/sortnull.Tpo -c sortnull.c -fPIC -DPIC -o .libs/sortnull.o dbmysql.c: In function 'db_mysql_check_collations': dbmysql.c:96:49: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=] snprintf(the_query, DEF_QUERYSIZE, "SET NAMES %s", _db_params.encoding); ^~ ~~~~~~~~~~~~~~~~~~~ dbmysql.c:96:3: note: 'snprintf' output between 11 and 1034 bytes into a destination of size 1024 snprintf(the_query, DEF_QUERYSIZE, "SET NAMES %s", _db_params.encoding); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmysql.c: In function 'db_do_cleanup': dbmysql.c:319:53: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] snprintf(the_query, DEF_QUERYSIZE, "ANALYZE TABLE %s%s", ^~ _db_params.pfx,tables[i]); ~~~~~~~~~~~~~~ dbmysql.c:319:3: note: 'snprintf' output 15 or more bytes (assuming 1038) into a destination of size 1024 snprintf(the_query, DEF_QUERYSIZE, "ANALYZE TABLE %s%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _db_params.pfx,tables[i]); ~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_getclientid': authsql.c:119:58: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT client_idnr FROM %susers WHERE user_idnr = %llu",DBPFX, ~~~^ %lu user_idnr); ~~~~~~~~~ In file included from ../dbmail.h:88, from authsql.c:27: authsql.c:123:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "could not retrieve client id for user [%llu]\n", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ authsql.c:133:34: warning: implicit declaration of function 'strtoull'; did you mean 'strtoul'? [-Wimplicit-function-declaration] *client_idnr = (query_result) ? strtoull(query_result, 0, 10) : 0; ^~~~~~~~ strtoul authsql.c: In function 'auth_getmaxmailsize': authsql.c:147:59: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT maxmail_size FROM %susers WHERE user_idnr = %llu",DBPFX, ~~~^ %lu user_idnr); ~~~~~~~~~ In file included from ../dbmail.h:88, from authsql.c:27: authsql.c:151:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "could not retrieve client id for user [%llu]", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ authsql.c: In function 'auth_getencryption': authsql.c:179:22: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "got (%lld) as userid", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ authsql.c:184:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT encryption_type FROM %susers WHERE user_idnr = %llu",DBPFX, ~~~^ %lu user_idnr); ~~~~~~~~~ In file included from ../dbmail.h:88, from authsql.c:27: authsql.c:188:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "could not retrieve encryption type for user [%llu]", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ authsql.c: In function 'auth_change_password': authsql.c:332:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET passwd = '%s', encryption_type = '%s' " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c:334:41: escapedpass, enctype ? enctype : "", user_idnr); ~~~~~~~~~ authsql.c:333:25: note: format string is defined here " WHERE user_idnr=%llu", DBPFX, ~~~^ %lu In file included from ../dbmail.h:88, from authsql.c:27: authsql.c:337:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "could not change passwd for user [%llu]", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ authsql.c: In function 'auth_change_clientid': authsql.c:347:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET client_idnr = %llu " ~~~^ %lu authsql.c:349:11: DBPFX, new_cid, user_idnr); ~~~~~~~ authsql.c:347:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET client_idnr = %llu " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c:349:20: DBPFX, new_cid, user_idnr); ~~~~~~~~~ authsql.c:348:24: note: format string is defined here "WHERE user_idnr=%llu", ~~~^ %lu In file included from ../dbmail.h:88, from authsql.c:27: authsql.c:352:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "could not change client id for user [%llu]", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ authsql.c: In function 'auth_validate': authsql.c:404:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT user_idnr, passwd, encryption_type FROM %susers " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu", DBPFX, *user_idnr); ~~~~~~~~~~ authsql.c:405:26: note: format string is defined here "WHERE user_idnr = %llu", DBPFX, *user_idnr); ~~~^ %lu authsql.c: In function 'auth_md5_validate': authsql.c:485:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT passwd,user_idnr FROM %susers WHERE " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "user_idnr = %llu", DBPFX, user_idnr); ~~~~~~~~~ authsql.c:486:20: note: format string is defined here "user_idnr = %llu", DBPFX, user_idnr); ~~~^ %lu authsql.c: In function 'auth_get_userid': authsql.c:538:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT userid FROM %susers WHERE user_idnr = %llu", ~~~^ %lu DBPFX, user_idnr); ~~~~~~~~~ authsql.c: In function 'auth_check_userid': authsql.c:571:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT userid FROM %susers WHERE user_idnr = %llu", ~~~^ %lu DBPFX, user_idnr); ~~~~~~~~~ In file included from ../dbmail.h:88, from authsql.c:27: authsql.c:580:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "didn't find user_idnr [%llu]", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ authsql.c:585:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "found user_idnr [%llu]", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ authsql.c: In function 'auth_get_users_from_clientid': authsql.c:602:58: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT user_idnr FROM %susers WHERE client_idnr = %llu", ~~~^ %lu DBPFX, client_id); ~~~~~~~~~ In file included from ../dbmail.h:88, from authsql.c:27: authsql.c:605:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error gettings users for client_id [%llu]", client_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ authsql.c: In function 'auth_addalias': authsql.c:636:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT alias_idnr FROM %saliases " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c:638:51: "AND client_idnr = %llu",DBPFX, escaped_alias, user_idnr, clientid); ~~~~~~~~~ authsql.c:637:59: note: format string is defined here "WHERE lower(alias) = lower('%s') AND deliver_to = '%llu' " ~~~^ %lu authsql.c:636:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT alias_idnr FROM %saliases " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c:638:62: "AND client_idnr = %llu",DBPFX, escaped_alias, user_idnr, clientid); ~~~~~~~~ authsql.c:638:26: note: format string is defined here "AND client_idnr = %llu",DBPFX, escaped_alias, user_idnr, clientid); ~~~^ %lu In file included from ../dbmail.h:88, from authsql.c:27: authsql.c:648:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "alias [%s] for user [%llu] already exists", escaped_alias, user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ ../debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ authsql.c:657:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "INSERT INTO %saliases (alias,deliver_to,client_idnr) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES ('%s','%llu',%llu)",DBPFX, escaped_alias, user_idnr, ~~~~~~~~~ authsql.c:658:22: note: format string is defined here "VALUES ('%s','%llu',%llu)",DBPFX, escaped_alias, user_idnr, ~~~^ %lu authsql.c:657:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "INSERT INTO %saliases (alias,deliver_to,client_idnr) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c:659:4: clientid); ~~~~~~~~ authsql.c:658:28: note: format string is defined here "VALUES ('%s','%llu',%llu)",DBPFX, escaped_alias, user_idnr, ~~~^ %lu authsql.c: In function 'auth_addalias_ext': authsql.c:693:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT alias_idnr FROM %saliases " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c:697:5: clientid); ~~~~~~~~ authsql.c:696:27: note: format string is defined here "AND client_idnr = %llu",DBPFX, escaped_alias, escaped_deliver_to, ~~~^ %lu authsql.c:725:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "INSERT INTO %saliases (alias,deliver_to,client_idnr) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES ('%s','%s',%llu)",DBPFX, escaped_alias, escaped_deliver_to, clientid); ~~~~~~~~ authsql.c:726:26: note: format string is defined here "VALUES ('%s','%s',%llu)",DBPFX, escaped_alias, escaped_deliver_to, clientid); ~~~^ %lu authsql.c: In function 'auth_removealias': authsql.c:750:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "DELETE FROM %saliases WHERE deliver_to='%llu' " ~~~^ %lu "AND lower(alias) = lower('%s')",DBPFX, user_idnr, escaped_alias); ~~~~~~~~~ authsql.c: In function 'auth_get_user_aliases': authsql.c:803:55: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT alias FROM %saliases WHERE deliver_to = '%llu' " ~~~^ %lu authsql.c:808:10: DBPFX, user_idnr, DBPFX, DBPFX, user_idnr); ~~~~~~~~~ authsql.c:803:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT alias FROM %saliases WHERE deliver_to = '%llu' " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c:808:35: DBPFX, user_idnr, DBPFX, DBPFX, user_idnr); ~~~~~~~~~ authsql.c:806:28: note: format string is defined here "WHERE a1.deliver_to='%llu' AND a2.deliver_to IS NOT NULL " ~~~^ %lu authsql.c:819:28: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] g_list_foreach(aliases, (GFunc)g_free, NULL); ^ authsql.c: In function 'auth_get_aliases_ext': authsql.c:851:28: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] g_list_foreach(aliases, (GFunc)g_free, NULL); ^ authsql.c: In function 'auth_get_known_users': authsql.c:77:24: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] "SELECT userid FROM %susers ORDER BY userid",DBPFX); ^~ authsql.c:76:2: note: 'snprintf' output between 41 and 1064 bytes into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT userid FROM %susers ORDER BY userid",DBPFX); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_get_known_aliases': authsql.c:97:23: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1006 [-Wformat-truncation=] "SELECT alias FROM %saliases ORDER BY alias",DBPFX); ^~ authsql.c:96:2: note: 'snprintf' output between 41 and 1064 bytes into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT alias FROM %saliases ORDER BY alias",DBPFX); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_getclientid': authsql.c:119:29: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1000 [-Wformat-truncation=] "SELECT client_idnr FROM %susers WHERE user_idnr = %llu",DBPFX, ^~ authsql.c:118:2: note: 'snprintf' output between 50 and 1092 bytes into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT client_idnr FROM %susers WHERE user_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr); ~~~~~~~~~~ authsql.c: In function 'auth_getmaxmailsize': authsql.c:147:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT maxmail_size FROM %susers WHERE user_idnr = %llu",DBPFX, ^~ authsql.c:146:2: note: 'snprintf' output between 51 and 1093 bytes into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT maxmail_size FROM %susers WHERE user_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr); ~~~~~~~~~~ authsql.c: In function 'auth_getencryption': authsql.c:184:33: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 996 [-Wformat-truncation=] "SELECT encryption_type FROM %susers WHERE user_idnr = %llu",DBPFX, ^~ authsql.c:183:2: note: 'snprintf' output between 54 and 1096 bytes into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT encryption_type FROM %susers WHERE user_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr); ~~~~~~~~~~ authsql.c:198:2: warning: 'strncpy' specified bound 50 equals destination size [-Wstringop-truncation] strncpy(__auth_encryption_desc_string, query_result, _DESCSTRLEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_check_user_ext': authsql.c:232:28: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] "SELECT deliver_to FROM %saliases " ^~ authsql.c:231:2: note: 'snprintf' output 100 or more bytes (assuming 1123) into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT deliver_to FROM %saliases " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE lower(alias) = lower('%s') " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND lower(alias) <> lower(deliver_to)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, escaped_username); ~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_change_password': authsql.c:332:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %susers SET passwd = '%s', encryption_type = '%s' " ^~ authsql.c:331:2: note: 'snprintf' output 70 or more bytes (assuming 2116) into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %susers SET passwd = '%s', encryption_type = '%s' " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " WHERE user_idnr=%llu", DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ escapedpass, enctype ? enctype : "", user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_change_clientid': authsql.c:347:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %susers SET client_idnr = %llu " ^~ authsql.c:346:2: note: 'snprintf' output between 51 and 1112 bytes into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %susers SET client_idnr = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr=%llu", ~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, new_cid, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/dbmysql.Tpo .deps/dbmysql.Plo /bin/sh ../libtool --tag=CC --mode=link cc -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing -g -fno-omit-frame-pointer -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -module -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -o libmysql.la -rpath /usr/local/lib/dbmail dbmysql.lo -L/usr/local/lib/mysql -lmysqlclient -pthread -lz -lm -lexecinfo -L/usr/local/lib -lssl -lcrypto authsql.c: In function 'auth_validate': authsql.c:404:52: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 977 [-Wformat-truncation=] "SELECT user_idnr, passwd, encryption_type FROM %susers " ^~ authsql.c:403:2: note: 'snprintf' output between 73 and 1115 bytes into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT user_idnr, passwd, encryption_type FROM %susers " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu", DBPFX, *user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c:390:2: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] strncpy(real_username, username, DM_USERNAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_md5_validate': authsql.c:485:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 995 [-Wformat-truncation=] "SELECT passwd,user_idnr FROM %susers WHERE " ^~ authsql.c:484:2: note: 'snprintf' output between 55 and 1097 bytes into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT passwd,user_idnr FROM %susers WHERE " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "user_idnr = %llu", DBPFX, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: link: cc -shared .libs/dbmysql.o -L/usr/local/lib -lgmodule-2.0 -lgmime-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -L/usr/local/lib/mysql -lmysqlclient -lz -lm -lexecinfo -lssl -lcrypto -pthread -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--export-dynamic -pthread -pthread -pthread -pthread -Wl,-soname -Wl,libmysql.so.0 -o .libs/libmysql.so.0.0.0 sortnull.c: In function 'sort_process': sortnull.c:43:103: warning: unused parameter 'mailbox' [-Wunused-parameter] sort_result_t *sort_process(u64_t user_idnr UNUSED, struct DbmailMessage *message UNUSED, const char *mailbox) ~~~~~~~~~~~~^~~~~~~ libtool: link: (cd ".libs" && rm -f "libmysql.so.0" && ln -s "libmysql.so.0.0.0" "libmysql.so.0") libtool: link: (cd ".libs" && rm -f "libmysql.so" && ln -s "libmysql.so.0.0.0" "libmysql.so") mv -f .deps/sortnull.Tpo .deps/sortnull.Plo /bin/sh ../libtool --tag=CC --mode=link cc -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing -g -fno-omit-frame-pointer -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -module -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -o libsort_null.la sortnull.lo libtool: link: ( cd ".libs" && rm -f "libmysql.la" && ln -s "../libmysql.la" "libmysql.la" ) authsql.c: In function 'auth_get_userid': authsql.c:538:24: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] "SELECT userid FROM %susers WHERE user_idnr = %llu", ^~ authsql.c:537:2: note: 'snprintf' output between 45 and 1087 bytes into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT userid FROM %susers WHERE user_idnr = %llu", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, user_idnr); ~~~~~~~~~~~~~~~~~ authsql.c:560:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(returnid, query_result, strlen(query_result) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c:560:35: note: length computed here strncpy(returnid, query_result, strlen(query_result) + 1); ^~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_check_userid': authsql.c:571:24: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] "SELECT userid FROM %susers WHERE user_idnr = %llu", ^~ authsql.c:570:2: note: 'snprintf' output between 45 and 1087 bytes into a destination of size 1024 snprintf(__auth_query_data, AUTH_QUERY_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT userid FROM %susers WHERE user_idnr = %llu", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, user_idnr); ~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_get_users_from_clientid': authsql.c:602:27: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] "SELECT user_idnr FROM %susers WHERE client_idnr = %llu", ^~ authsql.c:601:2: note: 'snprintf' output between 50 and 1092 bytes into a destination of size 1024 snprintf(__auth_query_data, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT user_idnr FROM %susers WHERE client_idnr = %llu", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, client_id); ~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_addalias': authsql.c:636:28: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] "SELECT alias_idnr FROM %saliases " ^~ authsql.c:635:2: note: 'snprintf' output 103 or more bytes (assuming 1126) into a destination of size 1024 snprintf(__auth_query_data, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT alias_idnr FROM %saliases " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE lower(alias) = lower('%s') AND deliver_to = '%llu' " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND client_idnr = %llu",DBPFX, escaped_alias, user_idnr, clientid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c:657:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "INSERT INTO %saliases (alias,deliver_to,client_idnr) " ^~ authsql.c:656:2: note: 'snprintf' output 69 or more bytes (assuming 1092) into a destination of size 1024 snprintf(__auth_query_data, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "INSERT INTO %saliases (alias,deliver_to,client_idnr) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES ('%s','%llu',%llu)",DBPFX, escaped_alias, user_idnr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientid); ~~~~~~~~~ authsql.c: In function 'auth_addalias_ext': authsql.c:700:29: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] "SELECT alias_idnr FROM %saliases " ^~ authsql.c:699:3: note: 'snprintf' output 97 or more bytes (assuming 1120) into a destination of size 1024 snprintf(__auth_query_data, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT alias_idnr FROM %saliases " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE lower(alias) = lower('%s') " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND lower(deliver_to) = lower('%s') ",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ escaped_alias, escaped_deliver_to); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c:693:29: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] "SELECT alias_idnr FROM %saliases " ^~ authsql.c:692:3: note: 'snprintf' output 116 or more bytes (assuming 1139) into a destination of size 1024 snprintf(__auth_query_data, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT alias_idnr FROM %saliases " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE lower(alias) = lower('%s') AND " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "lower(deliver_to) = lower('%s') " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND client_idnr = %llu",DBPFX, escaped_alias, escaped_deliver_to, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientid); ~~~~~~~~~ authsql.c:725:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "INSERT INTO %saliases (alias,deliver_to,client_idnr) " ^~ authsql.c:724:2: note: 'snprintf' output 68 or more bytes (assuming 1091) into a destination of size 1024 snprintf(__auth_query_data, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "INSERT INTO %saliases (alias,deliver_to,client_idnr) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES ('%s','%s',%llu)",DBPFX, escaped_alias, escaped_deliver_to, clientid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_removealias': authsql.c:750:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %saliases WHERE deliver_to='%llu' " ^~ authsql.c:749:2: note: 'snprintf' output 70 or more bytes (assuming 1093) into a destination of size 1024 snprintf(__auth_query_data, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %saliases WHERE deliver_to='%llu' " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND lower(alias) = lower('%s')",DBPFX, user_idnr, escaped_alias); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_removealias_ext': authsql.c:781:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %saliases WHERE lower(deliver_to) = lower('%s') " ^~ authsql.c:780:2: note: 'snprintf' output 85 or more bytes (assuming 1108) into a destination of size 1024 snprintf(__auth_query_data, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %saliases WHERE lower(deliver_to) = lower('%s') " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND lower(alias) = lower('%s')",DBPFX, deliver_to, alias); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_get_user_aliases': authsql.c:803:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1006 [-Wformat-truncation=] "SELECT alias FROM %saliases WHERE deliver_to = '%llu' " ^~ authsql.c:802:2: note: 'snprintf' output between 207 and 3314 bytes into a destination of size 1024 snprintf(__auth_query_data, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT alias FROM %saliases WHERE deliver_to = '%llu' " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UNION SELECT a2.alias FROM %saliases a1 JOIN %saliases a2 " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "ON (a1.alias = a2.deliver_to) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE a1.deliver_to='%llu' AND a2.deliver_to IS NOT NULL " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "ORDER BY alias DESC", ~~~~~~~~~~~~~~~~~~~~~~ DBPFX, user_idnr, DBPFX, DBPFX, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ authsql.c: In function 'auth_get_aliases_ext': authsql.c:839:28: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] "SELECT deliver_to FROM %saliases WHERE alias = '%s' " ^~ authsql.c:838:2: note: 'snprintf' output 68 or more bytes (assuming 1091) into a destination of size 1024 snprintf(__auth_query_data, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT deliver_to FROM %saliases WHERE alias = '%s' " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "ORDER BY alias DESC",DBPFX, alias); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: link: ar cru .libs/libsort_null.a .libs/sortnull.o /usr/libexec/binutils227/elf/ar: `u' modifier ignored since `D' is the default (see `U') libtool: link: ranlib .libs/libsort_null.a libtool: link: ( cd ".libs" && rm -f "libsort_null.la" && ln -s "../libsort_null.la" "libsort_null.la" ) mv -f .deps/authsql.Tpo .deps/authsql.Plo /bin/sh ../libtool --tag=CC --mode=link cc -I/usr/local/include/mysql -isystem /usr/local/include -fno-strict-aliasing -g -fno-omit-frame-pointer -fno-strict-aliasing -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -module -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -o libauth_sql.la -rpath /usr/local/lib/dbmail authsql.lo -lcrypt libtool: link: cc -shared .libs/authsql.o -L/usr/local/lib -lgmodule-2.0 -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lcrypt -pthread -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--export-dynamic -pthread -pthread -pthread -Wl,-soname -Wl,libauth_sql.so.0 -o .libs/libauth_sql.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libauth_sql.so.0" && ln -s "libauth_sql.so.0.0.0" "libauth_sql.so.0") libtool: link: (cd ".libs" && rm -f "libauth_sql.so" && ln -s "libauth_sql.so.0.0.0" "libauth_sql.so") libtool: link: ( cd ".libs" && rm -f "libauth_sql.la" && ln -s "../libauth_sql.la" "libauth_sql.la" ) gmake[3]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18/modules' Making all in man gmake[3]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18/man' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18/man' gmake[3]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18' /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-user.lo -MD -MP -MF .deps/libdbmail_la-dbmail-user.Tpo -c -o libdbmail_la-dbmail-user.lo `test -f 'dbmail-user.c' || echo './'`dbmail-user.c /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-message.lo -MD -MP -MF .deps/libdbmail_la-dbmail-message.Tpo -c -o libdbmail_la-dbmail-message.lo `test -f 'dbmail-message.c' || echo './'`dbmail-message.c /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-mailbox.lo -MD -MP -MF .deps/libdbmail_la-dbmail-mailbox.Tpo -c -o libdbmail_la-dbmail-mailbox.lo `test -f 'dbmail-mailbox.c' || echo './'`dbmail-mailbox.c /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-config.lo -MD -MP -MF .deps/libdbmail_la-config.Tpo -c -o libdbmail_la-config.lo `test -f 'config.c' || echo './'`config.c /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-debug.lo -MD -MP -MF .deps/libdbmail_la-debug.Tpo -c -o libdbmail_la-debug.lo `test -f 'debug.c' || echo './'`debug.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-user.lo -MD -MP -MF .deps/libdbmail_la-dbmail-user.Tpo -c dbmail-user.c -fPIC -DPIC -o .libs/libdbmail_la-dbmail-user.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-debug.lo -MD -MP -MF .deps/libdbmail_la-debug.Tpo -c debug.c -fPIC -DPIC -o .libs/libdbmail_la-debug.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-config.lo -MD -MP -MF .deps/libdbmail_la-config.Tpo -c config.c -fPIC -DPIC -o .libs/libdbmail_la-config.o In file included from dbmail.h:133, from dbmail-user.c:24: dbmail-user.c: In function 'do_add': dbmail-user.c:61:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] qprintf("Pretending to add user %s with password type %s, %llu bytes mailbox limit and clientid %llu\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user, enctype, maxmail, clientid); ~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ dbmail-user.c:61:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] qprintf("Pretending to add user %s with password type %s, %llu bytes mailbox limit and clientid %llu\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user, enctype, maxmail, clientid); ~~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ In file included from dbmail.h:88, from dbmail-user.c:24: dbmail-user.c:66:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "Adding user %s with password type %s,%llu " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-user.c:68:18: user, enctype, maxmail, clientid); ~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-user.c:66:62: note: format string is defined here TRACE(TRACE_DEBUG, "Adding user %s with password type %s,%llu " ~~~^ %lu In file included from dbmail.h:88, from dbmail-user.c:24: dbmail-user.c:66:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "Adding user %s with password type %s,%llu " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-user.c:68:27: user, enctype, maxmail, clientid); ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-user.c:67:40: note: format string is defined here "bytes mailbox limit and clientid %llu... ", ~~~^ %lu In file included from dbmail.h:88, from dbmail-user.c:24: dbmail-user.c:80:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "Ok, user added id [%llu]\n", useridnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ In file included from dbmail.h:133, from dbmail-user.c:24: dbmail-user.c: In function 'do_username': dbmail-user.c:113:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] qprintf("Pretending to change username of user id number [%llu] to [%s]\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr, newuser); ~~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ dbmail-user.c: In function 'do_password': dbmail-user.c:131:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] qprintf("Pretending to change password for user id number [%llu]\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr); ~~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ debug.c: In function 'trace': debug.c:109:5: warning: implicit declaration of function 'gethostname'; did you mean 'sethostname'? [-Wimplicit-function-declaration] gethostname(hostname,sizeof(hostname)-1); ^~~~~~~~~~~ sethostname dbmail-user.c: In function 'do_clientid': dbmail-user.c:273:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Pretending to change client for user id number [%llu] to client id number [%llu]\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr, clientid); ~~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ dbmail-user.c:273:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Pretending to change client for user id number [%llu] to client id number [%llu]\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr, clientid); ~~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ dbmail-user.c: In function 'do_maxmail': dbmail-user.c:290:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Pretending to change mail quota for user id number [%llu] to [%llu] bytes\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr, maxmail); ~~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ dbmail-user.c:290:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Pretending to change mail quota for user id number [%llu] to [%llu] bytes\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr, maxmail); ~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ dbmail-user.c: In function 'do_aliases': dbmail-user.c:409:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] qprintf("Pretending to remove aliases for user id number [%llu]\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr); ~~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ dbmail-user.c:418:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] qprintf("Pretending to add aliases for user id number [%llu]\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr); ~~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ dbmail-user.c: In function 'do_delete': dbmail-user.c:509:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] qprintf("Pretending to delete alias [%s] for user id number [%llu]\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ name, useridnr); ~~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ dbmail-user.c: In function 'do_show': dbmail-user.c:553:25: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] g_list_foreach(users,(GFunc)g_free,NULL); ^ dbmail-user.c:570:27: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] g_list_foreach(aliases,(GFunc)g_free,NULL); ^ dbmail-user.c: In function 'show_user': dbmail-user.c:678:27: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] g_list_foreach(userlist,(GFunc)g_free, NULL); ^ In file included from dbmail.h:133, from dbmail-user.c:24: dbmail-user.c: In function 'do_empty': dbmail-user.c:702:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("You've requested to delete all mailboxes owned by user number [%llu]:\n", useridnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ dbmail-user.h:26:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ dbmail-user.c: In function 'strtomaxmail': dbmail-user.c:825:12: warning: implicit declaration of function 'strtoull'; did you mean 'strtoul'? [-Wimplicit-function-declaration] maxmail = strtoull(str, &endptr, 10); ^~~~~~~~ strtoul At top level: dbmail-user.c:40:19: warning: 'ValidChars' defined but not used [-Wunused-const-variable=] static const char ValidChars[] = ^~~~~~~~~~ mv -f .deps/libdbmail_la-debug.Tpo .deps/libdbmail_la-debug.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-list.lo -MD -MP -MF .deps/libdbmail_la-list.Tpo -c -o libdbmail_la-list.lo `test -f 'list.c' || echo './'`list.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-message.lo -MD -MP -MF .deps/libdbmail_la-dbmail-message.Tpo -c dbmail-message.c -fPIC -DPIC -o .libs/libdbmail_la-dbmail-message.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-list.lo -MD -MP -MF .deps/libdbmail_la-list.Tpo -c list.c -fPIC -DPIC -o .libs/libdbmail_la-list.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmail-mailbox.lo -MD -MP -MF .deps/libdbmail_la-dbmail-mailbox.Tpo -c dbmail-mailbox.c -fPIC -DPIC -o .libs/libdbmail_la-dbmail-mailbox.o list.c: In function 'g_list_slices': list.c:149:13: warning: variable 'j' set but not used [-Wunused-but-set-variable] unsigned i,j; ^ list.c: In function 'g_list_slices_u64': list.c:185:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_append_printf(slice,"%llu",*(u64_t *)list->data); ~~~^ ~~~~~~~~~~~~~~~~~~~~ %lu list.c:190:38: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_append_printf(slice,",%llu", *(u64_t *)list->data); ~~~^ ~~~~~~~~~~~~~~~~~~~~ %lu list.c:177:13: warning: variable 'j' set but not used [-Wunused-but-set-variable] unsigned i,j; ^ dbmail-message.c: In function 'dbmail_message_free': dbmail-message.c:191:3: warning: 'g_relation_destroy' is deprecated [-Wdeprecated-declarations] g_relation_destroy(self->headers); ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:70:12: note: declared here void g_relation_destroy (GRelation *relation); ^~~~~~~~~~~~~~~~~~ dbmail-message.c: In function '_map_headers': dbmail-message.c:460:2: warning: 'g_relation_destroy' is deprecated [-Wdeprecated-declarations] if (self->headers) g_relation_destroy(self->headers); ^~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:70:12: note: declared here void g_relation_destroy (GRelation *relation); ^~~~~~~~~~~~~~~~~~ dbmail-message.c:462:2: warning: 'g_relation_new' is deprecated [-Wdeprecated-declarations] self->headers = g_relation_new(2); ^~~~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:68:12: note: declared here GRelation* g_relation_new (gint fields); ^~~~~~~~~~~~~~ dbmail-message.c:463:2: warning: 'g_relation_index' is deprecated [-Wdeprecated-declarations] g_relation_index(self->headers, 0, (GHashFunc)g_str_hash, (GEqualFunc)g_str_case_equal); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:72:12: note: declared here void g_relation_index (GRelation *relation, ^~~~~~~~~~~~~~~~ dbmail-message.c:464:2: warning: 'g_relation_index' is deprecated [-Wdeprecated-declarations] g_relation_index(self->headers, 1, (GHashFunc)g_str_hash, (GEqualFunc)g_str_case_equal); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:72:12: note: declared here void g_relation_index (GRelation *relation, ^~~~~~~~~~~~~~~~ dbmail-message.c: In function '_register_header': dbmail-message.c:492:2: warning: 'g_relation_exists' is deprecated [-Wdeprecated-declarations] if (m->headers && (! g_relation_exists(m->headers, hname, hvalue))) ^~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:92:12: note: declared here gboolean g_relation_exists (GRelation *relation, ^~~~~~~~~~~~~~~~~ dbmail-message.c:493:3: warning: 'g_relation_insert' is deprecated [-Wdeprecated-declarations] g_relation_insert(m->headers, hname, hvalue); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:77:12: note: declared here void g_relation_insert (GRelation *relation, ^~~~~~~~~~~~~~~~~ dbmail-message.c: In function 'dbmail_message_get_header_repeated': dbmail-message.c:567:2: warning: 'g_relation_select' is deprecated [-Wdeprecated-declarations] return g_relation_select(self->headers, hname, 0); ^~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:84:12: note: declared here GTuples* g_relation_select (GRelation *relation, ^~~~~~~~~~~~~~~~~ In file included from dbmail.h:88, from dbmail-message.c:27: dbmail-message.c: In function 'dbmail_message_retrieve': dbmail-message.c:786:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "retrieval failed for physid [%llu]", physid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-message.c: In function '_message_insert': dbmail-message.c:905:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "INSERT INTO " ^~~~~~~~~~~~~~ dbmail-message.c:909:11: DBPFX, mailboxid, physmessage_id, unique_id, ~~~~~~~~~ dbmail-message.c:908:16: note: format string is defined here "VALUES (%llu, %llu, '%s', 1, %d)", ~~~^ %lu dbmail-message.c:905:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "INSERT INTO " ^~~~~~~~~~~~~~ dbmail-message.c:909:22: DBPFX, mailboxid, physmessage_id, unique_id, ~~~~~~~~~~~~~~ dbmail-message.c:908:22: note: format string is defined here "VALUES (%llu, %llu, '%s', 1, %d)", ~~~^ %lu dbmail-message.c: In function '_header_cache': dbmail-message.c:1028:2: warning: 'g_relation_select' is deprecated [-Wdeprecated-declarations] values = g_relation_select(self->headers,header,0); ^~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:84:12: note: declared here GTuples* g_relation_select (GRelation *relation, ^~~~~~~~~~~~~~~~~ dbmail-message.c:1030:3: warning: 'g_tuples_index' is deprecated [-Wdeprecated-declarations] raw = (unsigned char *)g_tuples_index(values,i,1); ^~~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:99:12: note: declared here gpointer g_tuples_index (GTuples *tuples, ^~~~~~~~~~~~~~ dbmail-message.c:1043:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q,"INSERT INTO %sheadervalue (headername_id, physmessage_id, headervalue) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%llu,%llu,'%s')", DBPFX, id, self->physid, safe_value); ~~ dbmail-message.c:1044:17: note: format string is defined here "VALUES (%llu,%llu,'%s')", DBPFX, id, self->physid, safe_value); ~~~^ %lu dbmail-message.c:1043:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q,"INSERT INTO %sheadervalue (headername_id, physmessage_id, headervalue) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%llu,%llu,'%s')", DBPFX, id, self->physid, safe_value); ~~~~~~~~~~~~ dbmail-message.c:1044:22: note: format string is defined here "VALUES (%llu,%llu,'%s')", DBPFX, id, self->physid, safe_value); ~~~^ %lu dbmail-message.c:1052:4: warning: 'g_tuples_destroy' is deprecated [-Wdeprecated-declarations] g_tuples_destroy(values); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:97:12: note: declared here void g_tuples_destroy (GTuples *tuples); ^~~~~~~~~~~~~~~~ dbmail-message.c:1057:2: warning: 'g_tuples_destroy' is deprecated [-Wdeprecated-declarations] g_tuples_destroy(values); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/glib-2.0/glib.h:107, from /usr/local/include/gmime-2.0/gmime/gmime.h:25, from dbmail.h:50, from dbmail-message.c:27: /usr/local/include/glib-2.0/glib/deprecated/grel.h:97:12: note: declared here void g_tuples_destroy (GTuples *tuples); ^~~~~~~~~~~~~~~~ dbmail-message.c: In function 'insert_address_cache': dbmail-message.c:1087:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "INSERT INTO %s%sfield (physmessage_id, %sname, %saddr) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-message.c:1089:5: physid, name, addr); ~~~~~~ dbmail-message.c:1088:17: note: format string is defined here "VALUES (%llu,'%s','%s')", DBPFX, field, field, field, ~~~^ %lu dbmail-message.c: In function 'insert_field_cache': dbmail-message.c:1116:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "INSERT INTO %s%sfield (physmessage_id, %sfield) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%llu,'%s')", DBPFX, field, field, physid, clean_value); ~~~~~~ dbmail-message.c:1117:16: note: format string is defined here "VALUES (%llu,'%s')", DBPFX, field, field, physid, clean_value); ~~~^ %lu In file included from dbmail.h:88, from dbmail-message.c:27: dbmail-message.c: In function 'dbmail_message_cache_subjectfield': dbmail-message.c:1224:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE,"no subject field value [%llu]", self->physid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-message.c: In function 'dbmail_message_cache_referencesfield': dbmail-message.c:1257:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "reference_decode failed [%llu]", self->physid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-message.c:1262:25: warning: cast between incompatible function types from 'int (*)(const char *, const char *)' to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] tree = g_tree_new_full((GCompareDataFunc)strcmp, NULL, NULL, NULL); ^ dbmail-message.c: In function 'dbmail_message_cache_envelope': dbmail-message.c:1287:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'const long unsigned int'} [-Wformat=] q = g_strdup_printf("INSERT INTO %senvelope (physmessage_id, envelope) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%llu,'%s')", DBPFX, self->physid, clean); ~~~~~~~~~~~~ dbmail-message.c:1288:16: note: format string is defined here "VALUES (%llu,'%s')", DBPFX, self->physid, clean); ~~~^ %lu mv -f .deps/libdbmail_la-list.Tpo .deps/libdbmail_la-list.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-db.lo -MD -MP -MF .deps/libdbmail_la-db.Tpo -c -o libdbmail_la-db.lo `test -f 'db.c' || echo './'`db.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-db.lo -MD -MP -MF .deps/libdbmail_la-db.Tpo -c db.c -fPIC -DPIC -o .libs/libdbmail_la-db.o mv -f .deps/libdbmail_la-config.Tpo .deps/libdbmail_la-config.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-acl.lo -MD -MP -MF .deps/libdbmail_la-acl.Tpo -c -o libdbmail_la-acl.lo `test -f 'acl.c' || echo './'`acl.c db.c: In function 'db_get_physmessage_id': db.c:337:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT physmessage_id FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE message_idnr = %llu", DBPFX, message_idnr); ~~~~~~~~~~~~ db.c:338:29: note: format string is defined here "WHERE message_idnr = %llu", DBPFX, message_idnr); ~~~^ %lu db.c: In function 'db_get_quotum_used': db.c:366:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT curmail_size FROM %susers " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu", DBPFX, user_idnr); ~~~~~~~~~ db.c:367:26: note: format string is defined here "WHERE user_idnr = %llu", DBPFX, user_idnr); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:369:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error getting used quotum for " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "user [%llu]" , user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:370:19: note: format string is defined here "user [%llu]" , user_idnr); ~~~^ %lu db.c: In function 'user_quotum_set': db.c:393:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET curmail_size = %llu " ~~~^ %lu "WHERE user_idnr = %llu", DBPFX, size, user_idnr); ~~~~ db.c:393:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET curmail_size = %llu " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu", DBPFX, size, user_idnr); ~~~~~~~~~ db.c:394:26: note: format string is defined here "WHERE user_idnr = %llu", DBPFX, size, user_idnr); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'user_quotum_inc': db.c:415:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "adding %llu to mailsize", size); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:418:57: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET curmail_size = curmail_size + %llu " ~~~^ %lu "WHERE user_idnr = %llu", DBPFX, size, user_idnr); ~~~~ db.c:418:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET curmail_size = curmail_size + %llu " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu", DBPFX, size, user_idnr); ~~~~~~~~~ db.c:419:26: note: format string is defined here "WHERE user_idnr = %llu", DBPFX, size, user_idnr); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'user_quotum_dec': db.c:440:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "subtracting %llu from mailsize", size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:443:68: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET curmail_size = CASE WHEN curmail_size >= %llu THEN curmail_size - %llu ELSE 0 END " ~~~^ %lu "WHERE user_idnr = %llu", DBPFX, size, size, user_idnr); ~~~~ db.c:443:93: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET curmail_size = CASE WHEN curmail_size >= %llu THEN curmail_size - %llu ELSE 0 END " ~~~^ %lu "WHERE user_idnr = %llu", DBPFX, size, size, user_idnr); ~~~~ db.c:443:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET curmail_size = CASE WHEN curmail_size >= %llu THEN curmail_size - %llu ELSE 0 END " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu", DBPFX, size, size, user_idnr); ~~~~~~~~~ db.c:444:26: note: format string is defined here "WHERE user_idnr = %llu", DBPFX, size, size, user_idnr); ~~~^ %lu db.c: In function 'user_quotum_check': db.c:468:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT 1 FROM %susers " ^~~~~~~~~~~~~~~~~~~~~~~~ db.c:471:11: DBPFX, user_idnr, msg_size, maxmail_size); ~~~~~~~~~ db.c:469:26: note: format string is defined here "WHERE user_idnr = %llu " ~~~^ %lu db.c:468:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT 1 FROM %susers " ^~~~~~~~~~~~~~~~~~~~~~~~ db.c:471:22: DBPFX, user_idnr, msg_size, maxmail_size); ~~~~~~~~ db.c:470:28: note: format string is defined here "AND (curmail_size + %llu > %llu)", ~~~^ %lu db.c:468:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT 1 FROM %susers " ^~~~~~~~~~~~~~~~~~~~~~~~ db.c:471:32: DBPFX, user_idnr, msg_size, maxmail_size); ~~~~~~~~~~~~ db.c:470:35: note: format string is defined here "AND (curmail_size + %llu > %llu)", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:474:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error checking quotum for " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ "user [%llu]", user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:475:19: note: format string is defined here "user [%llu]", user_idnr); ~~~^ %lu db.c: In function 'db_calculate_quotum_used': db.c:571:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "SELECT SUM(pm.messagesize) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:576:22: DBPFX,DBPFX,DBPFX,user_idnr, MESSAGE_STATUS_DELETE); ~~~~~~~~~ db.c:575:28: note: format string is defined here "AND mb.owner_idnr = %llu " "AND m.status < %d", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:589:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "found quotum usage of [%llu] bytes", quotum); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:593:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error setting quotum for user [%llu]" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ , user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_get_sievescript_byname': db.c:611:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT script FROM %ssievescripts WHERE " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:613:11: DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~ db.c:612:22: note: format string is defined here "owner_idnr = %llu AND name = '%s'", ~~~^ %lu db.c: In function 'db_check_sievescript_active_byname': db.c:663:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT name FROM %ssievescripts WHERE " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:665:11: DBPFX, user_idnr, name); ~~~~~~~~~ db.c:664:21: note: format string is defined here "owner_idnr = %llu AND active = 1 AND name = '%s'", ~~~^ %lu db.c:670:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT name FROM %ssievescripts WHERE " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:672:11: DBPFX, user_idnr); ~~~~~~~~~ db.c:671:21: note: format string is defined here "owner_idnr = %llu AND active = 1", ~~~^ %lu db.c: In function 'db_get_sievescript_active': db.c:702:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT name from %ssievescripts where " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:704:10: DBPFX, user_idnr); ~~~~~~~~~ db.c:703:20: note: format string is defined here "owner_idnr = %llu and active = 1", ~~~^ %lu db.c: In function 'db_get_sievescript_listall': db.c:729:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT name,active FROM %ssievescripts WHERE " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:731:9: DBPFX,user_idnr); ~~~~~~~~~ db.c:730:20: note: format string is defined here "owner_idnr = %llu", ~~~^ %lu db.c: In function 'db_rename_sievescript': db.c:771:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT active FROM %ssievescripts " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:773:9: DBPFX,user_idnr,escaped_newname); ~~~~~~~~~ db.c:772:26: note: format string is defined here "WHERE owner_idnr = %llu AND name = '%s'", ~~~^ %lu db.c:786:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "DELETE FROM %ssievescripts " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:788:10: DBPFX,user_idnr,escaped_newname); ~~~~~~~~~ db.c:787:27: note: format string is defined here "WHERE owner_idnr = %llu AND name = '%s'", ~~~^ %lu db.c:800:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %ssievescripts SET name = '%s', active = %d " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:802:32: DBPFX,escaped_newname,active,user_idnr,escaped_scriptname); ~~~~~~~~~ db.c:801:26: note: format string is defined here "WHERE owner_idnr = %llu AND name = '%s'", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:807:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error replacing sievescript '%s' " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:809:16: scriptname, user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:808:23: note: format string is defined here "for user_idnr [%llu]" , ~~~^ %lu db.c: In function 'db_add_sievescript': db.c:832:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT COUNT(*) FROM %ssievescripts " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:834:9: DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~ db.c:833:26: note: format string is defined here "WHERE owner_idnr = %llu AND name = '%s'", ~~~^ %lu db.c:845:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "DELETE FROM %ssievescripts " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:847:10: DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~ db.c:846:27: note: format string is defined here "WHERE owner_idnr = %llu AND name = '%s'", ~~~^ %lu db.c:861:8: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "INSERT INTO %ssievescripts " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:864:15: DBPFX, user_idnr, escaped_scriptname); ~~~~~~~~~ db.c:863:20: note: format string is defined here "VALUES (%llu,'%s', '", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:874:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error adding sievescript '%s' " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:876:16: scriptname, user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:875:23: note: format string is defined here "for user_idnr [%llu]" , ~~~^ %lu db.c: In function 'db_deactivate_sievescript': db.c:896:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %ssievescripts set active = 0 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:898:9: DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~ db.c:897:26: note: format string is defined here "where owner_idnr = %llu and name = '%s'", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:902:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error deactivating sievescript '%s' " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:904:15: scriptname, user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:903:22: note: format string is defined here "for user_idnr [%llu]" , ~~~^ %lu db.c: In function 'db_activate_sievescript': db.c:921:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %ssievescripts SET active = 0 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:923:9: DBPFX,user_idnr); ~~~~~~~~~ db.c:922:26: note: format string is defined here "WHERE owner_idnr = %llu ", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:926:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error activating sievescript '%s' " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:928:16: scriptname, user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:927:23: note: format string is defined here "for user_idnr [%llu]" , ~~~^ %lu db.c:935:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %ssievescripts SET active = 1 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:937:9: DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~ db.c:936:26: note: format string is defined here "WHERE owner_idnr = %llu AND name = '%s'", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:941:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error activating sievescript '%s' " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:943:15: scriptname, user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:942:22: note: format string is defined here "for user_idnr [%llu]" , ~~~^ %lu db.c: In function 'db_delete_sievescript': db.c:961:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "DELETE FROM %ssievescripts " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:963:9: DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~ db.c:962:26: note: format string is defined here "WHERE owner_idnr = %llu AND name = '%s'", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:967:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error deleting sievescript '%s' " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:969:16: scriptname, user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:968:23: note: format string is defined here "for user_idnr [%llu]" , ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_check_sievescript_quota': db.c:979:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "checking %llu sievescript quota with %llu" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ , user_idnr, scriptlen); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:979:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "checking %llu sievescript quota with %llu" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ , user_idnr, scriptlen); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_set_sievescript_quota': db.c:987:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "setting %llu sievescript quota with %llu" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ , user_idnr, quotasize); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:987:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "setting %llu sievescript quota with %llu" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ , user_idnr, quotasize); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_get_sievescript_quota': db.c:995:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "getting sievescript quota for %llu" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ , user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_get_notify_address': db.c:1011:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "SELECT notify_address " ^~~~~~~~~~~~~~~~~~~~~~~~ db.c:1013:10: DBPFX,user_idnr); ~~~~~~~~~ db.c:1012:52: note: format string is defined here "FROM %sauto_notifications WHERE user_idnr = %llu", ~~~^ %lu db.c: In function 'db_get_reply_body': db.c:1041:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT reply_body FROM %sauto_replies " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1045:4: user_idnr, db_get_sql(SQL_CURRENT_TIMESTAMP), db_get_sql(SQL_CURRENT_TIMESTAMP)); ~~~~~~~~~ db.c:1042:26: note: format string is defined here "WHERE user_idnr = %llu " ~~~^ %lu db.c: In function 'db_get_mailbox_from_message': db.c:1071:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT mailbox_idnr FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE message_idnr = %llu", DBPFX,message_idnr); ~~~~~~~~~~~~ db.c:1072:29: note: format string is defined here "WHERE message_idnr = %llu", DBPFX,message_idnr); ~~~^ %lu db.c: In function 'db_get_useridnr': db.c:1099:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT %smailboxes.owner_idnr FROM %smailboxes, %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1102:21: DBPFX,DBPFX,DBPFX,message_idnr); ~~~~~~~~~~~~ db.c:1101:38: note: format string is defined here "AND %smessages.message_idnr = %llu", DBPFX,DBPFX,DBPFX, ~~~^ %lu db.c:1092:14: warning: variable 'query_result' set but not used [-Wunused-but-set-variable] const char *query_result; ^~~~~~~~~~~~ db.c: In function 'db_message_set_unique_id': db.c:1166:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %smessages SET unique_id = '%s', status = %d " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1168:4: message_idnr); ~~~~~~~~~~~~ db.c:1167:29: note: format string is defined here "WHERE message_idnr = %llu", DBPFX, unique_id, MESSAGE_STATUS_NEW, ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:1170:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "setting unique id for message [%llu] failed", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ message_idnr); ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_physmessage_set_sizes': db.c:1184:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %sphysmessage SET " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1186:30: "WHERE id = %llu", DBPFX, message_size, rfc_size, physmessage_id); ~~~~~~~~~~~~ db.c:1185:22: note: format string is defined here "messagesize = %llu, rfcsize = %llu " ~~~^ %lu db.c:1184:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %sphysmessage SET " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1186:44: "WHERE id = %llu", DBPFX, message_size, rfc_size, physmessage_id); ~~~~~~~~ db.c:1185:38: note: format string is defined here "messagesize = %llu, rfcsize = %llu " ~~~^ %lu db.c:1184:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %sphysmessage SET " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1186:54: "WHERE id = %llu", DBPFX, message_size, rfc_size, physmessage_id); ~~~~~~~~~~~~~~ db.c:1186:19: note: format string is defined here "WHERE id = %llu", DBPFX, message_size, rfc_size, physmessage_id); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:1189:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error setting messagesize and " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1191:9: physmessage_id); ~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:1190:38: note: format string is defined here "rfcsize for physmessage [%llu]", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_update_message': db.c:1214:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error calculating quotum " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1217:9: db_get_useridnr(message_idnr)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:1215:28: note: format string is defined here "used for user [%llu]. Database might be " ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_insert_message_block_physmessage': db.c:1243:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "blocksize [%llu], maximum is [%ld]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ block_size, READ_BLOCK_SIZE); ~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:1258:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] maxesclen - esclen - startlen, "', %llu, %llu)", ~~~^ %lu block_size, physmessage_id); ~~~~~~~~~~ db.c:1258:48: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] maxesclen - esclen - startlen, "', %llu, %llu)", ~~~^ %lu block_size, physmessage_id); ~~~~~~~~~~~~~~ In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_insert_message_block': db.c:1290:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64 *' {aka 'long unsigned int *'} [-Wformat=] TRACE(TRACE_ERROR, "error inserting messageblks for physmessage [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ physmessage_id); ~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_log_ip': db.c:1327:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "UPDATE %spbsp " ^~~~~~~~~~~~~~~~ db.c:1329:47: DBPFX, db_get_sql(SQL_CURRENT_TIMESTAMP), id); ~~ db.c:1328:35: note: format string is defined here "SET since = %s WHERE idnr=%llu", ~~~^ %lu db.c: In function 'db_empty_mailbox': db.c:1464:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT mailbox_idnr FROM %smailboxes WHERE owner_idnr=%llu", ~~~^ %lu DBPFX, user_idnr); ~~~~~~~~~ In file included from dbmail.h:88, from db.c:33: db.c:1474:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_WARNING, "user [%llu] does not have any mailboxes?", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:1488:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error emptying mailbox [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mboxids[i]); ~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_icheck_messageblks': db.c:1535:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "found lost block id [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ messageblk_idnr); ~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_icheck_physmessages': db.c:1572:47: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "DELETE FROM %sphysmessage WHERE id = %llu", DBPFX, *(u64_t *)ids->data); ~~~^ ~~~~~~~~~~~~~~~~~~~ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_icheck_messages': db.c:1633:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "found lost message id [%llu]", message_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_icheck_mailboxes': db.c:1677:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "found lost mailbox id [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr); ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_icheck_null_physmessages': db.c:1722:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "found empty physmessage_id [%llu]", physmessage_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_icheck_null_messages': db.c:1766:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "found empty message id [%llu]", message_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_update_rfcsize': db.c:1883:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_WARNING, "error retrieving physmessage: [%llu]", *pmsid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:1887:61: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] g_string_printf(q,"UPDATE %sphysmessage SET rfcsize = %llu " ~~~^ %lu "WHERE id = %llu", DBPFX, (u64_t)dbmail_message_get_size(msg,TRUE), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1887:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q,"UPDATE %sphysmessage SET rfcsize = %llu " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1889:6: *pmsid); ~~~~~~ db.c:1888:21: note: format string is defined here "WHERE id = %llu", DBPFX, (u64_t)dbmail_message_get_size(msg,TRUE), ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:1891:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_WARNING, "error setting rfcsize physmessage: [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *pmsid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_set_headercache': db.c:1928:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_WARNING, "error retrieving physmessage: [%llu]", pmsgid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:1933:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_WARNING,"error caching headers for physmessage: [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pmsgid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_set_envelope': db.c:2000:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_WARNING,"error retrieving physmessage: [%llu]", pmsgid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_icheck_envelope': db.c:2035:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_FATAL,"alloction error at physmessage.id [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db_get_result_u64(i,0)); ~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_set_message_status': db.c:2054:92: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "UPDATE %smessages SET status = %d WHERE message_idnr = %llu", ~~~^ %lu DBPFX, status, message_idnr); ~~~~~~~~~~~~ db.c: In function 'db_delete_messageblk': db.c:2064:87: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "DELETE FROM %smessageblks WHERE messageblk_idnr = %llu", ~~~^ %lu DBPFX, messageblk_idnr); ~~~~~~~~~~~~~~~ db.c: In function 'db_delete_physmessage': db.c:2074:74: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "DELETE FROM %sphysmessage WHERE id = %llu", ~~~^ %lu DBPFX, physmessage_id); ~~~~~~~~~~~~~~ db.c:2081:86: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "DELETE FROM %smessageblks WHERE physmessage_id = %llu", ~~~^ %lu DBPFX, physmessage_id); ~~~~~~~~~~~~~~ db.c: In function 'db_delete_message': db.c:2107:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "DELETE FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2109:11: DBPFX, message_idnr); ~~~~~~~~~~~~ db.c:2108:29: note: format string is defined here "WHERE message_idnr = %llu", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:2112:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR,"error deleting message [%llu]", message_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:2117:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "SELECT message_idnr FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE physmessage_id = %llu",DBPFX, physmessage_id); ~~~~~~~~~~~~~~ db.c:2118:31: note: format string is defined here "WHERE physmessage_id = %llu",DBPFX, physmessage_id); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:2121:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error finding physmessage for message [%llu]", message_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'mailbox_delete': db.c:2145:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "DELETE FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ~~~^ %lu mailbox_idnr); ~~~~~~~~~~~~ db.c: In function 'mailbox_empty': db.c:2165:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT message_idnr FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_idnr = %llu",DBPFX, mailbox_idnr); ~~~~~~~~~~~~ db.c:2166:29: note: format string is defined here "WHERE mailbox_idnr = %llu",DBPFX, mailbox_idnr); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_delete_mailbox': db.c:2206:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "cannot find owner of mailbox for " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "mailbox [%llu]", mailbox_idnr); ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:2207:22: note: format string is defined here "mailbox [%llu]", mailbox_idnr); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:2211:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "unable to find owner of mailbox [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr); ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:2218:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error getting mailbox size " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2220:10: mailbox_idnr); ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:2219:27: note: format string is defined here "for mailbox [%llu]", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_send_message_lines': db.c:2262:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "sending [%ld] lines from message [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lines, message_idnr); ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_createsession': db.c:2317:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "find_create INBOX for user [%llu] failed, exiting..", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:2327:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT pm.messagesize, msg.message_idnr, msg.status, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2333:4: mailbox_idnr, MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~ db.c:2329:33: note: format string is defined here "WHERE msg.mailbox_idnr = %llu " ~~~^ %lu db.c: In function 'db_update_pop': db.c:2427:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %smessages set status=%d WHERE " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2431:6: ((struct message *) tmpelement->data)-> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ realmessageid, MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~ db.c:2428:23: note: format string is defined here "message_idnr=%llu AND status < %d",DBPFX, ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:2445:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "Could not calculate quotum used for user [%llu]", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_imap_append_msg': db.c:2602:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "error copying message to user [%llu]," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "maxmail exceeded", user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:2602:75: note: format string is defined here TRACE(TRACE_DEBUG, "error copying message to user [%llu]," ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:2607:40: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error copying message to user [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:2616:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "message id=%llu is inserted", *msg_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_findmailbox': db.c:2657:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error finding mailbox [%s] with owner [%s, %llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ simple_name, username, owner_idnr); ~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_imap_utf7_like': db.c:2681:7: warning: variable 'p' set but not used [-Wunused-but-set-variable] char p = 0, c = 0; ^ db.c: In function 'db_findmailbox_owner': db.c:2753:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT mailbox_idnr FROM %smailboxes " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2755:25: DBPFX, mailbox_like, owner_idnr); ~~~~~~~~~~ db.c:2754:32: note: format string is defined here "WHERE %s AND owner_idnr=%llu", ~~~^ %lu db.c: In function 'mailboxes_by_regex': db.c:2832:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT distinct(mbx.name), mbx.mailbox_idnr, mbx.owner_idnr " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2842:5: user_idnr, search_user_idnr, ~~~~~~~~~ db.c:2837:33: note: format string is defined here "WHERE %s (sub.user_id = %llu " ~~~^ %lu db.c:2832:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT distinct(mbx.name), mbx.mailbox_idnr, mbx.owner_idnr " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2842:16: user_idnr, search_user_idnr, ~~~~~~~~~~~~~~~~ db.c:2838:32: note: format string is defined here "AND ((mbx.owner_idnr = %llu) " ~~~^ %lu db.c:2832:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 12 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT distinct(mbx.name), mbx.mailbox_idnr, mbx.owner_idnr " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2844:5: user_idnr, ~~~~~~~~~ db.c:2839:27: note: format string is defined here "%s (acl.user_id = %llu AND acl.lookup_flag = 1) " ~~~^ %lu db.c:2848:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT distinct(mbx.name), mbx.mailbox_idnr, mbx.owner_idnr " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2857:5: search_user_idnr, ~~~~~~~~~~~~~~~~ db.c:2853:32: note: format string is defined here "AND ((mbx.owner_idnr = %llu) " ~~~^ %lu db.c:2848:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 10 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT distinct(mbx.name), mbx.mailbox_idnr, mbx.owner_idnr " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2859:5: user_idnr, DBMAIL_ACL_ANYONE_USER); ~~~~~~~~~ db.c:2854:27: note: format string is defined here "%s (acl.user_id = %llu AND acl.lookup_flag = 1) " ~~~^ %lu dbmail-mailbox.c: In function 'dbmail_mailbox_free': dbmail-mailbox.c:82:40: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] g_list_foreach(self->fi->bodyfetch, (GFunc)g_free, NULL); ^ libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-acl.lo -MD -MP -MF .deps/libdbmail_la-acl.Tpo -c acl.c -fPIC -DPIC -o .libs/libdbmail_la-acl.o dbmail-mailbox.c: In function 'uid_msn_map': dbmail-mailbox.c:126:30: warning: cast between incompatible function types from 'gint (*)(const guint64 *, const guint64 *)' {aka 'int (*)(const long unsigned int *, const long unsigned int *)'} to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] self->msn = g_tree_new_full((GCompareDataFunc)ucmp,NULL,NULL,NULL); ^ dbmail-mailbox.c: In function 'mailbox_uid_msn_new': dbmail-mailbox.c:160:30: warning: cast between incompatible function types from 'gint (*)(const guint64 *, const guint64 *)' {aka 'int (*)(const long unsigned int *, const long unsigned int *)'} to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] self->ids = g_tree_new_full((GCompareDataFunc)ucmp,NULL,(GDestroyNotify)g_free,(GDestroyNotify)g_free); ^ dbmail-mailbox.c:161:30: warning: cast between incompatible function types from 'gint (*)(const guint64 *, const guint64 *)' {aka 'int (*)(const long unsigned int *, const long unsigned int *)'} to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] self->msn = g_tree_new_full((GCompareDataFunc)ucmp,NULL,NULL,NULL); ^ dbmail-mailbox.c: In function 'dbmail_mailbox_open': dbmail-mailbox.c:191:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "SELECT message_idnr FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:195:4: dbmail_mailbox_get_id(self), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:192:29: note: format string is defined here "WHERE mailbox_idnr = %llu " ~~~^ %lu In file included from dbmail.h:88, from dbmail-mailbox.c:26: dbmail-mailbox.c: In function 'dbmail_mailbox_remove_uid': dbmail-mailbox.c:214:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR,"trying to remove unknown UID [%llu]", *id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-mailbox.c: In function 'dbmail_mailbox_dump': dbmail-mailbox.c:325:49: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] cids = g_list_append(cids,g_strdup_printf("%llu", *(u64_t *)ids->data)); ~~~^ ~~~~~~~~~~~~~~~~~~~ %lu dbmail-mailbox.c: In function '_tree_foreach': dbmail-mailbox.c:417:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_append_printf(t, "(%llu)", *id); ~~~^ ~~~ %lu dbmail-mailbox.c: In function 'dbmail_mailbox_orderedsubject': dbmail-mailbox.c:445:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "SELECT min(message_idnr),subjectfield " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:453:4: dbmail_mailbox_get_id(self), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:449:27: note: format string is defined here "WHERE mailbox_idnr=%llu " ~~~^ %lu dbmail-mailbox.c:466:25: warning: cast between incompatible function types from 'int (*)(const char *, const char *)' to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] tree = g_tree_new_full((GCompareDataFunc)strcmp,NULL,(GDestroyNotify)g_free, NULL); ^ dbmail-mailbox.c:482:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "SELECT message_idnr,subjectfield " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:490:4: dbmail_mailbox_get_id(self), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:486:27: note: format string is defined here "WHERE mailbox_idnr=%llu " ~~~^ %lu dbmail-mailbox.c: In function 'dbmail_mailbox_ids_as_string': dbmail-mailbox.c:562:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_append_printf(t,"%llu ", *(u64_t *)l->data); ~~~^ ~~~~~~~~~~~~~~~~~ %lu dbmail-mailbox.c: In function 'dbmail_mailbox_sorted_as_string': dbmail-mailbox.c:585:24: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (! g_list_length(l)>0) ^ dbmail-mailbox.c:585:6: note: add parentheses around left hand side expression to silence this warning if (! g_list_length(l)>0) ^~~~~~~~~~~~~~~~~~ ( ) dbmail-mailbox.c:595:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_append_printf(t,"%llu ", *(u64_t *)l->data); ~~~^ ~~~~~~~~~~~~~~~~~ %lu dbmail-mailbox.c:597:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_append_printf(t,"%llu ", *(u64_t *)msn); ~~~^ ~~~~~~~~~~~~~ %lu dbmail-mailbox.c: In function '_handle_search_args': dbmail-mailbox.c:989:17: warning: implicit declaration of function 'strtoull'; did you mean 'strtoul'? [-Wimplicit-function-declaration] value->size = strtoull(search_keys[(*idx)], NULL, 10); ^~~~~~~~ strtoul In file included from dbmail.h:88, from dbmail-mailbox.c:26: dbmail-mailbox.c: In function 'dbmail_mailbox_build_imap_search': dbmail-mailbox.c:1182:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"done [%d] at idx [%llu]", result, *idx); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-mailbox.c: In function '_do_sort': dbmail-mailbox.c:1204:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "SELECT message_idnr FROM %smessages m " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1209:5: dbmail_mailbox_get_id(self), MESSAGE_STATUS_NEW, MESSAGE_STATUS_SEEN, s->order); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1207:32: note: format string is defined here "WHERE m.mailbox_idnr = %llu AND m.status IN (%d,%d) " ~~~^ %lu dbmail-mailbox.c: In function 'mailbox_search': dbmail-mailbox.c:1282:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q,"SELECT message_idnr FROM %smessages m " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1288:4: dbmail_mailbox_get_id(self), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1285:28: note: format string is defined here "WHERE mailbox_idnr= %llu AND status IN (%d,%d) " ~~~^ %lu dbmail-mailbox.c:1297:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "SELECT message_idnr FROM %smessages m " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1306:5: dbmail_mailbox_get_id(self), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1301:30: note: format string is defined here "WHERE mailbox_idnr = %llu " ~~~^ %lu dbmail-mailbox.c:1315:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "SELECT m.message_idnr, v.headervalue, k.messageblk " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1324:5: dbmail_mailbox_get_id(self), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1320:30: note: format string is defined here "WHERE m.mailbox_idnr=%llu AND m.status in (%d,%d) " ~~~^ %lu dbmail-mailbox.c:1332:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "SELECT message_idnr FROM %smessages m " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1338:5: dbmail_mailbox_get_id(self), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1334:30: note: format string is defined here "WHERE mailbox_idnr = %llu " ~~~^ %lu dbmail-mailbox.c:1345:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "SELECT m.message_idnr,k.messageblk FROM %smessageblks k " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1354:4: dbmail_mailbox_get_id(self), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1348:29: note: format string is defined here "WHERE mailbox_idnr = %llu " ~~~^ %lu dbmail-mailbox.c:1364:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "SELECT m.message_idnr FROM %smessages m " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1369:4: dbmail_mailbox_get_id(self), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1366:31: note: format string is defined here "WHERE m.mailbox_idnr = %llu " ~~~^ %lu dbmail-mailbox.c:1364:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "SELECT m.message_idnr FROM %smessages m " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1371:11: gt_lt, s->size); ~~~~~~~ dbmail-mailbox.c:1367:53: note: format string is defined here "AND m.status IN (%d,%d) AND p.messagesize %c %llu " ~~~^ %lu dbmail-mailbox.c:1375:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q, "SELECT message_idnr FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1379:4: dbmail_mailbox_get_id(self), ~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:1376:29: note: format string is defined here "WHERE mailbox_idnr = %llu " ~~~^ %lu dbmail-mailbox.c:1396:29: warning: cast between incompatible function types from 'gint (*)(const guint64 *, const guint64 *)' {aka 'int (*)(const long unsigned int *, const long unsigned int *)'} to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] s->found = g_tree_new_full((GCompareDataFunc)ucmp,NULL,(GDestroyNotify)g_free, (GDestroyNotify)g_free); ^ In file included from dbmail.h:88, from dbmail-mailbox.c:26: dbmail-mailbox.c:1404:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "key missing in self->ids: [%llu]\n", id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-mailbox.c: In function 'dbmail_mailbox_get_set': dbmail-mailbox.c:1480:22: warning: cast between incompatible function types from 'gint (*)(const guint64 *, const guint64 *)' {aka 'int (*)(const long unsigned int *, const long unsigned int *)'} to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] b = g_tree_new_full((GCompareDataFunc)ucmp,NULL, (GDestroyNotify)g_free, (GDestroyNotify)g_free); ^ dbmail-mailbox.c:1500:22: warning: cast between incompatible function types from 'gint (*)(const guint64 *, const guint64 *)' {aka 'int (*)(const long unsigned int *, const long unsigned int *)'} to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] a = g_tree_new_full((GCompareDataFunc)ucmp,NULL, (GDestroyNotify)g_free, (GDestroyNotify)g_free); ^ dbmail-mailbox.c: In function '_do_search': dbmail-mailbox.c:1646:50: warning: cast between incompatible function types from 'gboolean (*)(GNode *, struct DbmailMailbox *)' {aka 'int (*)(struct _GNode *, struct DbmailMailbox *)'} to 'void (*)(GNode *, void *)' {aka 'void (*)(struct _GNode *, void *)'} [-Wcast-function-type] g_node_children_foreach(node, G_TRAVERSE_ALL, (GNodeForeachFunc)_do_search, (gpointer)self); ^ dbmail-mailbox.c:1647:31: warning: cast between incompatible function types from 'gint (*)(const guint64 *, const guint64 *)' {aka 'int (*)(const long unsigned int *, const long unsigned int *)'} to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] s->found = g_tree_new_full((GCompareDataFunc)ucmp,NULL,(GDestroyNotify)g_free, (GDestroyNotify)g_free); ^ dbmail-mailbox.c: In function '_merge_search': dbmail-mailbox.c:1679:50: warning: cast between incompatible function types from 'gboolean (*)(GNode *, GTree *)' {aka 'int (*)(struct _GNode *, struct _GTree *)'} to 'void (*)(GNode *, void *)' {aka 'void (*)(struct _GNode *, void *)'} [-Wcast-function-type] g_node_children_foreach(node, G_TRAVERSE_ALL, (GNodeForeachFunc)_merge_search, (gpointer) found); ^ dbmail-mailbox.c:1684:50: warning: cast between incompatible function types from 'gboolean (*)(GNode *, GTree *)' {aka 'int (*)(struct _GNode *, struct _GTree *)'} to 'void (*)(GNode *, void *)' {aka 'void (*)(struct _GNode *, void *)'} [-Wcast-function-type] g_node_children_foreach(node, G_TRAVERSE_ALL, (GNodeForeachFunc)_merge_search, (gpointer) s->found); ^ dbmail-mailbox.c:1700:48: warning: cast between incompatible function types from 'gboolean (*)(GNode *, GTree *)' {aka 'int (*)(struct _GNode *, struct _GTree *)'} to 'void (*)(GNode *, void *)' {aka 'void (*)(struct _GNode *, void *)'} [-Wcast-function-type] g_node_children_foreach(x, G_TRAVERSE_ALL, (GNodeForeachFunc)_merge_search, (gpointer)a->found); ^ dbmail-mailbox.c:1705:48: warning: cast between incompatible function types from 'gboolean (*)(GNode *, GTree *)' {aka 'int (*)(struct _GNode *, struct _GTree *)'} to 'void (*)(GNode *, void *)' {aka 'void (*)(struct _GNode *, void *)'} [-Wcast-function-type] g_node_children_foreach(y, G_TRAVERSE_ALL, (GNodeForeachFunc)_merge_search, (gpointer)b->found); ^ dbmail-mailbox.c: In function 'mailbox_search': dbmail-mailbox.c:1360:10: warning: this statement may fall through [-Wimplicit-fallthrough=] gt_lt = '>'; ~~~~~~^~~~~ dbmail-mailbox.c:1361:3: note: here case IST_SIZE_SMALLER: ^~~~ In file included from dbmail.h:88, from acl.c:21: acl.c: In function 'acl_replace_rights': acl.c:156:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "replacing rights for user [%llu], mailbox [%llu] to %s", userid, mboxid, rightsstring); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ acl.c:156:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "replacing rights for user [%llu], mailbox [%llu] to %s", userid, mboxid, rightsstring); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ acl.c: In function 'acl_get_acl': acl.c:206:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error when getting identifier list for mailbox [%llu].", mboxid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ acl.c:221:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error getting username for user [%llu]", userid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ acl.c: In function 'acl_get_rightsstring': acl.c:344:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "mailbox [%llu] is owned by user [%llu], giving all rights", mboxid, userid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ acl.c:344:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "mailbox [%llu] is owned by user [%llu], giving all rights", mboxid, userid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-message.c: In function '_message_insert.constprop': dbmail-message.c:905:33: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "INSERT INTO " ^~~~~~~~~~~~~~ dbmail-message.c:906:5: note: format string is defined here "%smessages(mailbox_idnr, physmessage_id, unique_id," ^~ dbmail-message.c:905:2: note: 'snprintf' output 106 or more bytes (assuming 1129) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "INSERT INTO " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%smessages(mailbox_idnr, physmessage_id, unique_id," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "recent_flag, status) " ~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%llu, %llu, '%s', 1, %d)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, mailboxid, physmessage_id, unique_id, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_INSERT); ~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_getmailbox_flags': db.c:2957:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT permission,seen_flag,answered_flag,deleted_flag," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2959:56: "FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, mb->uid); ~~~~~~~ db.c:2959:46: note: format string is defined here "FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, mb->uid); ~~~^ %lu mv -f .deps/libdbmail_la-acl.Tpo .deps/libdbmail_la-acl.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-misc.lo -MD -MP -MF .deps/libdbmail_la-misc.Tpo -c -o libdbmail_la-misc.lo `test -f 'misc.c' || echo './'`misc.c db.c: In function 'db_getmailbox_count': db.c:3003:63: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT 0,COUNT(*) FROM %smessages WHERE mailbox_idnr=%llu " ~~~^ %lu db.c:3009:13: DBPFX, mb->uid, MESSAGE_STATUS_DELETE, // MESSAGE_STATUS_NEW, MESSAGE_STATUS_SEEN, ~~~~~~~ db.c:3003:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT 0,COUNT(*) FROM %smessages WHERE mailbox_idnr=%llu " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3010:13: DBPFX, mb->uid, MESSAGE_STATUS_DELETE, // MESSAGE_STATUS_NEW, MESSAGE_STATUS_SEEN, ~~~~~~~ db.c:3005:63: note: format string is defined here "SELECT 1,COUNT(*) FROM %smessages WHERE mailbox_idnr=%llu " ~~~^ %lu db.c:3003:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 11 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT 0,COUNT(*) FROM %smessages WHERE mailbox_idnr=%llu " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3011:13: DBPFX, mb->uid, MESSAGE_STATUS_DELETE); // MESSAGE_STATUS_NEW, MESSAGE_STATUS_SEEN); ~~~~~~~ db.c:3007:63: note: format string is defined here "SELECT 2,COUNT(*) FROM %smessages WHERE mailbox_idnr=%llu " ~~~^ %lu db.c:3037:33: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "SELECT max(message_idnr)+1 FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_idnr=%llu ", DBPFX, mb->uid); ~~~~~~~ db.c:3038:27: note: format string is defined here "WHERE mailbox_idnr=%llu ", DBPFX, mb->uid); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_mailbox_create_with_parents': db.c:3240:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "Creating mailbox [%s] source [%d] for user [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox, source, owner_idnr); ~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3328:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "Checking if we have the right to " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "create mailboxes under mailbox [%llu]", mbox->uid); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3329:41: note: format string is defined here "create mailboxes under mailbox [%llu]", mbox->uid); ~~~^ %lu db.c:3233:14: warning: variable 'ok_to_create' set but not used [-Wunused-but-set-variable] int result, ok_to_create = -1; ^~~~~~~~~~~~ In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_createmailbox': db.c:3386:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "creating shadow user for [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ owner_idnr); ~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3389:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "unable to find or create sql shadow account for useridnr [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ owner_idnr); ~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3404:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "INSERT INTO %smailboxes (name, owner_idnr," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3408:25: escaped_simple_name, owner_idnr, IMAPPERM_READWRITE); ~~~~~~~~~~ db.c:3407:23: note: format string is defined here " VALUES ('%s', %llu, 1, 1, 1, 1, 1, 1, %d)",DBPFX, ~~~^ %lu libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-misc.lo -MD -MP -MF .deps/libdbmail_la-misc.Tpo -c misc.c -fPIC -DPIC -o .libs/libdbmail_la-misc.o In file included from dbmail.h:88, from db.c:33: db.c:3425:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "created mailbox %s with idnr [%llu] for user [%llu] result [%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ name, *mailbox_idnr, owner_idnr, result); ~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3425:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "created mailbox %s with idnr [%llu] for user [%llu] result [%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ name, *mailbox_idnr, owner_idnr, result); ~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_mailbox_set_permission': db.c:3440:91: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query,DEF_QUERYSIZE,"UPDATE %smailboxes SET permission=%d WHERE mailbox_idnr=%llu", ~~~^ %lu DBPFX, permission, mailbox_id); ~~~~~~~~~~ db.c: In function 'db_listmailboxchildren': db.c:3516:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT name FROM %smailboxes WHERE " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3518:4: mailbox_idnr, user_idnr); ~~~~~~~~~~~~ db.c:3517:23: note: format string is defined here "mailbox_idnr = %llu AND owner_idnr = %llu",DBPFX, ~~~^ %lu db.c:3516:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT name FROM %smailboxes WHERE " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3518:18: mailbox_idnr, user_idnr); ~~~~~~~~~ db.c:3517:45: note: format string is defined here "mailbox_idnr = %llu AND owner_idnr = %llu",DBPFX, ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:3526:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_WARNING, "No mailbox found with mailbox_idnr [%llu]", mailbox_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3542:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT mailbox_idnr FROM %smailboxes WHERE %s" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3544:19: mailbox_like, user_idnr); ~~~~~~~~~ db.c:3543:27: note: format string is defined here " AND owner_idnr = %llu",DBPFX, ~~~^ %lu db.c:3549:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT mailbox_idnr FROM %smailboxes WHERE" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " owner_idnr = %llu", DBPFX, user_idnr); ~~~~~~~~~ db.c:3550:23: note: format string is defined here " owner_idnr = %llu", DBPFX, user_idnr); ~~~^ %lu db.c: In function 'db_isselectable': db.c:3592:63: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT no_select FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ~~~^ %lu mailbox_idnr); ~~~~~~~~~~~~ db.c: In function 'db_noinferiors': db.c:3629:66: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT no_inferiors FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ~~~^ %lu mailbox_idnr); ~~~~~~~~~~~~ db.c: In function 'db_setselectable': db.c:3660:67: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %smailboxes SET no_select = %d WHERE mailbox_idnr = %llu",DBPFX, ~~~^ %lu (!select_value), mailbox_idnr); ~~~~~~~~~~~~ db.c: In function 'db_get_mailbox_size': db.c:3684:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT sum(pm.messagesize) FROM %smessages msg, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3689:45: "AND msg.deleted_flag = 1",DBPFX,DBPFX, mailbox_idnr, ~~~~~~~~~~~~ db.c:3687:32: note: format string is defined here "AND msg.mailbox_idnr = %llu " ~~~^ %lu db.c:3693:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT sum(pm.messagesize) FROM %smessages msg, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3697:40: "AND msg.status < %d",DBPFX,DBPFX, mailbox_idnr, ~~~~~~~~~~~~ db.c:3696:32: note: format string is defined here "AND msg.mailbox_idnr = %llu " ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:3701:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "could not calculate size of mailbox [%llu]", mailbox_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_removemsg': db.c:3724:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error getting size for mailbox [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr); ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3732:61: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %smessages SET status=%d WHERE mailbox_idnr = %llu",DBPFX, ~~~^ %lu MESSAGE_STATUS_PURGE, mailbox_idnr); ~~~~~~~~~~~~ In file included from dbmail.h:88, from db.c:33: db.c:3741:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error subtracting mailbox size from " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3744:9: mailbox_idnr, user_idnr); ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3742:38: note: format string is defined here "used quotum for mailbox [%llu], user [%llu]. Database " ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:3741:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error subtracting mailbox size from " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3744:23: mailbox_idnr, user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3742:51: note: format string is defined here "used quotum for mailbox [%llu], user [%llu]. Database " ~~~^ %lu db.c: In function 'db_movemsg': db.c:3756:43: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %smessages SET mailbox_idnr=%llu WHERE" ~~~^ %lu " mailbox_idnr = %llu",DBPFX, mailbox_to, mailbox_from); ~~~~~~~~~~ db.c:3756:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %smessages SET mailbox_idnr=%llu WHERE" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " mailbox_idnr = %llu",DBPFX, mailbox_to, mailbox_from); ~~~~~~~~~~~~ db.c:3757:24: note: format string is defined here " mailbox_idnr = %llu",DBPFX, mailbox_to, mailbox_from); ~~~^ %lu db.c: In function 'db_mailbox_has_message_id': db.c:3783:3: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT message_idnr FROM %smessages m " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3791:3: mailbox_idnr, partial, safe_messageid, expire); ~~~~~~~~~~~~ db.c:3787:28: note: format string is defined here "WHERE m.mailbox_idnr=%llu " ~~~^ %lu db.c: In function 'message_get_size': db.c:3812:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT pm.messagesize FROM %sphysmessage pm, %smessages msg " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3814:43: "AND message_idnr = %llu",DBPFX,DBPFX, message_idnr); ~~~~~~~~~~~~ db.c:3814:27: note: format string is defined here "AND message_idnr = %llu",DBPFX,DBPFX, message_idnr); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_copymsg': db.c:3837:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error getting message size for " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "message [%llu]", msg_idnr); ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3838:22: note: format string is defined here "message [%llu]", msg_idnr); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:3848:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "user [%llu] would exceed quotum", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3857:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "INSERT INTO %smessages (mailbox_idnr," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3864:4: mailbox_to, unique_id,DBPFX, msg_idnr); ~~~~~~~~~~ db.c:3860:15: note: format string is defined here "SELECT %llu, " ~~~^ %lu db.c:3857:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "INSERT INTO %smessages (mailbox_idnr," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3864:33: mailbox_to, unique_id,DBPFX, msg_idnr); ~~~~~~~~ db.c:3863:45: note: format string is defined here "FROM %smessages WHERE message_idnr = %llu",DBPFX, ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:3876:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error setting the new quotum " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3878:9: user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3877:34: note: format string is defined here "used value for user [%llu]", ~~~^ %lu db.c: In function 'db_getmailboxname': db.c:3903:58: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT name FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ~~~^ %lu mailbox_idnr); ~~~~~~~~~~~~ db.c: In function 'db_setmailboxname': db.c:3952:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %smailboxes SET name = '%s' " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3954:25: DBPFX, escaped_name, mailbox_idnr); ~~~~~~~~~~~~ db.c:3953:29: note: format string is defined here "WHERE mailbox_idnr = %llu", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_expunge': mv -f .deps/libdbmail_la-dbmail-message.Tpo .deps/libdbmail_la-dbmail-message.Plo db.c:3976:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error getting mailbox size " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3978:9: mailbox_idnr); ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:3977:26: note: format string is defined here "for mailbox [%llu]", ~~~^ %lu /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-pidfile.lo -MD -MP -MF .deps/libdbmail_la-pidfile.Tpo -c -o libdbmail_la-pidfile.lo `test -f 'pidfile.c' || echo './'`pidfile.c db.c:3987:5: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT message_idnr FROM %smessages WHERE " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3990:41: "ORDER BY message_idnr DESC",DBPFX, mailbox_idnr, ~~~~~~~~~~~~ db.c:3988:24: note: format string is defined here "mailbox_idnr = %llu AND deleted_flag=1 " ~~~^ %lu db.c:4019:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %smessages SET status=%d " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4022:27: MESSAGE_STATUS_DELETE, mailbox_idnr, ~~~~~~~~~~~~ db.c:4020:29: note: format string is defined here "WHERE mailbox_idnr = %llu " ~~~^ %lu libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-pidfile.lo -MD -MP -MF .deps/libdbmail_la-pidfile.Tpo -c pidfile.c -fPIC -DPIC -o .libs/libdbmail_la-pidfile.o In file included from dbmail.h:88, from db.c:33: db.c:4039:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error decreasing used quotum for " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4041:9: user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4040:19: note: format string is defined here "user [%llu]. Database might be inconsistent now", ~~~^ %lu db.c: In function 'db_first_unseen': db.c:4055:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT MIN(message_idnr) FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4058:11: DBPFX, mailbox_idnr, MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~ db.c:4056:29: note: format string is defined here "WHERE mailbox_idnr = %llu " ~~~^ %lu db.c: In function 'db_subscribe': db.c:4078:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT * FROM %ssubscription " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4080:32: "AND user_id = %llu",DBPFX, mailbox_idnr, user_idnr); ~~~~~~~~~~~~ db.c:4079:27: note: format string is defined here "WHERE mailbox_id = %llu " ~~~^ %lu db.c:4078:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT * FROM %ssubscription " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4080:46: "AND user_id = %llu",DBPFX, mailbox_idnr, user_idnr); ~~~~~~~~~ db.c:4080:22: note: format string is defined here "AND user_id = %llu",DBPFX, mailbox_idnr, user_idnr); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4088:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "already subscribed to mailbox [%llu]", mailbox_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4097:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "INSERT INTO %ssubscription (user_id, mailbox_id) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%llu, %llu)",DBPFX, user_idnr, mailbox_idnr); ~~~~~~~~~ db.c:4098:16: note: format string is defined here "VALUES (%llu, %llu)",DBPFX, user_idnr, mailbox_idnr); ~~~^ %lu db.c:4097:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "INSERT INTO %ssubscription (user_id, mailbox_id) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%llu, %llu)",DBPFX, user_idnr, mailbox_idnr); ~~~~~~~~~~~~ db.c:4098:22: note: format string is defined here "VALUES (%llu, %llu)",DBPFX, user_idnr, mailbox_idnr); ~~~^ %lu db.c:4104:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT * FROM %ssubscription " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4106:32: "AND user_id = %llu",DBPFX, mailbox_idnr, user_idnr); ~~~~~~~~~~~~ db.c:4105:27: note: format string is defined here "WHERE mailbox_id = %llu " ~~~^ %lu db.c:4104:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT * FROM %ssubscription " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4106:46: "AND user_id = %llu",DBPFX, mailbox_idnr, user_idnr); ~~~~~~~~~ db.c:4106:22: note: format string is defined here "AND user_id = %llu",DBPFX, mailbox_idnr, user_idnr); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4114:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "already subscribed to mailbox [%llu], verified after attempt to subscribe", mailbox_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_unsubscribe': db.c:4132:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "DELETE FROM %ssubscription " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4134:4: user_idnr, mailbox_idnr); ~~~~~~~~~ db.c:4133:24: note: format string is defined here "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~^ %lu db.c:4132:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "DELETE FROM %ssubscription " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4134:15: user_idnr, mailbox_idnr); ~~~~~~~~~~~~ db.c:4133:46: note: format string is defined here "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~^ %lu db.c: In function 'db_get_msgflag': db.c:4170:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT %s FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4173:26: the_flag_name, DBPFX, msg_idnr, ~~~~~~~~ db.c:4171:29: note: format string is defined here "WHERE message_idnr = %llu AND status < %d " ~~~^ %lu db.c:4170:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT %s FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4174:27: MESSAGE_STATUS_DELETE, mailbox_idnr); ~~~~~~~~~~~~ db.c:4172:27: note: format string is defined here "AND mailbox_idnr = %llu", ~~~^ %lu db.c: In function 'db_set_msgflag': db.c:4221:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] " WHERE message_idnr = %llu" ~~~^ %lu db.c:4223:4: msg_idnr, MESSAGE_STATUS_DELETE, ~~~~~~~~ db.c:4221:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] " WHERE message_idnr = %llu" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4224:4: mailbox_idnr); ~~~~~~~~~~~~ db.c:4222:44: note: format string is defined here " AND status < %d AND mailbox_idnr = %llu", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_acl_has_right': db.c:4245:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "checking ACL [%s] for user [%llu] on mailbox [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ right_flag, userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4245:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "checking ACL [%s] for user [%llu] on mailbox [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ right_flag, userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4251:16: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (! result > 0) ^ db.c:4251:7: note: add parentheses around left hand side expression to silence this warning if (! result > 0) ^~~~~~~~ ( ) In file included from dbmail.h:88, from db.c:33: db.c:4256:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "mailbox [%llu] is owned by user [%llu], giving all rights", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mboxid, userid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4256:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "mailbox [%llu] is owned by user [%llu], giving all rights", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mboxid, userid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4262:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT * FROM %sacl " ^~~~~~~~~~~~~~~~~~~~~~ db.c:4265:24: "AND %s = 1",DBPFX, userid, mboxid, right_flag); ~~~~~~ db.c:4263:24: note: format string is defined here "WHERE user_id = %llu " ~~~^ %lu db.c:4262:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT * FROM %sacl " ^~~~~~~~~~~~~~~~~~~~~~ db.c:4265:32: "AND %s = 1",DBPFX, userid, mboxid, right_flag); ~~~~~~ db.c:4264:25: note: format string is defined here "AND mailbox_id = %llu " ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'acl_query': db.c:4286:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"for mailbox [%llu] userid [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr, userid); ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4286:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"for mailbox [%llu] userid [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr, userid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4290:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT lookup_flag,read_flag,seen_flag," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4295:4: userid, mailbox_idnr); ~~~~~~ db.c:4294:24: note: format string is defined here "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~^ %lu db.c:4290:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT lookup_flag,read_flag,seen_flag," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4295:12: userid, mailbox_idnr); ~~~~~~~~~~~~ db.c:4294:46: note: format string is defined here "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~^ %lu db.c: In function 'db_acl_has_acl': db.c:4354:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT user_id, mailbox_id FROM %sacl " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4356:4: userid, mboxid); ~~~~~~ db.c:4355:24: note: format string is defined here "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~^ %lu db.c:4354:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT user_id, mailbox_id FROM %sacl " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4356:12: userid, mboxid); ~~~~~~ db.c:4355:46: note: format string is defined here "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~^ %lu db.c: In function 'db_acl_create_acl': db.c:4378:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "INSERT INTO %sacl (user_id, mailbox_id) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%llu, %llu)",DBPFX, userid, mboxid); ~~~~~~ db.c:4379:16: note: format string is defined here "VALUES (%llu, %llu)",DBPFX, userid, mboxid); ~~~^ %lu db.c:4378:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "INSERT INTO %sacl (user_id, mailbox_id) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%llu, %llu)",DBPFX, userid, mboxid); ~~~~~~ db.c:4379:22: note: format string is defined here "VALUES (%llu, %llu)",DBPFX, userid, mboxid); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4383:9: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "Error creating ACL entry for user " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4385:9: userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4384:14: note: format string is defined here "[%llu], mailbox [%llu].", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4383:9: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "Error creating ACL entry for user " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4385:17: userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4384:30: note: format string is defined here "[%llu], mailbox [%llu].", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_acl_set_right': db.c:4403:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "Setting ACL for user [%llu], mailbox [%llu].", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4403:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "Setting ACL for user [%llu], mailbox [%llu].", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4417:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "Error finding acl for user " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4419:9: userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4418:14: note: format string is defined here "[%llu], mailbox [%llu]", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4417:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "Error finding acl for user " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4419:17: userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4418:30: note: format string is defined here "[%llu], mailbox [%llu]", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4425:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "Error creating ACL for " ^~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4427:10: userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4426:20: note: format string is defined here "user [%llu], mailbox [%llu]", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4425:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "Error creating ACL for " ^~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4427:18: userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4426:36: note: format string is defined here "user [%llu], mailbox [%llu]", ~~~^ %lu db.c:4433:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %sacl SET %s = %i " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4435:21: right_flag, set, userid, mboxid); ~~~~~~ db.c:4434:24: note: format string is defined here "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~^ %lu db.c:4433:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %sacl SET %s = %i " ^~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4435:29: right_flag, set, userid, mboxid); ~~~~~~ db.c:4434:46: note: format string is defined here "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4438:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "Error updating ACL for user " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4440:9: userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4439:14: note: format string is defined here "[%llu], mailbox [%llu].", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4438:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "Error updating ACL for user " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4440:17: userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4439:30: note: format string is defined here "[%llu], mailbox [%llu].", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4443:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "Updated ACL for user [%llu], " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "mailbox [%llu].", userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4443:47: note: format string is defined here TRACE(TRACE_DEBUG, "Updated ACL for user [%llu], " ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4443:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "Updated ACL for user [%llu], " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "mailbox [%llu].", userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4444:21: note: format string is defined here "mailbox [%llu].", userid, mboxid); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c: In function 'db_acl_delete_acl': db.c:4453:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "deleting ACL for user [%llu], " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "mailbox [%llu].", userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4453:48: note: format string is defined here TRACE(TRACE_DEBUG, "deleting ACL for user [%llu], " ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4453:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "deleting ACL for user [%llu], " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "mailbox [%llu].", userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4454:21: note: format string is defined here "mailbox [%llu].", userid, mboxid); ~~~^ %lu db.c:4457:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "DELETE FROM %sacl " ^~~~~~~~~~~~~~~~~~~~ db.c:4459:4: userid, mboxid); ~~~~~~ db.c:4458:24: note: format string is defined here "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~^ %lu db.c:4457:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "DELETE FROM %sacl " ^~~~~~~~~~~~~~~~~~~~ db.c:4459:12: userid, mboxid); ~~~~~~ db.c:4458:46: note: format string is defined here "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~^ %lu db.c: In function 'db_acl_get_identifier': db.c:4482:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT %susers.userid FROM %susers, %sacl " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4485:9: DBPFX,mboxid,DBPFX,DBPFX); ~~~~~~ db.c:4483:33: note: format string is defined here "WHERE %sacl.mailbox_id = %llu " ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4488:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error getting acl identifiers " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4490:9: mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4489:26: note: format string is defined here "for mailbox [%llu].", ~~~^ %lu db.c: In function 'db_get_mailbox_owner': db.c:4516:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT owner_idnr FROM %smailboxes " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_idnr = %llu", DBPFX, mboxid); ~~~~~~ db.c:4517:29: note: format string is defined here "WHERE mailbox_idnr = %llu", DBPFX, mboxid); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4520:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error finding owner of mailbox " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "[%llu]", mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4521:14: note: format string is defined here "[%llu]", mboxid); ~~~^ %lu db.c: In function 'db_user_is_mailbox_owner': db.c:4541:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT mailbox_idnr FROM %smailboxes " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4543:36: "AND owner_idnr = %llu", DBPFX, mboxid, userid); ~~~~~~ db.c:4542:29: note: format string is defined here "WHERE mailbox_idnr = %llu " ~~~^ %lu db.c:4541:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT mailbox_idnr FROM %smailboxes " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4543:44: "AND owner_idnr = %llu", DBPFX, mboxid, userid); ~~~~~~ db.c:4543:25: note: format string is defined here "AND owner_idnr = %llu", DBPFX, mboxid, userid); ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4547:9: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "error checking if user [%llu] is " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4549:9: userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4547:37: note: format string is defined here "error checking if user [%llu] is " ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4547:9: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "error checking if user [%llu] is " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4549:17: userid, mboxid); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:4548:31: note: format string is defined here "owner of mailbox [%llu]", ~~~^ %lu db.c: In function 'db_get_result_u64': db.c:4585:16: warning: implicit declaration of function 'strtoull'; did you mean 'strtoul'? [-Wimplicit-function-declaration] return (tmp ? strtoull(tmp, NULL, 10) : 0); ^~~~~~~~ strtoul db.c: In function 'db_getmailbox_list_result': db.c:4648:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT owner_idnr, name, no_select, no_inferiors " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4650:11: DBPFX, mailbox_idnr); ~~~~~~~~~~~~ db.c:4649:46: note: format string is defined here "FROM %smailboxes WHERE mailbox_idnr = %llu", ~~~^ %lu db.c:4685:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT COUNT(*) AS nr_children " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4688:11: DBPFX, mb->owner_idnr, mailbox_like); ~~~~~~~~~~~~~~ db.c:4686:44: note: format string is defined here "FROM %smailboxes WHERE owner_idnr = %llu " ~~~^ %lu db.c: In function 'db_user_create': db.c:4907:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "INSERT INTO %susers " ^~~~~~~~~~~~~~~~~~~~~~ db.c:4911:47: DBPFX, escaped_username, escaped_password, clientid, ~~~~~~~~ db.c:4910:19: note: format string is defined here "('%s','%s',%llu,%llu,'%s', %s)", ~~~^ %lu db.c:4907:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "INSERT INTO %susers " ^~~~~~~~~~~~~~~~~~~~~~ db.c:4912:4: maxmail, enctype ? enctype : "", db_get_sql(SQL_CURRENT_TIMESTAMP)); ~~~~~~~ db.c:4910:24: note: format string is defined here "('%s','%s',%llu,%llu,'%s', %s)", ~~~^ %lu db.c:4914:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "INSERT INTO %susers " ^~~~~~~~~~~~~~~~~~~~~~ db.c:4918:27: DBPFX,escaped_username,*user_idnr, escaped_password,clientid, ~~~~~~~~~~ db.c:4917:14: note: format string is defined here "('%s',%llu,'%s',%llu,%llu,'%s', %s)", ~~~^ %lu db.c:4914:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "INSERT INTO %susers " ^~~~~~~~~~~~~~~~~~~~~~ db.c:4918:56: DBPFX,escaped_username,*user_idnr, escaped_password,clientid, ~~~~~~~~ db.c:4917:24: note: format string is defined here "('%s',%llu,'%s',%llu,%llu,'%s', %s)", ~~~^ %lu db.c:4914:34: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "INSERT INTO %susers " ^~~~~~~~~~~~~~~~~~~~~~ db.c:4919:4: maxmail, enctype ? enctype : "", db_get_sql(SQL_CURRENT_TIMESTAMP)); ~~~~~~~ db.c:4917:29: note: format string is defined here "('%s',%llu,'%s',%llu,%llu,'%s', %s)", ~~~^ %lu db.c: In function 'db_change_mailboxsize': db.c:4940:42: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET maxmail_size = %llu " ~~~^ %lu db.c:4942:11: DBPFX, new_size, user_idnr); ~~~~~~~~ db.c:4940:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET maxmail_size = %llu " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4942:21: DBPFX, new_size, user_idnr); ~~~~~~~~~ db.c:4941:26: note: format string is defined here "WHERE user_idnr = %llu", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:4945:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "could not change maxmailsize for user [%llu]", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_user_rename': db.c:4981:86: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(query, DEF_QUERYSIZE, "UPDATE %susers SET userid = '%s' WHERE user_idnr=%llu", ~~~^ %lu DBPFX, escaped_new_name, user_idnr); ~~~~~~~~~ In file included from dbmail.h:88, from db.c:33: db.c:4986:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "could not change name for user [%llu]", user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_user_find_create': db.c:5000:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"user_idnr [%llu]", user_idnr); ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:5008:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"found username for user_idnr [%llu -> %s]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr, username); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:5017:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "user_idnr for sql shadow account " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:5019:5: idnr, user_idnr); ~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:5018:33: note: format string is defined here "differs from user_idnr [%llu != %llu]", ~~~^ %lu In file included from dbmail.h:88, from db.c:33: db.c:5017:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "user_idnr for sql shadow account " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:5019:11: idnr, user_idnr); ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c:5018:41: note: format string is defined here "differs from user_idnr [%llu != %llu]", ~~~^ %lu db.c: In function 'db_user_log_login': db.c:5164:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "UPDATE %susers SET last_login = '%s' " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:5166:4: user_idnr); ~~~~~~~~~ db.c:5165:26: note: format string is defined here "WHERE user_idnr = %llu",DBPFX, timestring, ~~~^ %lu mv -f .deps/libdbmail_la-pidfile.Tpo .deps/libdbmail_la-pidfile.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_md5.lo -MD -MP -MF .deps/libdbmail_la-dm_md5.Tpo -c -o libdbmail_la-dm_md5.lo `test -f 'dm_md5.c' || echo './'`dm_md5.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_md5.lo -MD -MP -MF .deps/libdbmail_la-dm_md5.Tpo -c dm_md5.c -fPIC -DPIC -o .libs/libdbmail_la-dm_md5.o db.c: In function 'mailbox_delete': db.c:2145:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ^~ db.c:2144:2: note: 'snprintf' output between 45 and 1087 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr); ~~~~~~~~~~~~~ db.c: In function 'acl_query': db.c:4290:4: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 907 [-Wformat-truncation=] "SELECT lookup_flag,read_flag,seen_flag," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4293:10: note: format string is defined here "FROM %sacl " ^~ db.c:4289:2: note: 'snprintf' output between 158 and 1219 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT lookup_flag,read_flag,seen_flag," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "write_flag,insert_flag,post_flag," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "create_flag,delete_flag,administer_flag " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %sacl " ~~~~~~~~~~~~~ "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userid, mailbox_idnr); ~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'user_quotum_set': db.c:393:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %susers SET curmail_size = %llu " ^~ db.c:392:2: note: 'snprintf' output between 54 and 1115 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %susers SET curmail_size = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu", DBPFX, size, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'user_quotum_inc': db.c:418:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %susers SET curmail_size = curmail_size + %llu " ^~ db.c:417:2: note: 'snprintf' output between 69 and 1130 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %susers SET curmail_size = curmail_size + %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu", DBPFX, size, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'user_quotum_dec': db.c:443:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %susers SET curmail_size = CASE WHEN curmail_size >= %llu THEN curmail_size - %llu ELSE 0 END " ^~ db.c:442:2: note: 'snprintf' output between 113 and 1193 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %susers SET curmail_size = CASE WHEN curmail_size >= %llu THEN curmail_size - %llu ELSE 0 END " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu", DBPFX, size, size, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_check_version': db.c:125:50: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1008 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "SELECT 1=1 FROM %sphysmessage LIMIT 1 OFFSET 0", DBPFX); ^~ db.c:125:2: note: 'snprintf' output between 45 and 1068 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "SELECT 1=1 FROM %sphysmessage LIMIT 1 OFFSET 0", DBPFX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:132:50: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1008 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "SELECT 1=1 FROM %sheadervalue LIMIT 1 OFFSET 0", DBPFX); ^~ db.c:132:2: note: 'snprintf' output between 45 and 1068 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "SELECT 1=1 FROM %sheadervalue LIMIT 1 OFFSET 0", DBPFX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:139:51: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1008 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "SELECT 1=1 FROM %senvelope LIMIT 1 OFFSET 0", DBPFX); ^~ db.c:139:3: note: 'snprintf' output between 42 and 1065 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "SELECT 1=1 FROM %senvelope LIMIT 1 OFFSET 0", DBPFX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_use_usermap': db.c:158:53: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "SELECT userid FROM %susermap WHERE 1 = 2", ^~ db.c:158:2: note: 'snprintf' output between 39 and 1062 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "SELECT userid FROM %susermap WHERE 1 = 2", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX); ~~~~~~ misc.c: In function 'create_unique_id': misc.c:103:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] a_message_idnr = g_strdup_printf("%llu",message_idnr); ~~~^ ~~~~~~~~~~~~ %lu misc.c: In function 'g_list_join_u64': misc.c:460:36: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_append_printf(string,"%llu",*token); ~~~^ ~~~~~~ %lu misc.c:463:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_append_printf(string,"%s%llu", sep,*token); ~~~^ ~~~~~~ %lu misc.c: In function 'dm_getguid': misc.c:768:23: warning: implicit declaration of function 'strtoll'; did you mean 'strcoll'? [-Wimplicit-function-declaration] return (u64_t)strtoll(s,NULL,10); ^~~~~~~ strcoll misc.c: In function 'g_list_destroy': misc.c:1102:19: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type] g_list_foreach(l,(GFunc)g_free,NULL); ^ misc.c: In function 'g_tree_merge': misc.c:1183:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (! g_tree_nnodes(a) > 0) ^ misc.c:1183:8: note: add parentheses around left hand side expression to silence this warning if (! g_tree_nnodes(a) > 0) ^~~~~~~~~~~~~~~~~~ ( ) misc.c:1206:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (! g_tree_nnodes(b) > 0) ^ misc.c:1206:8: note: add parentheses around left hand side expression to silence this warning if (! g_tree_nnodes(b) > 0) ^~~~~~~~~~~~~~~~~~ ( ) misc.c:1235:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (! g_tree_nnodes(b) > 0) ^ misc.c:1235:8: note: add parentheses around left hand side expression to silence this warning if (! g_tree_nnodes(b) > 0) ^~~~~~~~~~~~~~~~~~ ( ) misc.c: In function 'dm_shellesc': misc.c:1378:24: warning: this statement may fall through [-Wimplicit-fallthrough=] safe_command[end++] = '\\'; ~~~~~~~~~~~~~~~~~~~~^~~~~~ misc.c:1379:3: note: here default: ^~~~~~~ mv -f .deps/libdbmail_la-dm_md5.Tpo .deps/libdbmail_la-dm_md5.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_match.lo -MD -MP -MF .deps/libdbmail_la-dm_match.Tpo -c -o libdbmail_la-dm_match.lo `test -f 'dm_match.c' || echo './'`dm_match.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_match.lo -MD -MP -MF .deps/libdbmail_la-dm_match.Tpo -c dm_match.c -fPIC -DPIC -o .libs/libdbmail_la-dm_match.o In function 'dbmail_mailbox_build_imap_search.part.3', inlined from 'dbmail_mailbox_build_imap_search': dbmail-mailbox.c:1139:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, search_keys[*idx], MAX_SEARCH_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c: In function '_handle_search_args': dbmail-mailbox.c:1094:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, key, MAX_SEARCH_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:871:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, t, MAX_SEARCH_LEN); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:978:3: note: in expansion of macro 'IMAP_SET_SEARCH' IMAP_SET_SEARCH; ^~~~~~~~~~~~~~~ dbmail-mailbox.c:871:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, t, MAX_SEARCH_LEN); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:973:3: note: in expansion of macro 'IMAP_SET_SEARCH' IMAP_SET_SEARCH; ^~~~~~~~~~~~~~~ dbmail-mailbox.c:871:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, t, MAX_SEARCH_LEN); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:933:3: note: in expansion of macro 'IMAP_SET_SEARCH' IMAP_SET_SEARCH; ^~~~~~~~~~~~~~~ dbmail-mailbox.c:871:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, t, MAX_SEARCH_LEN); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:927:3: note: in expansion of macro 'IMAP_SET_SEARCH' IMAP_SET_SEARCH; ^~~~~~~~~~~~~~~ dbmail-mailbox.c:871:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, t, MAX_SEARCH_LEN); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:921:3: note: in expansion of macro 'IMAP_SET_SEARCH' IMAP_SET_SEARCH; ^~~~~~~~~~~~~~~ dbmail-mailbox.c:910:3: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] strncpy(value->hdrfld, t, MIME_FIELD_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:913:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, t, MAX_SEARCH_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:871:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, t, MAX_SEARCH_LEN); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:903:3: note: in expansion of macro 'IMAP_SET_SEARCH' IMAP_SET_SEARCH; ^~~~~~~~~~~~~~~ dbmail-mailbox.c:871:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, t, MAX_SEARCH_LEN); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:897:3: note: in expansion of macro 'IMAP_SET_SEARCH' IMAP_SET_SEARCH; ^~~~~~~~~~~~~~~ dbmail-mailbox.c:871:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, t, MAX_SEARCH_LEN); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:891:3: note: in expansion of macro 'IMAP_SET_SEARCH' IMAP_SET_SEARCH; ^~~~~~~~~~~~~~~ dbmail-mailbox.c:871:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, t, MAX_SEARCH_LEN); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:885:3: note: in expansion of macro 'IMAP_SET_SEARCH' IMAP_SET_SEARCH; ^~~~~~~~~~~~~~~ dbmail-mailbox.c:871:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, t, MAX_SEARCH_LEN); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-mailbox.c:879:3: note: in expansion of macro 'IMAP_SET_SEARCH' IMAP_SET_SEARCH; ^~~~~~~~~~~~~~~ dbmail-mailbox.c:771:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(value->search, search_keys[(*idx)], MAX_SEARCH_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function '_strip_blob_prefix': misc.c:587:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(subject,tmp,strlen(tmp)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:587:24: note: length computed here strncpy(subject,tmp,strlen(tmp)+1); ^~~~~~~~~~~ mv -f .deps/libdbmail_la-dbmail-user.Tpo .deps/libdbmail_la-dbmail-user.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_base64.lo -MD -MP -MF .deps/libdbmail_la-dm_base64.Tpo -c -o libdbmail_la-dm_base64.lo `test -f 'dm_base64.c' || echo './'`dm_base64.c mv -f .deps/libdbmail_la-dm_match.Tpo .deps/libdbmail_la-dm_match.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_getopt.lo -MD -MP -MF .deps/libdbmail_la-dm_getopt.Tpo -c -o libdbmail_la-dm_getopt.lo `test -f 'dm_getopt.c' || echo './'`dm_getopt.c db.c: In function 'db_get_sievescript_byname': db.c:611:25: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] "SELECT script FROM %ssievescripts WHERE " ^~ db.c:610:2: note: 'snprintf' output 67 or more bytes (assuming 1090) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT script FROM %ssievescripts WHERE " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "owner_idnr = %llu AND name = '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_base64.lo -MD -MP -MF .deps/libdbmail_la-dm_base64.Tpo -c dm_base64.c -fPIC -DPIC -o .libs/libdbmail_la-dm_base64.o db.c: In function 'db_check_sievescript_active_byname': db.c:670:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=] "SELECT name FROM %ssievescripts WHERE " ^~ db.c:669:3: note: 'snprintf' output between 66 and 1108 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT name FROM %ssievescripts WHERE " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "owner_idnr = %llu AND active = 1", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, user_idnr); ~~~~~~~~~~~~~~~~~ db.c:663:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=] "SELECT name FROM %ssievescripts WHERE " ^~ db.c:662:3: note: 'snprintf' output 80 or more bytes (assuming 1103) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT name FROM %ssievescripts WHERE " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "owner_idnr = %llu AND active = 1 AND name = '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, user_idnr, name); ~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_getopt.lo -MD -MP -MF .deps/libdbmail_la-dm_getopt.Tpo -c dm_getopt.c -fPIC -DPIC -o .libs/libdbmail_la-dm_getopt.o db.c: In function 'db_get_sievescript_active': db.c:702:21: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=] "SELECT name from %ssievescripts where " ^~ db.c:701:2: note: 'snprintf' output between 66 and 1108 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT name from %ssievescripts where " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "owner_idnr = %llu and active = 1", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, user_idnr); ~~~~~~~~~~~~~~~~~ db.c: In function 'db_deactivate_sievescript': db.c:896:11: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %ssievescripts set active = 0 " ^~ db.c:895:2: note: 'snprintf' output 70 or more bytes (assuming 1093) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %ssievescripts set active = 0 " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "where owner_idnr = %llu and name = '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_activate_sievescript': db.c:921:11: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %ssievescripts SET active = 0 " ^~ db.c:920:2: note: 'snprintf' output between 57 and 1099 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %ssievescripts SET active = 0 " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE owner_idnr = %llu ", ~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,user_idnr); ~~~~~~~~~~~~~~~~ db.c:935:11: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %ssievescripts SET active = 1 " ^~ db.c:934:2: note: 'snprintf' output 70 or more bytes (assuming 1093) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %ssievescripts SET active = 1 " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE owner_idnr = %llu AND name = '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_delete_sievescript': db.c:961:16: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %ssievescripts " ^~ db.c:960:2: note: 'snprintf' output 60 or more bytes (assuming 1083) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %ssievescripts " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE owner_idnr = %llu AND name = '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_get_notify_address': db.c:1011:33: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 997 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "SELECT notify_address " ^~~~~~~~~~~~~~~~~~~~~~~~ db.c:1012:10: note: format string is defined here "FROM %sauto_notifications WHERE user_idnr = %llu", ^~ db.c:1011:2: note: 'snprintf' output between 66 and 1108 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "SELECT notify_address " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %sauto_notifications WHERE user_idnr = %llu", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,user_idnr); ~~~~~~~~~~~~~~~~ db.c: In function 'db_get_reply_body': db.c:1041:28: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] "SELECT reply_body FROM %sauto_replies " ^~ db.c:1040:2: note: 'snprintf' output 140 or more bytes (assuming 1163) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT reply_body FROM %sauto_replies " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~ "AND (start_date IS NULL OR start_date <= %s) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND (stop_date IS NULL OR stop_date >= %s)", DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr, db_get_sql(SQL_CURRENT_TIMESTAMP), db_get_sql(SQL_CURRENT_TIMESTAMP)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_insert_physmessage_with_internal_date': db.c:1140:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "INSERT INTO %sphysmessage (messagesize, internal_date) " ^~ db.c:1139:3: note: 'snprintf' output 66 or more bytes (assuming 1089) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "INSERT INTO %sphysmessage (messagesize, internal_date) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (0, %s)", DBPFX,db_get_sql(SQL_CURRENT_TIMESTAMP)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1135:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "INSERT INTO %sphysmessage (messagesize, internal_date) " ^~ db.c:1134:3: note: 'snprintf' output 66 or more bytes (assuming 1089) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "INSERT INTO %sphysmessage (messagesize, internal_date) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (0, %s)", DBPFX,to_date_str); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_message_set_unique_id': db.c:1166:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %smessages SET unique_id = '%s', status = %d " ^~ db.c:1165:2: note: 'snprintf' output 70 or more bytes (assuming 1093) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %smessages SET unique_id = '%s', status = %d " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE message_idnr = %llu", DBPFX, unique_id, MESSAGE_STATUS_NEW, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ message_idnr); ~~~~~~~~~~~~~ db.c: In function 'db_physmessage_set_sizes': db.c:1184:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %sphysmessage SET " ^~ db.c:1183:2: note: 'snprintf' output between 65 and 1145 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %sphysmessage SET " ~~~~~~~~~~~~~~~~~~~~~~~~~~~ "messagesize = %llu, rfcsize = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE id = %llu", DBPFX, message_size, rfc_size, physmessage_id); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/libdbmail_la-dm_base64.Tpo .deps/libdbmail_la-dm_base64.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-server.lo -MD -MP -MF .deps/libdbmail_la-server.Tpo -c -o libdbmail_la-server.lo `test -f 'server.c' || echo './'`server.c db.c: In function 'db_count_iplog': db.c:1364:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] "SELECT * FROM %spbsp WHERE since < %s", ^~ db.c:1363:2: note: 'snprintf' output 34 or more bytes (assuming 1057) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT * FROM %spbsp WHERE since < %s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, to_date_str); ~~~~~~~~~~~~~~~~~~~ libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-server.lo -MD -MP -MF .deps/libdbmail_la-server.Tpo -c server.c -fPIC -DPIC -o .libs/libdbmail_la-server.o misc.c: In function 'date_sql2imap': misc.c:1028:47: warning: ' +0000' directive output may be truncated writing 6 bytes into a region of size between 1 and 27 [-Wformat-truncation=] snprintf(_imapdate,IMAP_INTERNALDATE_LEN, "%s +0000", q); ^~~~~~ misc.c:1028:2: note: 'snprintf' output between 7 and 33 bytes into a destination of size 27 snprintf(_imapdate,IMAP_INTERNALDATE_LEN, "%s +0000", q); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_cleanup_iplog': db.c:1388:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %spbsp WHERE since < %s", ^~ db.c:1387:2: note: 'snprintf' output 32 or more bytes (assuming 1055) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %spbsp WHERE since < %s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, to_date_str); ~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_count_replycache': db.c:1412:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] "SELECT * FROM %sreplycache WHERE lastseen < %s", ^~ db.c:1411:2: note: 'snprintf' output 43 or more bytes (assuming 1066) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT * FROM %sreplycache WHERE lastseen < %s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, to_date_str); ~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_cleanup_replycache': db.c:1436:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %sreplycache WHERE lastseen < %s", ^~ db.c:1435:2: note: 'snprintf' output 41 or more bytes (assuming 1064) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %sreplycache WHERE lastseen < %s", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, to_date_str); ~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_set_isheader': db.c:1791:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %smessageblks" ^~ db.c:1790:3: note: 'snprintf' output 65 or more bytes (assuming 1088) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %smessageblks" ~~~~~~~~~~~~~~~~~~~~~~ " SET is_header = %u" ~~~~~~~~~~~~~~~~~~~~~ " WHERE messageblk_idnr IN (%s)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, HEAD_BLOCK, (gchar *)slices->data); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_icheck_isheader': db.c:1816:4: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 976 [-Wformat-truncation=] "SELECT MIN(messageblk_idnr),MAX(is_header) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1817:10: note: format string is defined here "FROM %smessageblks " ^~ db.c:1815:2: note: 'snprintf' output between 108 and 1131 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT MIN(messageblk_idnr),MAX(is_header) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %smessageblks " ~~~~~~~~~~~~~~~~~~~~~ "GROUP BY physmessage_id HAVING MAX(is_header)=0", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX); ~~~~~~ server.c: In function 'SetParentSigHandler': server.c:60:19: warning: assignment to 'void (*)(int, struct __siginfo *, void *)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] act.sa_sigaction = ParentSigHandler; ^ server.c:64:20: warning: assignment to 'void (*)(int, struct __siginfo *, void *)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] sact.sa_sigaction = ParentSigHandler; ^ db.c: In function 'db_set_message_status': db.c:2054:41: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "UPDATE %smessages SET status = %d WHERE message_idnr = %llu", ^~ db.c:2054:33: note: using the range [-2147483648, 2147483647] for directive argument snprintf(query, DEF_QUERYSIZE, "UPDATE %smessages SET status = %d WHERE message_idnr = %llu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2054:2: note: 'snprintf' output between 54 and 1106 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "UPDATE %smessages SET status = %d WHERE message_idnr = %llu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, status, message_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_delete_messageblk': db.c:2064:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "DELETE FROM %smessageblks WHERE messageblk_idnr = %llu", ^~ db.c:2064:2: note: 'snprintf' output between 50 and 1092 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "DELETE FROM %smessageblks WHERE messageblk_idnr = %llu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, messageblk_idnr); ~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_delete_physmessage': db.c:2074:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "DELETE FROM %sphysmessage WHERE id = %llu", ^~ db.c:2074:2: note: 'snprintf' output between 37 and 1079 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "DELETE FROM %sphysmessage WHERE id = %llu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, physmessage_id); ~~~~~~~~~~~~~~~~~~~~~~ db.c:2081:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "DELETE FROM %smessageblks WHERE physmessage_id = %llu", ^~ db.c:2081:2: note: 'snprintf' output between 49 and 1091 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "DELETE FROM %smessageblks WHERE physmessage_id = %llu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, physmessage_id); ~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_set_deleted': db.c:2484:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %smessages SET status = %d WHERE status = %d",DBPFX, ^~ db.c:2483:2: note: 'snprintf' output between 48 and 1071 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %smessages SET status = %d WHERE status = %d",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_PURGE, MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_mailbox_set_permission': db.c:3440:39: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] snprintf(query,DEF_QUERYSIZE,"UPDATE %smailboxes SET permission=%d WHERE mailbox_idnr=%llu", ^~ db.c:3440:2: note: 'snprintf' output between 55 and 1107 bytes into a destination of size 1024 snprintf(query,DEF_QUERYSIZE,"UPDATE %smailboxes SET permission=%d WHERE mailbox_idnr=%llu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, permission, mailbox_id); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_isselectable': db.c:3592:27: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] "SELECT no_select FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ^~ db.c:3591:2: note: 'snprintf' output between 55 and 1097 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT no_select FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr); ~~~~~~~~~~~~~ db.c: In function 'db_noinferiors': db.c:3629:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT no_inferiors FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ^~ db.c:3628:2: note: 'snprintf' output between 58 and 1100 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT no_inferiors FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr); ~~~~~~~~~~~~~ db.c: In function 'db_setselectable': db.c:3660:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %smailboxes SET no_select = %d WHERE mailbox_idnr = %llu",DBPFX, ^~ db.c:3660:4: note: directive argument in the range [0, 1] "UPDATE %smailboxes SET no_select = %d WHERE mailbox_idnr = %llu",DBPFX, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3659:2: note: 'snprintf' output between 58 and 1100 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %smailboxes SET no_select = %d WHERE mailbox_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (!select_value), mailbox_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_movemsg': db.c:3756:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %smessages SET mailbox_idnr=%llu WHERE" ^~ db.c:3755:2: note: 'snprintf' output between 58 and 1119 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %smessages SET mailbox_idnr=%llu WHERE" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " mailbox_idnr = %llu",DBPFX, mailbox_to, mailbox_from); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_mailbox_has_message_id': db.c:3783:29: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT message_idnr FROM %smessages m " ^~ db.c:3782:2: note: 'snprintf' output 275 or more bytes (assuming 4493) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT message_idnr FROM %smessages m " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "JOIN %sphysmessage p ON m.physmessage_id=p.id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "JOIN %sheadervalue v ON v.physmessage_id=p.id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "JOIN %sheadername n ON v.headername_id=n.id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE m.mailbox_idnr=%llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND n.headername IN ('resent-message-id','message-id') " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND %s='%s' " ~~~~~~~~~~~~~~ "AND p.internal_date > %s", DBPFX, DBPFX, DBPFX, DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr, partial, safe_messageid, expire); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_setmailboxname': db.c:3952:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %smailboxes SET name = '%s' " ^~ db.c:3951:2: note: 'snprintf' output 54 or more bytes (assuming 1077) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %smailboxes SET name = '%s' " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_idnr = %llu", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, escaped_name, mailbox_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_subscribe': db.c:4078:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] "SELECT * FROM %ssubscription " ^~ db.c:4077:2: note: 'snprintf' output between 64 and 1125 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT * FROM %ssubscription " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_id = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND user_id = %llu",DBPFX, mailbox_idnr, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4097:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "INSERT INTO %ssubscription (user_id, mailbox_id) " ^~ db.c:4096:2: note: 'snprintf' output between 61 and 1122 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "INSERT INTO %ssubscription (user_id, mailbox_id) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%llu, %llu)",DBPFX, user_idnr, mailbox_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4104:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] "SELECT * FROM %ssubscription " ^~ db.c:4103:3: note: 'snprintf' output between 64 and 1125 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT * FROM %ssubscription " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_id = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND user_id = %llu",DBPFX, mailbox_idnr, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_unsubscribe': db.c:4132:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %ssubscription " ^~ db.c:4131:2: note: 'snprintf' output between 62 and 1123 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %ssubscription " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr, mailbox_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_acl_delete_acl': db.c:4457:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %sacl " ^~ db.c:4456:2: note: 'snprintf' output between 53 and 1114 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %sacl " ~~~~~~~~~~~~~~~~~~~~ "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userid, mboxid); ~~~~~~~~~~~~~~~ db.c: In function 'db_acl_get_identifier': db.c:4482:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "SELECT %susers.userid FROM %susers, %sacl " ^~ db.c:4481:2: note: 'snprintf' output between 95 and 6252 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT %susers.userid FROM %susers, %sacl " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE %sacl.mailbox_id = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND %susers.user_idnr = %sacl.user_id",DBPFX,DBPFX,DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,mboxid,DBPFX,DBPFX); ~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/libdbmail_la-dbmail-mailbox.Tpo .deps/libdbmail_la-dbmail-mailbox.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-serverchild.lo -MD -MP -MF .deps/libdbmail_la-serverchild.Tpo -c -o libdbmail_la-serverchild.lo `test -f 'serverchild.c' || echo './'`serverchild.c db.c: In function 'db_user_is_mailbox_owner': db.c:4541:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT mailbox_idnr FROM %smailboxes " ^~ db.c:4540:2: note: 'snprintf' output between 77 and 1138 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT mailbox_idnr FROM %smailboxes " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_idnr = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND owner_idnr = %llu", DBPFX, mboxid, userid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_acl_set_right': db.c:4354:37: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 992 [-Wformat-truncation=] "SELECT user_id, mailbox_id FROM %sacl " ^~ db.c:4353:2: note: 'snprintf' output between 73 and 1134 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT user_id, mailbox_id FROM %sacl " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userid, mboxid); ~~~~~~~~~~~~~~~ db.c:4378:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "INSERT INTO %sacl (user_id, mailbox_id) " ^~ db.c:4377:2: note: 'snprintf' output between 52 and 1113 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "INSERT INTO %sacl (user_id, mailbox_id) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%llu, %llu)",DBPFX, userid, mboxid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4433:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %sacl SET %s = %i " ^~ libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-serverchild.lo -MD -MP -MF .deps/libdbmail_la-serverchild.Tpo -c serverchild.c -fPIC -DPIC -o .libs/libdbmail_la-serverchild.o db.c:4432:2: note: 'snprintf' output 57 or more bytes (assuming 1080) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %sacl SET %s = %i " ~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_id = %llu AND mailbox_id = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ right_flag, set, userid, mboxid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_get_sievescript_listall': db.c:729:28: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1000 [-Wformat-truncation=] "SELECT name,active FROM %ssievescripts WHERE " ^~ db.c:728:2: note: 'snprintf' output between 58 and 1100 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT name,active FROM %ssievescripts WHERE " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "owner_idnr = %llu", ~~~~~~~~~~~~~~~~~~~~ DBPFX,user_idnr); ~~~~~~~~~~~~~~~~ db.c: In function 'db_rename_sievescript': db.c:771:23: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=] "SELECT active FROM %ssievescripts " ^~ db.c:770:2: note: 'snprintf' output 67 or more bytes (assuming 1090) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT active FROM %ssievescripts " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE owner_idnr = %llu AND name = '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,user_idnr,escaped_newname); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:786:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %ssievescripts " ^~ db.c:785:3: note: 'snprintf' output 60 or more bytes (assuming 1083) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %ssievescripts " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE owner_idnr = %llu AND name = '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,user_idnr,escaped_newname); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:800:11: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %ssievescripts SET name = '%s', active = %d " ^~ db.c:799:2: note: 'snprintf' output 81 or more bytes (assuming 1104) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %ssievescripts SET name = '%s', active = %d " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE owner_idnr = %llu AND name = '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,escaped_newname,active,user_idnr,escaped_scriptname); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_add_sievescript': db.c:832:25: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] "SELECT COUNT(*) FROM %ssievescripts " ^~ db.c:831:2: note: 'snprintf' output 69 or more bytes (assuming 1092) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT COUNT(*) FROM %ssievescripts " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE owner_idnr = %llu AND name = '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:845:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %ssievescripts " ^~ db.c:844:3: note: 'snprintf' output 60 or more bytes (assuming 1083) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %ssievescripts " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE owner_idnr = %llu AND name = '%s'", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,user_idnr,escaped_scriptname); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_count_deleted': db.c:2461:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] "SELECT COUNT(*) FROM %smessages WHERE status = %d", ^~ db.c:2460:2: note: 'snprintf' output between 47 and 1070 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT COUNT(*) FROM %smessages WHERE status = %d", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_deleted_count': db.c:2552:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] "SELECT COUNT(*) FROM %smessages WHERE status=%d", ^~ db.c:2551:2: note: 'snprintf' output between 45 and 1068 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT COUNT(*) FROM %smessages WHERE status=%d", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, MESSAGE_STATUS_PURGE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_getmailbox_flags': db.c:2957:4: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 928 [-Wformat-truncation=] "SELECT permission,seen_flag,answered_flag,deleted_flag," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2959:10: note: format string is defined here "FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, mb->uid); ^~ db.c:2956:2: note: 'snprintf' output between 129 and 1171 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT permission,seen_flag,answered_flag,deleted_flag," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "flagged_flag,recent_flag,draft_flag " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, mb->uid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'create_unix_socket', inlined from 'CreateSocket' at server.c:488:28: server.c:421:2: warning: 'strncpy' output may be truncated copying 104 bytes from a string of length 1023 [-Wstringop-truncation] strncpy(saServer.sun_path,conf->socket, sizeof(saServer.sun_path)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ serverchild.c: In function 'SetChildSigHandler': serverchild.c:123:19: warning: assignment to 'void (*)(int, struct __siginfo *, void *)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] act.sa_sigaction = active_child_sig_handler; ^ serverchild.c:127:22: warning: assignment to 'void (*)(int, struct __siginfo *, void *)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] rstact.sa_sigaction = active_child_sig_handler; ^ serverchild.c: In function 'DelChildSigHandler': serverchild.c:163:19: warning: assignment to 'void (*)(int, struct __siginfo *, void *)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] act.sa_sigaction = noop_child_sig_handler; ^ mv -f .deps/libdbmail_la-server.Tpo .deps/libdbmail_la-server.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-serverparent.lo -MD -MP -MF .deps/libdbmail_la-serverparent.Tpo -c -o libdbmail_la-serverparent.lo `test -f 'serverparent.c' || echo './'`serverparent.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-serverparent.lo -MD -MP -MF .deps/libdbmail_la-serverparent.Tpo -c serverparent.c -fPIC -DPIC -o .libs/libdbmail_la-serverparent.o serverparent.c: In function 'SetMainSigHandler': serverparent.c:209:19: warning: assignment to 'void (*)(int, struct __siginfo *, void *)' from incompatible pointer type 'void (*)(int)' [-Wincompatible-pointer-types] act.sa_sigaction = MainSigHandler; ^ mv -f .deps/libdbmail_la-serverparent.Tpo .deps/libdbmail_la-serverparent.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-pool.lo -MD -MP -MF .deps/libdbmail_la-pool.Tpo -c -o libdbmail_la-pool.lo `test -f 'pool.c' || echo './'`pool.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-pool.lo -MD -MP -MF .deps/libdbmail_la-pool.Tpo -c pool.c -fPIC -DPIC -o .libs/libdbmail_la-pool.o In function '_strip_refwd', inlined from '_strip_sub_leader' at misc.c:637:2, inlined from 'dm_base_subject' at misc.c:664:4: misc.c:619:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(subject,tmp,strlen(tmp)+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'dm_base_subject': misc.c:619:23: note: length computed here strncpy(subject,tmp,strlen(tmp)+1); ^~~~~~~~~~~ mv -f .deps/libdbmail_la-serverchild.Tpo .deps/libdbmail_la-serverchild.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_cidr.lo -MD -MP -MF .deps/libdbmail_la-dm_cidr.Tpo -c -o libdbmail_la-dm_cidr.lo `test -f 'dm_cidr.c' || echo './'`dm_cidr.c mv -f .deps/libdbmail_la-dm_getopt.Tpo .deps/libdbmail_la-dm_getopt.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-pipe.lo -MD -MP -MF .deps/libdbmail_la-pipe.Tpo -c -o libdbmail_la-pipe.lo `test -f 'pipe.c' || echo './'`pipe.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_cidr.lo -MD -MP -MF .deps/libdbmail_la-dm_cidr.Tpo -c dm_cidr.c -fPIC -DPIC -o .libs/libdbmail_la-dm_cidr.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-pipe.lo -MD -MP -MF .deps/libdbmail_la-pipe.Tpo -c pipe.c -fPIC -DPIC -o .libs/libdbmail_la-pipe.o In file included from dbmail.h:88, from pipe.c:24: pipe.c: In function 'store_message_in_blocks': pipe.c:518:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "inserting message: size [%llu] block[%d]", message_size, block_nr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pipe.c: In function 'insert_messages': pipe.c:588:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "temporary msgidnr is [%llu]", message->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pipe.c:617:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "calling sort_and_deliver for useridnr [%llu]", useridnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pipe.c:624:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "successful sort_and_deliver for useridnr [%llu]", useridnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pipe.c:629:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "permanent failure sort_and_deliver for useridnr [%llu]", useridnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pipe.c:634:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "mailbox over quota, message rejected for useridnr [%llu]", useridnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pipe.c:640:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "unknown temporary failure in sort_and_deliver for useridnr [%llu]", useridnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pipe.c:705:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "failed to delete temporary message [%llu]", message->id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pipe.c:572:8: warning: variable 'msgsize' set but not used [-Wunused-but-set-variable] u64_t msgsize; ^~~~~~~ pipe.c:569:18: warning: variable 'rfcsize' set but not used [-Wunused-but-set-variable] u64_t bodysize, rfcsize; ^~~~~~~ pipe.c:569:8: warning: variable 'bodysize' set but not used [-Wunused-but-set-variable] u64_t bodysize, rfcsize; ^~~~~~~~ pipe.c: In function 'send_alert': pipe.c:721:39: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] char *userchar = g_strdup_printf("%llu", user_idnr); ~~~^ ~~~~~~~~~ %lu In file included from dbmail.h:88, from pipe.c:24: pipe.c:723:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "Already sent alert [%s] to user [%llu] today", subject, user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pipe.c:729:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "Sending alert [%s] to user [%llu]", subject, user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pipe.c:761:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "Unable to deliver alert [%s] to user [%llu]", subject, user_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pipe.c: In function 'insert_messages': pipe.c:663:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (dm_list_length(delivery->forwards) > 0) { ^ pipe.c:669:3: note: here case DSN_CLASS_FAIL: ^~~~ mv -f .deps/libdbmail_la-pool.Tpo .deps/libdbmail_la-pool.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dsn.lo -MD -MP -MF .deps/libdbmail_la-dsn.Tpo -c -o libdbmail_la-dsn.lo `test -f 'dsn.c' || echo './'`dsn.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dsn.lo -MD -MP -MF .deps/libdbmail_la-dsn.Tpo -c dsn.c -fPIC -DPIC -o .libs/libdbmail_la-dsn.o mv -f .deps/libdbmail_la-dm_cidr.Tpo .deps/libdbmail_la-dm_cidr.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-sort.lo -MD -MP -MF .deps/libdbmail_la-sort.Tpo -c -o libdbmail_la-sort.lo `test -f 'sort.c' || echo './'`sort.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-sort.lo -MD -MP -MF .deps/libdbmail_la-sort.Tpo -c sort.c -fPIC -DPIC -o .libs/libdbmail_la-sort.o In file included from dbmail.h:88, from dsn.c:24: dsn.c: In function 'address_is_username_mailbox': dsn.c:324:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "added user [%s] id [%llu] to delivery list", newaddress, userid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dsn.c: In function 'address_is_username': dsn.c:357:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "added user [%s] id [%llu] to delivery list", delivery->address, userid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dsn.c: In function 'dsnuser_resolve': dsn.c:549:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "checking if [%llu] is a valid useridnr.", delivery->useridnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dsn.c:555:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "useridnr [%llu] temporary lookup failure.", delivery->useridnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dsn.c:560:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "useridnr [%llu] does not exist.", delivery->useridnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dsn.c:572:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "delivery [%llu] directly to a useridnr.", delivery->useridnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ In file included from dbmail.h:88, from sort.c:30: sort.c: In function 'sort_and_deliver': sort.c:49:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "Beginning brute force delivery for user [%llu] to mailbox [%s].", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr, mailbox); ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ sort.c:54:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "Destination [%s] useridnr [%llu], mailbox [%s], source [%d]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ destination, useridnr, mailbox, source); ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ sort.c: In function 'sort_deliver_to_mailbox': sort.c:127:19: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO,"useridnr [%llu] mailbox [%s]", useridnr, mailbox); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ sort.c:149:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "error retrieving right for [%llu] to deliver mail to [%s]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr, mailbox); ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ sort.c:154:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "user [%llu] does not have right to deliver mail to [%s]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr, mailbox); ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ sort.c:165:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "user [%llu] has right to deliver mail to [%s]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr, mailbox); ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ sort.c:187:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "error copying message to user [%llu]," ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "maxmail exceeded", useridnr); ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ sort.c:187:57: note: format string is defined here TRACE(TRACE_DEBUG, "error copying message to user [%llu]," ~~~^ %lu In file included from dbmail.h:88, from sort.c:30: sort.c:191:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error copying message to user [%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ useridnr); ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ sort.c:195:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "message id=%llu, size=%zd is inserted", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmsgidnr, msgsize); ~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ sort.c:198:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "message id=%llu, setting imap flags", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ newmsgidnr); ~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ mv -f .deps/libdbmail_la-misc.Tpo .deps/libdbmail_la-misc.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmodule.lo -MD -MP -MF .deps/libdbmail_la-dbmodule.Tpo -c -o libdbmail_la-dbmodule.lo `test -f 'dbmodule.c' || echo './'`dbmodule.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dbmodule.lo -MD -MP -MF .deps/libdbmail_la-dbmodule.Tpo -c dbmodule.c -fPIC -DPIC -o .libs/libdbmail_la-dbmodule.o mv -f .deps/libdbmail_la-sort.Tpo .deps/libdbmail_la-sort.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-authmodule.lo -MD -MP -MF .deps/libdbmail_la-authmodule.Tpo -c -o libdbmail_la-authmodule.lo `test -f 'authmodule.c' || echo './'`authmodule.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-authmodule.lo -MD -MP -MF .deps/libdbmail_la-authmodule.Tpo -c authmodule.c -fPIC -DPIC -o .libs/libdbmail_la-authmodule.o mv -f .deps/libdbmail_la-pipe.Tpo .deps/libdbmail_la-pipe.Plo /bin/sh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-sortmodule.lo -MD -MP -MF .deps/libdbmail_la-sortmodule.Tpo -c -o libdbmail_la-sortmodule.lo `test -f 'sortmodule.c' || echo './'`sortmodule.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-sortmodule.lo -MD -MP -MF .deps/libdbmail_la-sortmodule.Tpo -c sortmodule.c -fPIC -DPIC -o .libs/libdbmail_la-sortmodule.o mv -f .deps/libdbmail_la-authmodule.Tpo .deps/libdbmail_la-authmodule.Plo cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c In file included from dbmail.h:88, from main.c:25: main.c: In function 'main': main.c:271:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=] TRACE(TRACE_ERROR, "failed to read header because header is too " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ main.c:272:42: note: format string is defined here "big (larger than READ_BLOCK_SIZE (%llu))", (u64_t) READ_BLOCK_SIZE); ~~~^ %lu mv -f .deps/libdbmail_la-dbmodule.Tpo .deps/libdbmail_la-dbmodule.Plo cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT pop3.o -MD -MP -MF .deps/pop3.Tpo -c -o pop3.o pop3.c mv -f .deps/main.Tpo .deps/main.Po cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT pop3d.o -MD -MP -MF .deps/pop3d.Tpo -c -o pop3d.o pop3d.c db.c: In function 'db_get_msgflag': db.c:4170:20: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 500 and 1011 [-Wformat-truncation=] "SELECT %s FROM %smessages " ^~ db.c:4169:2: note: 'snprintf' output between 81 and 1653 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT %s FROM %smessages " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE message_idnr = %llu AND status < %d " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND mailbox_idnr = %llu", ~~~~~~~~~~~~~~~~~~~~~~~~~~ the_flag_name, DBPFX, msg_idnr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_DELETE, mailbox_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/libdbmail_la-dsn.Tpo .deps/libdbmail_la-dsn.Plo cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT quota.o -MD -MP -MF .deps/quota.Tpo -c -o quota.o quota.c db.c: In function 'db_get_physmessage_id': db.c:337:32: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 997 [-Wformat-truncation=] "SELECT physmessage_id FROM %smessages " ^~ db.c:336:2: note: 'snprintf' output between 59 and 1101 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT physmessage_id FROM %smessages " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE message_idnr = %llu", DBPFX, message_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_delete_message': db.c:2107:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "DELETE FROM %smessages " ^~ db.c:2107:2: note: 'snprintf' output between 44 and 1086 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "DELETE FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE message_idnr = %llu", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, message_idnr); ~~~~~~~~~~~~~~~~~~~~ db.c:2117:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "SELECT message_idnr FROM %smessages " ^~ db.c:2117:2: note: 'snprintf' output between 59 and 1101 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "SELECT message_idnr FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE physmessage_id = %llu",DBPFX, physmessage_id); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_get_quotum_used': db.c:366:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT curmail_size FROM %susers " ^~ db.c:365:2: note: 'snprintf' output between 51 and 1093 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT curmail_size FROM %susers " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu", DBPFX, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_calculate_quotum_all': db.c:511:4: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 959 [-Wformat-truncation=] "SELECT usr.user_idnr, sum(pm.messagesize), usr.curmail_size " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:512:10: note: format string is defined here "FROM %susers usr LEFT JOIN %smailboxes mbx " ^~ db.c:510:2: note: 'snprintf' output between 430 and 4522 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT usr.user_idnr, sum(pm.messagesize), usr.curmail_size " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %susers usr LEFT JOIN %smailboxes mbx " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "ON mbx.owner_idnr = usr.user_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %smessages msg " ~~~~~~~~~~~~~~~~~~~~~~~~~~~ "ON msg.mailbox_idnr = mbx.mailbox_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %sphysmessage pm " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "ON pm.id = msg.physmessage_id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND msg.status < %d " ~~~~~~~~~~~~~~~~~~~~~~ "GROUP BY usr.user_idnr, usr.curmail_size " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "HAVING ((SUM(pm.messagesize) <> usr.curmail_size) OR " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "(NOT (SUM(pm.messagesize) IS NOT NULL) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND usr.curmail_size <> 0))", DBPFX,DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,DBPFX,MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_calculate_quotum_used': db.c:571:33: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 992 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "SELECT SUM(pm.messagesize) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:572:10: note: format string is defined here "FROM %sphysmessage pm, %smessages m, %smailboxes mb " ^~ db.c:571:2: note: 'snprintf' output between 180 and 3268 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "SELECT SUM(pm.messagesize) " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %sphysmessage pm, %smessages m, %smailboxes mb " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE m.physmessage_id = pm.id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND m.mailbox_idnr = mb.mailbox_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND mb.owner_idnr = %llu " "AND m.status < %d", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,DBPFX,DBPFX,user_idnr, MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/pop3d.Tpo .deps/pop3d.Po cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT imap4.o -MD -MP -MF .deps/imap4.Tpo -c -o imap4.o imap4.c db.c: In function 'db_get_mailbox_from_message': db.c:1071:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT mailbox_idnr FROM %smessages " ^~ db.c:1070:2: note: 'snprintf' output between 57 and 1099 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT mailbox_idnr FROM %smessages " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE message_idnr = %llu", DBPFX,message_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_get_useridnr': db.c:1099:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "SELECT %smailboxes.owner_idnr FROM %smailboxes, %smessages " ^~ db.c:1098:2: note: 'snprintf' output between 136 and 6293 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT %smailboxes.owner_idnr FROM %smailboxes, %smessages " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE %smailboxes.mailbox_idnr = %smessages.mailbox_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND %smessages.message_idnr = %llu", DBPFX,DBPFX,DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,DBPFX,DBPFX,message_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c: In function 'pop3_handle_connection': pop3.c:89:2: warning: implicit declaration of function 'gethostname'; did you mean 'sethostname'? [-Wimplicit-function-declaration] gethostname(myhostname, 64); ^~~~~~~~~~~ sethostname In file included from dbmail.h:88, from pop3.c:26: pop3.c:185:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "user %s logging out [messages=%llu, octets=%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:187:6: session.virtual_totalmessages, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pop3.c:185:25: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "user %s logging out [messages=%llu, octets=%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:188:6: session.virtual_totalsize); ~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pop3.c: In function 'pop3': pop3.c:437:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "user %s logged in [messages=%llu, octets=%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:439:7: session->virtual_totalmessages, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pop3.c:437:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "user %s logged in [messages=%llu, octets=%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:440:7: session->virtual_totalsize); ~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pop3.c:457:27: warning: implicit declaration of function 'strtoull'; did you mean 'strtoul'? [-Wimplicit-function-declaration] if (msg->messageid == strtoull(value,NULL, 10) && msg->virtual_messagestatus < MESSAGE_STATUS_DELETE) { ^~~~~~~~ strtoul pop3.c:457:24: warning: comparison of integer expressions of different signedness: 'guint64' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (msg->messageid == strtoull(value,NULL, 10) && msg->virtual_messagestatus < MESSAGE_STATUS_DELETE) { ^~ db.c: In function 'db_update_pop': db.c:2427:14: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %smessages set status=%d WHERE " ^~ db.c:2427:6: note: using the range [-2147483648, 2147483647] for directive argument "UPDATE %smessages set status=%d WHERE " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:509:23: warning: comparison of integer expressions of different signedness: 'guint64' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (msg->messageid == strtoull(value, NULL, 10) && msg->virtual_messagestatus < MESSAGE_STATUS_DELETE) { /* message is not deleted */ ^~ db.c:2426:4: note: 'snprintf' output between 65 and 1117 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %smessages set status=%d WHERE " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "message_idnr=%llu AND status < %d",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((struct message *) ~~~~~~~~~~~~~~~~~~~ tmpelement->data)->virtual_messagestatus, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((struct message *) tmpelement->data)-> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ realmessageid, MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:527:23: warning: comparison of integer expressions of different signedness: 'guint64' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (msg->messageid == strtoull(value, NULL, 10) && msg->virtual_messagestatus < MESSAGE_STATUS_DELETE) { /* message is not deleted */ ^~ pop3.c:596:24: warning: comparison of integer expressions of different signedness: 'guint64' {aka 'long unsigned int'} and 'int' [-Wsign-compare] if (msg->messageid == strtoull(value,NULL, 10) && msg->virtual_messagestatus < MESSAGE_STATUS_DELETE) { ^~ In file included from dbmail.h:88, from pop3.c:26: pop3.c:715:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "user %s logged in [messages=%llu, octets=%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:717:7: session->virtual_totalmessages, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ pop3.c:715:26: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 9 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "user %s logged in [messages=%llu, octets=%llu]", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:718:7: session->virtual_totalsize); ~~~~~~~~~~~~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ db.c: In function 'db_log_ip': db.c:1309:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=] "SELECT idnr FROM %spbsp WHERE ipnumber = '%s'", DBPFX, ip); ^~ db.c:1308:2: note: 'snprintf' output 42 or more bytes (assuming 1065) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT idnr FROM %spbsp WHERE ipnumber = '%s'", DBPFX, ip); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1339:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "INSERT INTO %spbsp (since, ipnumber) " ^~ db.c:1338:3: note: 'snprintf' output 49 or more bytes (assuming 1072) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "INSERT INTO %spbsp (since, ipnumber) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES (%s, '%s')", DBPFX, db_get_sql(SQL_CURRENT_TIMESTAMP), ip); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1327:42: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "UPDATE %spbsp " ^~ db.c:1327:3: note: 'snprintf' output 38 or more bytes (assuming 1061) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "UPDATE %spbsp " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SET since = %s WHERE idnr=%llu", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, db_get_sql(SQL_CURRENT_TIMESTAMP), id); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_icheck_messageblks': db.c:1515:36: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 993 [-Wformat-truncation=] "SELECT mb.messageblk_idnr FROM %smessageblks mb " ^~ db.c:1514:2: note: 'snprintf' output between 120 and 2166 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT mb.messageblk_idnr FROM %smessageblks mb " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %sphysmessage pm ON " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "mb.physmessage_id = pm.id " "WHERE pm.id IS NULL",DBPFX,DBPFX); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_icheck_physmessages': db.c:1583:27: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] "SELECT COUNT(*) FROM %sphysmessage p " ^~ db.c:1582:3: note: 'snprintf' output between 113 and 2159 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT COUNT(*) FROM %sphysmessage p " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %smessages m ON p.id = m.physmessage_id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE m.message_idnr IS NULL ", DBPFX, DBPFX); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1557:37: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=] "SELECT p.id FROM %sphysmessage p LEFT JOIN %smessages m ON p.id = m.physmessage_id " ^~ db.c:1556:3: note: 'snprintf' output between 110 and 2156 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT p.id FROM %sphysmessage p LEFT JOIN %smessages m ON p.id = m.physmessage_id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE m.physmessage_id IS NULL", DBPFX, DBPFX); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:1572:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %sphysmessage WHERE id = %llu", DBPFX, *(u64_t *)ids->data); ^~ db.c:1571:4: note: 'snprintf' output between 37 and 1079 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %sphysmessage WHERE id = %llu", DBPFX, *(u64_t *)ids->data); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/quota.Tpo .deps/quota.Po db.c: In function 'db_icheck_messages': db.c:1612:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 995 [-Wformat-truncation=] "SELECT msg.message_idnr FROM %smessages msg " ^~ cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT dm_imaputil.o -MD -MP -MF .deps/dm_imaputil.Tpo -c -o dm_imaputil.o dm_imaputil.c db.c:1611:2: note: 'snprintf' output between 134 and 2180 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT msg.message_idnr FROM %smessages msg " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %smailboxes mbx ON " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "msg.mailbox_idnr=mbx.mailbox_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mbx.mailbox_idnr IS NULL",DBPFX,DBPFX); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_icheck_mailboxes': db.c:1656:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 995 [-Wformat-truncation=] "SELECT mbx.mailbox_idnr FROM %smailboxes mbx " ^~ db.c:1655:2: note: 'snprintf' output between 123 and 2169 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT mbx.mailbox_idnr FROM %smailboxes mbx " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %susers usr ON " ~~~~~~~~~~~~~~~~~~~~~~~~~~~ "mbx.owner_idnr=usr.user_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE usr.user_idnr is NULL",DBPFX,DBPFX); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:651:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy((char *)md5_apop_he, searchptr, strlen(searchptr) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:651:43: note: length computed here strncpy((char *)md5_apop_he, searchptr, strlen(searchptr) + 1); ^~~~~~~~~~~~~~~~~ pop3.c:652:3: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(session->username, value, strlen(value) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:652:37: note: length computed here strncpy(session->username, value, strlen(value) + 1); ^~~~~~~~~~~~~ pop3.c:395:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(session->password, value, strlen(value) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:395:38: note: length computed here strncpy(session->password, value, strlen(value) + 1); ^~~~~~~~~~~~~ pop3.c:377:4: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(session->username, value, strlen(value) + 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pop3.c:377:38: note: length computed here strncpy(session->username, value, strlen(value) + 1); ^~~~~~~~~~~~~ mv -f .deps/libdbmail_la-sortmodule.Tpo .deps/libdbmail_la-sortmodule.Plo cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT imapcommands.o -MD -MP -MF .deps/imapcommands.Tpo -c -o imapcommands.o imapcommands.c mv -f .deps/dm_imaputil.Tpo .deps/dm_imaputil.Po cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT memblock.o -MD -MP -MF .deps/memblock.Tpo -c -o memblock.o memblock.c mv -f .deps/pop3.Tpo .deps/pop3.Po cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT imapd.o -MD -MP -MF .deps/imapd.Tpo -c -o imapd.o imapd.c imapcommands.c: In function '_ic_id': imapcommands.c:110:19: warning: unused variable 'ud' [-Wunused-variable] imap_userdata_t *ud = (imap_userdata_t *) self->ci->userData; ^~ In file included from dbmail.h:88, from imapcommands.c:28: imapcommands.c: In function '_ic_logout': imapcommands.c:139:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "user (id:%llu) logging out @ [%s]", ud->userid, timestring); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ imapcommands.c: In function '_ic_select': imapcommands.c:292:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "detected invalid permission mode for mailbox %llu ('%s')", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ud->mailbox.uid, self->args[self->args_idx]); ~~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ imapcommands.c: In function '_ic_rename': imapcommands.c:535:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "Checking right to DELETE [%llu]", mboxid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ imapcommands.c:539:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "We have the right to DELETE [%llu]", mboxid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ imapcommands.c:543:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "Checking right to CREATE under [%llu]", parentmboxid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ imapcommands.c:547:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "We have the right to CREATE under [%llu]", parentmboxid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ imapcommands.c: In function '_ic_append': imapcommands.c:1032:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG, "mailbox [%s] found, id: %llu", self->args[0], mboxid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ imapcommands.c:1176:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_ERROR, "error setting flags for message [%llu]", msg_idnr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ imapcommands.c: In function '_ic_expunge': imapcommands.c:1325:22: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"can't find uid [%llu]", uid); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ imapcommands.c: In function 'sorted_search': imapcommands.c:1355:11: warning: variable 'sorted' set but not used [-Wunused-but-set-variable] gboolean sorted; ^~~~~~ In file included from dbmail.h:88, from imapcommands.c:28: imapcommands.c: In function '_ic_fetch': imapcommands.c:1531:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"dbmail_imap_session_fetch_parse_args loop idx %llu state %d ", self->args_idx, state); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ imapcommands.c: In function '_do_store': imapcommands.c:1572:24: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_WARNING, "unable to lookup msginfo struct for [%llu]", *id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ mv -f .deps/memblock.Tpo .deps/memblock.Po cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT dbmail-imapsession.o -MD -MP -MF .deps/dbmail-imapsession.Tpo -c -o dbmail-imapsession.o dbmail-imapsession.c mv -f .deps/imap4.Tpo .deps/imap4.Po cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT maintenance.o -MD -MP -MF .deps/maintenance.Tpo -c -o maintenance.o maintenance.c db.c: In function 'db_icheck_null_physmessages': db.c:1701:23: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1006 [-Wformat-truncation=] "SELECT pm.id FROM %sphysmessage pm " ^~ db.c:1700:2: note: 'snprintf' output between 122 and 2168 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT pm.id FROM %sphysmessage pm " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %smessageblks mbk ON " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "pm.id = mbk.physmessage_id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mbk.physmessage_id is NULL",DBPFX,DBPFX); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/imapd.Tpo .deps/imapd.Po cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT user.o -MD -MP -MF .deps/user.Tpo -c -o user.o user.c In file included from dbmail.h:88, from dbmail-imapsession.c:28: dbmail-imapsession.c: In function '_imap_cache_update': dbmail-imapsession.c:355:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"cache message [%llu] filter [%d]", self->msg_idnr, filter); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-imapsession.c:406:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"cache size [%llu]", outcnt); ^~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-imapsession.c: In function '_imap_session_fetch_parse_octet_range': dbmail-imapsession.c:547:54: warning: implicit declaration of function 'strtoll'; did you mean 'strcoll'? [-Wimplicit-function-declaration] dbmail_imap_session_bodyfetch_set_octetstart(self, strtoll(&token[1], NULL, 10)); ^~~~~~~ strcoll In file included from dbmail.h:88, from dbmail-imapsession.c:28: dbmail-imapsession.c: In function 'dbmail_imap_session_fetch_parse_args': dbmail-imapsession.c:597:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"parse args[%llu] = [%s]", self->args_idx, token); ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-imapsession.c:572:6: warning: variable 'invalidargs' set but not used [-Wunused-but-set-variable] int invalidargs, ispeek = 0, i; ^~~~~~~~~~~ dbmail-imapsession.c: In function 'dbmail_imap_session_get_msginfo': dbmail-imapsession.c:741:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(range,RANGE_SIZE,"= %llu", *lo); ~~~^ ~~~ %lu dbmail-imapsession.c:743:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(range,RANGE_SIZE,"BETWEEN %llu AND %llu", *lo, *hi); ~~~^ ~~~ %lu dbmail-imapsession.c:743:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(range,RANGE_SIZE,"BETWEEN %llu AND %llu", *lo, *hi); ~~~^ ~~~ %lu dbmail-imapsession.c:746:4: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] "SELECT seen_flag, answered_flag, deleted_flag, flagged_flag, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-imapsession.c:753:11: range, ud->mailbox.uid, ~~~~~~~~~~~~~~~ dbmail-imapsession.c:751:27: note: format string is defined here "AND mailbox_idnr = %llu AND status IN (%d,%d,%d) " ~~~^ %lu dbmail-imapsession.c:768:28: warning: cast between incompatible function types from 'gint (*)(const guint64 *, const guint64 *)' {aka 'int (*)(const long unsigned int *, const long unsigned int *)'} to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] msginfo = g_tree_new_full((GCompareDataFunc)ucmp,NULL,(GDestroyNotify)g_free,(GDestroyNotify)g_free); ^ dbmail-imapsession.c:708:24: warning: variable 'k' set but not used [-Wunused-but-set-variable] unsigned nrows, i, j, k; ^ dbmail-imapsession.c: In function '_fetch_get_items': dbmail-imapsession.c:828:77: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] self->recent = g_list_prepend(self->recent, g_strdup_printf("%llu",self->msg_idnr)); ~~~^ ~~~~~~~~~~~~~~ %lu dbmail-imapsession.c: In function '_imap_show_body_sections': dbmail-imapsession.c:1033:37: warning: cast between incompatible function types from 'int (*)(body_fetch_t *, void *)' {aka 'int (*)(struct *, void *)'} to 'void (*)(void *, void *)' [-Wcast-function-type] g_list_foreach(self->fi->bodyfetch,(GFunc)_imap_show_body_section, (gpointer)self); ^ dbmail-imapsession.c: In function '_fetch_envelopes': dbmail-imapsession.c:1071:37: warning: cast between incompatible function types from 'gint (*)(const guint64 *, const guint64 *)' {aka 'int (*)(const long unsigned int *, const long unsigned int *)'} to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] self->envelopes = g_tree_new_full((GCompareDataFunc)ucmp,NULL,(GDestroyNotify)g_free,(GDestroyNotify)g_free); ^ dbmail-imapsession.c:1088:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(range,RANGE_SIZE,"= %llu", self->msg_idnr); ~~~^ ~~~~~~~~~~~~~~ %lu dbmail-imapsession.c:1090:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(range,RANGE_SIZE,"BETWEEN %llu AND %llu", self->msg_idnr, hi); ~~~^ ~~~~~~~~~~~~~~ %lu dbmail-imapsession.c:1090:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(range,RANGE_SIZE,"BETWEEN %llu AND %llu", self->msg_idnr, hi); ~~~^ ~~ %lu dbmail-imapsession.c:1093:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q,"SELECT message_idnr,envelope " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-imapsession.c:1099:4: self->mailbox->id, range); ~~~~~~~~~~~~~~~~~ dbmail-imapsession.c:1096:31: note: format string is defined here "WHERE m.mailbox_idnr = %llu " ~~~^ %lu dbmail-imapsession.c: In function '_fetch_headers': dbmail-imapsession.c:1189:35: warning: cast between incompatible function types from 'gint (*)(const guint64 *, const guint64 *)' {aka 'int (*)(const long unsigned int *, const long unsigned int *)'} to 'gint (*)(const void *, const void *, void *)' {aka 'int (*)(const void *, const void *, void *)'} [-Wcast-function-type] self->headers = g_tree_new_full((GCompareDataFunc)ucmp,NULL,(GDestroyNotify)g_free,(GDestroyNotify)g_free); ^ In file included from dbmail.h:88, from dbmail-imapsession.c:28: dbmail-imapsession.c:1216:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"for %llu [%s]", self->msg_idnr, bodyfetch->hdrplist); ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-imapsession.c:1232:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(range,RANGE_SIZE,"= %llu", self->msg_idnr); ~~~^ ~~~~~~~~~~~~~~ %lu dbmail-imapsession.c:1234:41: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(range,RANGE_SIZE,"BETWEEN %llu AND %llu", self->msg_idnr, hi); ~~~^ ~~~~~~~~~~~~~~ %lu dbmail-imapsession.c:1234:50: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] snprintf(range,RANGE_SIZE,"BETWEEN %llu AND %llu", self->msg_idnr, hi); ~~~^ ~~ %lu dbmail-imapsession.c:1236:20: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 6 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_string_printf(q,"SELECT message_idnr,headername,headervalue " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-imapsession.c:1244:4: self->mailbox->id, range, ~~~~~~~~~~~~~~~~~ dbmail-imapsession.c:1240:31: note: format string is defined here "WHERE m.mailbox_idnr = %llu " ~~~^ %lu In file included from dbmail.h:88, from dbmail-imapsession.c:28: dbmail-imapsession.c: In function 'dbmail_imap_session_handle_auth': dbmail-imapsession.c:1624:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "user (id:%llu, name %s) tries login", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ userid, username); ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-imapsession.c:1646:23: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_MESSAGE, "user (id %llu, name %s) login accepted", userid, username); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-imapsession.c: In function 'imap_msginfo_notify': dbmail-imapsession.c:1774:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_DEBUG,"can't find uid [%llu]", *uid); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ user.c: In function 'main': user.c:197:15: warning: implicit declaration of function 'strtoull'; did you mean 'strtoul'? [-Wimplicit-function-declaration] clientid = strtoull(optarg, NULL, 10); ^~~~~~~~ strtoul dbmail-imapsession.c: In function 'dbmail_imap_session_mailbox_open': dbmail-imapsession.c:1966:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 7 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] TRACE(TRACE_INFO, "Auto-creating INBOX for user id [%llu]", ud->userid); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ debug.h:53:86: note: in definition of macro 'TRACE' #define TRACE(level, fmt...) trace(level, THIS_MODULE, __FILE__, __func__, __LINE__, fmt) ^~~ dbmail-imapsession.c: In function '_imap_show_body_section': dbmail-imapsession.c:1375:12: warning: this statement may fall through [-Wimplicit-fallthrough=] condition=TRUE; dbmail-imapsession.c:1377:2: note: here case BFIT_HEADER_FIELDS: ^~~~ maintenance.c: In function 'do_purge_deleted': maintenance.c:316:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Ok. [%llu] messages have DELETE status.\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deleted_messages); ~~~~~~~~~~~~~~~~ maintenance.c:42:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ maintenance.c:327:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Ok. [%llu] messages deleted.\n", deleted_messages); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ maintenance.c:42:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ maintenance.c: In function 'do_set_deleted': maintenance.c:345:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Ok. [%llu] messages need to be set for deletion.\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ messages_set_to_delete); ~~~~~~~~~~~~~~~~~~~~~~ maintenance.c:42:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ maintenance.c:356:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Ok. [%llu] messages set for deletion.\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ messages_set_to_delete); ~~~~~~~~~~~~~~~~~~~~~~ maintenance.c:42:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ maintenance.c: In function 'do_dangling_aliases': maintenance.c:431:35: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] g_snprintf(deliver_to, 21, "%llu", *(u64_t *)dangling->data); ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ %lu maintenance.c: In function 'do_null_messages': maintenance.c:499:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qerrorf("Warning: could not set status on message [%llu]. Check log.\n", id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ maintenance.c:43:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ maintenance.c:501:16: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qverbosef("[%llu] set to MESSAGE_STATUS_ERROR)\n", id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ maintenance.c:41:56: note: in definition of macro 'qverbosef' #define qverbosef(fmt, args...) (!verbose ? 0 : printf(fmt, ##args) ) ^~~ maintenance.c:529:13: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qerrorf("Warning: could not delete physmessage [%llu]. Check log.\n", id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ maintenance.c:43:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ maintenance.c:531:15: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qverbosef("[%llu] deleted.\n", id); ^~~~~~~~~~~~~~~~~~~ ~~ maintenance.c:41:56: note: in definition of macro 'qverbosef' #define qverbosef(fmt, args...) (!verbose ? 0 : printf(fmt, ##args) ) ^~~ maintenance.c: In function 'do_check_integrity': maintenance.c:587:13: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qerrorf("%llu ", id); ^~~~~~~ ~~ maintenance.c:43:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ maintenance.c:591:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] ("Warning: could not delete messageblock #%llu. Check log.\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ id); ~~ maintenance.c:43:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ maintenance.c:595:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] ("%llu (removed from dbase)\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ id); ~~ maintenance.c:43:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ maintenance.c:670:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qerrorf("%llu ", id); ^~~~~~~ ~~ maintenance.c:43:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ maintenance.c:674:12: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] ("Warning: could not delete message #%llu. Check log.\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ id); ~~ maintenance.c:43:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ maintenance.c:678:12: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] ("%llu (removed from dbase)\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ id); ~~ maintenance.c:43:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ maintenance.c:723:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qerrorf("%llu ", id); ^~~~~~~ ~~ maintenance.c:43:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ maintenance.c:726:15: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qerrorf("Warning: could not delete mailbox #%llu. Check log.\n", id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ maintenance.c:43:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ maintenance.c:728:15: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qerrorf("%llu (removed from dbase)\n", id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ maintenance.c:43:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ maintenance.c: In function 'do_check_iplog': maintenance.c:949:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Ok. [%llu] IP entries are older than [%s].\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_count, timestring); ~~~~~~~~~ maintenance.c:42:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ maintenance.c:960:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Ok. [%llu] IP entries were older than [%s].\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_count, timestring); ~~~~~~~~~ maintenance.c:42:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ maintenance.c: In function 'do_check_replycache': maintenance.c:985:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Ok. [%llu] RC entries are older than [%s].\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_count, timestring); ~~~~~~~~~ maintenance.c:42:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ maintenance.c:996:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qprintf("Ok. [%llu] RC entries were older than [%s].\n", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ log_count, timestring); ~~~~~~~~~ maintenance.c:42:66: note: in definition of macro 'qprintf' #define qprintf(fmt, args...) ((quiet||reallyquiet) ? 0 : printf(fmt, ##args) ) ^~~ db.c: In function 'db_icheck_null_messages': db.c:1746:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 995 [-Wformat-truncation=] "SELECT msg.message_idnr FROM %smessages msg " ^~ db.c:1745:2: note: 'snprintf' output between 117 and 2163 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT msg.message_idnr FROM %smessages msg " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %sphysmessage pm ON " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "msg.physmessage_id = pm.id WHERE pm.id is NULL",DBPFX,DBPFX); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/user.Tpo .deps/user.Po cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT export.o -MD -MP -MF .deps/export.Tpo -c -o export.o export.c db.c: In function 'db_icheck_rfcsize': db.c:1844:20: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1009 [-Wformat-truncation=] "SELECT id FROM %sphysmessage WHERE rfcsize=0", ^~ db.c:1843:2: note: 'snprintf' output between 43 and 1066 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT id FROM %sphysmessage WHERE rfcsize=0", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX); ~~~~~~ dbmail-imapsession.c: In function 'imap_session_update_recent': dbmail-imapsession.c:2095:42: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "UPDATE %smessages SET recent_flag = 0 " ^~ dbmail-imapsession.c:2095:3: note: 'snprintf' output 81 or more bytes (assuming 1104) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "UPDATE %smessages SET recent_flag = 0 " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE message_idnr IN (%s) AND recent_flag = 1", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, (gchar *)slices->data); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_icheck_headercache': db.c:1959:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=] "SELECT p.id FROM %sphysmessage p " ^~ db.c:1958:2: note: 'snprintf' output between 113 and 2159 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT p.id FROM %sphysmessage p " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %sheadervalue h " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "ON p.id = h.physmessage_id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE h.physmessage_id IS NULL", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, DBPFX); ~~~~~~~~~~~~~ db.c: In function 'db_icheck_envelope': db.c:2023:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=] "SELECT p.id FROM %sphysmessage p " ^~ db.c:2022:2: note: 'snprintf' output between 110 and 2156 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT p.id FROM %sphysmessage p " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %senvelope e " ~~~~~~~~~~~~~~~~~~~~~~~~~ "ON p.id = e.physmessage_id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE e.physmessage_id IS NULL", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, DBPFX); ~~~~~~~~~~~~~ db.c: In function 'db_get_mailbox_size': db.c:3693:38: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 992 [-Wformat-truncation=] "SELECT sum(pm.messagesize) FROM %smessages msg, " ^~ db.c:3692:3: note: 'snprintf' output between 138 and 2203 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT sum(pm.messagesize) FROM %smessages msg, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%sphysmessage pm " ~~~~~~~~~~~~~~~~~~~ "WHERE msg.physmessage_id = pm.id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND msg.mailbox_idnr = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND msg.status < %d",DBPFX,DBPFX, mailbox_idnr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~ db.c:3684:38: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 992 [-Wformat-truncation=] "SELECT sum(pm.messagesize) FROM %smessages msg, " ^~ db.c:3683:3: note: 'snprintf' output between 163 and 2228 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT sum(pm.messagesize) FROM %smessages msg, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%sphysmessage pm " ~~~~~~~~~~~~~~~~~~~ "WHERE msg.physmessage_id = pm.id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND msg.mailbox_idnr = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND msg.status < %d " ~~~~~~~~~~~~~~~~~~~~~~ "AND msg.deleted_flag = 1",DBPFX,DBPFX, mailbox_idnr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_removemsg': db.c:3732:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %smessages SET status=%d WHERE mailbox_idnr = %llu",DBPFX, ^~ db.c:3731:2: note: 'snprintf' output between 52 and 1094 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %smessages SET status=%d WHERE mailbox_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_PURGE, mailbox_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'mailbox_empty': db.c:2165:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT message_idnr FROM %smessages " ^~ db.c:2164:2: note: 'snprintf' output between 57 and 1099 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT message_idnr FROM %smessages " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_idnr = %llu",DBPFX, mailbox_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-imapsession.c: In function 'dbmail_imap_session_get_msginfo': dbmail-imapsession.c:746:4: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 909 [-Wformat-truncation=] "SELECT seen_flag, answered_flag, deleted_flag, flagged_flag, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-imapsession.c:748:10: note: format string is defined here "FROM %smessages msg, %sphysmessage pm " ^~ dbmail-imapsession.c:745:2: note: 'snprintf' output 264 or more bytes (assuming 2437) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT seen_flag, answered_flag, deleted_flag, flagged_flag, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "draft_flag, recent_flag, %s, rfcsize, message_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %smessages msg, %sphysmessage pm " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE pm.id = msg.physmessage_id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND message_idnr %s " ~~~~~~~~~~~~~~~~~~~~~~ "AND mailbox_idnr = %llu AND status IN (%d,%d,%d) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "ORDER BY message_idnr ASC",to_char_str,DBPFX,DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ range, ud->mailbox.uid, ~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_NEW, MESSAGE_STATUS_SEEN,MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dbmail-imapsession.c:784:3: warning: 'strncpy' specified bound 27 equals destination size [-Wstringop-truncation] strncpy(result->internaldate, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (query_result) ? query_result : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "01-Jan-1970 00:00:01 +0100", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IMAP_INTERNALDATE_LEN); ~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_deleted_purge': db.c:2507:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT message_idnr FROM %smessages WHERE status=%d",DBPFX, ^~ db.c:2506:2: note: 'snprintf' output between 49 and 1072 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT message_idnr FROM %smessages WHERE status=%d",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_PURGE); ~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_findmailbox_owner': db.c:2753:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT mailbox_idnr FROM %smailboxes " ^~ db.c:2752:2: note: 'snprintf' output 59 or more bytes (assuming 1082) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT mailbox_idnr FROM %smailboxes " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE %s AND owner_idnr=%llu", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, mailbox_like, owner_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dbmail.h:133, from export.c:25: export.c: In function 'mailbox_dump': export.c:136:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qerrorf("Error setting flags for message [%llu]\n", *(u64_t *)ids->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ dbmail-user.h:27:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ export.c:145:14: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'guint64' {aka 'long unsigned int'} [-Wformat=] qerrorf("Error setting status for message [%llu]\n", *(u64_t *)ids->data); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ dbmail-user.h:27:66: note: in definition of macro 'qerrorf' #define qerrorf(fmt, args...) (reallyquiet ? 0 : fprintf(stderr, fmt, ##args) ) ^~~ db.c: In function 'mailboxes_by_regex': db.c:2848:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 959 [-Wformat-truncation=] "SELECT distinct(mbx.name), mbx.mailbox_idnr, mbx.owner_idnr " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2849:11: note: format string is defined here "FROM %smailboxes mbx " ^~ db.c:2847:3: note: 'snprintf' output 319 or more bytes (assuming 3389) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT distinct(mbx.name), mbx.mailbox_idnr, mbx.owner_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %smailboxes mbx " ~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %sacl acl ON mbx.mailbox_idnr = acl.mailbox_id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %susers usr ON acl.user_id = usr.user_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE %s 1=1 " ~~~~~~~~~~~~~~~ "AND ((mbx.owner_idnr = %llu) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s (acl.user_id = %llu AND acl.lookup_flag = 1) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "OR (usr.userid = '%s' AND acl.lookup_flag = 1))", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, DBPFX, DBPFX, matchname, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search_user_idnr, ~~~~~~~~~~~~~~~~~ search_user_idnr == user_idnr?"OR":"AND", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr, DBMAIL_ACL_ANYONE_USER); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2832:5: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 959 [-Wformat-truncation=] "SELECT distinct(mbx.name), mbx.mailbox_idnr, mbx.owner_idnr " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2833:11: note: format string is defined here "FROM %smailboxes mbx " ^~ db.c:2831:3: note: 'snprintf' output 397 or more bytes (assuming 4490) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT distinct(mbx.name), mbx.mailbox_idnr, mbx.owner_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %smailboxes mbx " ~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %sacl acl ON mbx.mailbox_idnr = acl.mailbox_id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %susers usr ON acl.user_id = usr.user_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "LEFT JOIN %ssubscription sub ON sub.mailbox_id = mbx.mailbox_idnr " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE %s (sub.user_id = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND ((mbx.owner_idnr = %llu) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s (acl.user_id = %llu AND acl.lookup_flag = 1) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "OR (usr.userid = '%s' AND acl.lookup_flag = 1)))", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, DBPFX, DBPFX, DBPFX, matchname, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr, search_user_idnr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search_user_idnr == user_idnr?"OR":"AND", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr, ~~~~~~~~~~ DBMAIL_ACL_ANYONE_USER); ~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_getmailbox_count': db.c:3003:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] "SELECT 0,COUNT(*) FROM %smessages WHERE mailbox_idnr=%llu " ^~ db.c:3002:2: note: 'snprintf' output between 256 and 3382 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT 0,COUNT(*) FROM %smessages WHERE mailbox_idnr=%llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND (status < %d) UNION " ~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT 1,COUNT(*) FROM %smessages WHERE mailbox_idnr=%llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND (status < %d) AND seen_flag=1 UNION " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT 2,COUNT(*) FROM %smessages WHERE mailbox_idnr=%llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND (status < %d) AND recent_flag=1", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, mb->uid, MESSAGE_STATUS_DELETE, // MESSAGE_STATUS_NEW, MESSAGE_STATUS_SEEN, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, mb->uid, MESSAGE_STATUS_DELETE, // MESSAGE_STATUS_NEW, MESSAGE_STATUS_SEEN, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, mb->uid, MESSAGE_STATUS_DELETE); // MESSAGE_STATUS_NEW, MESSAGE_STATUS_SEEN); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3037:66: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 992 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "SELECT max(message_idnr)+1 FROM %smessages " ^~ db.c:3037:2: note: 'snprintf' output between 63 and 1105 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "SELECT max(message_idnr)+1 FROM %smessages " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_idnr=%llu ", DBPFX, mb->uid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_listmailboxchildren': db.c:3516:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=] "SELECT name FROM %smailboxes WHERE " ^~ db.c:3515:2: note: 'snprintf' output between 69 and 1130 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT name FROM %smailboxes WHERE " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "mailbox_idnr = %llu AND owner_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3542:31: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT mailbox_idnr FROM %smailboxes WHERE %s" ^~ db.c:3541:3: note: 'snprintf' output 61 or more bytes (assuming 1084) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT mailbox_idnr FROM %smailboxes WHERE %s" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " AND owner_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_like, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3549:31: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT mailbox_idnr FROM %smailboxes WHERE" ^~ db.c:3548:3: note: 'snprintf' output between 56 and 1098 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT mailbox_idnr FROM %smailboxes WHERE" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " owner_idnr = %llu", DBPFX, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_copymsg': db.c:3812:32: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 997 [-Wformat-truncation=] "SELECT pm.messagesize FROM %sphysmessage pm, %smessages msg " ^~ db.c:3811:2: note: 'snprintf' output between 110 and 2175 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT pm.messagesize FROM %sphysmessage pm, %smessages msg " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE pm.id = msg.physmessage_id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND message_idnr = %llu",DBPFX,DBPFX, message_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:468:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] "SELECT 1 FROM %susers " ^~ db.c:467:2: note: 'snprintf' output between 67 and 1147 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT 1 FROM %susers " ~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~ "AND (curmail_size + %llu > %llu)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, user_idnr, msg_size, maxmail_size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3857:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "INSERT INTO %smessages (mailbox_idnr," ^~ db.c:3856:2: note: 'snprintf' output between 302 and 2455 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "INSERT INTO %smessages (mailbox_idnr," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "physmessage_id, seen_flag, answered_flag, deleted_flag, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "flagged_flag, recent_flag, draft_flag, unique_id, status) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT %llu, " ~~~~~~~~~~~~~~~ "physmessage_id, seen_flag, answered_flag, deleted_flag, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "flagged_flag, recent_flag, draft_flag, '%s', status " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %smessages WHERE message_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_to, unique_id,DBPFX, msg_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_expunge': db.c:4019:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %smessages SET status=%d " ^~ db.c:4018:2: note: 'snprintf' output between 86 and 1128 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %smessages SET status=%d " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_idnr = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND deleted_flag=1 AND status < %d",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_DELETE, mailbox_idnr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~ db.c:3987:31: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT message_idnr FROM %smessages WHERE " ^~ db.c:3986:3: note: 'snprintf' output between 118 and 1160 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT message_idnr FROM %smessages WHERE " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "mailbox_idnr = %llu AND deleted_flag=1 " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND status < %d " ~~~~~~~~~~~~~~~~~~ "ORDER BY message_idnr DESC",DBPFX, mailbox_idnr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~ db.c:4019:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %smessages SET status=%d " ^~ db.c:4018:2: note: 'snprintf' output between 86 and 1128 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %smessages SET status=%d " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_idnr = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND deleted_flag=1 AND status < %d",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_DELETE, mailbox_idnr, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/export.Tpo .deps/export.Po cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT lmtp.o -MD -MP -MF .deps/lmtp.Tpo -c -o lmtp.o lmtp.c db.c: In function 'db_first_unseen': db.c:4055:35: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 994 [-Wformat-truncation=] "SELECT MIN(message_idnr) FROM %smessages " ^~ db.c:4054:2: note: 'snprintf' output between 95 and 1137 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT MIN(message_idnr) FROM %smessages " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_idnr = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND status < %d AND seen_flag = 0", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, mailbox_idnr, MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_get_mailbox_owner': db.c:4516:28: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1001 [-Wformat-truncation=] "SELECT owner_idnr FROM %smailboxes " ^~ db.c:4515:2: note: 'snprintf' output between 56 and 1098 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT owner_idnr FROM %smailboxes " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE mailbox_idnr = %llu", DBPFX, mboxid); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_getmailboxname': db.c:3903:22: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=] "SELECT name FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ^~ db.c:3902:2: note: 'snprintf' output between 50 and 1092 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT name FROM %smailboxes WHERE mailbox_idnr = %llu",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr); ~~~~~~~~~~~~~ db.c:3935:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(name, tmp_fq_name, tmp_fq_name_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:3932:20: note: length computed here tmp_fq_name_len = strlen(tmp_fq_name); ^~~~~~~~~~~~~~~~~~~ db.c: In function 'db_acl_has_right': db.c:4262:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] "SELECT * FROM %sacl " ^~ db.c:4261:2: note: 'snprintf' output 64 or more bytes (assuming 1087) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT * FROM %sacl " ~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_id = %llu " ~~~~~~~~~~~~~~~~~~~~~~~ "AND mailbox_id = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~ "AND %s = 1",DBPFX, userid, mboxid, right_flag); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_empty_mailbox': db.c:1464:30: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] "SELECT mailbox_idnr FROM %smailboxes WHERE owner_idnr=%llu", ^~ db.c:1463:2: note: 'snprintf' output between 54 and 1096 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT mailbox_idnr FROM %smailboxes WHERE owner_idnr=%llu", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, user_idnr); ~~~~~~~~~~~~~~~~~ db.c: In function 'db_getmailbox_list_result': db.c:4648:4: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 970 [-Wformat-truncation=] "SELECT owner_idnr, name, no_select, no_inferiors " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4649:10: note: format string is defined here "FROM %smailboxes WHERE mailbox_idnr = %llu", ^~ db.c:4647:2: note: 'snprintf' output between 87 and 1129 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT owner_idnr, name, no_select, no_inferiors " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %smailboxes WHERE mailbox_idnr = %llu", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, mailbox_idnr); ~~~~~~~~~~~~~~~~~~~~ db.c:4685:4: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 988 [-Wformat-truncation=] "SELECT COUNT(*) AS nr_children " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4686:10: note: format string is defined here "FROM %smailboxes WHERE owner_idnr = %llu " ^~ db.c:4684:2: note: 'snprintf' output 72 or more bytes (assuming 1095) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT COUNT(*) AS nr_children " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "FROM %smailboxes WHERE owner_idnr = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND %s", ~~~~~~~~~ DBPFX, mb->owner_idnr, mailbox_like); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/imapcommands.Tpo .deps/imapcommands.Po lmtp.c: In function 'lmtp_handle_connection': lmtp.c:125:2: warning: implicit declaration of function 'gethostname'; did you mean 'sethostname'? [-Wimplicit-function-declaration] gethostname(myhostname, 64); ^~~~~~~~~~~ sethostname cc -DHAVE_CONFIG_H -I. -I. -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -MT lmtpd.o -MD -MP -MF .deps/lmtpd.Tpo -c -o lmtpd.o lmtpd.c mv -f .deps/lmtpd.Tpo .deps/lmtpd.Po db.c: In function 'db_usermap_resolve': db.c:4745:64: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size between 27 and 1051 [-Wformat-truncation=] snprintf(clientsock, DM_SOCKADDR_LEN, "inet:%s:%s", ci->dst_ip, ci->dst_port); ^~ db.c:4745:17: note: 'snprintf' output between 7 and 1062 bytes into a destination of size 1057 snprintf(clientsock, DM_SOCKADDR_LEN, "inet:%s:%s", ci->dst_ip, ci->dst_port); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4752:83: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 975 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "SELECT login, sock_allow, sock_deny, userid FROM %susermap " ^~ db.c:4752:2: note: 'snprintf' output 114 or more bytes (assuming 1137) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "SELECT login, sock_allow, sock_deny, userid FROM %susermap " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE login in ('%s','ANY') " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "ORDER BY sock_allow, sock_deny", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, escaped_username); ~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_user_exists': db.c:4843:27: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1002 [-Wformat-truncation=] "SELECT user_idnr FROM %susers WHERE lower(userid) = lower('%s')", ^~ db.c:4842:2: note: 'snprintf' output 60 or more bytes (assuming 1083) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT user_idnr FROM %susers WHERE lower(userid) = lower('%s')", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, escaped_username); ~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_user_create': db.c:4883:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1010 [-Wformat-truncation=] "SELECT * FROM %susers WHERE userid = '%s'",DBPFX, escaped_username); ^~ db.c:4882:2: note: 'snprintf' output 38 or more bytes (assuming 1061) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT * FROM %susers WHERE userid = '%s'",DBPFX, escaped_username); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4914:47: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "INSERT INTO %susers " ^~ db.c:4914:3: note: 'snprintf' output 123 or more bytes (assuming 1146) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "INSERT INTO %susers " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "(userid,user_idnr,passwd,client_idnr,maxmail_size," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "encryption_type, last_login) VALUES " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "('%s',%llu,'%s',%llu,%llu,'%s', %s)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX,escaped_username,*user_idnr, escaped_password,clientid, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maxmail, enctype ? enctype : "", db_get_sql(SQL_CURRENT_TIMESTAMP)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:4907:47: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "INSERT INTO %susers " ^~ db.c:4907:3: note: 'snprintf' output 111 or more bytes (assuming 1134) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "INSERT INTO %susers " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "(userid,passwd,client_idnr,maxmail_size," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "encryption_type, last_login) VALUES " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "('%s','%s',%llu,%llu,'%s', %s)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, escaped_username, escaped_password, clientid, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ maxmail, enctype ? enctype : "", db_get_sql(SQL_CURRENT_TIMESTAMP)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_change_mailboxsize': db.c:4940:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %susers SET maxmail_size = %llu " ^~ db.c:4939:2: note: 'snprintf' output between 54 and 1115 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %susers SET maxmail_size = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu", ~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, new_size, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_user_delete': db.c:4960:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "DELETE FROM %susers WHERE userid = '%s'", ^~ db.c:4960:2: note: 'snprintf' output 36 or more bytes (assuming 1059) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "DELETE FROM %susers WHERE userid = '%s'", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, escaped_username); ~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_user_rename': db.c:4981:41: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] snprintf(query, DEF_QUERYSIZE, "UPDATE %susers SET userid = '%s' WHERE user_idnr=%llu", ^~ db.c:4981:2: note: 'snprintf' output 47 or more bytes (assuming 1070) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, "UPDATE %susers SET userid = '%s' WHERE user_idnr=%llu", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, escaped_new_name, user_idnr); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/lmtp.Tpo .deps/lmtp.Po db.c: In function 'db_createmailbox': db.c:3404:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "INSERT INTO %smailboxes (name, owner_idnr," ^~ db.c:3403:2: note: 'snprintf' output 167 or more bytes (assuming 1190) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "INSERT INTO %smailboxes (name, owner_idnr," ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "seen_flag, answered_flag, deleted_flag, flagged_flag, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "recent_flag, draft_flag, permission)" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ " VALUES ('%s', %llu, 1, 1, 1, 1, 1, 1, %d)",DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ escaped_simple_name, owner_idnr, IMAPPERM_READWRITE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_createsession': db.c:2327:4: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 952 [-Wformat-truncation=] "SELECT pm.messagesize, msg.message_idnr, msg.status, " ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2328:24: note: format string is defined here "msg.unique_id FROM %smessages msg, %sphysmessage pm " ^~ db.c:2326:2: note: 'snprintf' output between 209 and 2274 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT pm.messagesize, msg.message_idnr, msg.status, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "msg.unique_id FROM %smessages msg, %sphysmessage pm " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE msg.mailbox_idnr = %llu " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND msg.status < %d " ~~~~~~~~~~~~~~~~~~~~~~ "AND msg.physmessage_id = pm.id " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "ORDER BY msg.message_idnr DESC",DBPFX,DBPFX, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailbox_idnr, MESSAGE_STATUS_DELETE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:2368:4: warning: 'strncpy' specified bound 70 equals destination size [-Wstringop-truncation] strncpy(tmpmessage.uidl, query_result, UID_SIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_replycache_register': db.c:5046:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] "SELECT lastseen FROM %sreplycache " ^~ db.c:5045:2: note: 'snprintf' output 90 or more bytes (assuming 1113) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT lastseen FROM %sreplycache " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE to_addr = '%s' " ~~~~~~~~~~~~~~~~~~~~~~~ "AND from_addr = '%s' " ~~~~~~~~~~~~~~~~~~~~~~~ "AND handle = '%s' ", ~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, escaped_to, escaped_from, escaped_handle); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:5069:18: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "INSERT INTO %sreplycache (to_addr, from_addr, handle, lastseen) " ^~ db.c:5068:3: note: 'snprintf' output 82 or more bytes (assuming 1105) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "INSERT INTO %sreplycache (to_addr, from_addr, handle, lastseen) " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "VALUES ('%s','%s','%s', %s)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, escaped_to, escaped_from, escaped_handle, db_get_sql(SQL_CURRENT_TIMESTAMP)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c:5062:13: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %sreplycache SET lastseen = %s " ^~ db.c:5061:3: note: 'snprintf' output 88 or more bytes (assuming 1111) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %sreplycache SET lastseen = %s " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE to_addr = '%s' AND from_addr = '%s' " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND handle = '%s'", ~~~~~~~~~~~~~~~~~~~~ DBPFX, db_get_sql(SQL_CURRENT_TIMESTAMP), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ escaped_to, escaped_from, escaped_handle); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_replycache_unregister': db.c:5097:17: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] "DELETE FROM %sreplycache " ^~ db.c:5096:2: note: 'snprintf' output 81 or more bytes (assuming 1104) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "DELETE FROM %sreplycache " ~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE to_addr = '%s' " ~~~~~~~~~~~~~~~~~~~~~~~ "AND from_addr = '%s' " ~~~~~~~~~~~~~~~~~~~~~~~ "AND handle = '%s' ", ~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, escaped_to, escaped_from, escaped_handle); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_replycache_validate': db.c:5133:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=] "SELECT lastseen FROM %sreplycache " ^~ db.c:5132:2: note: 'snprintf' output 104 or more bytes (assuming 1127) into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SELECT lastseen FROM %sreplycache " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE to_addr = '%s' AND from_addr = '%s' " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "AND handle = '%s' AND lastseen > (%s)", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DBPFX, escaped_to, escaped_from, escaped_handle, tmp->str); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'db_user_log_login': db.c:5164:12: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] "UPDATE %susers SET last_login = '%s' " ^~ db.c:5163:2: note: 'snprintf' output between 53 and 1124 bytes into a destination of size 1024 snprintf(query, DEF_QUERYSIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "UPDATE %susers SET last_login = '%s' " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "WHERE user_idnr = %llu",DBPFX, timestring, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user_idnr); ~~~~~~~~~~ mv -f .deps/libdbmail_la-db.Tpo .deps/libdbmail_la-db.Plo /bin/sh ./libtool --tag=CC --mode=link cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -o libdbmail.la -rpath /usr/local/lib/dbmail libdbmail_la-dbmail-user.lo libdbmail_la-dbmail-message.lo libdbmail_la-dbmail-mailbox.lo libdbmail_la-config.lo libdbmail_la-debug.lo libdbmail_la-list.lo libdbmail_la-db.lo libdbmail_la-acl.lo libdbmail_la-misc.lo libdbmail_la-pidfile.lo libdbmail_la-dm_md5.lo libdbmail_la-dm_match.lo libdbmail_la-dm_base64.lo libdbmail_la-dm_getopt.lo libdbmail_la-server.lo libdbmail_la-serverchild.lo libdbmail_la-serverparent.lo libdbmail_la-pool.lo libdbmail_la-dm_cidr.lo libdbmail_la-pipe.lo libdbmail_la-dsn.lo libdbmail_la-sort.lo libdbmail_la-dbmodule.lo libdbmail_la-authmodule.lo libdbmail_la-sortmodule.lo libtool: link: cc -shared .libs/libdbmail_la-dbmail-user.o .libs/libdbmail_la-dbmail-message.o .libs/libdbmail_la-dbmail-mailbox.o .libs/libdbmail_la-config.o .libs/libdbmail_la-debug.o .libs/libdbmail_la-list.o .libs/libdbmail_la-db.o .libs/libdbmail_la-acl.o .libs/libdbmail_la-misc.o .libs/libdbmail_la-pidfile.o .libs/libdbmail_la-dm_md5.o .libs/libdbmail_la-dm_match.o .libs/libdbmail_la-dm_base64.o .libs/libdbmail_la-dm_getopt.o .libs/libdbmail_la-server.o .libs/libdbmail_la-serverchild.o .libs/libdbmail_la-serverparent.o .libs/libdbmail_la-pool.o .libs/libdbmail_la-dm_cidr.o .libs/libdbmail_la-pipe.o .libs/libdbmail_la-dsn.o .libs/libdbmail_la-sort.o .libs/libdbmail_la-dbmodule.o .libs/libdbmail_la-authmodule.o .libs/libdbmail_la-sortmodule.o -lcrypt -L/usr/local/lib -lgmodule-2.0 -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -pthread -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,--export-dynamic -pthread -pthread -pthread -Wl,-soname -Wl,libdbmail.so.0 -o .libs/libdbmail.so.0.0.0 mv -f .deps/maintenance.Tpo .deps/maintenance.Po libtool: link: (cd ".libs" && rm -f "libdbmail.so.0" && ln -s "libdbmail.so.0.0.0" "libdbmail.so.0") libtool: link: (cd ".libs" && rm -f "libdbmail.so" && ln -s "libdbmail.so.0.0.0" "libdbmail.so") libtool: link: ( cd ".libs" && rm -f "libdbmail.la" && ln -s "../libdbmail.la" "libdbmail.la" ) /bin/sh ./libtool --tag=CC --mode=link cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -o dbmail-smtp main.o libdbmail.la /bin/sh ./libtool --tag=CC --mode=link cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -o dbmail-pop3d pop3.o pop3d.o libdbmail.la /bin/sh ./libtool --tag=CC --mode=link cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -o dbmail-util maintenance.o libdbmail.la /bin/sh ./libtool --tag=CC --mode=link cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -o dbmail-users user.o libdbmail.la libtool: link: cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -Wl,-rpath -Wl,/usr/local/lib -Wl,--export-dynamic -pthread -pthread -o .libs/dbmail-pop3d pop3.o pop3d.o -Wl,--export-dynamic -lcrypt -L/usr/local/lib -lgmodule-2.0 -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl ./.libs/libdbmail.so -pthread -Wl,-rpath -Wl,/usr/local/lib/dbmail libtool: link: cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -Wl,-rpath -Wl,/usr/local/lib -Wl,--export-dynamic -pthread -pthread -o .libs/dbmail-util maintenance.o -Wl,--export-dynamic -lcrypt -L/usr/local/lib -lgmodule-2.0 -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl ./.libs/libdbmail.so -pthread -Wl,-rpath -Wl,/usr/local/lib/dbmail libtool: link: cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -Wl,-rpath -Wl,/usr/local/lib -Wl,--export-dynamic -pthread -pthread -o .libs/dbmail-smtp main.o -Wl,--export-dynamic -lcrypt -L/usr/local/lib -lgmodule-2.0 -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl ./.libs/libdbmail.so -pthread -Wl,-rpath -Wl,/usr/local/lib/dbmail libtool: link: cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -Wl,-rpath -Wl,/usr/local/lib -Wl,--export-dynamic -pthread -pthread -o .libs/dbmail-users user.o -Wl,--export-dynamic -lcrypt -L/usr/local/lib -lgmodule-2.0 -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl ./.libs/libdbmail.so -pthread -Wl,-rpath -Wl,/usr/local/lib/dbmail /bin/sh ./libtool --tag=CC --mode=link cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -o dbmail-lmtpd lmtp.o lmtpd.o libdbmail.la libtool: link: cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -Wl,-rpath -Wl,/usr/local/lib -Wl,--export-dynamic -pthread -pthread -o .libs/dbmail-lmtpd lmtp.o lmtpd.o -Wl,--export-dynamic -lcrypt -L/usr/local/lib -lgmodule-2.0 -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl ./.libs/libdbmail.so -pthread -Wl,-rpath -Wl,/usr/local/lib/dbmail mv -f .deps/dbmail-imapsession.Tpo .deps/dbmail-imapsession.Po /bin/sh ./libtool --tag=CC --mode=link cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -o dbmail-imapd quota.o imap4.o dm_imaputil.o imapcommands.o memblock.o imapd.o dbmail-imapsession.o libdbmail.la /bin/sh ./libtool --tag=CC --mode=link cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -export-dynamic -lcrypt -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lglib-2.0 -lintl -L/usr/local/lib -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -L/usr/local/lib -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lintl -o dbmail-export export.o memblock.o dbmail-imapsession.o libdbmail.la libtool: link: cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -Wl,-rpath -Wl,/usr/local/lib -Wl,--export-dynamic -pthread -pthread -o .libs/dbmail-imapd quota.o imap4.o dm_imaputil.o imapcommands.o memblock.o imapd.o dbmail-imapsession.o -Wl,--export-dynamic -lcrypt -L/usr/local/lib -lgmodule-2.0 -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl ./.libs/libdbmail.so -pthread -Wl,-rpath -Wl,/usr/local/lib/dbmail libtool: link: cc -pipe -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gmime-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -pthread -W -Wall -Wpointer-arith -Wstrict-prototypes -Wl,-rpath -Wl,/usr/local/lib -Wl,--export-dynamic -pthread -pthread -o .libs/dbmail-export export.o memblock.o dbmail-imapsession.o -Wl,--export-dynamic -lcrypt -L/usr/local/lib -lgmodule-2.0 -lgmime-2.0 -lz -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl ./.libs/libdbmail.so -pthread -Wl,-rpath -Wl,/usr/local/lib/dbmail gmake[3]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18' gmake[2]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18' gmake[1]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> dbmail22-2.2.18_5 depends on file: /usr/local/lib/libcrypto.so.44 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for dbmail22-2.2.18_5 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18' gmake INSTALL_PROGRAM="/bin/sh /construction/mail/dbmail22/dbmail-2.2.18/buildtools/install-sh -c -s" \ install_sh_PROGRAM="/bin/sh /construction/mail/dbmail22/dbmail-2.2.18/buildtools/install-sh -c -s" INSTALL_STRIP_FLAG=-s \ `test -z 'strip' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='strip'"` install gmake[2]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18' Making install in modules gmake[3]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18/modules' gmake[4]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18/modules' test -z "/usr/local/lib/dbmail" || /bin/mkdir -p "/construction/mail/dbmail22/stage/usr/local/lib/dbmail" /bin/sh ../libtool --mode=install /usr/bin/install -c -s libmysql.la libauth_sql.la '/construction/mail/dbmail22/stage/usr/local/lib/dbmail' libtool: install: /usr/bin/install -c .libs/libmysql.so.0.0.0 /construction/mail/dbmail22/stage/usr/local/lib/dbmail/libmysql.so.0.0.0 libtool: install: strip --strip-unneeded /construction/mail/dbmail22/stage/usr/local/lib/dbmail/libmysql.so.0.0.0 libtool: install: (cd /construction/mail/dbmail22/stage/usr/local/lib/dbmail && { ln -s -f libmysql.so.0.0.0 libmysql.so.0 || { rm -f libmysql.so.0 && ln -s libmysql.so.0.0.0 libmysql.so.0; }; }) libtool: install: (cd /construction/mail/dbmail22/stage/usr/local/lib/dbmail && { ln -s -f libmysql.so.0.0.0 libmysql.so || { rm -f libmysql.so && ln -s libmysql.so.0.0.0 libmysql.so; }; }) libtool: install: /usr/bin/install -c .libs/libmysql.lai /construction/mail/dbmail22/stage/usr/local/lib/dbmail/libmysql.la libtool: install: /usr/bin/install -c .libs/libauth_sql.so.0.0.0 /construction/mail/dbmail22/stage/usr/local/lib/dbmail/libauth_sql.so.0.0.0 libtool: install: strip --strip-unneeded /construction/mail/dbmail22/stage/usr/local/lib/dbmail/libauth_sql.so.0.0.0 libtool: install: (cd /construction/mail/dbmail22/stage/usr/local/lib/dbmail && { ln -s -f libauth_sql.so.0.0.0 libauth_sql.so.0 || { rm -f libauth_sql.so.0 && ln -s libauth_sql.so.0.0.0 libauth_sql.so.0; }; }) libtool: install: (cd /construction/mail/dbmail22/stage/usr/local/lib/dbmail && { ln -s -f libauth_sql.so.0.0.0 libauth_sql.so || { rm -f libauth_sql.so && ln -s libauth_sql.so.0.0.0 libauth_sql.so; }; }) libtool: install: /usr/bin/install -c .libs/libauth_sql.lai /construction/mail/dbmail22/stage/usr/local/lib/dbmail/libauth_sql.la libtool: install: warning: remember to run `libtool --finish /usr/local/lib/dbmail' gmake[4]: Nothing to be done for 'install-data-am'. gmake[4]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18/modules' gmake[3]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18/modules' Making install in man gmake[3]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18/man' gmake[4]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18/man' gmake[4]: Nothing to be done for 'install-exec-am'. test -z "/usr/local/man/man1" || /bin/mkdir -p "/construction/mail/dbmail22/stage/usr/local/man/man1" install -m 0644 dbmail.1 dbmail-smtp.1 '/construction/mail/dbmail22/stage/usr/local/man/man1' test -z "/usr/local/man/man5" || /bin/mkdir -p "/construction/mail/dbmail22/stage/usr/local/man/man5" install -m 0644 dbmail.conf.5 '/construction/mail/dbmail22/stage/usr/local/man/man5' test -z "/usr/local/man/man8" || /bin/mkdir -p "/construction/mail/dbmail22/stage/usr/local/man/man8" install -m 0644 dbmail-util.8 dbmail-users.8 dbmail-export.8 dbmail-sievecmd.8 dbmail-imapd.8 dbmail-lmtpd.8 dbmail-pop3d.8 dbmail-timsieved.8 '/construction/mail/dbmail22/stage/usr/local/man/man8' gmake[4]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18/man' gmake[3]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18/man' gmake[3]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18' gmake[4]: Entering directory '/construction/mail/dbmail22/dbmail-2.2.18' test -z "/usr/local/lib/dbmail" || /bin/mkdir -p "/construction/mail/dbmail22/stage/usr/local/lib/dbmail" /bin/sh ./libtool --mode=install /usr/bin/install -c -s libdbmail.la '/construction/mail/dbmail22/stage/usr/local/lib/dbmail' libtool: install: /usr/bin/install -c .libs/libdbmail.so.0.0.0 /construction/mail/dbmail22/stage/usr/local/lib/dbmail/libdbmail.so.0.0.0 libtool: install: strip --strip-unneeded /construction/mail/dbmail22/stage/usr/local/lib/dbmail/libdbmail.so.0.0.0 libtool: install: (cd /construction/mail/dbmail22/stage/usr/local/lib/dbmail && { ln -s -f libdbmail.so.0.0.0 libdbmail.so.0 || { rm -f libdbmail.so.0 && ln -s libdbmail.so.0.0.0 libdbmail.so.0; }; }) libtool: install: (cd /construction/mail/dbmail22/stage/usr/local/lib/dbmail && { ln -s -f libdbmail.so.0.0.0 libdbmail.so || { rm -f libdbmail.so && ln -s libdbmail.so.0.0.0 libdbmail.so; }; }) libtool: install: /usr/bin/install -c .libs/libdbmail.lai /construction/mail/dbmail22/stage/usr/local/lib/dbmail/libdbmail.la libtool: install: warning: remember to run `libtool --finish /usr/local/lib/dbmail' test -z "/usr/local/sbin" || /bin/mkdir -p "/construction/mail/dbmail22/stage/usr/local/sbin" STRIPPROG='strip' /bin/sh ./libtool --mode=install /bin/sh /construction/mail/dbmail22/dbmail-2.2.18/buildtools/install-sh -c -s dbmail-smtp dbmail-pop3d dbmail-imapd dbmail-util dbmail-users dbmail-export dbmail-lmtpd '/construction/mail/dbmail22/stage/usr/local/sbin' libtool: install: warning: `libdbmail.la' has not been installed in `/usr/local/lib/dbmail' libtool: install: /bin/sh /construction/mail/dbmail22/dbmail-2.2.18/buildtools/install-sh -c -s .libs/dbmail-smtp /construction/mail/dbmail22/stage/usr/local/sbin/dbmail-smtp libtool: install: warning: `libdbmail.la' has not been installed in `/usr/local/lib/dbmail' libtool: install: /bin/sh /construction/mail/dbmail22/dbmail-2.2.18/buildtools/install-sh -c -s .libs/dbmail-pop3d /construction/mail/dbmail22/stage/usr/local/sbin/dbmail-pop3d libtool: install: warning: `libdbmail.la' has not been installed in `/usr/local/lib/dbmail' libtool: install: /bin/sh /construction/mail/dbmail22/dbmail-2.2.18/buildtools/install-sh -c -s .libs/dbmail-imapd /construction/mail/dbmail22/stage/usr/local/sbin/dbmail-imapd libtool: install: warning: `libdbmail.la' has not been installed in `/usr/local/lib/dbmail' libtool: install: /bin/sh /construction/mail/dbmail22/dbmail-2.2.18/buildtools/install-sh -c -s .libs/dbmail-util /construction/mail/dbmail22/stage/usr/local/sbin/dbmail-util libtool: install: warning: `libdbmail.la' has not been installed in `/usr/local/lib/dbmail' libtool: install: /bin/sh /construction/mail/dbmail22/dbmail-2.2.18/buildtools/install-sh -c -s .libs/dbmail-users /construction/mail/dbmail22/stage/usr/local/sbin/dbmail-users libtool: install: warning: `libdbmail.la' has not been installed in `/usr/local/lib/dbmail' libtool: install: /bin/sh /construction/mail/dbmail22/dbmail-2.2.18/buildtools/install-sh -c -s .libs/dbmail-export /construction/mail/dbmail22/stage/usr/local/sbin/dbmail-export libtool: install: warning: `libdbmail.la' has not been installed in `/usr/local/lib/dbmail' libtool: install: /bin/sh /construction/mail/dbmail22/dbmail-2.2.18/buildtools/install-sh -c -s .libs/dbmail-lmtpd /construction/mail/dbmail22/stage/usr/local/sbin/dbmail-lmtpd gmake[4]: Nothing to be done for 'install-data-am'. gmake[4]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18' gmake[3]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18' gmake[2]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18' gmake[1]: Leaving directory '/construction/mail/dbmail22/dbmail-2.2.18' ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) ===> Installing ldconfig configuration file -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for dbmail22-2.2.18_5 file sizes/checksums [57]: . done packing files [57]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 17:09:52 UTC Duration: 00:00:59