=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 /Users/pbulk/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: /Users/pbulk/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: /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext make -j11 DESTDIR\= sitearchdir\=./.gem.20260725-54518-wczdxj sitelibdir\=./.gem.20260725-54518-wczdxj clean --- clean-static --- --- clean --- current directory: /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext make -j11 DESTDIR\= sitearchdir\=./.gem.20260725-54518-wczdxj sitelibdir\=./.gem.20260725-54518-wczdxj --- 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 --- --- BZLIB_blocksort.o --- compiling BZLIB_blocksort.c --- BZLIB_bzlib.o --- compiling BZLIB_bzlib.c --- BZLIB_compress.o --- compiling BZLIB_compress.c --- BZLIB_crctable.o --- compiling BZLIB_crctable.c --- BZLIB_decompress.o --- compiling BZLIB_decompress.c --- BZLIB_huffman.o --- compiling BZLIB_huffman.c --- BZLIB_randtable.o --- compiling BZLIB_randtable.c --- STEMMER_api.o --- compiling STEMMER_api.c --- STEMMER_libstemmer.o --- compiling STEMMER_libstemmer.c --- 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 --- BZLIB_huffman.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_danish.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_dutch.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- BZLIB_decompress.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- BZLIB_crctable.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_danish.o --- 1 warning generated. --- STEMMER_stem_ISO_8859_1_english.o --- compiling STEMMER_stem_ISO_8859_1_english.c --- STEMMER_stem_ISO_8859_1_dutch.o --- 1 warning generated. --- STEMMER_stem_ISO_8859_1_finnish.o --- compiling STEMMER_stem_ISO_8859_1_finnish.c --- BZLIB_huffman.o --- In file included from BZLIB_huffman.c:22: ./bzlib_private.h:62:5: warning: 'BZ_DEBUG' is not defined, evaluates to 0 [-Wundef] #if BZ_DEBUG ^ 2 warnings generated. --- STEMMER_stem_ISO_8859_1_french.o --- compiling STEMMER_stem_ISO_8859_1_french.c --- BZLIB_blocksort.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- BZLIB_randtable.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- BZLIB_decompress.o --- In file included from BZLIB_decompress.c:22: ./bzlib_private.h:62:5: warning: 'BZ_DEBUG' is not defined, evaluates to 0 [-Wundef] #if BZ_DEBUG ^ --- BZLIB_crctable.o --- In file included from BZLIB_crctable.c:22: ./bzlib_private.h:62:5: warning: 'BZ_DEBUG' is not defined, evaluates to 0 [-Wundef] #if BZ_DEBUG ^ 2 warnings generated. --- STEMMER_stem_ISO_8859_1_german.o --- compiling STEMMER_stem_ISO_8859_1_german.c --- STEMMER_libstemmer.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_english.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_finnish.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- BZLIB_compress.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- BZLIB_blocksort.o --- In file included from BZLIB_blocksort.c:22: ./bzlib_private.h:62:5: warning: 'BZ_DEBUG' is not defined, evaluates to 0 [-Wundef] #if BZ_DEBUG ^ --- BZLIB_randtable.o --- In file included from BZLIB_randtable.c:22: ./bzlib_private.h:62:5: warning: 'BZ_DEBUG' is not defined, evaluates to 0 [-Wundef] #if BZ_DEBUG ^ 2 warnings generated. --- STEMMER_api.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_hungarian.o --- --- BZLIB_bzlib.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_hungarian.o --- compiling STEMMER_stem_ISO_8859_1_hungarian.c --- STEMMER_stem_ISO_8859_1_french.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_german.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_finnish.o --- 1 warning generated. --- STEMMER_stem_ISO_8859_1_italian.o --- compiling STEMMER_stem_ISO_8859_1_italian.c --- BZLIB_compress.o --- In file included from BZLIB_compress.c:29: ./bzlib_private.h:62:5: warning: 'BZ_DEBUG' is not defined, evaluates to 0 [-Wundef] #if BZ_DEBUG ^ --- STEMMER_stem_ISO_8859_1_english.o --- 1 warning generated. --- BZLIB_compress.o --- BZLIB_compress.c:205:23: warning: implicit conversion loses integer precision: 'long' to 'Int32' (aka 'int') [-Wshorten-64-to-32] j = ryy_j - &(yy[0]); ~ ~~~~~~^~~~~~~~~~ --- STEMMER_stem_ISO_8859_1_norwegian.o --- compiling STEMMER_stem_ISO_8859_1_norwegian.c --- STEMMER_libstemmer.o --- 1 warning generated. --- BZLIB_bzlib.o --- In file included from BZLIB_bzlib.c:31: ./bzlib_private.h:62:5: warning: 'BZ_DEBUG' is not defined, evaluates to 0 [-Wundef] #if BZ_DEBUG ^ --- STEMMER_stem_ISO_8859_1_porter.o --- --- BZLIB_bzlib.o --- BZLIB_bzlib.c:42:1: warning: function 'BZ2_bz__AssertH__fail' could be declared with attribute 'noreturn' [-Wmissing-noreturn] { ^ --- STEMMER_stem_ISO_8859_1_porter.o --- compiling STEMMER_stem_ISO_8859_1_porter.c --- STEMMER_api.o --- 1 warning generated. --- BZLIB_bzlib.o --- BZLIB_bzlib.c:996:15: warning: implicit conversion loses integer precision: 'unsigned long' to 'Int32' (aka 'int') [-Wshorten-64-to-32] n2 = fwrite ( (void*)(bzf->buf), sizeof(UChar), ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- STEMMER_stem_ISO_8859_1_portuguese.o --- --- BZLIB_bzlib.o --- BZLIB_bzlib.c:1055:18: warning: implicit conversion loses integer precision: 'unsigned long' to 'Int32' (aka 'int') [-Wshorten-64-to-32] n2 = fwrite ( (void*)(bzf->buf), sizeof(UChar), ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BZLIB_bzlib.c:1190:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'Int32' (aka 'int') [-Wshorten-64-to-32] n = fread ( bzf->buf, sizeof(UChar), ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- STEMMER_stem_ISO_8859_1_portuguese.o --- compiling STEMMER_stem_ISO_8859_1_portuguese.c --- STEMMER_stem_ISO_8859_1_hungarian.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_german.o --- 1 warning generated. --- STEMMER_stem_ISO_8859_1_spanish.o --- --- STEMMER_stem_ISO_8859_1_french.o --- 1 warning generated. --- STEMMER_stem_ISO_8859_1_italian.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_swedish.o --- --- 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_1_norwegian.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_porter.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_portuguese.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_norwegian.o --- 1 warning generated. --- STEMMER_stem_ISO_8859_2_romanian.o --- compiling STEMMER_stem_ISO_8859_2_romanian.c --- STEMMER_stem_ISO_8859_1_hungarian.o --- 1 warning generated. --- STEMMER_stem_ISO_8859_1_italian.o --- 1 warning generated. --- STEMMER_stem_KOI8_R_russian.o --- --- STEMMER_stem_UTF_8_danish.o --- --- 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_ISO_8859_1_porter.o --- 1 warning generated. --- STEMMER_stem_UTF_8_dutch.o --- compiling STEMMER_stem_UTF_8_dutch.c --- STEMMER_stem_ISO_8859_1_spanish.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_portuguese.o --- 1 warning generated. --- STEMMER_stem_UTF_8_english.o --- --- STEMMER_stem_ISO_8859_1_swedish.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_english.o --- compiling STEMMER_stem_UTF_8_english.c --- STEMMER_stem_ISO_8859_1_swedish.o --- 1 warning generated. --- STEMMER_stem_UTF_8_finnish.o --- compiling STEMMER_stem_UTF_8_finnish.c --- STEMMER_stem_UTF_8_danish.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_KOI8_R_russian.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_english.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_dutch.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_2_romanian.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_ISO_8859_1_spanish.o --- 1 warning generated. --- STEMMER_stem_UTF_8_danish.o --- 1 warning generated. --- STEMMER_stem_UTF_8_french.o --- --- STEMMER_stem_UTF_8_german.o --- --- STEMMER_stem_KOI8_R_russian.o --- 1 warning generated. --- STEMMER_stem_UTF_8_hungarian.o --- --- STEMMER_stem_ISO_8859_2_romanian.o --- 1 warning generated. --- STEMMER_stem_UTF_8_italian.o --- --- STEMMER_stem_UTF_8_german.o --- compiling STEMMER_stem_UTF_8_german.c --- STEMMER_stem_UTF_8_french.o --- compiling STEMMER_stem_UTF_8_french.c --- STEMMER_stem_UTF_8_dutch.o --- 1 warning generated. --- STEMMER_stem_UTF_8_hungarian.o --- compiling STEMMER_stem_UTF_8_hungarian.c --- STEMMER_stem_UTF_8_norwegian.o --- --- STEMMER_stem_UTF_8_italian.o --- compiling STEMMER_stem_UTF_8_italian.c --- STEMMER_stem_UTF_8_norwegian.o --- compiling STEMMER_stem_UTF_8_norwegian.c --- STEMMER_stem_UTF_8_english.o --- 1 warning generated. --- STEMMER_stem_UTF_8_porter.o --- --- BZLIB_bzlib.o --- 6 warnings generated. --- STEMMER_stem_UTF_8_portuguese.o --- --- STEMMER_stem_UTF_8_porter.o --- compiling STEMMER_stem_UTF_8_porter.c --- STEMMER_stem_UTF_8_finnish.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_portuguese.o --- compiling STEMMER_stem_UTF_8_portuguese.c --- STEMMER_stem_UTF_8_finnish.o --- 1 warning generated. --- STEMMER_stem_UTF_8_romanian.o --- compiling STEMMER_stem_UTF_8_romanian.c --- BZLIB_blocksort.o --- 2 warnings generated. --- STEMMER_stem_UTF_8_russian.o --- compiling STEMMER_stem_UTF_8_russian.c --- BZLIB_decompress.o --- 2 warnings generated. --- STEMMER_stem_UTF_8_spanish.o --- compiling STEMMER_stem_UTF_8_spanish.c --- STEMMER_stem_UTF_8_hungarian.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_italian.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_norwegian.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_portuguese.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_french.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_porter.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_german.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- BZLIB_compress.o --- 3 warnings generated. --- STEMMER_stem_UTF_8_swedish.o --- --- STEMMER_stem_UTF_8_hungarian.o --- 1 warning generated. --- STEMMER_stem_UTF_8_norwegian.o --- 1 warning generated. --- STEMMER_stem_UTF_8_turkish.o --- --- STEMMER_utilities.o --- --- STEMMER_stem_UTF_8_italian.o --- 1 warning generated. --- analysis.o --- --- STEMMER_stem_UTF_8_swedish.o --- compiling STEMMER_stem_UTF_8_swedish.c --- STEMMER_stem_UTF_8_turkish.o --- compiling STEMMER_stem_UTF_8_turkish.c --- STEMMER_utilities.o --- compiling STEMMER_utilities.c --- STEMMER_stem_UTF_8_german.o --- 1 warning generated. --- analysis.o --- compiling analysis.c --- array.o --- --- STEMMER_stem_UTF_8_romanian.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_porter.o --- 1 warning generated. --- STEMMER_stem_UTF_8_portuguese.o --- 1 warning generated. --- array.o --- compiling array.c --- bitvector.o --- --- compound_io.o --- --- STEMMER_stem_UTF_8_french.o --- 1 warning generated. --- document.o --- --- bitvector.o --- compiling bitvector.c --- compound_io.o --- compiling compound_io.c --- document.o --- compiling document.c --- STEMMER_stem_UTF_8_russian.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_spanish.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_romanian.o --- 1 warning generated. --- except.o --- compiling except.c --- STEMMER_stem_UTF_8_russian.o --- 1 warning generated. --- ferret.o --- compiling ferret.c --- STEMMER_stem_UTF_8_spanish.o --- 1 warning generated. --- field_index.o --- compiling field_index.c --- STEMMER_utilities.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- bitvector.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_swedish.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- compound_io.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- analysis.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- array.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_turkish.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- document.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- except.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- ferret.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- field_index.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_stem_UTF_8_swedish.o --- 1 warning generated. --- filter.o --- compiling filter.c --- compound_io.o --- In file included from compound_io.c:1: In file included from ./index.h:8: In file included from ./global.h:8: In file included from ./config.h:10: ./posh.h:516:4: error: POSH cannot determine target CPU # error POSH cannot determine target CPU ^ --- bitvector.o --- In file included from bitvector.c:1: In file included from ./bitvector.h:8: In file included from ./global.h:8: In file included from ./config.h:10: ./posh.h:516:4: error: POSH cannot determine target CPU # error POSH cannot determine target CPU ^ --- analysis.o --- In file included from analysis.c:1: In file included from ./analysis.h:8: In file included from ./global.h:8: In file included from ./config.h:10: ./posh.h:516:4: error: POSH cannot determine target CPU # error POSH cannot determine target CPU ^ --- array.o --- In file included from array.c:1: In file included from ./array.h:8: In file included from ./global.h:8: In file included from ./config.h:10: ./posh.h:516:4: error: POSH cannot determine target CPU # error POSH cannot determine target CPU ^ --- except.o --- In file included from except.c:2: In file included from ./global.h:8: In file included from ./config.h:10: ./posh.h:516:4: error: POSH cannot determine target CPU # error POSH cannot determine target CPU ^ --- document.o --- In file included from document.c:1: In file included from ./document.h:8: In file included from ./global.h:8: In file included from ./config.h:10: ./posh.h:516:4: error: POSH cannot determine target CPU # error POSH cannot determine target CPU ^ --- ferret.o --- In file included from ferret.c:2: In file included from ./ferret.h:4: In file included from ./global.h:8: In file included from ./config.h:10: ./posh.h:516:4: error: POSH cannot determine target CPU # error POSH cannot determine target CPU ^ --- field_index.o --- In file included from field_index.c:2: In file included from ./field_index.h:8: In file included from ./index.h:8: In file included from ./global.h:8: In file included from ./config.h:10: ./posh.h:516:4: error: POSH cannot determine target CPU # error POSH cannot determine target CPU ^ --- STEMMER_stem_UTF_8_turkish.o --- 1 warning generated. --- fs_store.o --- compiling fs_store.c --- filter.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- STEMMER_utilities.o --- 1 warning generated. --- global.o --- compiling global.c --- except.o --- 1 warning and 1 error generated. --- array.o --- 1 warning and 1 error generated. --- except.o --- *** [except.o] Error code 1 make: stopped making "all" in /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext --- array.o --- *** [array.o] Error code 1 make: stopped making "all" in /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext --- bitvector.o --- 1 warning and 1 error generated. --- compound_io.o --- compound_io.c:138:15: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat] cis->length, start + len); ^~~~~~~~~~~~~~~~~~~~~~~~~ ./internal.h:131:44: note: expanded from macro 'RAISE' #define RAISE FRT_RAISE ^ ./except.h:149:51: note: expanded from macro 'FRT_RAISE' snprintf(frt_xmsg_buffer, FRT_XMSG_BUFFER_SIZE, __VA_ARGS__);\ ^~~~~~~~~~~ compound_io.c:138:28: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat] cis->length, start + len); ~~~~~~~~~~~~~^~~~~~~~~~~~ ./internal.h:131:44: note: expanded from macro 'RAISE' #define RAISE FRT_RAISE ^ ./except.h:149:51: note: expanded from macro 'FRT_RAISE' snprintf(frt_xmsg_buffer, FRT_XMSG_BUFFER_SIZE, __VA_ARGS__);\ ^~~~~~~~~~~ compound_io.c:327:29: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat] "bytes left", remainder); ~~~~~~~~~~~~~~^~~~~~~~~~ ./internal.h:131:44: note: expanded from macro 'RAISE' #define RAISE FRT_RAISE ^ ./except.h:149:51: note: expanded from macro 'FRT_RAISE' snprintf(frt_xmsg_buffer, FRT_XMSG_BUFFER_SIZE, __VA_ARGS__);\ ^~~~~~~~~~~ compound_io.c:336:34: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat] "<%"OFF_T_PFX"d>", len, length); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ./internal.h:131:44: note: expanded from macro 'RAISE' #define RAISE FRT_RAISE ^ ./except.h:149:51: note: expanded from macro 'FRT_RAISE' snprintf(frt_xmsg_buffer, FRT_XMSG_BUFFER_SIZE, __VA_ARGS__);\ ^~~~~~~~~~~ compound_io.c:336:39: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat] "<%"OFF_T_PFX"d>", len, length); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ %lld ./internal.h:131:44: note: expanded from macro 'RAISE' #define RAISE FRT_RAISE ^ ./except.h:149:51: note: expanded from macro 'FRT_RAISE' snprintf(frt_xmsg_buffer, FRT_XMSG_BUFFER_SIZE, __VA_ARGS__);\ ^~~~~~~~~~~ compound_io.c:318:35: warning: implicit conversion loses integer precision: 'off_t' (aka 'long long') to 'int' [-Wshorten-64-to-32] is_read_bytes(is, buffer, len); ~~~~~~~~~~~~~ ^~~ compound_io.c:319:36: warning: implicit conversion loses integer precision: 'off_t' (aka 'long long') to 'int' [-Wshorten-64-to-32] os_write_bytes(os, buffer, len); ~~~~~~~~~~~~~~ ^~~ --- bitvector.o --- *** [bitvector.o] Error code 1 make: stopped making "all" in /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext --- compound_io.o --- 8 warnings and 1 error generated. --- field_index.o --- 1 warning and 1 error generated. --- compound_io.o --- *** [compound_io.o] Error code 1 make: stopped making "all" in /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext --- field_index.o --- *** [field_index.o] Error code 1 make: stopped making "all" in /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext --- document.o --- document.c:40:38: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] return df_add_data_len(df, data, strlen(data)); ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~ document.c:62:31: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] int i, len = 0, namelen = sym_len(df->name); ~~~~~~~ ^~~~~~~~~~~~~~~~~ ./internal.h:933:56: note: expanded from macro 'sym_len' #define sym_len frt_sym_len ^ ./symbol.h:21:26: note: expanded from macro 'frt_sym_len' #define frt_sym_len(sym) strlen(rb_id2name((ID)sym)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ --- analysis.o --- analysis.c:48:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] int len = wcstombs(tk->text, text, MAX_WORD_SIZE - 1); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysis.c:167:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] num_bytes = t - s; ~ ~~^~~ analysis.c:254:52: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] return tk_set(&(CTS(ts)->token), ts->text, len, 0, len, 1); ~~~~~~ ^~~ --- ferret.o --- ferret.c:104:12: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] return Frt_Make_Struct(klass); ^ ./ferret.h:75:3: note: expanded from macro 'Frt_Make_Struct' rb_data_object_wrap(klass,NULL,(RUBY_DATA_FUNC)NULL,(RUBY_DATA_FUNC)NULL) ^ /Users/pbulk/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:366:31: note: expanded from macro 'rb_data_object_wrap' #define rb_data_object_wrap RUBY_MACRO_SELECT(rb_data_object_wrap_2, RUBY_UNTYPED_DATA_WARNING) ^ /Users/pbulk/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:50:35: note: expanded from macro 'RUBY_MACRO_SELECT' #define RUBY_MACRO_SELECT(x, y) RBIMPL_MACRO_SELECT(x, y) ^ /Users/pbulk/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :186:1: note: expanded from here rb_data_object_wrap_1 ^ /Users/pbulk/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:364:31: note: expanded from macro 'rb_data_object_wrap_1' #define rb_data_object_wrap_1 rb_data_object_wrap_warning ^ /Users/pbulk/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:280:1: note: 'rb_data_object_wrap_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ --- document.o --- 3 warnings and 1 error generated. --- ferret.o --- ferret.c:174:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int len = RSTRING_LEN(rstr); ~~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/work/textproc/ruby-ferret/work/.buildlink/include/ruby-4.0.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ --- analysis.o --- analysis.c:1279:30: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] const int text_len = strlen(hf->text + pos); ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~ analysis.c:1321:29: warning: implicit conversion loses integer precision: 'off_t' (aka 'long long') to 'int' [-Wshorten-64-to-32] hf->start = tk->start; ~ ~~~~^~~~~ analysis.c:1323:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] hf->len = q - hf->text; ~ ~~^~~~~~~~~~ analysis.c:1324:25: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] tk->len = r - tk->text; ~ ~~^~~~~~~~~~ analysis.c:1354:12: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] if ((x=mbstowcs(wbuf, tk->text, MAX_WORD_SIZE)) <= 0) return tk; ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ analysis.c:1360:15: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] tk->len = wcstombs(tk->text, wbuf, MAX_WORD_SIZE); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- document.o --- *** [document.o] Error code 1 make: stopped making "all" in /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext --- ferret.o --- 3 warnings and 1 error generated. --- analysis.o --- 10 warnings and 1 error generated. --- ferret.o --- *** [ferret.o] Error code 1 make: stopped making "all" in /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext --- analysis.o --- *** [analysis.o] Error code 1 make: stopped making "all" in /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext --- filter.o --- In file included from filter.c:1: In file included from ./search.h:12: In file included from ./index.h:8: In file included from ./global.h:8: In file included from ./config.h:10: ./posh.h:516:4: error: POSH cannot determine target CPU # error POSH cannot determine target CPU ^ --- fs_store.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- global.o --- In file included from :418: :7:9: warning: '_XOPEN_SOURCE' macro redefined [-Wmacro-redefined] #define _XOPEN_SOURCE 500 ^ :2:9: note: previous definition is here #define _XOPEN_SOURCE 1 ^ --- fs_store.o --- In file included from fs_store.c:1: In file included from ./store.h:5: In file included from ./global.h:8: In file included from ./config.h:10: ./posh.h:516:4: error: POSH cannot determine target CPU # error POSH cannot determine target CPU ^ --- global.o --- In file included from global.c:1: In file included from ./global.h:8: In file included from ./config.h:10: ./posh.h:516:4: error: POSH cannot determine target CPU # error POSH cannot determine target CPU ^ --- filter.o --- 1 warning and 1 error generated. *** [filter.o] Error code 1 make: stopped making "all" in /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext --- fs_store.o --- fs_store.c:253:15: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat] pos, strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~ ./internal.h:131:44: note: expanded from macro 'RAISE' #define RAISE FRT_RAISE ^ ./except.h:149:51: note: expanded from macro 'FRT_RAISE' snprintf(frt_xmsg_buffer, FRT_XMSG_BUFFER_SIZE, __VA_ARGS__);\ ^~~~~~~~~~~ fs_store.c:307:15: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat] pos, strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~ ./internal.h:131:44: note: expanded from macro 'RAISE' #define RAISE FRT_RAISE ^ ./except.h:149:51: note: expanded from macro 'FRT_RAISE' snprintf(frt_xmsg_buffer, FRT_XMSG_BUFFER_SIZE, __VA_ARGS__);\ ^~~~~~~~~~~ 3 warnings and 1 error generated. *** [fs_store.o] Error code 1 make: stopped making "all" in /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext --- global.o --- global.c:209:28: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] curlen = q - string; ~ ~~^~~~~~~~ 2 warnings and 1 error generated. *** [global.o] Error code 1 make: stopped making "all" in /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/gems/ferret-0.11.8.7/ext make: 11 errors make: stopped making "all" in /Users/pbulk/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 /Users/pbulk/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 /Users/pbulk/work/textproc/ruby-ferret/work/.inst/opt/pkg/lib/ruby/gems/4.0.0/extensions/arm64-darwin-23/4.0.0/ferret-0.11.8.7/gem_make.out *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/ruby-ferret *** Error code 1 Stop. bmake: stopped making "stage-install" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/ruby-ferret