=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Installing for ruby31-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/pkgbuild/textproc/ruby-ferret/work.aarch64eb/ferret-0.11.8.7/ferret-0.11.8.7.gem:
	ERROR: Failed to build gem native extension.

    current directory: /tmp/pkgbuild/textproc/ruby-ferret/work.aarch64eb/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/ferret-0.11.8.7/ext
/usr/pkg/bin/ruby31 -I /usr/pkg/lib/ruby/3.1.0 extconf.rb
creating Makefile

current directory: /tmp/pkgbuild/textproc/ruby-ferret/work.aarch64eb/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/ferret-0.11.8.7/ext
make DESTDIR\= sitearchdir\=./.gem.20241109-24197-ynw1j8 sitelibdir\=./.gem.20241109-24197-ynw1j8 clean

current directory: /tmp/pkgbuild/textproc/ruby-ferret/work.aarch64eb/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/ferret-0.11.8.7/ext
make DESTDIR\= sitearchdir\=./.gem.20241109-24197-ynw1j8 sitelibdir\=./.gem.20241109-24197-ynw1j8
compiling BZLIB_blocksort.c
compiling BZLIB_bzlib.c
compiling BZLIB_compress.c
compiling BZLIB_crctable.c
compiling BZLIB_decompress.c
compiling BZLIB_huffman.c
compiling BZLIB_randtable.c
compiling STEMMER_api.c
compiling STEMMER_libstemmer.c
compiling STEMMER_stem_ISO_8859_1_danish.c
compiling STEMMER_stem_ISO_8859_1_dutch.c
compiling STEMMER_stem_ISO_8859_1_english.c
compiling STEMMER_stem_ISO_8859_1_finnish.c
compiling STEMMER_stem_ISO_8859_1_french.c
compiling STEMMER_stem_ISO_8859_1_german.c
compiling STEMMER_stem_ISO_8859_1_hungarian.c
compiling STEMMER_stem_ISO_8859_1_italian.c
compiling STEMMER_stem_ISO_8859_1_norwegian.c
compiling STEMMER_stem_ISO_8859_1_porter.c
compiling STEMMER_stem_ISO_8859_1_portuguese.c
compiling STEMMER_stem_ISO_8859_1_spanish.c
compiling STEMMER_stem_ISO_8859_1_swedish.c
compiling STEMMER_stem_ISO_8859_2_romanian.c
compiling STEMMER_stem_KOI8_R_russian.c
compiling STEMMER_stem_UTF_8_danish.c
compiling STEMMER_stem_UTF_8_dutch.c
compiling STEMMER_stem_UTF_8_english.c
compiling STEMMER_stem_UTF_8_finnish.c
compiling STEMMER_stem_UTF_8_french.c
compiling STEMMER_stem_UTF_8_german.c
compiling STEMMER_stem_UTF_8_hungarian.c
compiling STEMMER_stem_UTF_8_italian.c
compiling STEMMER_stem_UTF_8_norwegian.c
compiling STEMMER_stem_UTF_8_porter.c
compiling STEMMER_stem_UTF_8_portuguese.c
compiling STEMMER_stem_UTF_8_romanian.c
compiling STEMMER_stem_UTF_8_russian.c
compiling STEMMER_stem_UTF_8_spanish.c
compiling STEMMER_stem_UTF_8_swedish.c
compiling STEMMER_stem_UTF_8_turkish.c
compiling STEMMER_utilities.c
compiling analysis.c
In file included from config.h:10,
                 from global.h:8,
                 from analysis.h:8,
                 from analysis.c:1:
posh.h:516:4: error: #error POSH cannot determine target CPU
  516 | #  error POSH cannot determine target CPU
      |    ^~~~~
distcc[4519] ERROR: compile analysis.c on 10.0.20.122:3760 failed
distcc[4519] (dcc_build_somewhere) Warning: remote compilation of 'analysis.c' failed, retrying locally
distcc[4519] Warning: failed to distribute analysis.c to 10.0.20.122:3760, running locally instead
In file included from config.h:10,
                 from global.h:8,
                 from analysis.h:8,
                 from analysis.c:1:
posh.h:516:4: error: #error POSH cannot determine target CPU
  516 | #  error POSH cannot determine target CPU
      |    ^~~~~
In file included from /usr/include/ctype.h:100,
                 from /tmp/pkgbuild/textproc/ruby-ferret/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/internal/ctype.h:26,
                 from /tmp/pkgbuild/textproc/ruby-ferret/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby/ruby.h:29,
                 from /tmp/pkgbuild/textproc/ruby-ferret/work.aarch64eb/.buildlink/include/ruby-3.1.0/ruby.h:38,
                 from lang.h:7,
                 from global.h:10,
                 from analysis.h:8,
                 from analysis.c:1:
