current directory: /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/ext/nokogiri /home/allan/.rvm/rubies/ruby-2.7.0-preview1/bin/ruby -I /home/allan/.rvm/rubies/ruby-2.7.0-preview1/lib/ruby/2.7.0 -r ./siteconf20200801-104344-1g5r4x5.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.10 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 - 0004-libxml2.la-is-in-top_builddir.patch - 0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities.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.10.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.10... OK Running git apply with /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch... OK Running git apply with /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/patches/libxml2/0002-Remove-script-macro-support.patch... OK Running git apply with /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch... OK Running git apply with /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/patches/libxml2/0004-libxml2.la-is-in-top_builddir.patch... OK Running git apply with /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/patches/libxml2/0005-Fix-infinite-loop-in-xmlStringLenDecodeEntities.patch... OK Running 'configure' for libxml2 2.9.10... OK Running 'compile' for libxml2 2.9.10... OK Running 'install' for libxml2 2.9.10... OK Activating libxml2 2.9.10 (from /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/ports/x86_64-pc-linux-gnu/libxml2/2.9.10)... ************************************************************************ IMPORTANT NOTICE: Building Nokogiri with a packaged version of libxslt-1.1.34. 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.34.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxslt/1.1.34... OK Running 'configure' for libxslt 1.1.34... OK Running 'compile' for libxslt 1.1.34... OK Running 'install' for libxslt 1.1.34... OK Activating libxslt 1.1.34 (from /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/ports/x86_64-pc-linux-gnu/libxslt/1.1.34)... checking for -llzma... yes 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: /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/ext/nokogiri make "DESTDIR=" clean current directory: /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/ext/nokogiri make "DESTDIR=" compiling html_document.c In file included from /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./html_document.h:4, from html_document.c:1: html_document.c: In function ‘new’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ html_document.c:16:3: note: in expansion of macro ‘rb_scan_args’ 16 | 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’ 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/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_attr.h:4, from xml_attr.c:1: xml_attr.c: In function ‘new’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_attr.c:61:3: note: in expansion of macro ‘rb_scan_args’ 61 | 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’ compiling xml_attribute_decl.c compiling xml_cdata.c In file included from /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_cdata.h:4, from xml_cdata.c:1: xml_cdata.c: In function ‘new’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_cdata.c:23:3: note: in expansion of macro ‘rb_scan_args’ 23 | 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’ compiling xml_comment.c In file included from /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_comment.h:4, from xml_comment.c:1: xml_comment.c: In function ‘new’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_comment.c:21:3: note: in expansion of macro ‘rb_scan_args’ 21 | 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’ compiling xml_document.c In file included from /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_document.h:4, from xml_document.c:1: xml_document.c: In function ‘duplicate_document’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_document.c:330:6: note: in expansion of macro ‘rb_scan_args’ 330 | if(rb_scan_args(argc, argv, "01", &level) == 0) | ^~~~~~~~~~~~ xml_document.c: In function ‘new’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_document.c:357:3: note: in expansion of macro ‘rb_scan_args’ 357 | rb_scan_args(argc, argv, "0*", &rest); | ^~~~~~~~~~~~ xml_document.c: In function ‘create_entity’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_document.c:436:3: note: in expansion of macro ‘rb_scan_args’ 436 | rb_scan_args(argc, argv, "14", &name, &type, &external_id, &system_id, | ^~~~~~~~~~~~ xml_document.c: In function ‘canonicalize’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_document.c:511:3: note: in expansion of macro ‘rb_scan_args’ 511 | 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’ compiling xml_document_fragment.c In file included from /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_document_fragment.h:4, from xml_document_fragment.c:1: xml_document_fragment.c: In function ‘new’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_document_fragment.c:17:3: note: in expansion of macro ‘rb_scan_args’ 17 | 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’ 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/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_entity_reference.h:4, from xml_entity_reference.c:1: xml_entity_reference.c: In function ‘new’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_entity_reference.c:18:3: note: in expansion of macro ‘rb_scan_args’ 18 | 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’ 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:29: warning: passing argument 1 of ‘xmlFree’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 304 | xmlFree(reparentee->ns->prefix); | ~~~~~~~~~~~~~~^~~~~~~~ xml_node.c:304:29: note: expected ‘void *’ but argument is of type ‘const xmlChar *’ {aka ‘const unsigned char *’} In file included from /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_node.h:4, from xml_node.c:1: xml_node.c: In function ‘duplicate_node’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_node.c:550:12: note: in expansion of macro ‘rb_scan_args’ 550 | n_args = rb_scan_args(argc, argv, "02", &r_level, &r_new_parent_doc); | ^~~~~~~~~~~~ xml_node.c: In function ‘new’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_node.c:1393:3: note: in expansion of macro ‘rb_scan_args’ 1393 | 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’ compiling xml_node_set.c In file included from /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_node_set.h:4, from xml_node_set.c:1: xml_node_set.c: In function ‘slice’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_node_set.c:294:5: note: in expansion of macro ‘rb_scan_args’ 294 | 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’ compiling xml_processing_instruction.c In file included from /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_processing_instruction.h:4, from xml_processing_instruction.c:1: xml_processing_instruction.c: In function ‘new’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_processing_instruction.c:20:3: note: in expansion of macro ‘rb_scan_args’ 20 | 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’ compiling xml_reader.c In file included from /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_reader.h:4, from xml_reader.c:1: xml_reader.c: In function ‘from_memory’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_reader.c:533:3: note: in expansion of macro ‘rb_scan_args’ 533 | rb_scan_args(argc, argv, "13", &rb_buffer, &rb_url, &encoding, &rb_options); | ^~~~~~~~~~~~ xml_reader.c: In function ‘from_io’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_reader.c:577:3: note: in expansion of macro ‘rb_scan_args’ 577 | 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’ 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/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_text.h:4, from xml_text.c:1: xml_text.c: In function ‘new’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_text.c:18:3: note: in expansion of macro ‘rb_scan_args’ 18 | 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’ compiling xml_xpath_context.c In file included from /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xml_xpath_context.h:4, from xml_xpath_context.c:1: xml_xpath_context.c: In function ‘evaluate’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xml_xpath_context.c:200:6: note: in expansion of macro ‘rb_scan_args’ 200 | 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’ compiling xslt_stylesheet.c In file included from /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby.h:33, from ./nokogiri.h:33, from ./xslt_stylesheet.h:4, from xslt_stylesheet.c:1: xslt_stylesheet.c: In function ‘transform’: /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2505:48: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 2505 | (rb_scan_args_verify(fmt, varc), vars), (char *)fmt, varc) | ^ /home/allan/.rvm/rubies/ruby-2.7.0-preview1/include/ruby-2.7.0/ruby/ruby.h:2321:9: note: in expansion of macro ‘rb_scan_args0’ 2321 | rb_scan_args0(argc,argvp,fmt,\ | ^~~~~~~~~~~~~ xslt_stylesheet.c:141:5: note: in expansion of macro ‘rb_scan_args’ 141 | 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] 112 | 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’ linking shared-object nokogiri/nokogiri.so Cleaning files only used during build. rm -rf /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports rm -rf /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/ports current directory: /home/allan/dev/rails/gard/vendor/ruby/2.7.0/gems/nokogiri-1.10.10/ext/nokogiri make "DESTDIR=" install /usr/bin/install -c -m 0755 nokogiri.so ./.gem.20200801-104344-1160vlb/nokogiri