=> 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-libxml-4.1.2 => Generating pre-install file lists => Installing gem into installation root Building native extensions with: '--build-args --with-xml2-include=/usr/pkg/include/libxml2' This could take a while... ERROR: Error installing /tmp/textproc/ruby-libxml/work/libxml-ruby-4.1.2/libxml-ruby-4.1.2.gem: ERROR: Failed to build gem native extension. current directory: /tmp/textproc/ruby-libxml/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/libxml-ruby-4.1.2/ext/libxml /usr/pkg/bin/ruby31 -I /usr/pkg/lib/ruby/3.1.0 extconf.rb --build-args --with-xml2-include\=/usr/pkg/include/libxml2 checking for libxml/xmlversion.h in /opt/include/libxml2,/opt/local/include/libxml2,/opt/homebrew/opt/libxml2/include/libxml2,/usr/local/include/libxml2,/usr/include/libxml2,/usr/local/include,/usr/local/opt/libxml2/include/libxml2... yes checking for xmlParseDoc() in -lxml2... yes creating extconf.h creating Makefile current directory: /tmp/textproc/ruby-libxml/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/libxml-ruby-4.1.2/ext/libxml make DESTDIR\= sitearchdir\=./.gem.20240202-19960-xinh3j sitelibdir\=./.gem.20240202-19960-xinh3j clean current directory: /tmp/textproc/ruby-libxml/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/libxml-ruby-4.1.2/ext/libxml make DESTDIR\= sitearchdir\=./.gem.20240202-19960-xinh3j sitelibdir\=./.gem.20240202-19960-xinh3j compiling libxml.c In file included from ruby_libxml.h:13:0, from libxml.c:1: ruby_xml_encoding.h:12:27: error: unknown type name 'xmlChar' VALUE rxml_new_cstr(const xmlChar* xstr, const xmlChar* xencoding); ^~~~~~~ ruby_xml_encoding.h:12:48: error: unknown type name 'xmlChar' VALUE rxml_new_cstr(const xmlChar* xstr, const xmlChar* xencoding); ^~~~~~~ ruby_xml_encoding.h:13:31: error: unknown type name 'xmlChar' VALUE rxml_new_cstr_len(const xmlChar* xstr, const long length, const xmlChar* xencoding); ^~~~~~~ ruby_xml_encoding.h:13:71: error: unknown type name 'xmlChar' VALUE rxml_new_cstr_len(const xmlChar* xstr, const long length, const xmlChar* xencoding); ^~~~~~~ ruby_xml_encoding.h:15:60: error: unknown type name 'xmlCharEncoding'; did you mean 'OnigEncoding'? rb_encoding* rxml_xml_encoding_to_rb_encoding(VALUE klass, xmlCharEncoding xmlEncoding); ^~~~~~~~~~~~~~~ OnigEncoding ruby_xml_encoding.h:16:41: error: unknown type name 'xmlChar' rb_encoding* rxml_figure_encoding(const xmlChar* xencoding); ^~~~~~~ In file included from ruby_libxml.h:14:0, from libxml.c:1: ruby_xml_attributes.h:9:27: error: unknown type name 'xmlNodePtr'; did you mean 'xmlErrorPtr'? VALUE rxml_attributes_new(xmlNodePtr xnode); ^~~~~~~~~~ xmlErrorPtr In file included from ruby_libxml.h:15:0, from libxml.c:1: ruby_xml_attr.h:9:22: error: unknown type name 'xmlAttrPtr'; did you mean 'xmlErrorPtr'? VALUE rxml_attr_wrap(xmlAttrPtr xattr); ^~~~~~~~~~ xmlErrorPtr In file included from ruby_libxml.h:16:0, from libxml.c:1: ruby_xml_attr_decl.h:9:27: error: unknown type name 'xmlAttributePtr'; did you mean '__attribute__'? VALUE rxml_attr_decl_wrap(xmlAttributePtr xattribute); ^~~~~~~~~~~~~~~ __attribute__ In file included from ruby_libxml.h:17:0, from libxml.c:1: ruby_xml_document.h:8:26: error: unknown type name 'xmlDocPtr'; did you mean 'xmlErrorPtr'? VALUE rxml_document_wrap(xmlDocPtr xnode); ^~~~~~~~~ xmlErrorPtr ruby_xml_document.h:10:9: error: unknown type name 'xmlChar' typedef xmlChar * xmlCharPtr; ^~~~~~~ In file included from ruby_libxml.h:18:0, from libxml.c:1: ruby_xml_node.h:9:21: error: unknown type name 'xmlNodePtr'; did you mean 'xmlCharPtr'? void rxml_node_mark(xmlNodePtr xnode); ^~~~~~~~~~ xmlCharPtr ruby_xml_node.h:10:22: error: unknown type name 'xmlNodePtr'; did you mean 'xmlCharPtr'? VALUE rxml_node_wrap(xmlNodePtr xnode); ^~~~~~~~~~ xmlCharPtr ruby_xml_node.h:11:23: error: unknown type name 'xmlNodePtr'; did you mean 'xmlCharPtr'? void rxml_node_manage(xmlNodePtr xnode, VALUE node); ^~~~~~~~~~ xmlCharPtr ruby_xml_node.h:12:25: error: unknown type name 'xmlNodePtr'; did you mean 'xmlCharPtr'? void rxml_node_unmanage(xmlNodePtr xnode, VALUE node); ^~~~~~~~~~ xmlCharPtr In file included from ruby_libxml.h:19:0, from libxml.c:1: ruby_xml_namespace.h:9:27: error: unknown type name 'xmlNsPtr'; did you mean 'xmlCharPtr'? VALUE rxml_namespace_wrap(xmlNsPtr xns); ^~~~~~~~ xmlCharPtr In file included from ruby_libxml.h:29:0, from libxml.c:1: ruby_xml_sax2_handler.h:6:8: error: unknown type name 'xmlSAXHandler' extern xmlSAXHandler rxml_sax_handler; ^~~~~~~~~~~~~ *** Error code 1 Stop. make: stopped in /tmp/textproc/ruby-libxml/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/libxml-ruby-4.1.2/ext/libxml make failed, exit code 1 Gem files will remain installed in /tmp/textproc/ruby-libxml/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/gems/libxml-ruby-4.1.2 for inspection. Results logged to /tmp/textproc/ruby-libxml/work/.inst/usr/pkg/lib/ruby/gems/3.1.0/extensions/x86_64-netbsd/3.1.0/libxml-ruby-4.1.2/gem_make.out *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/textproc/ruby-libxml *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/textproc/ruby-libxml