=> 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 ruby27-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 /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: /work/textproc/ruby-ferret/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/gems/ferret-0.11.8.7/ext
/usr/pkg/bin/ruby27 -I /usr/pkg/lib/ruby/2.7.0 -r ./siteconf20230517-23495-ium8cz.rb extconf.rb
creating Makefile

current directory: /work/textproc/ruby-ferret/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/gems/ferret-0.11.8.7/ext
make "DESTDIR=" clean

current directory: /work/textproc/ruby-ferret/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/gems/ferret-0.11.8.7/ext
make "DESTDIR="
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 /work/textproc/ruby-ferret/work/.buildlink/include/ruby-2.7.0/ruby/defines.h:134:0,
                 from /work/textproc/ruby-ferret/work/.buildlink/include/ruby-2.7.0/ruby/ruby.h:29,
                 from /work/textproc/ruby-ferret/work/.buildlink/include/ruby-2.7.0/ruby.h:33,
                 from lang.h:7,
                 from global.h:10,
                 from analysis.h:8,
                 from analysis.c:1:
/usr/include/stdlib.h:273:28: error: unknown type name 'u_char'
 void  arc4random_addrandom(u_char *, int);
                            ^
/usr/include/stdlib.h:306:1: error: unknown type name 'devmajor_t'
 devmajor_t getdevmajor(const char *, mode_t);
 ^
*** Error code 1

Stop.
make: stopped in /work/textproc/ruby-ferret/work/.inst/usr/pkg/lib/ruby/gems/2.7.0/gems/ferret-0.11.8.7/ext

make failed, exit code 1

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

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

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