+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 MYSQL_VERSION_REQD=mariadb106 WRKLOG=/tmp/bulklog/dbmail-3.3.1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 MYSQL_VERSION_REQD=mariadb106 WRKLOG=/tmp/bulklog/dbmail-3.3.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for dbmail-3.3.1
/opt/local/bin/gmake  all-recursive
gmake[1]: Entering directory '/home/pbulk/build/mail/dbmail/work/dbmail-3.3.1'
Making all in src
gmake[2]: Entering directory '/home/pbulk/build/mail/dbmail/work/dbmail-3.3.1/src'
Making all in modules
gmake[3]: Entering directory '/home/pbulk/build/mail/dbmail/work/dbmail-3.3.1/src/modules'
depbase=`echo sortnull.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/usr/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT sortnull.lo -MD -MP -MF $depbase.Tpo -c -o sortnull.lo sortnull.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT sortnull.lo -MD -MP -MF .deps/sortnull.Tpo -c sortnull.c  -fPIC -DPIC -o .libs/sortnull.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from ../../src/dbmail.h:93,
                 from sortnull.c:29:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../../src/dbmail.h:32,
                 from sortnull.c:29:
../../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT sortnull.lo -MD -MP -MF .deps/sortnull.Tpo -c sortnull.c -o sortnull.o >/dev/null 2>&1
/usr/bin/bash ../../libtool  --tag=CC   --mode=link gcc -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -module -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lnsl -lsocket -lintl -liconv -L/opt/local/lib -lgmodule-2.0 -lgthread-2.0 -Wl,-R/opt/local/lib -lglib-2.0  -L/opt/local/lib -lgmime-3.0 -lgio-2.0 -lgobject-2.0 -Wl,-R/opt/local/lib -lglib-2.0  -lm -lmhash -levent_pthreads -levent -L/opt/local/lib -lssl -Wl,-R/opt/local/lib -lcrypto  -lzdb -o libsort_null.la  sortnull.lo  -lldap 
libtool: link: ar cr .libs/libsort_null.a .libs/sortnull.o 
libtool: link: ranlib .libs/libsort_null.a
libtool: link: ( cd ".libs" && rm -f "libsort_null.la" && ln -s "../libsort_null.la" "libsort_null.la" )
depbase=`echo sortsieve.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/usr/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT sortsieve.lo -MD -MP -MF $depbase.Tpo -c -o sortsieve.lo sortsieve.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT sortsieve.lo -MD -MP -MF .deps/sortsieve.Tpo -c sortsieve.c  -fPIC -DPIC -o .libs/sortsieve.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from ../../src/dbmail.h:93,
                 from sortsieve.c:30:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../../src/dbmail.h:32,
                 from sortsieve.c:30:
