+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=33 WRKLOG=/tmp/bulklog/ruby33-libxml-4.1.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=33 WRKLOG=/tmp/bulklog/ruby33-libxml-4.1.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Installing for ruby33-libxml-4.1.2 => Generating pre-install file lists => Installing gem into installation root Building native extensions with: '--build-args --with-xml2-include=/opt/pkg/include/libxml2' This could take a while... ERROR: Error installing /home/pbulk/build/textproc/ruby-libxml/work/libxml-ruby-4.1.2/libxml-ruby-4.1.2.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/build/textproc/ruby-libxml/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/libxml-ruby-4.1.2/ext/libxml /opt/pkg/bin/ruby33 extconf.rb --build-args --with-xml2-include\=/opt/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: /home/pbulk/build/textproc/ruby-libxml/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/libxml-ruby-4.1.2/ext/libxml make DESTDIR\= sitearchdir\=./.gem.20240203-400347-jvbqdo sitelibdir\=./.gem.20240203-400347-jvbqdo clean current directory: /home/pbulk/build/textproc/ruby-libxml/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/libxml-ruby-4.1.2/ext/libxml make DESTDIR\= sitearchdir\=./.gem.20240203-400347-jvbqdo sitelibdir\=./.gem.20240203-400347-jvbqdo compiling libxml.c In file included from ruby_libxml.h:13, from libxml.c:1: ruby_xml_encoding.h:12:27: error: unknown type name 'xmlChar' 12 | VALUE rxml_new_cstr(const xmlChar* xstr, const xmlChar* xencoding); | ^~~~~~~ ruby_xml_encoding.h:12:48: error: unknown type name 'xmlChar' 12 | VALUE rxml_new_cstr(const xmlChar* xstr, const xmlChar* xencoding); | ^~~~~~~ ruby_xml_encoding.h:13:31: error: unknown type name 'xmlChar' 13 | 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' 13 | 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' 15 | rb_encoding* rxml_xml_encoding_to_rb_encoding(VALUE klass, xmlCharEncoding xmlEncoding); | ^~~~~~~~~~~~~~~ ruby_xml_encoding.h:16:41: error: unknown type name 'xmlChar' 16 | rb_encoding* rxml_figure_encoding(const xmlChar* xencoding); | ^~~~~~~ In file included from ruby_libxml.h:14: ruby_xml_attributes.h:9:27: error: unknown type name 'xmlNodePtr' 9 | VALUE rxml_attributes_new(xmlNodePtr xnode); | ^~~~~~~~~~ In file included from ruby_libxml.h:15: ruby_xml_attr.h:9:22: error: unknown type name 'xmlAttrPtr' 9 | VALUE rxml_attr_wrap(xmlAttrPtr xattr); | ^~~~~~~~~~ In file included from ruby_libxml.h:16: ruby_xml_attr_decl.h:9:27: error: unknown type name 'xmlAttributePtr' 9 | VALUE rxml_attr_decl_wrap(xmlAttributePtr xattribute); | ^~~~~~~~~~~~~~~ In file included from ruby_libxml.h:17: ruby_xml_document.h:8:26: error: unknown type name 'xmlDocPtr'; did you mean 'xmlErrorPtr'? 8 | VALUE rxml_document_wrap(xmlDocPtr xnode); | ^~~~~~~~~ | xmlErrorPtr ruby_xml_document.h:10:9: error: unknown type name 'xmlChar' 10 | typedef xmlChar * xmlCharPtr; | ^~~~~~~ In file included from ruby_libxml.h:18: ruby_xml_node.h:9:21: error: unknown type name 'xmlNodePtr' 9 | void rxml_node_mark(xmlNodePtr xnode); | ^~~~~~~~~~ ruby_xml_node.h:10:22: error: unknown type name 'xmlNodePtr' 10 | VALUE rxml_node_wrap(xmlNodePtr xnode); | ^~~~~~~~~~ ruby_xml_node.h:11:23: error: unknown type name 'xmlNodePtr' 11 | void rxml_node_manage(xmlNodePtr xnode, VALUE node); | ^~~~~~~~~~ ruby_xml_node.h:12:25: error: unknown type name 'xmlNodePtr' 12 | void rxml_node_unmanage(xmlNodePtr xnode, VALUE node); | ^~~~~~~~~~ In file included from ruby_libxml.h:19: ruby_xml_namespace.h:9:27: error: unknown type name 'xmlNsPtr'; did you mean 'xmlCharPtr'? 9 | VALUE rxml_namespace_wrap(xmlNsPtr xns); | ^~~~~~~~ | xmlCharPtr In file included from ruby_libxml.h:29: ruby_xml_sax2_handler.h:6:8: error: unknown type name 'xmlSAXHandler' 6 | extern xmlSAXHandler rxml_sax_handler; | ^~~~~~~~~~~~~ *** Error code 1 Stop. make: stopped in /home/pbulk/build/textproc/ruby-libxml/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/libxml-ruby-4.1.2/ext/libxml make failed, exit code 1 Gem files will remain installed in /home/pbulk/build/textproc/ruby-libxml/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/gems/libxml-ruby-4.1.2 for inspection. Results logged to /home/pbulk/build/textproc/ruby-libxml/work/.inst/opt/pkg/lib/ruby/gems/3.3.0/extensions/x86_64-solaris-2.11/3.3.0/libxml-ruby-4.1.2/gem_make.out *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-libxml *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/ruby-libxml