analysis.c: In function 'wst_next':
analysis.c:290:34: warning: array subscript has type 'char' [-Wchar-subscripts]
  290 |     while (*t != '\0' && isspace(*t)) {
      |                                  ^
analysis.c:299:35: warning: array subscript has type 'char' [-Wchar-subscripts]
  299 |     while (*t != '\0' && !isspace(*t)) {
      |                                   ^
analysis.c: In function 'lt_next':
analysis.c:427:35: warning: array subscript has type 'char' [-Wchar-subscripts]
  427 |     while (*t != '\0' && !isalpha(*t)) {
      |                                   ^
analysis.c:436:34: warning: array subscript has type 'char' [-Wchar-subscripts]
  436 |     while (*t != '\0' && isalpha(*t)) {
      |                                  ^
analysis.c: In function 'legacy_std_get_alpha':
analysis.c:647:37: warning: array subscript has type 'char' [-Wchar-subscripts]
  647 |     while (t[i] != '\0' && isalnum(t[i])) {
      |                                     ^
analysis.c: In function 'legacy_std_is_tok_char':
analysis.c:713:17: warning: array subscript has type 'char' [-Wchar-subscripts]
  713 |     if (isspace(*c)) {
      |                 ^
analysis.c:716:17: warning: array subscript has type 'char' [-Wchar-subscripts]
  716 |     if (isalnum(*c) || isnumpunc(*c) || *c == '&' ||
      |                 ^
analysis.c: In function 'legacy_std_get_number':
analysis.c:756:51: warning: array subscript has type 'char' [-Wchar-subscripts]
  756 |         while ((input[i] != '\0') && isalnum(input[i])) {
      |                                                   ^
analysis.c:757:55: warning: array subscript has type 'char' [-Wchar-subscripts]
  757 |             if ((last_seen_digit < 2) && isdigit(input[i])) {
      |                                                       ^
analysis.c:760:55: warning: array subscript has type 'char' [-Wchar-subscripts]
  760 |             if ((seen_digit == false) && isdigit(input[i])) {
      |                                                       ^
analysis.c:766:51: warning: array subscript has type 'char' [-Wchar-subscripts]
  766 |         if (!isnumpunc(input[i]) || !isalnum(input[i + 1])) {
      |                                                   ^
analysis.c: In function 'legacy_std_get_apostrophe':
analysis.c:788:20: warning: array subscript has type 'char' [-Wchar-subscripts]
  788 |     while (isalpha(*t) || *t == '\'') {
      |                    ^
analysis.c: In function 'legacy_std_get_company_name':
analysis.c:845:25: warning: array subscript has type 'char' [-Wchar-subscripts]
  845 |     while (isalpha(input[i]) || input[i] == '@' || input[i] == '&') {
      |                         ^
analysis.c: In function 'legacy_std_advance_to_start':
analysis.c:855:35: warning: array subscript has type 'char' [-Wchar-subscripts]
  855 |     while (*t != '\0' && !isalnum(*t)) {
      |                                   ^
analysis.c:856:39: warning: array subscript has type 'char' [-Wchar-subscripts]
  856 |         if (isnumpunc(*t) && isdigit(t[1])) break;
      |                                       ^
analysis.c: In function 'mb_legacy_std_advance_to_start':
analysis.c:874:47: warning: array subscript has type 'char' [-Wchar-subscripts]
  874 |         if (isnumpunc(*ts->t) && isdigit(ts->t[1])) break;
      |                                               ^
analysis.c: In function 'legacy_std_next':
analysis.c:938:18: warning: array subscript has type 'char' [-Wchar-subscripts]
  938 |     if ((isdigit(*start) || isnumpunc(*start))       /* possibly a number */
      |                  ^
analysis.c:956:21: warning: array subscript has type 'char' [-Wchar-subscripts]
  956 |         if (isalpha(*t) &&
      |                     ^
analysis.c:977:36: warning: array subscript has type 'char' [-Wchar-subscripts]
  977 |         if (is_acronym && !isalpha(*t) && (*t != '.')) {
      |                                    ^
analysis.c:1005:29: warning: array subscript has type 'char' [-Wchar-subscripts]
 1005 |                 if (isalpha(*s) && (s[1] != '.'))
      |                             ^
analysis.c: In function 'hf_next':
analysis.c:1299:31: warning: array subscript has type 'char' [-Wchar-subscripts]
 1299 |             else if (!isalpha(*p)) {
      |                               ^
analysis.c: In function 'lcf_next':
analysis.c:1384:39: warning: array subscript has type 'char' [-Wchar-subscripts]
 1384 |         tk->text[i] = tolower(tk->text[i]);
      |                                       ^
analysis.c: In function 'frt_stem_filter_new':
analysis.c:1461:26: warning: array subscript has type 'char' [-Wchar-subscripts]
 1461 |             *s = tolower(*s);
      |                          ^
analysis.c:1473:46: warning: array subscript has type 'char' [-Wchar-subscripts]
 1473 |             *s = (*s == '-') ? '_' : toupper(*s);
      |                                              ^
distcc[4519] ERROR: compile analysis.c on localhost failed
*** Error code 1

Stop.
make: stopped in /tmp/pkgbuild/textproc/ruby-ferret/work.aarch64eb/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/ferret-0.11.8.7/ext

make failed, exit code 1

Gem files will remain installed in /tmp/pkgbuild/textproc/ruby-ferret/work.aarch64eb/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/ferret-0.11.8.7 for inspection.
Results logged to /tmp/pkgbuild/textproc/ruby-ferret/work.aarch64eb/.inst/usr/pkg/lib/ruby/gems/3.1.0/extensions/aarch64_be-netbsd/3.1.0/ferret-0.11.8.7/gem_make.out
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/textproc/ruby-ferret
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/ruby-ferret