../../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT sortsieve.lo -MD -MP -MF .deps/sortsieve.Tpo -c sortsieve.c -o sortsieve.o >/dev/null 2>&1
/usr/bin/bash ../../libtool  --tag=CC   --mode=link gcc -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -module -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lnsl -lsocket -lintl -liconv -L/opt/local/lib -lgmodule-2.0 -lgthread-2.0 -Wl,-R/opt/local/lib -lglib-2.0  -L/opt/local/lib -lgmime-3.0 -lgio-2.0 -lgobject-2.0 -Wl,-R/opt/local/lib -lglib-2.0  -lm -lmhash -levent_pthreads -levent -L/opt/local/lib -lssl -Wl,-R/opt/local/lib -lcrypto  -lzdb -o libsort_sieve.la -rpath /opt/local/lib/dbmail sortsieve.lo -L/opt/local/lib -lsieve -lldap 
libtool: link: gcc -shared  -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libsort_sieve.so.0 -o .libs/libsort_sieve.so.0.0.0  .libs/sortsieve.o   -R/home/pbulk/build/mail/dbmail/work/.buildlink/lib -R/home/pbulk/build/mail/dbmail/work/.buildlink/lib -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/home/pbulk/build/mail/dbmail/work/.buildlink/lib /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libgmime-3.0.so -lgmodule-2.0 -lgthread-2.0 /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libz.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libgpgme.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libassuan.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libgpg-error.so -lgio-2.0 -lgobject-2.0 -lglib-2.0 /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libmhash.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libevent_pthreads.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libevent.so -lsendfile /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libzdb.so -lpq -lmariadb /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libintl.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libiconv.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libsqlite3.so -lm /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libsieve.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libldap.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/liblber.so -lgen /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libsasl2.so -ldl -ldoor -lnsl -lresolv -lsocket -lssl -lcrypto  -O2 -msave-args -Wl,-rpath -Wl,/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-rpath -Wl,/opt/local/lib -Wl,-rpath -Wl,/opt/local/lib -Wl,-rpath -Wl,/opt/local/lib -Wl,-rpath -Wl,/opt/local/lib  
libtool: link: (cd ".libs" && rm -f "libsort_sieve.so.0" && ln -s "libsort_sieve.so.0.0.0" "libsort_sieve.so.0")
libtool: link: (cd ".libs" && rm -f "libsort_sieve.so" && ln -s "libsort_sieve.so.0.0.0" "libsort_sieve.so")
libtool: link: ar cr .libs/libsort_sieve.a  sortsieve.o
libtool: link: ranlib .libs/libsort_sieve.a
libtool: link: ( cd ".libs" && rm -f "libsort_sieve.la" && ln -s "../libsort_sieve.la" "libsort_sieve.la" )
depbase=`echo authldap.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/usr/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT authldap.lo -MD -MP -MF $depbase.Tpo -c -o authldap.lo authldap.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT authldap.lo -MD -MP -MF .deps/authldap.Tpo -c authldap.c  -fPIC -DPIC -o .libs/authldap.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from ../../src/dbmail.h:93,
                 from authldap.c:25:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../../src/dbmail.h:32,
                 from authldap.c:25:
../../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
authldap.c: In function 'dm_ldap_get_filter':
authldap.c:377:19: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
  377 |  g_list_foreach(l,(GFunc)g_free,NULL);
      |                   ^
authldap.c: In function 'dm_ldap_get_freeid':
authldap.c:493:21: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
  493 |  g_list_foreach(ids,(GFunc)g_free,NULL);
      |                     ^
authldap.c: In function 'auth_check_user_ext':
authldap.c:903:21: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
  903 |    g_list_foreach(l,(GFunc)g_free,NULL);
      |                     ^
authldap.c: In function 'auth_user_exists':
authldap.c:669:39: warning: '=' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=]
  669 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%s)", _ldap_cfg.field_uid,
      |                                       ^
authldap.c:669:2: note: 'snprintf' output 4 or more bytes (assuming 1027) into a destination of size 1024
  669 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%s)", _ldap_cfg.field_uid,
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  670 |    username);
      |    ~~~~~~~~~
authldap.c: In function 'auth_get_userid':
authldap.c:694:39: warning: '=' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=]
  694 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%" PRIu64 ")", _ldap_cfg.field_nid, user_idnr);
      |                                       ^
authldap.c:694:2: note: 'snprintf' output between 5 and 1047 bytes into a destination of size 1024
  694 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%" PRIu64 ")", _ldap_cfg.field_nid, user_idnr);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
authldap.c: In function 'auth_check_userid':
authldap.c:709:39: warning: '=' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=]
  709 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%" PRIu64 ")", _ldap_cfg.field_nid, user_idnr);
      |                                       ^
authldap.c:709:2: note: 'snprintf' output between 5 and 1047 bytes into a destination of size 1024
  709 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%" PRIu64 ")", _ldap_cfg.field_nid, user_idnr);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
authldap.c: In function 'auth_getclientid':
authldap.c:742:39: warning: '=' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=]
  742 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%" PRIu64 ")", _ldap_cfg.field_nid,
      |                                       ^
authldap.c:742:35: note: directive argument in the range [1, 18446744073709551615]
  742 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%" PRIu64 ")", _ldap_cfg.field_nid,
      |                                   ^~~~~~~
authldap.c:742:2: note: 'snprintf' output between 5 and 1047 bytes into a destination of size 1024
  742 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%" PRIu64 ")", _ldap_cfg.field_nid,
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  743 |    user_idnr);
      |    ~~~~~~~~~~
authldap.c: In function 'auth_getmaxmailsize':
authldap.c:769:39: warning: '=' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=]
  769 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%" PRIu64 ")", _ldap_cfg.field_nid,
      |                                       ^
authldap.c:769:35: note: directive argument in the range [1, 18446744073709551615]
  769 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%" PRIu64 ")", _ldap_cfg.field_nid,
      |                                   ^~~~~~~
authldap.c:769:2: note: 'snprintf' output between 5 and 1047 bytes into a destination of size 1024
  769 |  snprintf(query, AUTH_QUERY_SIZE, "(%s=%" PRIu64 ")", _ldap_cfg.field_nid,
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  770 |    user_idnr);
      |    ~~~~~~~~~~
authldap.c: In function 'auth_delete_user':
authldap.c:1105:39: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1022 [-Wformat-truncation=]
 1105 |  snprintf(query, AUTH_QUERY_SIZE-1, "(%s=%s)", _ldap_cfg.field_uid, username);
      |                                       ^~       ~~~~~~~~~~~~~~~~~~~
authldap.c:1105:2: note: 'snprintf' output 4 or more bytes (assuming 1027) into a destination of size 1023
 1105 |  snprintf(query, AUTH_QUERY_SIZE-1, "(%s=%s)", _ldap_cfg.field_uid, username);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT authldap.lo -MD -MP -MF .deps/authldap.Tpo -c authldap.c -o authldap.o >/dev/null 2>&1
/usr/bin/bash ../../libtool  --tag=CC   --mode=link gcc -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -module -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lnsl -lsocket -lintl -liconv -L/opt/local/lib -lgmodule-2.0 -lgthread-2.0 -Wl,-R/opt/local/lib -lglib-2.0  -L/opt/local/lib -lgmime-3.0 -lgio-2.0 -lgobject-2.0 -Wl,-R/opt/local/lib -lglib-2.0  -lm -lmhash -levent_pthreads -levent -L/opt/local/lib -lssl -Wl,-R/opt/local/lib -lcrypto  -lzdb -o libauth_ldap.la -rpath /opt/local/lib/dbmail authldap.lo -lcrypt -L/opt/local/lib -lldap  -lldap 
libtool: link: gcc -shared  -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libauth_ldap.so.0 -o .libs/libauth_ldap.so.0.0.0  .libs/authldap.o   -R/home/pbulk/build/mail/dbmail/work/.buildlink/lib -R/home/pbulk/build/mail/dbmail/work/.buildlink/lib -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/home/pbulk/build/mail/dbmail/work/.buildlink/lib /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libgmime-3.0.so -lgmodule-2.0 -lgthread-2.0 /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libz.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libgpgme.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libassuan.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libgpg-error.so -lgio-2.0 -lgobject-2.0 -lglib-2.0 /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libmhash.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libevent_pthreads.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libevent.so -lsendfile /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libzdb.so -lpq -lmariadb /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libintl.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libiconv.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libsqlite3.so -lm -lcrypt /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libldap.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/liblber.so -lgen /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libsasl2.so -ldl -ldoor -lnsl -lresolv -lsocket -lssl -lcrypto  -O2 -msave-args -Wl,-rpath -Wl,/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-rpath -Wl,/opt/local/lib -Wl,-rpath -Wl,/opt/local/lib -Wl,-rpath -Wl,/opt/local/lib -Wl,-rpath -Wl,/opt/local/lib  
libtool: link: (cd ".libs" && rm -f "libauth_ldap.so.0" && ln -s "libauth_ldap.so.0.0.0" "libauth_ldap.so.0")
libtool: link: (cd ".libs" && rm -f "libauth_ldap.so" && ln -s "libauth_ldap.so.0.0.0" "libauth_ldap.so")
libtool: link: ar cr .libs/libauth_ldap.a  authldap.o
libtool: link: ranlib .libs/libauth_ldap.a
libtool: link: ( cd ".libs" && rm -f "libauth_ldap.la" && ln -s "../libauth_ldap.la" "libauth_ldap.la" )
depbase=`echo authsql.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/usr/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../..  -I../../src -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT authsql.lo -MD -MP -MF $depbase.Tpo -c -o authsql.lo authsql.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT authsql.lo -MD -MP -MF .deps/authsql.Tpo -c authsql.c  -fPIC -DPIC -o .libs/authsql.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from ../../src/dbmail.h:93,
                 from authsql.c:29:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from ../../src/dbmail.h:32,
                 from authsql.c:29:
