=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Installing for ruby22-xslt-0.9.9nb3 => Generating pre-install file lists => Installing gem into installation root Building native extensions with: '--build-args --with-xslt-dir=/usr/pkg' This could take a while... ERROR: Error installing /data/scratch/textproc/ruby-xslt/work/ruby-xslt-0.9.9/ruby-xslt-0.9.9.gem: ERROR: Failed to build gem native extension. /usr/pkg/bin/ruby22 -r ./siteconf20170914-911-k7x98i.rb extconf.rb --build-args --with-xslt-dir=/usr/pkg checking for xmlParseDoc() in -lxml2... yes checking for xsltParseStylesheetFile() in -lxslt... yes checking for exsltRegisterAll() in -lexslt... yes creating extconf.h creating Makefile make "DESTDIR=" clean make "DESTDIR=" compiling extfunc.c compiling parameters.c compiling parser.c compiling rb_utils.c compiling xslt_lib.c xslt_lib.c:564:71: error: use of undeclared identifier 'XSLT_NORM_SAXON_NAMESPACE' rb_define_const( cXSLT, "NAMESPACE_NORM_SAXON", rb_str_new2((char *)XSLT_NORM_SAXON_NAMESPACE) ); ^ /data/scratch/textproc/ruby-xslt/work/.buildlink/include/ruby-2.2.0/ruby/intern.h:872:21: note: expanded from macro 'rb_str_new2' #define rb_str_new2 rb_str_new_cstr ^ xslt_lib.c:564:71: error: use of undeclared identifier 'XSLT_NORM_SAXON_NAMESPACE' /data/scratch/textproc/ruby-xslt/work/.buildlink/include/ruby-2.2.0/ruby/intern.h:872:21: note: expanded from macro 'rb_str_new2' #define rb_str_new2 rb_str_new_cstr ^ xslt_lib.c:564:71: error: use of undeclared identifier 'XSLT_NORM_SAXON_NAMESPACE' /data/scratch/textproc/ruby-xslt/work/.buildlink/include/ruby-2.2.0/ruby/intern.h:872:21: note: expanded from macro 'rb_str_new2' #define rb_str_new2 rb_str_new_cstr ^ xslt_lib.c:564:71: error: use of undeclared identifier 'XSLT_NORM_SAXON_NAMESPACE' /data/scratch/textproc/ruby-xslt/work/.buildlink/include/ruby-2.2.0/ruby/intern.h:872:21: note: expanded from macro 'rb_str_new2' #define rb_str_new2 rb_str_new_cstr ^ xslt_lib.c:564:51: error: passing 'void' to parameter of incompatible type 'VALUE' (aka 'unsigned long') rb_define_const( cXSLT, "NAMESPACE_NORM_SAXON", rb_str_new2((char *)XSLT_NORM_SAXON_NAMESPACE) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/textproc/ruby-xslt/work/.buildlink/include/ruby-2.2.0/ruby/intern.h:872:21: note: expanded from macro 'rb_str_new2' #define rb_str_new2 rb_str_new_cstr ^ /data/scratch/textproc/ruby-xslt/work/.buildlink/include/ruby-2.2.0/ruby/intern.h:800:30: note: expanded from macro 'rb_str_new_cstr' #define rb_str_new_cstr(str) __extension__ ( \ ^~~~~~~~~~~~~~~~~~~~ /data/scratch/textproc/ruby-xslt/work/.buildlink/include/ruby-2.2.0/ruby/ruby.h:1433:45: note: passing argument to parameter here void rb_define_const(VALUE,const char*,VALUE); ^ 5 errors generated. *** Error code 1 Stop. make: stopped in /data/scratch/textproc/ruby-xslt/work/.inst/usr/pkg/lib/ruby/gems/2.2.0/gems/ruby-xslt-0.9.9/ext/xslt_lib make failed, exit code 1 Gem files will remain installed in /data/scratch/textproc/ruby-xslt/work/.inst/usr/pkg/lib/ruby/gems/2.2.0/gems/ruby-xslt-0.9.9 for inspection. Results logged to /data/scratch/textproc/ruby-xslt/work/.inst/usr/pkg/lib/ruby/gems/2.2.0/extensions/x86_64-netbsd/2.2.0/ruby-xslt-0.9.9/gem_make.out *** Error code 1 Stop. make[1]: stopped in /data/pkgsrc/textproc/ruby-xslt *** Error code 1 Stop. make: stopped in /data/pkgsrc/textproc/ruby-xslt