+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 MYSQL_VERSION_REQD=57 WRKLOG=/tmp/bulklog/ruby31-mysql28-2.8.2nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 MYSQL_VERSION_REQD=57 WRKLOG=/tmp/bulklog/ruby31-mysql28-2.8.2nb1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for ruby31-mysql28-2.8.2nb1 compiling mysql.c mysql.c: In function 'mysql_raise': mysql.c:173:5: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 173 | rb_iv_set(e, "sqlstate", rb_tainted_str_new2(mysql_sqlstate(m))); | ^~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'make_field_obj': mysql.c:200:5: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 200 | rb_iv_set(obj, "name", f->name? rb_str_freeze(rb_tainted_str_new2(f->name)): Qnil); | ^~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c:201:5: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 201 | rb_iv_set(obj, "table", f->table? rb_str_freeze(rb_tainted_str_new2(f->table)): Qnil); | ^~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c:202:5: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 202 | rb_iv_set(obj, "def", f->def? rb_str_freeze(rb_tainted_str_new2(f->def)): Qnil); | ^~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'client_info': mysql.c:297:5: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 297 | return rb_tainted_str_new2(mysql_get_client_info()); | ^~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/value_type.h:30, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:38, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rstring.h:30, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/arithmetic/char.h:29, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/arithmetic.h:23, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:27, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: mysql.c: In function 'character_set_name': /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:63:55: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 63 | #define RDATA(obj) RBIMPL_CAST((struct RData *)(obj)) | ^~~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/constant_p.h:33:55: note: in definition of macro 'RBIMPL_CONSTANT_P' 33 | # define RBIMPL_CONSTANT_P(expr) __builtin_constant_p(expr) | ^~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1742:29: note: in expansion of macro 'rb_tainted_str_new_cstr' 1742 | #define rb_tainted_str_new2 rb_tainted_str_new_cstr /**< @old{rb_tainted_str_new_cstr} */ | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:63:35: note: in expansion of macro 'RBIMPL_CAST' 63 | #define RDATA(obj) RBIMPL_CAST((struct RData *)(obj)) | ^~~~~~~~~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:71:35: note: in expansion of macro 'RDATA' 71 | #define DATA_PTR(obj) RDATA(obj)->data | ^~~~~ mysql.c:41:70: note: in expansion of macro 'DATA_PTR' 41 | #define GetHandler(obj) (Check_Type(obj, T_DATA), &(((struct mysql*)DATA_PTR(obj))->handler)) | ^~~~~~~~ mysql.c:472:57: note: in expansion of macro 'GetHandler' 472 | return rb_tainted_str_new2(mysql_character_set_name(GetHandler(obj))); | ^~~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/value_type.h:30, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:38, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rstring.h:30, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/arithmetic/char.h:29, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/arithmetic.h:23, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:27, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: mysql.c: In function 'host_info': /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:63:55: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 63 | #define RDATA(obj) RBIMPL_CAST((struct RData *)(obj)) | ^~~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/constant_p.h:33:55: note: in definition of macro 'RBIMPL_CONSTANT_P' 33 | # define RBIMPL_CONSTANT_P(expr) __builtin_constant_p(expr) | ^~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1742:29: note: in expansion of macro 'rb_tainted_str_new_cstr' 1742 | #define rb_tainted_str_new2 rb_tainted_str_new_cstr /**< @old{rb_tainted_str_new_cstr} */ | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:63:35: note: in expansion of macro 'RBIMPL_CAST' 63 | #define RDATA(obj) RBIMPL_CAST((struct RData *)(obj)) | ^~~~~~~~~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:71:35: note: in expansion of macro 'RDATA' 71 | #define DATA_PTR(obj) RDATA(obj)->data | ^~~~~ mysql.c:41:70: note: in expansion of macro 'DATA_PTR' 41 | #define GetHandler(obj) (Check_Type(obj, T_DATA), &(((struct mysql*)DATA_PTR(obj))->handler)) | ^~~~~~~~ mysql.c:537:52: note: in expansion of macro 'GetHandler' 537 | return rb_tainted_str_new2(mysql_get_host_info(GetHandler(obj))); | ^~~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/value_type.h:30, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/fl_type.h:38, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rstring.h:30, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/arithmetic/char.h:29, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/arithmetic.h:23, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:27, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: mysql.c: In function 'server_info': /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:63:55: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 63 | #define RDATA(obj) RBIMPL_CAST((struct RData *)(obj)) | ^~~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/constant_p.h:33:55: note: in definition of macro 'RBIMPL_CONSTANT_P' 33 | # define RBIMPL_CONSTANT_P(expr) __builtin_constant_p(expr) | ^~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1742:29: note: in expansion of macro 'rb_tainted_str_new_cstr' 1742 | #define rb_tainted_str_new2 rb_tainted_str_new_cstr /**< @old{rb_tainted_str_new_cstr} */ | ^~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:63:35: note: in expansion of macro 'RBIMPL_CAST' 63 | #define RDATA(obj) RBIMPL_CAST((struct RData *)(obj)) | ^~~~~~~~~~~ /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rdata.h:71:35: note: in expansion of macro 'RDATA' 71 | #define DATA_PTR(obj) RDATA(obj)->data | ^~~~~ mysql.c:41:70: note: in expansion of macro 'DATA_PTR' 41 | #define GetHandler(obj) (Check_Type(obj, T_DATA), &(((struct mysql*)DATA_PTR(obj))->handler)) | ^~~~~~~~ mysql.c:549:54: note: in expansion of macro 'GetHandler' 549 | return rb_tainted_str_new2(mysql_get_server_info(GetHandler(obj))); | ^~~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'info': mysql.c:556:5: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 556 | return p? rb_tainted_str_new2(p): Qnil; | ^~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'list_dbs': mysql.c:591:2: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 591 | rb_ary_store(ret, i, rb_tainted_str_new2(mysql_fetch_row(res)[0])); | ^~~~~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'list_tables': mysql.c:636:2: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 636 | rb_ary_store(ret, i, rb_tainted_str_new2(mysql_fetch_row(res)[0])); | ^~~~~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'my_stat': mysql.c:700:5: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 700 | return rb_tainted_str_new2(s); | ^~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'sqlstate': mysql.c:867:5: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 867 | return rb_tainted_str_new2(mysql_sqlstate(m)); | ^~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'fetch_hash2': mysql.c:1056:17: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 1056 | VALUE s = rb_tainted_str_new2(fields[i].name); | ^~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'mysql_stmt_raise': mysql.c:1260:5: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 1260 | rb_iv_set(e, "sqlstate", rb_tainted_str_new2(mysql_stmt_sqlstate(s))); | ^~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mysql.c: In function 'stmt_sqlstate': mysql.c:1769:5: warning: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] 1769 | return rb_tainted_str_new2(mysql_stmt_sqlstate(s->stmt)); | ^~~~~~ In file included from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/intern.h:57, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/ruby.h:192, from /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby.h:38, from mysql.c:5: /home/pbulk/build/databases/ruby-mysql28/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1411:1: note: declared here 1411 | rbimpl_tainted_str_new_cstr(const char *str) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ linking shared-object mysql.so