../../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
authsql.c: In function 'user_get_deliver_to':
authsql.c:166:9: warning: variable 'd' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  166 |  GList *d = NULL;
      |         ^
authsql.c: In function 'auth_get_known_users':
authsql.c:62:10: warning: variable 'users' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
   62 |  GList * users = NULL;
      |          ^~~~~
authsql.c: In function 'auth_get_known_aliases':
authsql.c:81:10: warning: variable 'aliases' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
   81 |  GList * aliases = NULL;
      |          ^~~~~~~
authsql.c: In function 'auth_getencryption':
authsql.c:143:8: warning: variable 'res' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  143 |  char *res = NULL;
      |        ^~~
authsql.c: In function 'auth_change_password':
authsql.c:272:80: warning: argument 'enctype' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  272 | int auth_change_password(uint64_t user_idnr, const char *new_pass, const char *enctype)
      |                                                                    ~~~~~~~~~~~~^~~~~~~
authsql.c: In function 'auth_get_userid':
authsql.c:424:8: warning: variable 'result' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  424 |  char *result = NULL;
      |        ^~~~~~
authsql.c: In function 'auth_get_user_aliases':
authsql.c:635:9: warning: variable 'l' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  635 |  GList *l = NULL;
      |         ^
authsql.c: In function 'auth_get_aliases_ext':
authsql.c:659:9: warning: variable 'l' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  659 |  GList *l = NULL;
      |         ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT authsql.lo -MD -MP -MF .deps/authsql.Tpo -c authsql.c -o authsql.o >/dev/null 2>&1
