[DRE-maint] Bug#759925: ruby-treetop: FTBFS: ERROR: Test "ruby2.1" failed: Failure/Error: }.tabto(0).strip

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Aug 30 21:01:40 UTC 2014


Source: ruby-treetop
Version: 1.4.14-3
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140830 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>      Failure/Error: }.tabto(0).strip
>      ArgumentError:
>        negative argument
>      # ./lib/treetop/ruby_extensions/string.rb:25:in `tabto'
>      # ./spec/ruby_extensions/string_spec.rb:10:in `block (2 levels) in <top (required)>'
> 
> Finished in 2.19 seconds
> 414 examples, 8 failures, 1 pending
> 
> Failed examples:
> 
> rspec ./spec/compiler/sequence_spec.rb:104 # Compiling a sequence containing various white-space errors should succeed on a valid sequence
> rspec ./spec/compiler/sequence_spec.rb:108 # Compiling a sequence containing various white-space errors rejects space after a label
> rspec ./spec/compiler/sequence_spec.rb:112 # Compiling a sequence containing various white-space errors rejects space after label's colon
> rspec ./spec/compiler/sequence_spec.rb:116 # Compiling a sequence containing various white-space errors rejects missing space after a primary
> rspec ./spec/compiler/sequence_spec.rb:120 # Compiling a sequence containing various white-space errors rejects missing space before node class declaration
> rspec ./spec/compiler/sequence_spec.rb:124 # Compiling a sequence containing various white-space errors rejects missing space before inline module
> rspec ./spec/ruby_extensions/string_spec.rb:13 # String can translate indices to column numbers
> rspec ./spec/ruby_extensions/string_spec.rb:23 # String can translate indices to line numbers
> /usr/bin/ruby2.1 -S rspec ./spec/compiler/and_predicate_spec.rb ./spec/compiler/anything_symbol_spec.rb ./spec/compiler/character_class_spec.rb ./spec/compiler/choice_spec.rb ./spec/compiler/circular_compilation_spec.rb ./spec/compiler/failure_propagation_functional_spec.rb ./spec/compiler/grammar_compiler_spec.rb ./spec/compiler/grammar_spec.rb ./spec/compiler/multibyte_chars_spec.rb ./spec/compiler/namespace_spec.rb ./spec/compiler/nonterminal_symbol_spec.rb ./spec/compiler/not_predicate_spec.rb ./spec/compiler/occurrence_range_spec.rb ./spec/compiler/one_or_more_spec.rb ./spec/compiler/optional_spec.rb ./spec/compiler/parenthesized_expression_spec.rb ./spec/compiler/parsing_rule_spec.rb ./spec/compiler/repeated_subrule_spec.rb ./spec/compiler/semantic_predicate_spec.rb ./spec/compiler/sequence_spec.rb ./spec/compiler/terminal_spec.rb ./spec/compiler/terminal_symbol_spec.rb ./spec/compiler/tt_compiler_spec.rb ./spec/compiler/zero_or_more_spec.rb ./spec/composition/grammar_composition_spec.rb ./spec/ruby_extensions/string_spec.rb ./spec/runtime/compiled_parser_spec.rb ./spec/runtime/interval_skip_list/delete_spec.rb ./spec/runtime/interval_skip_list/expire_range_spec.rb ./spec/runtime/interval_skip_list/insert_and_delete_node_spec.rb ./spec/runtime/interval_skip_list/insert_spec.rb ./spec/runtime/interval_skip_list/interval_skip_list_spec.rb ./spec/runtime/interval_skip_list/palindromic_fixture_spec.rb ./spec/runtime/syntax_node_spec.rb failed
> ERROR: Test "ruby2.1" failed: 

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/08/30/ruby-treetop_1.4.14-3_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures. The build
was done with DEB_BUILD_OPTIONS="parallel=4", so if your packaging tries
to support this, it might be a good idea to explore whether this might
be the cause of the failure.



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