[DRE-maint] Bug#842910: ruby-nokogiri: FTBFS: Failure: Nokogiri::XML::TestNode#test_document_compare

Chris Lamb lamby at debian.org
Wed Nov 2 09:36:06 UTC 2016


Source: ruby-nokogiri
Version: 1.6.8-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

ruby-nokogiri fails to build from source in unstable/amd64:

  […]

  TestConvertXPath#test_css_class = 0.01 s = .
  TestConvertXPath#test_child_tag = 0.01 s = .
  TestConvertXPath#test_child_tag_equals = 0.01 s = .
  TestConvertXPath#test_css_tags = 0.00 s = .
  TestConvertXPath#test_filter_comment = 0.03 s = .
  TestConvertXPath#test_css_id = 0.01 s = .
  ad hoc node reparenting behavior::#add_child::given a parent node with a default and non-default namespace::and a child node with a default namespace not matching the parent's default namespace and a namespace matching a parent namespace but with a different prefix#test_0001_inserts a node that keeps its namespace = 0.00 s = .
  standard node reparenting behavior::#next=::passed a Node::passed a Node in the current document#test_0001_unlinks the Node from its previous position = 0.00 s = .
  standard node reparenting behavior::#next=::passed a Node::passed a Node in the current document#test_0003_returns the expected value = 0.00 s = .
  standard node reparenting behavior::#next=::passed a Node::passed a Node in the current document#test_0002_inserts the Node in the proper position = 0.00 s = .
  ad hoc node reparenting behavior::#add_child::given a parent node with a default and non-default namespace::and a child with a namespace matching the parent's non-default namespace::set by #namespace=#test_0001_inserts a node that inherits the matching parent namespace = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_deprecated_attributes = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_deprecated? = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_optional_attributes = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_implied_start_tag? = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_default_sub_element = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_block? = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_description = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_to_s = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_subelements = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_fetch_element_description = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_required_attributes = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_save_end_tag? = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_empty? = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_implied_end_tag? = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_inline? = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_fetch_nonexistent = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_inspect = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_name = 0.00 s = .
  Nokogiri::HTML::TestElementDescription#test_null_default_sub_element = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_root_namespace_default_decl = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_set_encoding = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_builder_no_block = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_with_root = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_raw_xml_append_with_namespaces = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_builder_namespace_part_deux = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_dtd_in_builder_output = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_raw_append = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_specified_namespace_postdeclared = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_specify_namespace = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_raw_xml_append = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_specified_namespace_undeclared = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_square_brackets_set_attributes = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_builder_can_handle_namespace_override = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_comment = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_nested_local_variable = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_root_namespace_multi_decl = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_raw_append_with_instance_eval = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_builder_can_inherit_parent_namespace = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_builder_with_unlink = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_builder_multiple_nodes = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_attribute_sensitivity = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_builder_namespace = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_bang_and_underscore_is_escaped = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_specify_namespace_nested = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_builder_escape = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_non_root_namespace = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_cdata = 0.00 s = .
  Nokogiri::XML::TestBuilder#test_builder_with_utf8_text = 0.00 s = .
  
  Finished in 6.605022s, 209.3861 runs/s, 601.2092 assertions/s.
  
    1) Skipped:
  Nokogiri::XML::TestDocument#test_add_child [/home/lamby/temp/cdt.20161102092939.CbkjzYjINR.db.ruby-nokogiri/ruby-nokogiri-1.6.8/test/xml/test_document.rb:970]:
  Ruby doesn't have the wrap method
  
  
    2) Skipped:
  Nokogiri::XML::TestDocument#test_java_integration [/home/lamby/temp/cdt.20161102092939.CbkjzYjINR.db.ruby-nokogiri/ruby-nokogiri-1.6.8/test/xml/test_document.rb:955]:
  Ruby doesn't have the wrap method
  
  
    3) Skipped:
  Nokogiri::XSLT::TestExceptionHandling#test_java_exception_handling [/home/lamby/temp/cdt.20161102092939.CbkjzYjINR.db.ruby-nokogiri/ruby-nokogiri-1.6.8/test/xslt/test_exception_handling.rb:7]:
  This test is for Java only
  
  
    4) Skipped:
  Nokogiri::XML::TestXPath#test_slow_jruby_xpath [/home/lamby/temp/cdt.20161102092939.CbkjzYjINR.db.ruby-nokogiri/ruby-nokogiri-1.6.8/test/xml/test_xpath.rb:189]:
  MRI will exceed this timeout when running under valgrind
  
  
    5) Failure:
  Nokogiri::XML::TestNode#test_document_compare [/home/lamby/temp/cdt.20161102092939.CbkjzYjINR.db.ruby-nokogiri/ruby-nokogiri-1.6.8/test/xml/test_node.rb:330]:
  Expected: -1
    Actual: 1
  
  1383 runs, 3971 assertions, 1 failures, 0 errors, 4 skips
  rake aborted!
  Command failed with status (1): [ruby -I"test"  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/css/test_nthiness.rb" "test/css/test_parser.rb" "test/css/test_tokenizer.rb" "test/css/test_xpath_visitor.rb" "test/decorators/test_slop.rb" "test/html/sax/test_parser.rb" "test/html/sax/test_parser_context.rb" "test/html/sax/test_push_parser.rb" "test/html/test_builder.rb" "test/html/test_document.rb" "test/html/test_document_encoding.rb" "test/html/test_document_fragment.rb" "test/html/test_element_description.rb" "test/html/test_named_characters.rb" "test/html/test_node.rb" "test/html/test_node_encoding.rb" "test/namespaces/test_additional_namespaces_in_builder_doc.rb" "test/namespaces/test_namespaces_aliased_default.rb" "test/namespaces/test_namespaces_in_builder_doc.rb" "test/namespaces/test_namespaces_in_cloned_doc.rb" "test/namespaces/test_namespaces_in_created_doc.rb" "test/namespaces/test_namespaces_in_parsed_doc.rb" "test/namespaces/test_namespaces_preservation.rb" "test/test_convert_xpath.rb" "test/test_css_cache.rb" "test/test_encoding_handler.rb" "test/test_memory_leak.rb" "test/test_nokogiri.rb" "test/test_soap4r_sax.rb" "test/test_xslt_transforms.rb" "test/xml/node/test_save_options.rb" "test/xml/node/test_subclass.rb" "test/xml/sax/test_parser.rb" "test/xml/sax/test_parser_context.rb" "test/xml/sax/test_push_parser.rb" "test/xml/test_attr.rb" "test/xml/test_attribute_decl.rb" "test/xml/test_builder.rb" "test/xml/test_c14n.rb" "test/xml/test_cdata.rb" "test/xml/test_comment.rb" "test/xml/test_document.rb" "test/xml/test_document_encoding.rb" "test/xml/test_document_fragment.rb" "test/xml/test_dtd.rb" "test/xml/test_dtd_encoding.rb" "test/xml/test_element_content.rb" "test/xml/test_element_decl.rb" "test/xml/test_entity_decl.rb" "test/xml/test_entity_reference.rb" "test/xml/test_namespace.rb" "test/xml/test_node.rb" "test/xml/test_node_attributes.rb" "test/xml/test_node_encoding.rb" "test/xml/test_node_inheritance.rb" "test/xml/test_node_reparenting.rb" "test/xml/test_node_set.rb" "test/xml/test_parse_options.rb" "test/xml/test_processing_instruction.rb" "test/xml/test_reader.rb" "test/xml/test_reader_encoding.rb" "test/xml/test_relax_ng.rb" "test/xml/test_schema.rb" "test/xml/test_syntax_error.rb" "test/xml/test_text.rb" "test/xml/test_unparented_node.rb" "test/xml/test_xinclude.rb" "test/xml/test_xpath.rb" "test/xslt/test_custom_functions.rb" "test/xslt/test_exception_handling.rb" -v]
  
  Tasks: TOP => default
  (See full trace by running task with --trace)
  ERROR: Test "ruby2.3" failed. Exiting.
  dh_auto_install: dh_ruby --install /home/lamby/temp/cdt.20161102092939.CbkjzYjINR.db.ruby-nokogiri/ruby-nokogiri-1.6.8/debian/ruby-nokogiri returned exit code 1
  debian/rules:6: recipe for target 'binary' failed
  make: *** [binary] Error 1
  dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

  […]

The full build log is attached. (In addition, the package accesses the
internet during build.)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-nokogiri.1.6.8-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 24803 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161102/35c7638d/attachment-0001.obj>


More information about the Pkg-ruby-extras-maintainers mailing list