=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for myodbc-8.0.31 [ 1%] Building CXX object util/CMakeFiles/myodbc-util.dir/stringutil.cc.o [ 1%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/array.cc.o [ 2%] Building CXX object mysql_strings/CMakeFiles/uca9dump.dir/uca9-dump.cc.o [ 3%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/charset-def.cc.o [ 3%] Building CXX object util/CMakeFiles/myodbc-util.dir/unicode_transcode.cc.o [ 4%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/charset.cc.o [ 5%] Building CXX object util/CMakeFiles/myodbc-util.dir/installer.cc.o [ 6%] Linking CXX executable ../bin/uca9dump [ 6%] Built target uca9dump [ 6%] Building CXX object util/CMakeFiles/myodbc-util.dir/odbcinstw.cc.o [ 6%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/errors.cc.o [ 6%] Building C object dltest/CMakeFiles/dltest.dir/dltest.c.o /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/dltest/dltest.c: In function 'main': /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/dltest/dltest.c:101:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 101 | if ( strncmp(argv[1],"lib:",4) == 0 || strncmp(argv[1],"sym:",4) == 0 ) | ^~~~~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/dltest/dltest.c:101:31: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 101 | if ( strncmp(argv[1],"lib:",4) == 0 || strncmp(argv[1],"sym:",4) == 0 ) | ^ : note: built-in 'strncmp' declared here /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/dltest/dltest.c:101:65: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 101 | if ( strncmp(argv[1],"lib:",4) == 0 || strncmp(argv[1],"sym:",4) == 0 ) | ^ : note: built-in 'strncmp' declared here /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/dltest/dltest.c:107:34: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 107 | if (strncmp(argv[i],"lib:",4) == 0) | ^ : note: built-in 'strncmp' declared here /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/dltest/dltest.c:111:39: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 111 | else if (strncmp(argv[i],"sym:",4) == 0) | ^ : note: built-in 'strncmp' declared here [ 7%] Linking C executable ../bin/dltest [ 7%] Built target dltest [ 8%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/list.cc.o [ 9%] Generating uca900_zh_tbls.cc, uca900_ja_tbls.cc [ 10%] Linking CXX static library ../lib/libmyodbc-util.a [ 10%] Built target myodbc-util [ 10%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/mf_dirname.cc.o [ 11%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-bin.cc.o [ 11%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-big5.cc.o [ 12%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/mf_pack.cc.o [ 12%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_access.cc.o [ 12%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype.cc.o [ 13%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-cp932.cc.o [ 14%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_alloc.cc.o [ 14%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_file.cc.o [ 14%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-czech.cc.o [ 15%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-eucjpms.cc.o [ 16%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_error.cc.o [ 17%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-euc_kr.cc.o [ 17%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_fstream.cc.o [ 18%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_getwd.cc.o [ 18%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-extra.cc.o [ 19%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-gb18030.cc.o [ 19%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_init.cc.o [ 20%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_lib.cc.o [ 20%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-gb2312.cc.o [ 20%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_malloc.cc.o [ 21%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_mess.cc.o [ 22%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-gbk.cc.o [ 22%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-latin1.cc.o [ 23%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_once.cc.o [ 23%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_open.cc.o [ 24%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-mb.cc.o [ 24%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-simple.cc.o [ 25%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_read.cc.o [ 25%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_static.cc.o [ 26%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-sjis.cc.o [ 27%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_thread.cc.o [ 27%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-tis620.cc.o [ 27%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_thr_init.cc.o [ 28%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/psi_noop.cc.o [ 29%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-uca.cc.o [ 29%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-ucs2.cc.o [ 29%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/sql_chars.cc.o [ 30%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_string.cc.o [ 30%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/thr_cond.cc.o [ 31%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/thr_mutex.cc.o [ 31%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_time.cc.o [ 32%] Building CXX object mysql_sys/CMakeFiles/mysql_sys.dir/my_systime.cc.o [ 33%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-ujis.cc.o [ 33%] Linking CXX static library ../lib/libmysql_sys.a [ 33%] Built target mysql_sys [ 33%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-utf8.cc.o [ 34%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/ctype-win1250ch.cc.o [ 35%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/decimal.cc.o [ 35%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/dtoa.cc.o [ 36%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/int2str.cc.o [ 36%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/my_strchr.cc.o [ 37%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/my_strtoll10.cc.o [ 37%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/str2int.cc.o [ 38%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/str_alloc.cc.o [ 38%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/strcont.cc.o [ 39%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/strmake.cc.o [ 39%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/strxmov.cc.o [ 40%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/strxnmov.cc.o [ 40%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/xml.cc.o [ 40%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/uca900_zh_tbls.cc.o [ 41%] Building CXX object mysql_strings/CMakeFiles/mysql_strings.dir/uca900_ja_tbls.cc.o [ 42%] Linking CXX static library ../lib/libmysql_strings.a [ 42%] Built target mysql_strings [ 42%] Building CXX object driver/CMakeFiles/myodbc8a.dir/catalog.cc.o [ 43%] Building CXX object driver/CMakeFiles/myodbc8w.dir/catalog.cc.o [ 44%] Building CXX object installer/CMakeFiles/myodbc-installer.dir/myodbc-installer.cc.o [ 44%] Linking CXX executable ../bin/myodbc-installer ld: ../lib/libmyodbc-util.a(stringutil.cc.o): in function `myodbc_qsort': (.text+0x17b0): warning: Warning: reference to the libc supplied alloca(3); this most likely will not work. Please use the compiler provided version of alloca(3), by supplying the appropriate compiler flags (e.g. -std=gnu99). In file included from /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:35: /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:64:5: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | "","",NullS,NullS,SC_type,SC_typename, | ^~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:64:8: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 64 | "","",NullS,NullS,SC_type,SC_typename, | ^~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:66:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | SC_length,SC_scale,"10",SC_nullable,"MySQL column", | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:66:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 66 | SC_length,SC_scale,"10",SC_nullable,"MySQL column", | ^~~~~~~~~~~~~~ In file included from /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/driver.h:1234, from /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:34: /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:72:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | MYODBC_FIELD_NAME("TABLE_CAT", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:5: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:72:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 72 | MYODBC_FIELD_NAME("TABLE_CAT", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:13: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:73:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | MYODBC_FIELD_NAME("TABLE_SCHEM", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:5: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:73:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 73 | MYODBC_FIELD_NAME("TABLE_SCHEM", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:13: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:74:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | MYODBC_FIELD_NAME("TABLE_NAME", NOT_NULL_FLAG), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:5: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:74:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 74 | MYODBC_FIELD_NAME("TABLE_NAME", NOT_NULL_FLAG), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:13: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:75:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | MYODBC_FIELD_NAME("COLUMN_NAME", NOT_NULL_FLAG), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:5: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:75:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 75 | MYODBC_FIELD_NAME("COLUMN_NAME", NOT_NULL_FLAG), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:13: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:76:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | MYODBC_FIELD_SHORT("DATA_TYPE", NOT_NULL_FLAG), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:96:5: note: in definition of macro 'MYODBC_FIELD_SHORT' 96 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 5, 5, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:76:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 76 | MYODBC_FIELD_SHORT("DATA_TYPE", NOT_NULL_FLAG), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:96:13: note: in definition of macro 'MYODBC_FIELD_SHORT' 96 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 5, 5, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:77:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | MYODBC_FIELD_STRING("TYPE_NAME", 20, NOT_NULL_FLAG), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:93:5: note: in definition of macro 'MYODBC_FIELD_STRING' 93 | {(name), (name), NullS, NullS, NullS, NullS, NullS, (len*SYSTEM_CHARSET_MBMAXLEN), 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:77:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 77 | MYODBC_FIELD_STRING("TYPE_NAME", 20, NOT_NULL_FLAG), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:93:13: note: in definition of macro 'MYODBC_FIELD_STRING' 93 | {(name), (name), NullS, NullS, NullS, NullS, NullS, (len*SYSTEM_CHARSET_MBMAXLEN), 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:78:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | MYODBC_FIELD_LONG("COLUMN_SIZE", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:99:5: note: in definition of macro 'MYODBC_FIELD_LONG' 99 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 11, 11, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:78:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 78 | MYODBC_FIELD_LONG("COLUMN_SIZE", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:99:13: note: in definition of macro 'MYODBC_FIELD_LONG' 99 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 11, 11, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:79:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | MYODBC_FIELD_LONG("BUFFER_LENGTH", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:99:5: note: in definition of macro 'MYODBC_FIELD_LONG' 99 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 11, 11, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:79:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 79 | MYODBC_FIELD_LONG("BUFFER_LENGTH", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:99:13: note: in definition of macro 'MYODBC_FIELD_LONG' 99 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 11, 11, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:80:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | MYODBC_FIELD_SHORT("DECIMAL_DIGITS", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:96:5: note: in definition of macro 'MYODBC_FIELD_SHORT' 96 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 5, 5, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:80:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 80 | MYODBC_FIELD_SHORT("DECIMAL_DIGITS", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:96:13: note: in definition of macro 'MYODBC_FIELD_SHORT' 96 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 5, 5, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:81:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | MYODBC_FIELD_SHORT("NUM_PREC_RADIX", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:96:5: note: in definition of macro 'MYODBC_FIELD_SHORT' 96 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 5, 5, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:81:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 81 | MYODBC_FIELD_SHORT("NUM_PREC_RADIX", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:96:13: note: in definition of macro 'MYODBC_FIELD_SHORT' 96 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 5, 5, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:82:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | MYODBC_FIELD_SHORT("NULLABLE", NOT_NULL_FLAG), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:96:5: note: in definition of macro 'MYODBC_FIELD_SHORT' 96 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 5, 5, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:82:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | MYODBC_FIELD_SHORT("NULLABLE", NOT_NULL_FLAG), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:96:13: note: in definition of macro 'MYODBC_FIELD_SHORT' 96 | {(name), (name), NullS, NullS, NullS, NullS, NullS, 5, 5, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:83:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | MYODBC_FIELD_NAME("REMARKS", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:5: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:83:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 83 | MYODBC_FIELD_NAME("REMARKS", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:13: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:84:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | MYODBC_FIELD_NAME("COLUMN_DEF", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:5: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:84:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 84 | MYODBC_FIELD_NAME("COLUMN_DEF", 0), /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/myutil.h:90:13: note: in definition of macro 'MYODBC_FIELD_NAME' 90 | {(name), (name), NullS, NullS, NullS, NullS, NullS, NAME_LEN, 0, 0, 0, 0, 0, 0, \ | ^~~~ In file included from /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:35: /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 90 | }; | ^ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.h:90:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc: In function 'SQLRETURN list_table_priv_i_s(SQLHSTMT, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT)': /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:1111:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1111 | add_name_condition_pv_id(hstmt, query, table_name, table_len, " LIKE '%'" ); | ^~~~~~~~~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:1114:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1114 | add_name_condition_oa_id(hstmt, query, catalog_name, catalog_len, "=DATABASE()"); | ^~~~~~~~~~~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc: In function 'SQLRETURN list_column_priv_i_s(HSTMT, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT)': /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:1195:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1195 | add_name_condition_oa_id(hstmt, query, catalog_name, catalog_len, "=DATABASE()"); | ^~~~~~~~~~~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:1198:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1198 | add_name_condition_pv_id(hstmt, query, column_name, column_len, " LIKE '%'"); | ^~~~~~~~~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc: In function 'SQLRETURN foreign_keys_i_s(SQLHSTMT, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT, SQLCHAR*, SQLSMALLINT)': /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:1381:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1381 | update_rule= "CASE" | ^~~~~~ 1382 | " WHEN R.UPDATE_RULE = 'CASCADE' THEN 0" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1383 | " WHEN R.UPDATE_RULE = 'SET NULL' THEN 2" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1384 | " WHEN R.UPDATE_RULE = 'SET DEFAULT' THEN 4" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1385 | " WHEN R.UPDATE_RULE = 'SET RESTRICT' THEN 1" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1386 | " WHEN R.UPDATE_RULE = 'SET NO ACTION' THEN 3" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1387 | " ELSE 3" | ~~~~~~~~~ 1388 | " END"; | ~~~~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:1389:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1389 | delete_rule= "CASE" | ^~~~~~ 1390 | " WHEN R.DELETE_RULE = 'CASCADE' THEN 0" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1391 | " WHEN R.DELETE_RULE = 'SET NULL' THEN 2" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1392 | " WHEN R.DELETE_RULE = 'SET DEFAULT' THEN 4" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1393 | " WHEN R.DELETE_RULE = 'SET RESTRICT' THEN 1" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1394 | " WHEN R.DELETE_RULE = 'SET NO ACTION' THEN 3" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1395 | " ELSE 3" | ~~~~~~~~~ 1396 | " END"; | ~~~~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:1399:7: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1399 | " JOIN INFORMATION_SCHEMA.REFERENTIAL_CONSTRAINTS R" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1400 | " ON (R.CONSTRAINT_NAME = A.CONSTRAINT_NAME" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1401 | " AND R.TABLE_NAME = A.TABLE_NAME" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1402 | " AND R.CONSTRAINT_SCHEMA = A.TABLE_SCHEMA)"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:1407:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1407 | update_rule= delete_rule= "1"; | ^~~ /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31/driver/catalog.cc:1408:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 1408 | ref_constraints_join= ""; | ^~ ld: (.text+0x17b0): undefined reference to `alloca' ld: (.text+0x17d0): undefined reference to `alloca' --- bin/myodbc-installer --- *** [bin/myodbc-installer] Error code 1 make[2]: stopped in /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31 1 error make[2]: stopped in /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31 --- driver/CMakeFiles/myodbc8w.dir/all --- *** [driver/CMakeFiles/myodbc8w.dir/all] Error code 6 make[1]: stopped in /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31 --- driver/CMakeFiles/myodbc8a.dir/all --- *** [driver/CMakeFiles/myodbc8a.dir/all] Error code 6 make[1]: stopped in /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31 --- installer/CMakeFiles/myodbc-installer.dir/all --- *** [installer/CMakeFiles/myodbc-installer.dir/all] Error code 2 make[1]: stopped in /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31 3 errors make[1]: stopped in /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31 *** [all] Error code 2 make: stopped in /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31 1 error make: stopped in /tmp/pkgbuild/databases/myodbc/work.alpha/mysql-connector-odbc-8.0.31 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/databases/myodbc *** Error code 1 Stop. make: stopped in /usr/pkgsrc/databases/myodbc