/usr/bin/bash ../../libtool  --tag=CC   --mode=link gcc -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -module -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lnsl -lsocket -lintl -liconv -L/opt/local/lib -lgmodule-2.0 -lgthread-2.0 -Wl,-R/opt/local/lib -lglib-2.0  -L/opt/local/lib -lgmime-3.0 -lgio-2.0 -lgobject-2.0 -Wl,-R/opt/local/lib -lglib-2.0  -lm -lmhash -levent_pthreads -levent -L/opt/local/lib -lssl -Wl,-R/opt/local/lib -lcrypto  -lzdb -o libauth_sql.la -rpath /opt/local/lib/dbmail authsql.lo -lcrypt -lldap 
libtool: link: gcc -shared  -fPIC -DPIC -Wl,-z -Wl,text -Wl,-h -Wl,libauth_sql.so.0 -o .libs/libauth_sql.so.0.0.0  .libs/authsql.o   -R/home/pbulk/build/mail/dbmail/work/.buildlink/lib -R/home/pbulk/build/mail/dbmail/work/.buildlink/lib -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -L/home/pbulk/build/mail/dbmail/work/.buildlink/lib /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libgmime-3.0.so -lgmodule-2.0 -lgthread-2.0 /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libz.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libgpgme.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libassuan.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libgpg-error.so -lgio-2.0 -lgobject-2.0 -lglib-2.0 /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libmhash.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libevent_pthreads.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libevent.so -lsendfile /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libzdb.so -lpq -lmariadb /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libintl.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libiconv.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libsqlite3.so -lm -lcrypt /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libldap.so /home/pbulk/build/mail/dbmail/work/.buildlink/lib/liblber.so -lgen /home/pbulk/build/mail/dbmail/work/.buildlink/lib/libsasl2.so -ldl -ldoor -lnsl -lresolv -lsocket -lssl -lcrypto  -O2 -msave-args -Wl,-rpath -Wl,/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.4.0 -Wl,-rpath -Wl,/opt/local/lib -Wl,-rpath -Wl,/opt/local/lib -Wl,-rpath -Wl,/opt/local/lib -Wl,-rpath -Wl,/opt/local/lib  
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: ar cr .libs/libauth_sql.a  authsql.o
libtool: link: ranlib .libs/libauth_sql.a
libtool: link: ( cd ".libs" && rm -f "libauth_sql.la" && ln -s "../libauth_sql.la" "libauth_sql.la" )
gmake[3]: Leaving directory '/home/pbulk/build/mail/dbmail/work/dbmail-3.3.1/src/modules'
gmake[3]: Entering directory '/home/pbulk/build/mail/dbmail/work/dbmail-3.3.1/src'
depbase=`echo main.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT main.o -MD -MP -MF $depbase.Tpo -c -o main.o main.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from main.c:27:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from main.c:27:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_user.lo -MD -MP -MF .deps/libdbmail_la-dm_user.Tpo -c -o libdbmail_la-dm_user.lo `test -f 'dm_user.c' || echo './'`dm_user.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_user.lo -MD -MP -MF .deps/libdbmail_la-dm_user.Tpo -c dm_user.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_user.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_user.c:26:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_user.c:26:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
dm_user.c: In function 'do_show':
dm_user.c:631:25: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
  631 |    g_list_foreach(users,(GFunc)g_free,NULL);
      |                         ^
dm_user.c:648:27: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
  648 |    g_list_foreach(aliases,(GFunc)g_free,NULL);
      |                           ^
dm_user.c: In function 'show_user':
dm_user.c:747:27: warning: cast between incompatible function types from 'void (*)(void *)' to 'void (*)(void *, void *)' [-Wcast-function-type]
  747 |   g_list_foreach(userlist,(GFunc)g_free, NULL);
      |                           ^
dm_user.c: In function 'mkpassword':
dm_user.c:270:4: warning: 'strncpy' output may be truncated copying 129 bytes from a string of length 1023 [-Wstringop-truncation]
  270 |    strncpy(pw, hashstr, 129);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
dm_user.c:265:4: warning: 'strncpy' output may be truncated copying 129 bytes from a string of length 1023 [-Wstringop-truncation]
  265 |    strncpy(pw, hashstr, 129);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
dm_user.c:260:4: warning: 'strncpy' output may be truncated copying 129 bytes from a string of length 1023 [-Wstringop-truncation]
  260 |    strncpy(pw, hashstr, 129);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
dm_user.c:255:4: warning: 'strncpy' output may be truncated copying 129 bytes from a string of length 1023 [-Wstringop-truncation]
  255 |    strncpy(pw, hashstr, 129);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
dm_user.c:250:4: warning: 'strncpy' output may be truncated copying 129 bytes from a string of length 1023 [-Wstringop-truncation]
  250 |    strncpy(pw, hashstr, 129);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from dbmail.h:137,
                 from dm_user.c:26:
dm_user.h:32:46: warning: 'strncpy' output may be truncated copying 129 bytes from a string of length 511 [-Wstringop-truncation]
   32 | #define null_strncpy(dst, src, len) if (src) strncpy(dst, src, len)
      |                                              ^~~~~~~~~~~~~~~~~~~~~~
dm_user.c:233:4: note: in expansion of macro 'null_strncpy'
  233 |    null_strncpy(pw, entry, 129);
      |    ^~~~~~~~~~~~
dm_user.c:215:4: warning: 'strncpy' output may be truncated copying 129 bytes from a string of length 1023 [-Wstringop-truncation]
  215 |    strncpy(pw, hashstr, 129);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
dm_user.c:206:4: warning: 'strncpy' output may be truncated copying 129 bytes from a string of length 1023 [-Wstringop-truncation]
  206 |    strncpy(pw, hashstr, 129);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_user.lo -MD -MP -MF .deps/libdbmail_la-dm_user.Tpo -c dm_user.c -o libdbmail_la-dm_user.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_user.Tpo .deps/libdbmail_la-dm_user.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_message.lo -MD -MP -MF .deps/libdbmail_la-dm_message.Tpo -c -o libdbmail_la-dm_message.lo `test -f 'dm_message.c' || echo './'`dm_message.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_message.lo -MD -MP -MF .deps/libdbmail_la-dm_message.Tpo -c dm_message.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_message.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_message.c:27:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_message.c:27:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
dm_message.c: In function 'insert_messages':
dm_message.c:2825:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
 2825 |    if (g_list_length(delivery->forwards) > 0) {
      |       ^
dm_message.c:2831:3: note: here
 2831 |   case DSN_CLASS_FAIL:
      |   ^~~~
In file included from dbmail.h:130,
                 from dm_message.c:27:
dm_message.c: In function 'get_mailbox_from_filters.constprop':
dm_debug.h:58:30: warning: '%s' directive argument is null [-Wformat-overflow=]
   58 | #define TRACE(level, fmt...) trace(level, THIS_MODULE, __func__, __LINE__, fmt)
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dm_message.c:2037:2: note: in expansion of macro 'TRACE'
 2037 |  TRACE(TRACE_INFO, "default mailbox [%s]", mailbox);
      |  ^~~~~
dm_message.c:2037:38: note: format string is defined here
 2037 |  TRACE(TRACE_INFO, "default mailbox [%s]", mailbox);
      |                                      ^~
dm_message.c: In function '_mime_retrieve':
dm_message.c:448:5: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation]
  448 |     strncpy(blist[depth], boundary, MAX_MIME_BLEN-1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_message.lo -MD -MP -MF .deps/libdbmail_la-dm_message.Tpo -c dm_message.c -o libdbmail_la-dm_message.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_message.Tpo .deps/libdbmail_la-dm_message.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_mailbox.lo -MD -MP -MF .deps/libdbmail_la-dm_mailbox.Tpo -c -o libdbmail_la-dm_mailbox.lo `test -f 'dm_mailbox.c' || echo './'`dm_mailbox.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_mailbox.lo -MD -MP -MF .deps/libdbmail_la-dm_mailbox.Tpo -c dm_mailbox.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_mailbox.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_mailbox.c:27:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_mailbox.c:27:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
dm_mailbox.c: In function '_do_search':
dm_mailbox.c:1929:50: warning: cast between incompatible function types from 'gboolean (*)(GNode *, DbmailMailbox *)' {aka 'int (*)(struct _GNode *, DbmailMailbox *)'} to 'void (*)(GNode *, void *)' {aka 'void (*)(struct _GNode *, void *)'} [-Wcast-function-type]
 1929 |    g_node_children_foreach(node, G_TRAVERSE_ALL, (GNodeForeachFunc) _do_search, (gpointer) self);
      |                                                  ^
dm_mailbox.c: In function '_merge_search':
dm_mailbox.c:1960: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]
 1960 |    g_node_children_foreach(node, G_TRAVERSE_ALL, (GNodeForeachFunc) _merge_search, (gpointer) found);
      |                                                  ^
dm_mailbox.c:1965: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]
 1965 |    g_node_children_foreach(node, G_TRAVERSE_ALL, (GNodeForeachFunc) _merge_search, (gpointer) s->found);
      |                                                  ^
dm_mailbox.c:1981: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]
 1981 |     g_node_children_foreach(x, G_TRAVERSE_ALL, (GNodeForeachFunc) _merge_search, (gpointer) a->found);
      |                                                ^
dm_mailbox.c:1986: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]
 1986 |     g_node_children_foreach(y, G_TRAVERSE_ALL, (GNodeForeachFunc) _merge_search, (gpointer) b->found);
      |                                                ^
dm_mailbox.c: In function 'dbmail_mailbox_orderedsubject':
dm_mailbox.c:290:8: warning: variable 'res' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  290 |  char *res = NULL;
      |        ^~~
dm_mailbox.c: In function 'mailbox_search.isra':
dm_mailbox.c:1236:9: warning: variable 'ids' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 1236 |  GTree *ids;
      |         ^~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_mailbox.lo -MD -MP -MF .deps/libdbmail_la-dm_mailbox.Tpo -c dm_mailbox.c -o libdbmail_la-dm_mailbox.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_mailbox.Tpo .deps/libdbmail_la-dm_mailbox.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_mailboxstate.lo -MD -MP -MF .deps/libdbmail_la-dm_mailboxstate.Tpo -c -o libdbmail_la-dm_mailboxstate.lo `test -f 'dm_mailboxstate.c' || echo './'`dm_mailboxstate.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_mailboxstate.lo -MD -MP -MF .deps/libdbmail_la-dm_mailboxstate.Tpo -c dm_mailboxstate.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_mailboxstate.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_mailboxstate.c:24:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_mailboxstate.c:24:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
dm_mailboxstate.c: In function '_update_recent':
dm_mailboxstate.c:1344:53: warning: argument 'slices' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 1344 | static long long int _update_recent(volatile GList *slices, uint64_t seq)
      |                                     ~~~~~~~~~~~~~~~~^~~~~~
dm_mailboxstate.c: In function 'state_load_messages.isra':
dm_mailboxstate.c:176:3: warning: 'strncpy' output may be truncated copying 26 bytes from a string of length 26 [-Wstringop-truncation]
  176 |   strncpy(result->internaldate,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  177 |     (query_result) ? query_result :
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  178 |     "01-Jan-1970 00:00:01 +0100",
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  179 |     IMAP_INTERNALDATE_LEN-1);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~
dm_mailboxstate.c: In function 'MailboxState_hasPermission':
dm_mailboxstate.c:1189:15: warning: variable 'c' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 1189 |  Connection_T c;
      |               ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_mailboxstate.lo -MD -MP -MF .deps/libdbmail_la-dm_mailboxstate.Tpo -c dm_mailboxstate.c -o libdbmail_la-dm_mailboxstate.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_mailboxstate.Tpo .deps/libdbmail_la-dm_mailboxstate.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_cram.lo -MD -MP -MF .deps/libdbmail_la-dm_cram.Tpo -c -o libdbmail_la-dm_cram.lo `test -f 'dm_cram.c' || echo './'`dm_cram.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_cram.lo -MD -MP -MF .deps/libdbmail_la-dm_cram.Tpo -c dm_cram.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_cram.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_cram.c:22:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_cram.c:22:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
dm_cram.c: In function 'init_challenge':
dm_cram.c:49:6: warning: implicit declaration of function 'getdomainname' [-Wimplicit-function-declaration]
   49 |  if (getdomainname(name,sizeof(name)-1)) {
      |      ^~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_cram.lo -MD -MP -MF .deps/libdbmail_la-dm_cram.Tpo -c dm_cram.c -o libdbmail_la-dm_cram.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_cram.Tpo .deps/libdbmail_la-dm_cram.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_capa.lo -MD -MP -MF .deps/libdbmail_la-dm_capa.Tpo -c -o libdbmail_la-dm_capa.lo `test -f 'dm_capa.c' || echo './'`dm_capa.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_capa.lo -MD -MP -MF .deps/libdbmail_la-dm_capa.Tpo -c dm_capa.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_capa.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_capa.c:22:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_capa.c:22:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
dm_capa.c: In function 'Capa_new':
dm_capa.c:94:3: warning: 'strncpy' output may be truncated copying 1023 bytes from a string of length 1023 [-Wstringop-truncation]
   94 |   strncpy((char *)maxcapa, val, MAX_CAPASIZE-1);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_capa.lo -MD -MP -MF .deps/libdbmail_la-dm_capa.Tpo -c dm_capa.c -o libdbmail_la-dm_capa.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_capa.Tpo .deps/libdbmail_la-dm_capa.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_config.lo -MD -MP -MF .deps/libdbmail_la-dm_config.Tpo -c -o libdbmail_la-dm_config.lo `test -f 'dm_config.c' || echo './'`dm_config.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_config.lo -MD -MP -MF .deps/libdbmail_la-dm_config.Tpo -c dm_config.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_config.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_config.c:31:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_config.c:31:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
dm_config.c: In function 'config_get_security_actions':
dm_config.c:588:35: warning: cast between incompatible function types from 'gint (*)(const uint64_t *, const uint64_t *)' {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]
  588 |  GTree *actions = g_tree_new_full((GCompareDataFunc)ucmp, NULL, g_free, g_free);
      |                                   ^
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_config.lo -MD -MP -MF .deps/libdbmail_la-dm_config.Tpo -c dm_config.c -o libdbmail_la-dm_config.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_config.Tpo .deps/libdbmail_la-dm_config.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_debug.lo -MD -MP -MF .deps/libdbmail_la-dm_debug.Tpo -c -o libdbmail_la-dm_debug.lo `test -f 'dm_debug.c' || echo './'`dm_debug.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_debug.lo -MD -MP -MF .deps/libdbmail_la-dm_debug.Tpo -c dm_debug.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_debug.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_debug.c:27:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_debug.c:27:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_debug.lo -MD -MP -MF .deps/libdbmail_la-dm_debug.Tpo -c dm_debug.c -o libdbmail_la-dm_debug.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_debug.Tpo .deps/libdbmail_la-dm_debug.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_list.lo -MD -MP -MF .deps/libdbmail_la-dm_list.Tpo -c -o libdbmail_la-dm_list.lo `test -f 'dm_list.c' || echo './'`dm_list.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_list.lo -MD -MP -MF .deps/libdbmail_la-dm_list.Tpo -c dm_list.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_list.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_list.c:24:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_list.c:24:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_list.lo -MD -MP -MF .deps/libdbmail_la-dm_list.Tpo -c dm_list.c -o libdbmail_la-dm_list.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_list.Tpo .deps/libdbmail_la-dm_list.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_db.lo -MD -MP -MF .deps/libdbmail_la-dm_db.Tpo -c -o libdbmail_la-dm_db.lo `test -f 'dm_db.c' || echo './'`dm_db.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_db.lo -MD -MP -MF .deps/libdbmail_la-dm_db.Tpo -c dm_db.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_db.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_db.c:28:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_db.c:28:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
dm_db.c: In function 'db_copymsg':
dm_db.c:2987:42: warning: unused parameter 'recent' [-Wunused-parameter]
 2987 |         uint64_t * newmsg_idnr, gboolean recent)
      |                                 ~~~~~~~~~^~~~~~
dm_db.c: In function 'db_query':
dm_db.c:417:14: warning: variable 'r' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  417 |  ResultSet_T r = NULL;
      |              ^
dm_db.c: In function 'check_upgrade_step':
dm_db.c:948:14: warning: variable 'query' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
  948 |  const char *query = NULL;
      |              ^~~~~
dm_db.c: In function 'mailboxes_by_regex':
dm_db.c:2223:11: warning: variable 'qs' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 2223 |  GString *qs = NULL;
      |           ^~
dm_db.c: In function 'dm_quota_rebuild':
dm_db.c:1314:9: warning: variable 'quota' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 1314 |  GList *quota = NULL;
      |         ^~~~~
dm_db.c: In function 'db_icheck_physmessages':
dm_db.c:1550:9: warning: variable 'ids' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 1550 |  GList *ids = NULL;
      |         ^~~
dm_db.c: In function 'db_icheck_partlists':
dm_db.c:1586:9: warning: variable 'ids' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 1586 |  GList *ids = NULL;
      |         ^~~
dm_db.c: In function 'db_icheck_mimeparts':
dm_db.c:1623:9: warning: variable 'ids' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 1623 |  GList *ids = NULL;
      |         ^~~
dm_db.c: In function 'db_icheck_headernames':
dm_db.c:1659:9: warning: variable 'ids' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 1659 |  GList *ids = NULL;
      |         ^~~
dm_db.c: In function 'db_icheck_headervalues':
dm_db.c:1695:9: warning: variable 'ids' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 1695 |  GList *ids = NULL;
      |         ^~~
dm_db.c: In function 'db_update_rfcsize':
dm_db.c:1751:30: warning: argument 'lost' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 1751 | int db_update_rfcsize(GList *lost)
      |                       ~~~~~~~^~~~
dm_db.c: In function 'db_update_pop':
dm_db.c:2070:11: warning: variable 'user_idnr' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 2070 |  uint64_t user_idnr = 0;
      |           ^~~~~~~~~
dm_db.c: In function 'db_get_msgflag':
dm_db.c:3215:6: warning: variable 'val' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 3215 |  int val = 0;
      |      ^~~
dm_db.c: In function 'db_empty_mailbox':
dm_db.c:1501:9: warning: variable 'mboxids' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 1501 |  GList *mboxids = NULL;
      |         ^~~~~~~
dm_db.c: In function 'db_getmailboxname':
dm_db.c:3150:2: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=]
 3150 |  strncpy(name, tmp_fq_name, tmp_fq_name_len);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dm_db.c:3147:20: note: length computed here
 3147 |  tmp_fq_name_len = strlen(tmp_fq_name);
      |                    ^~~~~~~~~~~~~~~~~~~
dm_db.c:3116:8: warning: variable 'tmp_name' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 3116 |  char *tmp_name = NULL, *tmp_fq_name;
      |        ^~~~~~~~
dm_db.c: In function 'db_usermap_resolve':
dm_db.c:3571:49: warning: '%s' directive output may be truncated writing up to 1025 bytes into a region of size 102 [-Wformat-truncation=]
 3571 |   snprintf(clientsock, DM_SOCKADDR_LEN-1, "inet:%s:%s", ci->dst_ip, ci->dst_port);
      |                                                 ^~
dm_db.c:3571:3: note: 'snprintf' output between 7 and 1064 bytes into a destination of size 107
 3571 |   snprintf(clientsock, DM_SOCKADDR_LEN-1, "inet:%s:%s", ci->dst_ip, ci->dst_port);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dm_db.c:3556:14: warning: variable 'userid' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 3556 |  const char *userid = NULL, *sockok = NULL, *sockno = NULL, *login = NULL;
      |              ^~~~~~
dm_db.c:3556:62: warning: variable 'login' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 3556 |  const char *userid = NULL, *sockok = NULL, *sockno = NULL, *login = NULL;
      |                                                              ^~~~~
dm_db.c:3559:13: warning: variable 'bestscore' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 3559 |  int score, bestscore = -1;
      |             ^~~~~~~~~
dm_db.c:3560:8: warning: variable 'bestlogin' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 3560 |  char *bestlogin = NULL, *bestuserid = NULL;
      |        ^~~~~~~~~
dm_db.c:3560:27: warning: variable 'bestuserid' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 3560 |  char *bestlogin = NULL, *bestuserid = NULL;
      |                           ^~~~~~~~~~
dm_db.c: In function 'db_user_delete_messages':
dm_db.c:3875:9: warning: variable 'keywords' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 3875 |  GList *keywords = NULL;
      |         ^~~~~~~~
dm_db.c: In function 'db_user_validate':
dm_db.c:3826:4: warning: 'strncpy' output may be truncated copying 12 bytes from a string of length 255 [-Wstringop-truncation]
 3826 |    strncpy(salt, dbpass, 12);
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~
dm_db.c: In function 'db_copymsg':
dm_db.c:2995:6: warning: variable 'tmp_physmessage' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 2995 |  int tmp_physmessage = 0;
      |      ^~~~~~~~~~~~~~~
dm_db.c:2996:6: warning: variable 'tmp_seen' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 2996 |  int tmp_seen = 0;
      |      ^~~~~~~~
dm_db.c:2997:6: warning: variable 'tmp_answered' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 2997 |  int tmp_answered = 0;
      |      ^~~~~~~~~~~~
dm_db.c:2998:6: warning: variable 'tmp_deleted' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 2998 |  int tmp_deleted = 0;
      |      ^~~~~~~~~~~
dm_db.c:2999:6: warning: variable 'tmp_flagged' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 2999 |  int tmp_flagged = 0;
      |      ^~~~~~~~~~~
dm_db.c:3000:6: warning: variable 'tmp_recent' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 3000 |  int tmp_recent = 0;
      |      ^~~~~~~~~~
dm_db.c:3001:6: warning: variable 'tmp_draft' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 3001 |  int tmp_draft = 0;
      |      ^~~~~~~~~
dm_db.c:3002:6: warning: variable 'tmp_status' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 3002 |  int tmp_status = 0;
      |      ^~~~~~~~~~
dm_db.c: In function 'db_rehash_store':
dm_db.c:4444:9: warning: variable 'ids' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
 4444 |  GList *ids = NULL;
      |         ^~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_db.lo -MD -MP -MF .deps/libdbmail_la-dm_db.Tpo -c dm_db.c -o libdbmail_la-dm_db.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_db.Tpo .deps/libdbmail_la-dm_db.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_sievescript.lo -MD -MP -MF .deps/libdbmail_la-dm_sievescript.Tpo -c -o libdbmail_la-dm_sievescript.lo `test -f 'dm_sievescript.c' || echo './'`dm_sievescript.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_sievescript.lo -MD -MP -MF .deps/libdbmail_la-dm_sievescript.Tpo -c dm_sievescript.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_sievescript.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_sievescript.c:28:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_sievescript.c:28:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_sievescript.lo -MD -MP -MF .deps/libdbmail_la-dm_sievescript.Tpo -c dm_sievescript.c -o libdbmail_la-dm_sievescript.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_sievescript.Tpo .deps/libdbmail_la-dm_sievescript.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_acl.lo -MD -MP -MF .deps/libdbmail_la-dm_acl.Tpo -c -o libdbmail_la-dm_acl.lo `test -f 'dm_acl.c' || echo './'`dm_acl.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_acl.lo -MD -MP -MF .deps/libdbmail_la-dm_acl.Tpo -c dm_acl.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_acl.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_acl.c:23:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_acl.c:23:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_acl.lo -MD -MP -MF .deps/libdbmail_la-dm_acl.Tpo -c dm_acl.c -o libdbmail_la-dm_acl.o >/dev/null 2>&1
mv -f .deps/libdbmail_la-dm_acl.Tpo .deps/libdbmail_la-dm_acl.Plo
/usr/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DSYSCONFDIR='"/opt/local/etc"' -DLIBDIR='"/opt/local/lib"' -DLOCALSTATEDIR='"/var/run"' -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/mysql -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -pthread  -I/opt/local/include/gmime-3.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -pthread  -I/opt/local/include/zdb -I/usr/local/include/jemalloc -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_misc.lo -MD -MP -MF .deps/libdbmail_la-dm_misc.Tpo -c -o libdbmail_la-dm_misc.lo `test -f 'dm_misc.c' || echo './'`dm_misc.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR=\"/opt/local/etc\" -DLIBDIR=\"/opt/local/lib\" -DLOCALSTATEDIR=\"/var/run\" -I/home/pbulk/build/mail/dbmail/work/.buildlink/include -DLDAP_DEPRECATED -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/mysql -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/glib-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gio-unix-2.0 -I/home/pbulk/build/mail/dbmail/work/.buildlink/lib/glib-2.0/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DLDAP_DEPRECATED -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/gmime-3.0 -pthread -I/home/pbulk/build/mail/dbmail/work/.buildlink/include/zdb -I/usr/include/jemalloc -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-dm_misc.lo -MD -MP -MF .deps/libdbmail_la-dm_misc.Tpo -c dm_misc.c  -fPIC -DPIC -o .libs/libdbmail_la-dm_misc.o
In file included from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mincludes.h:34,
                 from /home/pbulk/build/mail/dbmail/work/.buildlink/include/mhash.h:6,
                 from dbmail.h:93,
                 from dm_misc.c:28:
/home/pbulk/build/mail/dbmail/work/.buildlink/include/mutils/mhash_config.h:210: warning: "VERSION" redefined
  210 | #define VERSION "0.9.9"
      | 
In file included from dbmail.h:32,
                 from dm_misc.c:28:
../config.h:133: note: this is the location of the previous definition
  133 | #define VERSION "3.3.1"
      | 
dm_misc.c: In function 'drop_privileges':
dm_misc.c:120:6: error: too many arguments to function 'getgrnam_r'
  120 |  if (getgrnam_r(newgroup, &grp, buf, sizeof(buf)-1, &gresult))
      |      ^~~~~~~~~~
In file included from dbmail.h:62,
                 from dm_misc.c:28:
/usr/include/grp.h:149:22: note: declared here
  149 | extern struct group *getgrnam_r(const char *, struct group *, char *, int);
      |                      ^~~~~~~~~~
dm_misc.c:123:6: error: too many arguments to function 'getpwnam_r'
  123 |  if (getpwnam_r(newuser, &pwd, buf, sizeof(buf)-1, &presult))
      |      ^~~~~~~~~~
In file included from dbmail.h:66,
                 from dm_misc.c:28:
/usr/include/pwd.h:167:23: note: declared here
  167 | extern struct passwd *getpwnam_r(const char *, struct passwd *, char *, int);
      |                       ^~~~~~~~~~
gmake[3]: *** [Makefile:2631: libdbmail_la-dm_misc.lo] Error 1
gmake[3]: Leaving directory '/home/pbulk/build/mail/dbmail/work/dbmail-3.3.1/src'
gmake[2]: *** [Makefile:2784: all-recursive] Error 1
gmake[2]: Leaving directory '/home/pbulk/build/mail/dbmail/work/dbmail-3.3.1/src'
gmake[1]: *** [Makefile:2091: all-recursive] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/mail/dbmail/work/dbmail-3.3.1'
gmake: *** [Makefile:2023: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/dbmail
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/mail/dbmail