=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-ferret", "stage-install", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "RUBY_VERSION_REQD=40"] ===> Installing for ruby40-ferret-0.11.8.7nb1 => Generating pre-install file lists => Installing gem into installation root Building native extensions. This could take a while... ERROR: Error installing /tmp/work/textproc/ruby-ferret/work/ferret-0.11.8.7/ferret-0.11.8.7.gem: ERROR: Failed to build gem native extension. current directory: /tmp/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext /opt/pkg/bin/ruby40 extconf.rb creating Makefile current directory: /tmp/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext make -j33 DESTDIR\= sitearchdir\=./.gem.20260719-94647-y0hatz sitelibdir\=./.gem.20260719-94647-y0hatz clean --- clean-static --- --- clean --- current directory: /tmp/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext make -j33 DESTDIR\= sitearchdir\=./.gem.20260719-94647-y0hatz sitelibdir\=./.gem.20260719-94647-y0hatz --- BZLIB_blocksort.o --- --- BZLIB_bzlib.o --- --- BZLIB_compress.o --- --- BZLIB_crctable.o --- --- BZLIB_decompress.o --- --- BZLIB_huffman.o --- --- BZLIB_randtable.o --- --- STEMMER_api.o --- --- STEMMER_libstemmer.o --- --- STEMMER_stem_ISO_8859_1_danish.o --- --- STEMMER_stem_ISO_8859_1_dutch.o --- --- STEMMER_stem_ISO_8859_1_english.o --- --- STEMMER_stem_ISO_8859_1_finnish.o --- --- STEMMER_stem_ISO_8859_1_french.o --- --- STEMMER_stem_ISO_8859_1_german.o --- --- STEMMER_stem_ISO_8859_1_hungarian.o --- --- STEMMER_stem_ISO_8859_1_italian.o --- --- STEMMER_stem_ISO_8859_1_norwegian.o --- --- STEMMER_stem_ISO_8859_1_porter.o --- --- STEMMER_stem_ISO_8859_1_portuguese.o --- --- STEMMER_stem_ISO_8859_1_spanish.o --- --- STEMMER_stem_ISO_8859_1_swedish.o --- --- STEMMER_stem_ISO_8859_2_romanian.o --- --- STEMMER_stem_KOI8_R_russian.o --- --- STEMMER_stem_UTF_8_danish.o --- --- STEMMER_stem_UTF_8_dutch.o --- --- STEMMER_stem_UTF_8_english.o --- --- STEMMER_stem_UTF_8_finnish.o --- --- STEMMER_stem_UTF_8_french.o --- --- STEMMER_stem_UTF_8_german.o --- --- STEMMER_stem_UTF_8_hungarian.o --- --- STEMMER_stem_UTF_8_italian.o --- --- STEMMER_stem_UTF_8_norwegian.o --- --- BZLIB_blocksort.o --- compiling BZLIB_blocksort.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- BZLIB_bzlib.o --- compiling BZLIB_bzlib.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- BZLIB_compress.o --- compiling BZLIB_compress.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- BZLIB_crctable.o --- compiling BZLIB_crctable.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- BZLIB_decompress.o --- compiling BZLIB_decompress.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- BZLIB_randtable.o --- compiling BZLIB_randtable.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_api.o --- compiling STEMMER_api.c --- STEMMER_libstemmer.o --- compiling STEMMER_libstemmer.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_ISO_8859_1_danish.o --- compiling STEMMER_stem_ISO_8859_1_danish.c --- STEMMER_stem_ISO_8859_1_dutch.o --- compiling STEMMER_stem_ISO_8859_1_dutch.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_ISO_8859_1_english.o --- compiling STEMMER_stem_ISO_8859_1_english.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_ISO_8859_1_finnish.o --- compiling STEMMER_stem_ISO_8859_1_finnish.c --- STEMMER_stem_ISO_8859_1_french.o --- compiling STEMMER_stem_ISO_8859_1_french.c --- STEMMER_stem_ISO_8859_1_german.o --- compiling STEMMER_stem_ISO_8859_1_german.c --- STEMMER_stem_ISO_8859_1_hungarian.o --- compiling STEMMER_stem_ISO_8859_1_hungarian.c --- STEMMER_stem_ISO_8859_1_italian.o --- compiling STEMMER_stem_ISO_8859_1_italian.c --- STEMMER_stem_ISO_8859_1_norwegian.o --- compiling STEMMER_stem_ISO_8859_1_norwegian.c --- STEMMER_stem_ISO_8859_1_porter.o --- compiling STEMMER_stem_ISO_8859_1_porter.c --- STEMMER_stem_ISO_8859_1_portuguese.o --- compiling STEMMER_stem_ISO_8859_1_portuguese.c --- STEMMER_stem_ISO_8859_1_spanish.o --- compiling STEMMER_stem_ISO_8859_1_spanish.c --- STEMMER_stem_ISO_8859_1_swedish.o --- compiling STEMMER_stem_ISO_8859_1_swedish.c --- STEMMER_stem_ISO_8859_2_romanian.o --- compiling STEMMER_stem_ISO_8859_2_romanian.c --- STEMMER_stem_KOI8_R_russian.o --- compiling STEMMER_stem_KOI8_R_russian.c --- STEMMER_stem_UTF_8_danish.o --- compiling STEMMER_stem_UTF_8_danish.c --- STEMMER_stem_UTF_8_dutch.o --- compiling STEMMER_stem_UTF_8_dutch.c --- STEMMER_stem_ISO_8859_1_french.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_english.o --- compiling STEMMER_stem_UTF_8_english.c --- STEMMER_stem_UTF_8_finnish.o --- compiling STEMMER_stem_UTF_8_finnish.c --- STEMMER_stem_UTF_8_french.o --- compiling STEMMER_stem_UTF_8_french.c --- STEMMER_stem_UTF_8_german.o --- compiling STEMMER_stem_UTF_8_german.c --- STEMMER_stem_UTF_8_italian.o --- compiling STEMMER_stem_UTF_8_italian.c --- STEMMER_stem_UTF_8_hungarian.o --- compiling STEMMER_stem_UTF_8_hungarian.c --- STEMMER_stem_ISO_8859_1_german.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_norwegian.o --- compiling STEMMER_stem_UTF_8_norwegian.c --- STEMMER_stem_ISO_8859_1_finnish.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- BZLIB_huffman.o --- compiling BZLIB_huffman.c --- STEMMER_stem_UTF_8_porter.o --- --- STEMMER_stem_ISO_8859_1_hungarian.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_ISO_8859_1_italian.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_ISO_8859_1_norwegian.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_porter.o --- compiling STEMMER_stem_UTF_8_porter.c --- STEMMER_stem_ISO_8859_1_porter.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_ISO_8859_2_romanian.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_ISO_8859_1_spanish.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_portuguese.o --- --- STEMMER_stem_ISO_8859_1_danish.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_portuguese.o --- compiling STEMMER_stem_UTF_8_portuguese.c --- STEMMER_stem_ISO_8859_1_swedish.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_danish.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_dutch.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_KOI8_R_russian.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_ISO_8859_1_portuguese.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_italian.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_api.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_norwegian.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_french.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_finnish.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_hungarian.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_english.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_german.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_portuguese.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_porter.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- BZLIB_huffman.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_romanian.o --- --- STEMMER_stem_UTF_8_russian.o --- --- STEMMER_stem_UTF_8_romanian.o --- compiling STEMMER_stem_UTF_8_romanian.c --- STEMMER_stem_UTF_8_russian.o --- compiling STEMMER_stem_UTF_8_russian.c --- STEMMER_stem_UTF_8_spanish.o --- compiling STEMMER_stem_UTF_8_spanish.c --- STEMMER_stem_UTF_8_swedish.o --- compiling STEMMER_stem_UTF_8_swedish.c --- STEMMER_stem_UTF_8_romanian.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_russian.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_stem_UTF_8_turkish.o --- --- STEMMER_utilities.o --- --- STEMMER_stem_UTF_8_turkish.o --- compiling STEMMER_stem_UTF_8_turkish.c --- STEMMER_stem_UTF_8_swedish.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- STEMMER_utilities.o --- compiling STEMMER_utilities.c --- STEMMER_stem_UTF_8_spanish.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- analysis.o --- --- array.o --- --- analysis.o --- compiling analysis.c --- array.o --- compiling array.c --- bitvector.o --- compiling bitvector.c --- STEMMER_utilities.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- array.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- analysis.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- compound_io.o --- --- document.o --- --- compound_io.o --- compiling compound_io.c --- document.o --- compiling document.c --- STEMMER_stem_UTF_8_turkish.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- bitvector.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- except.o --- compiling except.c --- document.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- compound_io.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- except.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- ferret.o --- compiling ferret.c --- field_index.o --- compiling field_index.c --- filter.o --- --- fs_store.o --- --- filter.o --- compiling filter.c --- fs_store.o --- compiling fs_store.c --- global.o --- compiling global.c --- ferret.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- field_index.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- hash.o --- --- filter.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- hash.o --- compiling hash.c --- global.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- fs_store.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- hashset.o --- compiling hashset.c --- helper.o --- --- index.o --- --- helper.o --- compiling helper.c --- lang.o --- --- index.o --- compiling index.c --- lang.o --- compiling lang.c --- hashset.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- mempool.o --- --- multimapper.o --- --- mempool.o --- compiling mempool.c --- helper.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- multimapper.o --- compiling multimapper.c --- posh.o --- --- hash.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- posh.o --- compiling posh.c --- priorityqueue.o --- compiling priorityqueue.c --- index.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_boolean.o --- --- lang.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_const_score.o --- --- q_boolean.o --- compiling q_boolean.c --- q_const_score.o --- compiling q_const_score.c --- mempool.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_filtered_query.o --- compiling q_filtered_query.c --- posh.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_fuzzy.o --- --- multimapper.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_fuzzy.o --- compiling q_fuzzy.c --- q_match_all.o --- compiling q_match_all.c --- q_boolean.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- priorityqueue.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_const_score.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_filtered_query.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_fuzzy.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_match_all.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_multi_term.o --- compiling q_multi_term.c --- q_parser.o --- compiling q_parser.c --- q_multi_term.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_parser.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_phrase.o --- compiling q_phrase.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_prefix.o --- compiling q_prefix.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_range.o --- --- q_span.o --- --- q_range.o --- compiling q_range.c --- q_span.o --- compiling q_span.c --- q_term.o --- --- q_wildcard.o --- --- q_term.o --- compiling q_term.c --- q_wildcard.o --- compiling q_wildcard.c --- q_range.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- r_analysis.o --- compiling r_analysis.c --- q_wildcard.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_span.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- q_term.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- ferret.o --- ferret.c: In function 'frb_data_alloc': ferret.c:104:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 104 | return Frt_Make_Struct(klass); | ^~~~~~ In file included from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core.h:27, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/ruby.h:29, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby.h:38, from lang.h:7, from global.h:10, from ferret.h:4, from ferret.c:2: /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_analysis.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- multimapper.o --- In file included from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/defines.h:71, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/ruby.h:25, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby.h:38, from lang.h:7, from global.h:10, from hash.h:8, from multimapper.h:8, from multimapper.c:1: multimapper.c: In function 'frt_mulmap_dynamic_map': /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/xmalloc.h:56:19: warning: ignoring return value of 'ruby_xrealloc', declared with attribute 'nodiscard' [-Wunused-result] 56 | #define xrealloc ruby_xrealloc /**< @old{ruby_xrealloc} */ lang.h:15:22: note: in expansion of macro 'xrealloc' 15 | #define frt_erealloc xrealloc | ^~~~~~~~ internal.h:472:56: note: in expansion of macro 'frt_erealloc' 472 | #define erealloc frt_erealloc | ^~~~~~~~~~~~ multimapper.c:328:13: note: in expansion of macro 'erealloc' 328 | erealloc(to, capa); | ^~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/xmalloc.h:193:7: note: declared here 193 | void *ruby_xrealloc(void *ptr, size_t newsiz) | ^~~~~~~~~~~~~ --- r_index.o --- --- r_qparser.o --- --- r_search.o --- --- r_index.o --- compiling r_index.c --- r_qparser.o --- compiling r_qparser.c --- r_search.o --- compiling r_search.c --- r_index.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- r_search.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- r_qparser.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- r_store.o --- compiling r_store.c --- r_utils.o --- --- r_store.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- r_utils.o --- compiling r_utils.c --- ram_store.o --- compiling ram_store.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- r_utils.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- scanner.o --- compiling scanner.c --- r_analysis.o --- r_analysis.c: In function 'frb_token_alloc': r_analysis.c:130:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 130 | return Data_Wrap_Struct(klass, &frb_token_mark, &frb_token_free, | ^~~~~~ In file included from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core.h:27, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/ruby.h:29, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby.h:38, from lang.h:7, from r_analysis.c:1: /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'get_token': r_analysis.c:143:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 143 | return Data_Wrap_Struct(cToken, &frb_token_mark, &frb_token_free, token); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_set_token': r_analysis.c:153:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 153 | Data_Get_Struct(rt, RToken, rtk); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_token_init': r_analysis.c:197:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 197 | GET_TK(token, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_index.o --- r_index.c: In function 'frb_get_field_info': r_index.c:167:13: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 167 | rfi = Data_Wrap_Struct(cFieldInfo, NULL, &frb_fi_free, fi); | ^~~ In file included from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core.h:27, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/ruby.h:29, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby.h:38, from lang.h:7, from global.h:10, from ferret.h:4, from r_index.c:1: /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- scanner_mb.o --- --- r_analysis.o --- r_analysis.c: In function 'frb_token_cmp': r_analysis.c:227:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 227 | GET_TK(token, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c:228:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 228 | GET_TK(other, rother); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_token_get_text': r_analysis.c:255:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 255 | GET_TK(token, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- scanner_mb.o --- compiling scanner_mb.c --- r_analysis.o --- r_analysis.c: In function 'frb_token_set_text': r_analysis.c:269:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 269 | GET_TK(token, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_token_get_start_offset': r_analysis.c:284:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 284 | GET_TK(token, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_token_get_end_offset': r_analysis.c:298:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 298 | GET_TK(token, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_token_get_pos_inc': r_analysis.c:312:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 312 | GET_TK(token, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_token_set_start_offset': r_analysis.c:326:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 326 | GET_TK(token, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_token_set_end_offset': r_analysis.c:341:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 341 | GET_TK(token, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_token_set_pos_inc': r_analysis.c:377:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 377 | GET_TK(token, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_token_to_s': r_analysis.c:393:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 393 | GET_TK(token, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'get_rb_token_stream': r_analysis.c:435:13: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 435 | rts = Data_Wrap_Struct(cTokenStream, &frb_rets_mark, | ^~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c:438:13: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 438 | rts = Data_Wrap_Struct(cTokenStream, &frb_ts_mark, | ^~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_ts_set_text': r_analysis.c:470:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 470 | Data_Get_Struct(self, TokenStream, ts); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_ts_get_text': r_analysis.c:491:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 491 | Data_Get_Struct(self, TokenStream, ts); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_ts_next': r_analysis.c:513:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 513 | GET_TS(ts, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_get_cwrapped_rts': r_analysis.c:600:9: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 600 | GET_TS(ts, rts); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_rets_set_text': r_analysis.c:687:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 687 | GET_TS(ts, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_rets_get_text': r_analysis.c:707:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 707 | GET_TS(ts, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- scanner.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- scanner_utf8.o --- compiling scanner_utf8.c --- search.o --- --- r_index.o --- r_index.c: In function 'frb_get_field_infos': r_index.c:408:13: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 408 | rfis = Data_Wrap_Struct(cFieldInfos, &frb_fis_mark, &frb_fis_free, | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- search.o --- compiling search.c --- r_qparser.o --- r_qparser.c: In function 'frb_get_fields': r_qparser.c:69:41: warning: comparison between pointer and zero character constant [-Wpointer-compare] 69 | while ((p = strchr(s, '|')) != '\0') { | ^~ r_qparser.c:69:20: note: did you mean to dereference the pointer? 69 | while ((p = strchr(s, '|')) != '\0') { | ^ --- scanner_mb.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- scanner_utf8.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- search.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- similarity.o --- --- sort.o --- --- r_index.o --- r_index.c: In function 'frb_get_te': r_index.c:698:9: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 698 | self = Data_Wrap_Struct(cTermEnum, NULL, &frb_te_free, te); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_store.o --- r_store.c: In function 'frb_lock_obtain': r_store.c:72:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 72 | GET_LOCK(lock, self); | ^~~~~~~~ In file included from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core.h:27, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/ruby.h:29, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby.h:38, from lang.h:7, from global.h:10, from ferret.h:4, from r_store.c:1: /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- similarity.o --- compiling similarity.c --- sort.o --- compiling sort.c --- r_index.o --- r_index.c: In function 'frb_get_tde': r_index.c:921:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 921 | VALUE self = Data_Wrap_Struct(cTermDocEnum, NULL, &frb_tde_free, tde); | ^~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_analysis.o --- r_analysis.c: In function 'frb_get_cwrapped_analyzer': r_analysis.c:1250:9: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1250 | Data_Get_Struct(ranalyzer, Analyzer, a); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_get_analyzer': r_analysis.c:1279:13: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1279 | self = Data_Wrap_Struct(cAnalyzer, NULL, &frb_analyzer_free, a); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_analyzer_token_stream': r_analysis.c:1314:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1314 | GET_A(a, self); | ^~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- r_search.c: In function 'frb_q_eql': r_search.c:482:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 482 | Data_Get_Struct(other, Query, oq); | ^~~~~~~~~~~~~~~ In file included from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core.h:27, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/ruby.h:29, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby.h:38, from lang.h:7, from global.h:10, from ferret.h:4, from r_search.c:1: /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_get_q': r_search.c:526:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 526 | self = MK_QUERY(cTermQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:529:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 529 | self = MK_QUERY(cMultiTermQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:532:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 532 | self = MK_QUERY(cBooleanQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:535:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 535 | self = MK_QUERY(cPhraseQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:538:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 538 | self = MK_QUERY(cConstantScoreQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:541:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 541 | self = MK_QUERY(cFilteredQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:544:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 544 | self = MK_QUERY(cMatchAllQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c: In function 'frb_bv_alloc': r_utils.c:26:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 26 | VALUE rbv = Data_Wrap_Struct(klass, NULL, &frb_bv_free, bv); | ^~~~~ --- r_search.o --- r_search.c:547:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 547 | self = MK_QUERY(cRangeQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- In file included from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core.h:27, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/ruby.h:29, from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby.h:38, from lang.h:7, from global.h:10, from ferret.h:4, from r_utils.c:1: /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- r_search.c:550:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 550 | self = MK_QUERY(cTypedRangeQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c: In function 'frb_get_bv': r_utils.c:38:9: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 38 | rbv = Data_Wrap_Struct(cBitVector, NULL, &frb_bv_free, bv); | ^~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- r_search.c:553:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 553 | self = MK_QUERY(cWildcardQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c: In function 'frb_bv_set': r_utils.c:69:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 69 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- r_search.c:556:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 556 | self = MK_QUERY(cFuzzyQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c: In function 'frb_bv_get': r_utils.c:121:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 121 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- r_search.c:559:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 559 | self = MK_QUERY(cPrefixQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c: In function 'frb_bv_count': r_utils.c:141:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 141 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_clear': --- r_search.o --- r_search.c:562:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 562 | self = MK_QUERY(cSpanMultiTermQuery, q); | ^~~~ --- r_utils.o --- r_utils.c:156:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 156 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c: In function 'frb_bv_eql': r_utils.c:175:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 175 | GET_BV(bv1, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- r_search.c:565:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 565 | self = MK_QUERY(cSpanPrefixQuery, q); | ^~~~ --- r_utils.o --- r_utils.c:176:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 176 | GET_BV(bv2, other); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c: In function 'frb_bv_hash': r_utils.c:191:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 191 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- r_search.c:568:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 568 | self = MK_QUERY(cSpanTermQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c: In function 'frb_bv_and': r_utils.c:207:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 207 | GET_BV(bv1, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c:208:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 208 | GET_BV(bv2, other); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- r_search.c:571:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 571 | self = MK_QUERY(cSpanFirstQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c:209:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 209 | return Data_Wrap_Struct(cBitVector, NULL, &bv_destroy, bv_and(bv1, bv2)); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_and_x': r_utils.c:223:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 223 | GET_BV(bv1, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- r_search.c:574:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 574 | self = MK_QUERY(cSpanOrQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c:224:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 224 | GET_BV(bv2, other); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_or': r_utils.c:241:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 241 | GET_BV(bv1, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- r_search.c:577:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 577 | self = MK_QUERY(cSpanNotQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c:242:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 242 | GET_BV(bv2, other); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c:243:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 243 | return Data_Wrap_Struct(cBitVector, NULL, &bv_destroy, bv_or(bv1, bv2)); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_search.o --- r_search.c:580:17: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 580 | self = MK_QUERY(cSpanNearQuery, q); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c: In function 'frb_bv_or_x': r_utils.c:257:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 257 | GET_BV(bv1, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c:258:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 258 | GET_BV(bv2, other); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_xor': r_utils.c:275:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 275 | GET_BV(bv1, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c:276:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 276 | GET_BV(bv2, other); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c:277:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 277 | return Data_Wrap_Struct(cBitVector, NULL, &bv_destroy, bv_xor(bv1, bv2)); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_xor_x': r_utils.c:291:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 291 | GET_BV(bv1, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c:292:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 292 | GET_BV(bv2, other); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_not': r_utils.c:308:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 308 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c:309:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 309 | return Data_Wrap_Struct(cBitVector, NULL, &bv_destroy, bv_not(bv)); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_not_x': r_utils.c:322:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 322 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_reset_scan': r_utils.c:339:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 339 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_next': r_utils.c:357:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 357 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_next_unset': r_utils.c:375:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 375 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_next_from': r_utils.c:394:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 394 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_next_unset_from': r_utils.c:416:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 416 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_each': r_utils.c:435:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 435 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_bv_to_a': r_utils.c:467:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 467 | GET_BV(bv, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_store.o --- r_store.c: In function 'frb_lock_while_locked': r_store.c:105:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 105 | GET_LOCK(lock, self); | ^~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- similarity.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- sort.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- r_index.o --- r_index.c: In function 'frb_iw_init': r_index.c:1391:13: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1391 | Data_Get_Struct(rval, FieldInfos, fis); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_index.c: In function 'frb_iw_add_readers': r_index.c:1593:9: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1593 | Data_Get_Struct(RARRAY_PTR(rreaders)[i], IndexReader, ir); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_store.o --- r_store.c: In function 'frb_lock_is_locked': r_store.c:128:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 128 | GET_LOCK(lock, self); | ^~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_store.c: In function 'frb_lock_release': r_store.c:143:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 143 | GET_LOCK(lock, self); | ^~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_store.c: In function 'frb_dir_make_lock': r_store.c:289:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 289 | rlock = Data_Wrap_Struct(cLock, &frb_lock_mark, &frb_lock_free, lock); | ^~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_index.o --- r_index.c: In function 'frb_get_lazy_doc': r_index.c:2025:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2025 | rdata = Data_Wrap_Struct(cLazyDocData, NULL, &frb_lzd_date_free, lazy_doc); | ^~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_index.c: In function 'frb_ir_init': r_index.c:2113:25: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2113 | Data_Get_Struct(rdir, IndexReader, sub_readers[i]); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- stopwords.o --- --- r_utils.o --- r_utils.c: In function 'frb_mulmap_alloc': r_utils.c:586:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 586 | VALUE rmulmap = Data_Wrap_Struct(klass, NULL, &frb_mulmap_free, mulmap); | ^~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- stopwords.o --- compiling stopwords.c --- r_search.o --- r_search.c: In function 'frb_bc_wrap': r_search.c:792:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 792 | VALUE self = Data_Wrap_Struct(cBooleanClause, &frb_bc_mark, &frb_bc_free, bc); | ^~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_store.o --- r_store.c: In function 'frb_ramdir_init': r_store.c:320:21: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 320 | Data_Get_Struct(rdir, Store, ostore); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- store.o --- --- symbol.o --- --- store.o --- compiling store.c --- r_utils.o --- r_utils.c: In function 'frb_pq_alloc': --- symbol.o --- compiling symbol.c --- r_search.o --- r_search.c: In function 'frb_bc_init': r_search.c:833:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 833 | Data_Get_Struct(rquery, Query, sub_q); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_utils.o --- r_utils.c:833:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 833 | return Data_Wrap_Struct(klass, &frb_pq_mark, &frb_pq_free, pq); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_pq_init': r_utils.c:857:9: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 857 | GET_PQ(pq, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_pq_clone': r_utils.c:908:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 908 | GET_PQ(pq, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c:913:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 913 | return Data_Wrap_Struct(cPriorityQueue, &frb_pq_mark, &frb_pq_free, new_pq); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_pq_clear': r_utils.c:926:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 926 | GET_PQ(pq, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_pq_insert': r_utils.c:943:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 943 | GET_PQ(pq, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_pq_adjust': r_utils.c:967:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 967 | GET_PQ(pq, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_pq_top': r_utils.c:983:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 983 | GET_PQ(pq, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_pq_pop': r_utils.c:997:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 997 | GET_PQ(pq, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_pq_size': r_utils.c:1023:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1023 | GET_PQ(pq, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_utils.c: In function 'frb_pq_capa': r_utils.c:1040:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1040 | GET_PQ(pq, self); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_analysis.o --- r_analysis.c: In function 'frb_per_field_analyzer_add_field': r_analysis.c:1549:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1549 | Data_Get_Struct(self, Analyzer, pfa); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_pfa_analyzer_token_stream': r_analysis.c:1571:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1571 | GET_A(pfa, self); | ^~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- term_vectors.o --- --- r_search.o --- r_search.c: In function 'frb_bc_set_query': r_search.c:865:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 865 | Data_Get_Struct(rquery, Query, bc->query); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_store.o --- r_store.c: In function 'frb_fsdir_new': r_store.c:372:9: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 372 | self = Data_Wrap_Struct(klass, NULL, &frb_dir_free, store); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- term_vectors.o --- compiling term_vectors.c --- r_analysis.o --- r_analysis.c: In function 'frb_re_analyzer_init': r_analysis.c:1621:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1621 | rets = Data_Wrap_Struct(cRegExpTokenizer, &frb_rets_mark, &frb_rets_free, ts); | ^~~~ --- symbol.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- r_analysis.o --- /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_analysis.c: In function 'frb_re_analyzer_token_stream': r_analysis.c:1652:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1652 | GET_A(a, self); | ^~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- stopwords.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- store.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- r_search.o --- r_search.c: In function 'frb_bq_add_query': r_search.c:1036:9: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1036 | Data_Get_Struct(rquery, Query, sub_q); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- term_vectors.o --- : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition --- r_search.o --- r_search.c: In function 'frb_maq_alloc': r_search.c:1581:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1581 | VALUE self = Data_Wrap_Struct(klass, NULL, &frb_q_free, q); | ^~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_csq_init': r_search.c:1616:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1616 | Data_Get_Struct(rfilter, Filter, filter); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_analysis.o --- In file included from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/ruby.h:27: r_analysis.c: In function 'Init_Analysis': --- r_search.o --- r_search.c: In function 'frb_fqq_init': r_search.c:1649:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1649 | Data_Get_Struct(rquery, Query, sq); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- r_analysis.o --- /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/anyargs.h:311:143: error: passing argument 3 of 'rb_define_singleton_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 311 | #define rb_define_singleton_method(obj, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_singleton_method((arity), (func))((obj), (mid), (func), (arity)) | ^~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} r_analysis.c:2566:5: note: in expansion of macro 'rb_define_singleton_method' 2566 | rb_define_singleton_method(mFerret, "locale", frb_get_locale, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/anyargs.h:274:21: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 274 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/anyargs.h:258:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 258 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _00(__VA_ARGS__, VALUE(*)(VALUE), int); \ | ^~~ --- r_search.o --- r_search.c:1650:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1650 | Data_Get_Struct(rfilter, Filter, f); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_spanfq_init': r_search.c:1755:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1755 | Data_Get_Struct(rmatch, Query, match); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_spannq_init': r_search.c:1825:17: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1825 | Data_Get_Struct(RARRAY_PTR(v)[i], Query, clause); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_spannq_add': r_search.c:1850:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1850 | Data_Get_Struct(rclause, Query, clause); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- scanner.o --- src/scanner.rl: In function 'frt_std_scan': src/scanner.rl:39:9: warning: variable 'stack' set but not used [-Wunused-but-set-variable] --- r_search.o --- r_search.c: In function 'frb_spanoq_init': r_search.c:1891:13: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1891 | Data_Get_Struct(RARRAY_PTR(rclauses)[i], Query, clause); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_spanoq_add': r_search.c:1913:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 1913 | Data_Get_Struct(rclause, Query, clause); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_f_get_bits': r_search.c:2000:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2000 | Data_Get_Struct(rindex_reader, IndexReader, ir); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_qf_init': r_search.c:2115:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2115 | Data_Get_Struct(rquery, Query, q); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_get_sf': r_search.c:2140:9: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2140 | self = Data_Wrap_Struct(cSortField, NULL, &frb_sf_free, sf); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_sort_alloc': r_search.c:2336:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2336 | self = Data_Wrap_Struct(klass, &frb_sort_mark, &frb_sort_free, sort); | ^~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_sort_add': r_search.c:2389:13: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2389 | Data_Get_Struct(rsf, SortField, sf); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'cwfilt_get_bv_i': r_search.c:2626:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2626 | Data_Get_Struct(rbv, BitVector, bv); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_get_cwrapped_filter': r_search.c:2636:9: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2636 | Data_Get_Struct(rval, Filter, filter); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_sea_search_internal': r_search.c:2707:13: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2707 | Data_Get_Struct(rval, Sort, sort); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_sea_search': r_search.c:2761:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2761 | Data_Get_Struct(rquery, Query, query); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_sea_search_each': r_search.c:2821:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2821 | Data_Get_Struct(rquery, Query, q); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_sea_scan': r_search.c:2891:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2891 | Data_Get_Struct(rquery, Query, q); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_sea_explain': r_search.c:2953:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2953 | Data_Get_Struct(rquery, Query, query); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:2955:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2955 | return Data_Wrap_Struct(cExplanation, NULL, &expl_destroy, expl); | ^~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_sea_highlight': r_search.c:2994:5: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 2994 | Data_Get_Struct(rquery, Query, query); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_sea_init': r_search.c:3084:9: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 3084 | FRT_GET_IR(obj, ir); | ^~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:3088:13: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 3088 | Data_Get_Struct(obj, Store, store); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:3090:13: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 3090 | FRT_GET_IR(obj, ir); | ^~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:3092:13: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 3092 | Data_Get_Struct(obj, IndexReader, ir); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c: In function 'frb_ms_init': r_search.c:3156:21: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 3156 | Data_Get_Struct(rs, Searcher, s); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:3161:17: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 3161 | Data_Get_Struct(rsearcher, Searcher, s); | ^~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:328:1: note: declared here 328 | rb_data_object_get_warning(VALUE obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- scanner_utf8.o --- src/scanner_utf8.rl: In function 'frt_std_scan_utf8': src/scanner_utf8.rl:40:9: warning: variable 'stack' set but not used [-Wunused-but-set-variable] --- r_analysis.o --- *** [r_analysis.o] Error code 1 make: stopped making "all" in /tmp/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext --- r_search.o --- r_search.c: In function 'Init_SortField': r_search.c:4280:21: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 4280 | Data_Wrap_Struct(cSortField, NULL, | ^~~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:4287:21: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 4287 | Data_Wrap_Struct(cSortField, NULL, | ^~~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:4294:21: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 4294 | Data_Wrap_Struct(cSortField, NULL, | ^~~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ r_search.c:4302:21: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] 4302 | Data_Wrap_Struct(cSortField, NULL, | ^~~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:296:1: note: declared here 296 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/ruby.h:27: r_search.c: In function 'Init_Searcher': /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/anyargs.h:291:135: error: passing argument 3 of 'rb_define_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 291 | #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) | ^~~~~~ | | | VALUE (*)(VALUE, VALUE) {aka long unsigned int (*)(long unsigned int, long unsigned int)} r_search.c:4401:5: note: in expansion of macro 'rb_define_method' 4401 | rb_define_method(cSearcher, "reader", frb_sea_get_reader, 0); | ^~~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/anyargs.h:280:21: note: expected 'VALUE (*)(VALUE)' {aka 'long unsigned int (*)(long unsigned int)'} but argument is of type 'VALUE (*)(VALUE, VALUE)' {aka 'long unsigned int (*)(long unsigned int, long unsigned int)'} 280 | RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~ /tmp/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/anyargs.h:258:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 258 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _00(__VA_ARGS__, VALUE(*)(VALUE), int); \ | ^~~ --- scanner_mb.o --- src/scanner_mb.rl: In function 'frt_std_scan_mb': src/scanner_mb.rl:154:9: warning: variable 'stack' set but not used [-Wunused-but-set-variable] In function 'wc_to_mb', inlined from 'frt_std_scan_mb' at src/scanner_mb.rl:198:9: src/scanner_mb.rl:128:57: warning: array subscript 16384 is outside array bounds of 'unsigned int[4096]' [-Warray-bounds=] src/scanner_mb.rl: In function 'frt_std_scan_mb': src/scanner_mb.rl:180:22: note: at offset 65536 into object 'out_wc' of size 16384 --- r_search.o --- *** [r_search.o] Error code 1 make: stopped making "all" in /tmp/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext make: 2 errors make: stopped making "all" in /tmp/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext make failed, exit code 2 Gem files will remain installed in /tmp/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7 for inspection. Results logged to /tmp/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/extensions/x86_64-solaris-2.11/4.0.0/ferret-0.11.8.7/gem_make.out *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-ferret *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-ferret