/home/jhawthorn/.rubies/ruby-2.1.0/bin/ruby extconf.rb --use-system-libraries checking if the C compiler accepts ... yes Building nokogiri using system libraries. 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 make "DESTDIR=" clean make "DESTDIR=" compiling xml_processing_instruction.c compiling html_sax_parser_context.c compiling xml_element_decl.c compiling xml_sax_parser_context.c compiling xml_document.c xml_document.c: In function ‘set_encoding’: xml_document.c:182:12: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] free((char *) doc->encoding); /* this may produce a gcc cast warning */ ^ xml_document.c: In function ‘canonicalize’: xml_document.c:537:15: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] ns[i] = (xmlChar*) ptr; ^ compiling html_element_description.c In file included from /home/jhawthorn/.rubies/ruby-2.1.0/include/ruby-2.1.0/ruby.h:33:0, from ./nokogiri.h:33, from ./html_element_description.h:4, from html_element_description.c:1: html_element_description.c: In function ‘get_description’: html_element_description.c:252:40: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] return Data_Wrap_Struct(klass, 0, 0, (void *)description); ^ /home/jhawthorn/.rubies/ruby-2.1.0/include/ruby-2.1.0/ruby/ruby.h:1019:35: note: in definition of macro ‘Data_Wrap_Struct’ rb_data_object_alloc((klass),(sval),(RUBY_DATA_FUNC)(mark),(RUBY_DATA_FUNC)(free)) ^ compiling xml_encoding_handler.c compiling xml_schema.c compiling xml_sax_parser.c compiling xml_xpath_context.c compiling html_document.c compiling xml_sax_push_parser.c compiling xml_text.c compiling xml_attribute_decl.c compiling xml_attr.c compiling xml_libxml2_hacks.c compiling html_sax_push_parser.c compiling html_entity_lookup.c compiling xml_entity_decl.c compiling xml_entity_reference.c compiling xml_io.c compiling xml_dtd.c compiling xml_comment.c compiling xml_node_set.c xml_node_set.c: In function ‘dealloc_namespace’: xml_node_set.c:9:13: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] xmlFree((xmlChar *)ns->href); ^ xml_node_set.c:11:13: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] xmlFree((xmlChar *)ns->prefix); ^ compiling xml_node.c xml_node.c: In function ‘reparent_node_with’: xml_node.c:168:7: warning: enumeration value ‘XML_ATTRIBUTE_NODE’ not handled in switch [-Wswitch] switch (reparentee->type) { ^ xml_node.c:168:7: warning: enumeration value ‘XML_ENTITY_NODE’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_DOCUMENT_NODE’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_DOCUMENT_FRAG_NODE’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_NOTATION_NODE’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_HTML_DOCUMENT_NODE’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_DTD_NODE’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_ELEMENT_DECL’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_ATTRIBUTE_DECL’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_ENTITY_DECL’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_NAMESPACE_DECL’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_XINCLUDE_START’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_XINCLUDE_END’ not handled in switch [-Wswitch] xml_node.c:168:7: warning: enumeration value ‘XML_DOCB_DOCUMENT_NODE’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_ATTRIBUTE_NODE’ not handled in switch [-Wswitch] switch (reparentee->type) { ^ xml_node.c:186:7: warning: enumeration value ‘XML_ENTITY_NODE’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_DOCUMENT_NODE’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_DOCUMENT_TYPE_NODE’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_DOCUMENT_FRAG_NODE’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_NOTATION_NODE’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_HTML_DOCUMENT_NODE’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_DTD_NODE’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_ELEMENT_DECL’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_ATTRIBUTE_DECL’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_ENTITY_DECL’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_NAMESPACE_DECL’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_XINCLUDE_START’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_XINCLUDE_END’ not handled in switch [-Wswitch] xml_node.c:186:7: warning: enumeration value ‘XML_DOCB_DOCUMENT_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_ELEMENT_NODE’ not handled in switch [-Wswitch] switch (reparentee->type) { ^ xml_node.c:197:7: warning: enumeration value ‘XML_ATTRIBUTE_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_CDATA_SECTION_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_ENTITY_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_PI_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_COMMENT_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_DOCUMENT_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_DOCUMENT_TYPE_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_DOCUMENT_FRAG_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_NOTATION_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_HTML_DOCUMENT_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_DTD_NODE’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_ELEMENT_DECL’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_ATTRIBUTE_DECL’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_ENTITY_DECL’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_NAMESPACE_DECL’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_XINCLUDE_START’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_XINCLUDE_END’ not handled in switch [-Wswitch] xml_node.c:197:7: warning: enumeration value ‘XML_DOCB_DOCUMENT_NODE’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_CDATA_SECTION_NODE’ not handled in switch [-Wswitch] switch (parent->type) { ^ xml_node.c:165:5: warning: enumeration value ‘XML_ENTITY_NODE’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_PI_NODE’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_COMMENT_NODE’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_DOCUMENT_TYPE_NODE’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_NOTATION_NODE’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_DTD_NODE’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_ELEMENT_DECL’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_ATTRIBUTE_DECL’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_ENTITY_DECL’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_NAMESPACE_DECL’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_XINCLUDE_START’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_XINCLUDE_END’ not handled in switch [-Wswitch] xml_node.c:165:5: warning: enumeration value ‘XML_DOCB_DOCUMENT_NODE’ not handled in switch [-Wswitch] compiling xml_document_fragment.c compiling xslt_stylesheet.c compiling nokogiri.c compiling xml_syntax_error.c compiling xml_cdata.c compiling xml_relax_ng.c compiling xml_element_content.c compiling xml_namespace.c compiling xml_reader.c linking shared-object nokogiri/nokogiri.so Cleaning files only used during build. rm -rf /home/jhawthorn/src/solidus/backend/vendor/bundle/gems/nokogiri-1.6.6.2/ports/archives make "DESTDIR=" install /usr/bin/install -c -m 0755 nokogiri.so ./.gem.20150615-17370-lupler/nokogiri installing default nokogiri libraries