=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for mariadb-connector-c-3.0.3nb1
Scanning dependencies of target mariadb_config
[  1%] Building C object mariadb_config/CMakeFiles/mariadb_config.dir/mariadb_config.c.o
Scanning dependencies of target dialog
Scanning dependencies of target cctap
Scanning dependencies of target ma_getopt
Scanning dependencies of target mysql_clear_password
[  2%] Building C object plugins/auth/CMakeFiles/dialog.dir/dialog.c.o
[  3%] Building C object unittest/mytap/CMakeFiles/cctap.dir/tap.c.o
[  5%] Building C object unittest/libmariadb/CMakeFiles/ma_getopt.dir/ma_getopt.c.o
[  5%] Building C object plugins/auth/CMakeFiles/dialog.dir/__/__/libmariadb/get_password.c.o
[  6%] Building C object plugins/auth/CMakeFiles/mysql_clear_password.dir/mariadb_cleartext.c.o
[  7%] Linking C executable mariadb_config
Scanning dependencies of target mariadb_obj
[  7%] Built target mariadb_config
[  8%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/__/plugins/pvio/pvio_socket.c.o
[ 10%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/__/plugins/auth/my_auth.c.o
[ 11%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/__/plugins/auth/old_password.c.o
[ 12%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_hash.c.o
[ 13%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_charset.c.o
[ 14%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_net.c.o
[ 15%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_default.c.o
[ 16%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_charset.c.o
[ 17%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_array.c.o
[ 19%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_time.c.o
[ 20%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_errmsg.c.o
[ 21%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_lib.c.o
[ 22%] Linking C shared module mysql_clear_password.so
[ 23%] Linking C static library libcctap.a
[ 24%] Linking C shared module dialog.so
[ 25%] Linking C static library libma_getopt.a
[ 25%] Built target cctap
[ 25%] Built target ma_getopt
[ 25%] Built target mysql_clear_password
[ 25%] Built target dialog
/data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3/plugins/auth/my_auth.c:157:15: warning: implicit conversion from 'int' to 'char' changes value from 254 to -2 [-Wconstant-conversion]
      *end++= COM_MULTI;
            ~ ^~~~~~~~~
/data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3/plugins/auth/my_auth.c:329:15: warning: implicit conversion from 'int' to 'char' changes value from 254 to -2 [-Wconstant-conversion]
      *end++= COM_MULTI;
            ~ ^~~~~~~~~
/data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3/libmariadb/ma_charset.c:1455:24: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
  if ((rc= iconv(conv, (char **)&from, from_len, &to, to_len)) == (size_t)-1)
                       ^~~~~~~~~~~~~~
/usr/include/iconv.h:46:47: note: passing argument to parameter here
size_t  iconv(iconv_t, const char ** __restrict,
                                               ^
[ 26%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_tls.c.o
[ 28%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_list.c.o
[ 29%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_alloc.c.o
[ 30%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_pvio.c.o
[ 31%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_compress.c.o
[ 32%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_init.c.o
[ 33%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_password.c.o
[ 34%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_ll2str.c.o
[ 35%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_sha1.c.o
[ 37%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_stmt.c.o
[ 38%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_loaddata.c.o
2 warnings generated.
[ 39%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_stmt_codec.c.o
[ 40%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_string.c.o
1 warning generated.
[ 41%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_dtoa.c.o
[ 42%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_client_plugin.c.o
[ 43%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_io.c.o
[ 44%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/secure/openssl.c.o
[ 46%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_dyncol.c.o
[ 47%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_async.c.o
[ 48%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_context.c.o
fatal error: error in backend: Starting a frame before finishing the previous one!
clang: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 5.0.1 (branches/release_50 r319952)
Target: x86_64--netbsd
Thread model: posix
InstalledDir: /usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /var/tmp/ma_context-af1cb7.c
clang: note: diagnostic msg: /var/tmp/ma_context-af1cb7.sh
clang: note: diagnostic msg: 

********************
--- libmariadb/CMakeFiles/mariadb_obj.dir/ma_context.c.o ---
*** [libmariadb/CMakeFiles/mariadb_obj.dir/ma_context.c.o] Error code 70

make[2]: stopped in /data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3
1 error

make[2]: stopped in /data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3
--- libmariadb/CMakeFiles/mariadb_obj.dir/all ---
*** [libmariadb/CMakeFiles/mariadb_obj.dir/all] Error code 2

make[1]: stopped in /data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3
1 error

make[1]: stopped in /data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3
*** [all] Error code 2

make: stopped in /data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3
1 error

make: stopped in /data/scratch/databases/mariadb-connector-c/work/mariadb-connector-c-3.0.3
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/databases/mariadb-connector-c
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/databases/mariadb-connector-c