+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=32 WRKLOG=/tmp/bulklog/ruby32-ferret-0.11.8.7nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=32 WRKLOG=/tmp/bulklog/ruby32-ferret-0.11.8.7nb1/work.log ===> Installing for ruby32-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 /home/pbulk/build/textproc/ruby-ferret/work/ferret-0.11.8.7/ferret-0.11.8.7.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/build/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/ferret-0.11.8.7/ext /opt/pkg/bin/ruby32 extconf.rb creating Makefile current directory: /home/pbulk/build/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/ferret-0.11.8.7/ext make DESTDIR\= sitearchdir\=./.gem.20250716-937193-ogw75e sitelibdir\=./.gem.20250716-937193-ogw75e clean current directory: /home/pbulk/build/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/ferret-0.11.8.7/ext make DESTDIR\= sitearchdir\=./.gem.20250716-937193-ogw75e sitelibdir\=./.gem.20250716-937193-ogw75e compiling BZLIB_blocksort.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling BZLIB_bzlib.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling BZLIB_compress.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling BZLIB_crctable.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling BZLIB_decompress.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling BZLIB_huffman.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling BZLIB_randtable.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_api.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_libstemmer.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_danish.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_dutch.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_english.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_finnish.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_french.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_german.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_hungarian.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_italian.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_norwegian.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_porter.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_portuguese.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_spanish.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_1_swedish.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_ISO_8859_2_romanian.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_KOI8_R_russian.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_danish.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_dutch.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_english.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_finnish.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_french.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_german.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_hungarian.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_italian.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_norwegian.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_porter.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_portuguese.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_romanian.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_russian.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_spanish.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_swedish.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_stem_UTF_8_turkish.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling STEMMER_utilities.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling analysis.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling array.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling bitvector.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling compound_io.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling document.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling except.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling ferret.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling field_index.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling filter.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling fs_store.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling global.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling hash.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling hashset.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling helper.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling index.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling lang.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling mempool.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling multimapper.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from /home/pbulk/build/textproc/ruby-ferret/work/.buildlink/include/ruby-3.2.0/ruby/defines.h:71, from /home/pbulk/build/textproc/ruby-ferret/work/.buildlink/include/ruby-3.2.0/ruby/ruby.h:25, from /home/pbulk/build/textproc/ruby-ferret/work/.buildlink/include/ruby-3.2.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': /home/pbulk/build/textproc/ruby-ferret/work/.buildlink/include/ruby-3.2.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); | ^~~~~~~~ /home/pbulk/build/textproc/ruby-ferret/work/.buildlink/include/ruby-3.2.0/ruby/internal/xmalloc.h:193:7: note: declared here 193 | void *ruby_xrealloc(void *ptr, size_t newsiz) | ^~~~~~~~~~~~~ compiling posh.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling priorityqueue.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_boolean.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_const_score.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_filtered_query.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_fuzzy.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_match_all.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_multi_term.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_parser.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_phrase.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_prefix.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_range.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_span.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_term.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling q_wildcard.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition compiling r_analysis.c : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from /home/pbulk/build/textproc/ruby-ferret/work/.buildlink/include/ruby-3.2.0/ruby/ruby.h:27, from /home/pbulk/build/textproc/ruby-ferret/work/.buildlink/include/ruby-3.2.0/ruby.h:38, from lang.h:7, from r_analysis.c:1: r_analysis.c: In function 'Init_Analysis': /home/pbulk/build/textproc/ruby-ferret/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:308:143: error: passing argument 3 of 'rb_define_singleton_method_00' from incompatible pointer type [-Wincompatible-pointer-types] 308 | #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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/textproc/ruby-ferret/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:271: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)'} 271 | RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/textproc/ruby-ferret/work/.buildlink/include/ruby-3.2.0/ruby/internal/anyargs.h:255:41: note: in definition of macro 'RBIMPL_ANYARGS_DECL' 255 | RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _00(__VA_ARGS__, VALUE(*)(VALUE), int); \ | ^~~ *** Error code 1 Stop. make: stopped making "all" in /home/pbulk/build/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/ferret-0.11.8.7/ext make failed, exit code 1 Gem files will remain installed in /home/pbulk/build/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/ferret-0.11.8.7 for inspection. Results logged to /home/pbulk/build/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/extensions/x86_64-solaris-2.11/3.2.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