current directory: /mnt/c/Users/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.10.2/ext/nokogiri /home/sho/.rbenv/versions/2.6.2/bin/ruby -I /home/sho/.rbenv/versions/2.6.2/lib/ruby/2.6.0 -r ./siteconf20190327-1771-b5hgn2.rb extconf.rb checking if the C compiler accepts ... yes Building nokogiri using packaged libraries. Using mini_portile version 2.4.0 checking for gzdopen() in -lz... yes checking for iconv... yes ************************************************************************ IMPORTANT NOTICE: Building Nokogiri with a packaged version of libxml2-2.9.9 with the following patches applied: - 0001-Revert-Do-not-URI-escape-in-server-side-includes.patch - 0002-Remove-script-macro-support.patch - 0003-Update-entities-to-remove-handling-of-ssi.patch Team Nokogiri will keep on doing their best to provide security updates in a timely manner, but if this is a concern for you and want to use the system library instead; abort this installation process and reinstall nokogiri as follows: gem install nokogiri -- --use-system-libraries [--with-xml2-config=/path/to/xml2-config] [--with-xslt-config=/path/to/xslt-config] If you are using Bundler, tell it to use the option: bundle config build.nokogiri --use-system-libraries bundle install Note, however, that nokogiri is not fully compatible with arbitrary versions of libxml2 provided by OS/package vendors. ************************************************************************ Extracting libxml2-2.9.9.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.9... OK Running git apply with /mnt/c/Users/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.10.2/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch... OK Running git apply with /mnt/c/Users/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.10.2/patches/libxml2/0002-Remove-script-macro-support.patch... OK Running git apply with /mnt/c/Users/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.10.2/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch... OK Running 'configure' for libxml2 2.9.9... OK Running 'compile' for libxml2 2.9.9... OK Running 'install' for libxml2 2.9.9... OK Activating libxml2 2.9.9 (from /mnt/c/Users/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.10.2/ports/x86_64-pc-linux-gnu/libxml2/2.9.9)... ************************************************************************ IMPORTANT NOTICE: Building Nokogiri with a packaged version of libxslt-1.1.33. Team Nokogiri will keep on doing their best to provide security updates in a timely manner, but if this is a concern for you and want to use the system library instead; abort this installation process and reinstall nokogiri as follows: gem install nokogiri -- --use-system-libraries [--with-xml2-config=/path/to/xml2-config] [--with-xslt-config=/path/to/xslt-config] If you are using Bundler, tell it to use the option: bundle config build.nokogiri --use-system-libraries bundle install ************************************************************************ Extracting libxslt-1.1.33.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.33... OK Running 'configure' for libxslt 1.1.33... OK Running 'compile' for libxslt 1.1.33... OK Running 'install' for libxslt 1.1.33... OK Activating libxslt 1.1.33 (from /mnt/c/Users/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.10.2/ports/x86_64-pc-linux-gnu/libxslt/1.1.33)... checking for -llzma... no checking for xmlParseDoc() in libxml/parser.h... yes checking for xsltParseStylesheetDoc() in libxslt/xslt.h... yes checking for exsltFuncRegister() in libexslt/exslt.h... yes checking for xmlHasFeature()... yes checking for xmlFirstElementChild()... yes checking for xmlRelaxNGSetParserStructuredErrors()... yes checking for xmlRelaxNGSetParserStructuredErrors()... yes checking for xmlRelaxNGSetValidStructuredErrors()... yes checking for xmlSchemaSetValidStructuredErrors()... yes checking for xmlSchemaSetParserStructuredErrors()... yes creating Makefile current directory: /mnt/c/Users/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.10.2/ext/nokogiri make "DESTDIR=" clean current directory: /mnt/c/Users/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.10.2/ext/nokogiri make "DESTDIR=" compiling html_document.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./html_document.h:4, from html_document.c:1: html_document.c: In function ‘new’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ html_document.c:16:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "0*", &rest); ^~~~~~~~~~~~ html_document.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling html_element_description.c compiling html_entity_lookup.c compiling html_sax_parser_context.c compiling html_sax_push_parser.c compiling nokogiri.c compiling xml_attr.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_attr.h:4, from xml_attr.c:1: xml_attr.c: In function ‘new’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_attr.c:61:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "2*", &document, &name, &rest); ^~~~~~~~~~~~ xml_attr.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xml_attribute_decl.c compiling xml_cdata.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_cdata.h:4, from xml_cdata.c:1: xml_cdata.c: In function ‘new’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_cdata.c:23:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "2*", &doc, &content, &rest); ^~~~~~~~~~~~ xml_cdata.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xml_comment.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_comment.h:4, from xml_comment.c:1: xml_comment.c: In function ‘new’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_comment.c:21:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "2*", &document, &content, &rest); ^~~~~~~~~~~~ xml_comment.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xml_document.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_document.h:4, from xml_document.c:1: xml_document.c: In function ‘duplicate_document’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_document.c:330:6: note: in expansion of macro ‘rb_scan_args’ if(rb_scan_args(argc, argv, "01", &level) == 0) ^~~~~~~~~~~~ xml_document.c: In function ‘new’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_document.c:357:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "0*", &rest); ^~~~~~~~~~~~ xml_document.c: In function ‘create_entity’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_document.c:436:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "14", &name, &type, &external_id, &system_id, ^~~~~~~~~~~~ xml_document.c: In function ‘canonicalize’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_document.c:511:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "03", &mode, &incl_ns, &with_comments); ^~~~~~~~~~~~ xml_document.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xml_document_fragment.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_document_fragment.h:4, from xml_document_fragment.c:1: xml_document_fragment.c: In function ‘new’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_document_fragment.c:17:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "1*", &document, &rest); ^~~~~~~~~~~~ xml_document_fragment.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xml_dtd.c compiling xml_element_content.c compiling xml_element_decl.c compiling xml_encoding_handler.c compiling xml_entity_decl.c compiling xml_entity_reference.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_entity_reference.h:4, from xml_entity_reference.c:1: xml_entity_reference.c: In function ‘new’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_entity_reference.c:18:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "2*", &document, &name, &rest); ^~~~~~~~~~~~ xml_entity_reference.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xml_io.c compiling xml_libxml2_hacks.c compiling xml_namespace.c compiling xml_node.c xml_node.c: In function ‘reparent_node_with’: xml_node.c:304:15: warning: passing argument 1 of ‘xmlFree’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] xmlFree(reparentee->ns->prefix); ^~~~~~~~~~ xml_node.c:304:15: note: expected ‘void *’ but argument is of type ‘const xmlChar * {aka const unsigned char *}’ In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_node.h:4, from xml_node.c:1: xml_node.c: In function ‘duplicate_node’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_node.c:550:12: note: in expansion of macro ‘rb_scan_args’ n_args = rb_scan_args(argc, argv, "02", &r_level, &r_new_parent_doc); ^~~~~~~~~~~~ xml_node.c: In function ‘new’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_node.c:1393:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "2*", &name, &document, &rest); ^~~~~~~~~~~~ xml_node.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xml_node_set.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_node_set.h:4, from xml_node_set.c:1: xml_node_set.c: In function ‘slice’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_node_set.c:294:5: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "11", NULL, NULL); ^~~~~~~~~~~~ xml_node_set.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xml_processing_instruction.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_processing_instruction.h:4, from xml_processing_instruction.c:1: xml_processing_instruction.c: In function ‘new’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_processing_instruction.c:20:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "3*", &document, &name, &content, &rest); ^~~~~~~~~~~~ xml_processing_instruction.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xml_reader.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_reader.h:4, from xml_reader.c:1: xml_reader.c: In function ‘from_memory’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_reader.c:533:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "13", &rb_buffer, &rb_url, &encoding, &rb_options); ^~~~~~~~~~~~ xml_reader.c: In function ‘from_io’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_reader.c:577:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "13", &rb_io, &rb_url, &encoding, &rb_options); ^~~~~~~~~~~~ xml_reader.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xml_relax_ng.c compiling xml_sax_parser.c compiling xml_sax_parser_context.c compiling xml_sax_push_parser.c compiling xml_schema.c compiling xml_syntax_error.c compiling xml_text.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_text.h:4, from xml_text.c:1: xml_text.c: In function ‘new’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_text.c:18:3: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "2*", &string, &document, &rest); ^~~~~~~~~~~~ xml_text.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xml_xpath_context.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xml_xpath_context.h:4, from xml_xpath_context.c:1: xml_xpath_context.c: In function ‘evaluate’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xml_xpath_context.c:200:6: note: in expansion of macro ‘rb_scan_args’ if(rb_scan_args(argc, argv, "11", &search_path, &xpath_handler) == 1) ^~~~~~~~~~~~ xml_xpath_context.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ compiling xslt_stylesheet.c In file included from /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby.h:33:0, from ./nokogiri.h:33, from ./xslt_stylesheet.h:4, from xslt_stylesheet.c:1: xslt_stylesheet.c: In function ‘transform’: /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2479:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) ^ /home/sho/.rbenv/versions/2.6.2/include/ruby-2.6.0/ruby/ruby.h:2295:9: note: in expansion of macro ‘rb_scan_args0’ rb_scan_args0(argc,argvp,fmt,\ ^~~~~~~~~~~~~ xslt_stylesheet.c:141:5: note: in expansion of macro ‘rb_scan_args’ rb_scan_args(argc, argv, "11", &xmldoc, ¶mobj); ^~~~~~~~~~~~ At top level: xslt_stylesheet.c:112:13: warning: ‘swallow_superfluous_xml_errors’ defined but not used [-Wunused-function] static void swallow_superfluous_xml_errors(void * userdata, xmlErrorPtr error, ...) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ linking shared-object nokogiri/nokogiri.so Cleaning files only used during build. rm -rf /mnt/c/Users/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.10.2/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports rm -rf /mnt/c/Users/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.10.2/ports current directory: /mnt/c/Users/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.10.2/ext/nokogiri make "DESTDIR=" install /usr/bin/install -c -m 0755 nokogiri.so ./.gem.20190327-1771-krfpis/nokogiri