=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for ruby33-bz2-0.2.2nb2 compiling bz2.c bz2.c:61:6: warning: assigning to 'char *' from 'const char[19]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] msg = "uncorrect sequence"; ^ ~~~~~~~~~~~~~~~~~~~~ bz2.c:64:6: warning: assigning to 'char *' from 'const char[23]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] msg = "parameter out of range"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~ bz2.c:67:6: warning: assigning to 'char *' from 'const char[31]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] msg = "not enough memory is available"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bz2.c:70:6: warning: assigning to 'char *' from 'const char[33]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] msg = "data integrity error is detected"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bz2.c:73:6: warning: assigning to 'char *' from 'const char[62]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] msg = "compressed stream does not start with the correct magic bytes"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bz2.c:76:6: warning: assigning to 'char *' from 'const char[25]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] msg = "error reading or writing"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ bz2.c:80:6: warning: assigning to 'char *' from 'const char[70]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] msg = "compressed file finishes before the logical end of stream is detected"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bz2.c:83:6: warning: assigning to 'char *' from 'const char[19]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] msg = "output buffer full"; ^ ~~~~~~~~~~~~~~~~~~~~ bz2.c:87:6: warning: assigning to 'char *' from 'const char[54]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] msg = "library has been improperly compiled on your platform"; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bz2.c:90:6: warning: assigning to 'char *' from 'const char[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] msg = "unknown error"; ^ ~~~~~~~~~~~~~~~ bz2.c:93:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] rb_raise(exc, msg); ^~~ bz2.c:93:19: note: treat the string as an argument to avoid this rb_raise(exc, msg); ^ "%s", bz2.c:164:26: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (bzf->bzs.avail_out < bzf->buflen) { ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ bz2.c:194:28: warning: 'finalize' is deprecated: with no replacement [-Wdeprecated-declarations] RFILE(bzf->io)->fptr->finalize = bziv->finalize; ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/io.h:173:5: note: 'finalize' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("with no replacement")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:190:14: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] closed = bz_writer_internal_flush(bzf); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bz2.c:232:26: warning: 'finalize' is deprecated: with no replacement [-Wdeprecated-declarations] RFILE(bziv->io)->fptr->finalize = bziv->finalize; ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/io.h:173:5: note: 'finalize' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("with no replacement")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:238:15: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] closed = bz_writer_internal_flush(bzf); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bz2.c:323:16: warning: 'fd' is deprecated: rb_io_descriptor [-Wdeprecated-declarations] if (file->fd) { ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/io.h:153:5: note: 'fd' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("rb_io_descriptor")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:324:15: warning: 'fd' is deprecated: rb_io_descriptor [-Wdeprecated-declarations] close(file->fd); ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/io.h:153:5: note: 'fd' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("rb_io_descriptor")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:325:9: warning: 'fd' is deprecated: rb_io_descriptor [-Wdeprecated-declarations] file->fd = -1; ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/io.h:153:5: note: 'fd' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("rb_io_descriptor")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:327:16: warning: 'stdio_file' is deprecated: with no replacement [-Wdeprecated-declarations] if (file->stdio_file) { ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/io.h:149:5: note: 'stdio_file' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("with no replacement")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:328:16: warning: 'stdio_file' is deprecated: with no replacement [-Wdeprecated-declarations] fclose(file->stdio_file); ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/io.h:149:5: note: 'stdio_file' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("with no replacement")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:329:9: warning: 'stdio_file' is deprecated: with no replacement [-Wdeprecated-declarations] file->stdio_file = 0; ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/io.h:149:5: note: 'stdio_file' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("with no replacement")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:489:39: warning: 'finalize' is deprecated: with no replacement [-Wdeprecated-declarations] bziv->finalize = RFILE(a)->fptr->finalize; ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/io.h:173:5: note: 'finalize' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("with no replacement")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:490:22: warning: 'finalize' is deprecated: with no replacement [-Wdeprecated-declarations] RFILE(a)->fptr->finalize = bz_io_data_finalize; ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/io.h:173:5: note: 'finalize' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("with no replacement")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:530:25: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32] bzf->bzs.avail_in = RSTRING_LEN(a); ~ ^~~~~~~~~~~~~~ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ bz2.c:540:25: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (bzf->bzs.avail_out < bzf->buflen) { ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ bz2.c:545:20: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] return INT2NUM(RSTRING_LEN(a)); ~~~~~~~ ^~~~~~~~~~~~~~ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ bz2.c:569:9: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] if (OBJ_TAINTED(str)) { ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:143:25: note: expanded from macro 'OBJ_TAINTED' #define OBJ_TAINTED RB_OBJ_TAINTED /**< @old{RB_OBJ_TAINTED} */ ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:782:1: note: 'RB_OBJ_TAINTED' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:572:2: warning: 'RB_OBJ_TAINT' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] OBJ_TAINT(bzf->io); ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:141:25: note: expanded from macro 'OBJ_TAINT' #define OBJ_TAINT RB_OBJ_TAINT /**< @old{RB_OBJ_TAINT} */ ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:815:1: note: 'RB_OBJ_TAINT' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:631:9: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] if (OBJ_TAINTED(a)) { ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:143:25: note: expanded from macro 'OBJ_TAINTED' #define OBJ_TAINTED RB_OBJ_TAINTED /**< @old{RB_OBJ_TAINTED} */ ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:782:1: note: 'RB_OBJ_TAINTED' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:632:2: warning: 'RB_OBJ_TAINT' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] OBJ_TAINT(obj); ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:141:25: note: expanded from macro 'OBJ_TAINT' #define OBJ_TAINT RB_OBJ_TAINT /**< @old{RB_OBJ_TAINT} */ ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:815:1: note: 'RB_OBJ_TAINT' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:720:22: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32] bzf->bzs.avail_in = RSTRING_LEN(bzf->in); ~ ^~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ bz2.c:761:30: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = tx - bzf->bzs.next_out + len; ~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ bz2.c:776:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] i = tx - bzf->bzs.next_out + len; ~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~ bz2.c:822:28: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32] bzf->bzs.avail_out = end - bzf->bzs.next_out; ~ ~~~~^~~~~~~~~~~~~~~~~~~~ bz2.c:859:9: warning: 'RB_OBJ_TAINTED' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] if (OBJ_TAINTED(obj)) { ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:143:25: note: expanded from macro 'OBJ_TAINTED' #define OBJ_TAINTED RB_OBJ_TAINTED /**< @old{RB_OBJ_TAINTED} */ ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:782:1: note: 'RB_OBJ_TAINTED' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:860:2: warning: 'RB_OBJ_TAINT' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] OBJ_TAINT(res); ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:141:25: note: expanded from macro 'OBJ_TAINT' #define OBJ_TAINT RB_OBJ_TAINT /**< @old{RB_OBJ_TAINT} */ ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:815:1: note: 'RB_OBJ_TAINT' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:907:28: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] if (bzf->bzs.avail_out < bzf->buflen) { ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ bz2.c:958:27: warning: passing 'const char[2]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] str = bz_read_until(bzf, "\n", 1, 0); ^~~~ bz2.c:961:6: warning: 'RB_OBJ_TAINT' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] OBJ_TAINT(str); ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:141:25: note: expanded from macro 'OBJ_TAINT' #define OBJ_TAINT RB_OBJ_TAINT /**< @old{RB_OBJ_TAINT} */ ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:815:1: note: 'RB_OBJ_TAINT' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:994:8: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] rsptr = "\n\n"; ^ ~~~~~~ bz2.c:1032:2: warning: 'RB_OBJ_TAINT' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] OBJ_TAINT(res); ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:141:25: note: expanded from macro 'OBJ_TAINT' #define OBJ_TAINT RB_OBJ_TAINT /**< @old{RB_OBJ_TAINT} */ ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/fl_type.h:815:1: note: 'RB_OBJ_TAINT' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ bz2.c:988:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] rslen = RSTRING_LEN(rs); ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ bz2.c:1052:25: warning: implicit conversion loses integer precision: 'long' to 'unsigned int' [-Wshorten-64-to-32] bzf->bzs.avail_in = RSTRING_LEN(bzf->in); ~ ^~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ bz2.c:1072:1: warning: function 'bz_eoz_error' could be declared with attribute 'noreturn' [-Wmissing-noreturn] { ^ bz2.c:1172:8: warning: implicit declaration of function 'rb_tainted_str_new' is invalid in C99 [-Wimplicit-function-declaration] res = rb_tainted_str_new(bzf->bzs.next_in, bzf->bzs.avail_in); ^ bz2.c:1176:8: warning: implicit declaration of function 'rb_tainted_str_new' is invalid in C99 [-Wimplicit-function-declaration] res = rb_tainted_str_new(0, 0); ^ bz2.c:1216:23: warning: too few arguments in call to 'bz_reader_ungetc' bz_reader_ungetc(res); ~~~~~~~~~~~~~~~~ ^ bz2.c:1433:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] count = RSTRING_LEN(bzs->str); ~ ^~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/archivers/ruby-bz2/work/.buildlink/include/ruby-3.3.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ 49 warnings generated. linking shared-object bz2.bundle Undefined symbols for architecture arm64: "_rb_tainted_str_new", referenced from: _bz_reader_unused in bz2.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [bz2.bundle] Error code 1 (ignored)