[DRE-maint] Bug#665251: ruby-treetop: FTBFS: /«PKGBUILDDIR»/spec/runtime/interval_skip_list/spec_helper.rb:8: uninitialized constant RSpec::Core::SharedContext (NameError)

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Mar 22 16:53:21 UTC 2012


Source: ruby-treetop
Version: 1.4.10-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120321 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
>  fakeroot debian/rules binary
> dh binary --buildsystem=ruby --with ruby
>    dh_testroot -O--buildsystem=ruby
>    dh_prep -O--buildsystem=ruby
>    dh_installdirs -O--buildsystem=ruby
>    dh_auto_install -O--buildsystem=ruby
>   Entering dh_ruby --install
> install -d /«PKGBUILDDIR»/debian/tmp/usr/bin
> install -D -m755 bin/tt /«PKGBUILDDIR»/debian/tmp/usr/bin/tt
> install -d /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby
> install -D -m644 lib/treetop.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop.rb
> install -D -m644 lib/treetop/bootstrap_gen_1_metagrammar.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/bootstrap_gen_1_metagrammar.rb
> install -D -m644 lib/treetop/compiler.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler.rb
> install -D -m644 lib/treetop/compiler/grammar_compiler.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/grammar_compiler.rb
> install -D -m644 lib/treetop/compiler/lexical_address_space.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/lexical_address_space.rb
> install -D -m644 lib/treetop/compiler/metagrammar.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/metagrammar.rb
> install -D -m644 lib/treetop/compiler/metagrammar.treetop /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/metagrammar.treetop
> install -D -m644 lib/treetop/compiler/node_classes.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes.rb
> install -D -m644 lib/treetop/compiler/node_classes/anything_symbol.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/anything_symbol.rb
> install -D -m644 lib/treetop/compiler/node_classes/atomic_expression.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/atomic_expression.rb
> install -D -m644 lib/treetop/compiler/node_classes/character_class.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/character_class.rb
> install -D -m644 lib/treetop/compiler/node_classes/choice.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/choice.rb
> install -D -m644 lib/treetop/compiler/node_classes/declaration_sequence.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/declaration_sequence.rb
> install -D -m644 lib/treetop/compiler/node_classes/grammar.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/grammar.rb
> install -D -m644 lib/treetop/compiler/node_classes/inline_module.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/inline_module.rb
> install -D -m644 lib/treetop/compiler/node_classes/nonterminal.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/nonterminal.rb
> install -D -m644 lib/treetop/compiler/node_classes/optional.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/optional.rb
> install -D -m644 lib/treetop/compiler/node_classes/parenthesized_expression.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/parenthesized_expression.rb
> install -D -m644 lib/treetop/compiler/node_classes/parsing_expression.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/parsing_expression.rb
> install -D -m644 lib/treetop/compiler/node_classes/parsing_rule.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/parsing_rule.rb
> install -D -m644 lib/treetop/compiler/node_classes/predicate.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/predicate.rb
> install -D -m644 lib/treetop/compiler/node_classes/predicate_block.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/predicate_block.rb
> install -D -m644 lib/treetop/compiler/node_classes/repetition.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/repetition.rb
> install -D -m644 lib/treetop/compiler/node_classes/sequence.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/sequence.rb
> install -D -m644 lib/treetop/compiler/node_classes/terminal.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/terminal.rb
> install -D -m644 lib/treetop/compiler/node_classes/transient_prefix.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/transient_prefix.rb
> install -D -m644 lib/treetop/compiler/node_classes/treetop_file.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/node_classes/treetop_file.rb
> install -D -m644 lib/treetop/compiler/ruby_builder.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/compiler/ruby_builder.rb
> install -D -m644 lib/treetop/polyglot.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/polyglot.rb
> install -D -m644 lib/treetop/ruby_extensions.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/ruby_extensions.rb
> install -D -m644 lib/treetop/ruby_extensions/string.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/ruby_extensions/string.rb
> install -D -m644 lib/treetop/runtime.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/runtime.rb
> install -D -m644 lib/treetop/runtime/compiled_parser.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/runtime/compiled_parser.rb
> install -D -m644 lib/treetop/runtime/interval_skip_list.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/runtime/interval_skip_list.rb
> install -D -m644 lib/treetop/runtime/interval_skip_list/head_node.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/runtime/interval_skip_list/head_node.rb
> install -D -m644 lib/treetop/runtime/interval_skip_list/interval_skip_list.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/runtime/interval_skip_list/interval_skip_list.rb
> install -D -m644 lib/treetop/runtime/interval_skip_list/node.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/runtime/interval_skip_list/node.rb
> install -D -m644 lib/treetop/runtime/syntax_node.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/runtime/syntax_node.rb
> install -D -m644 lib/treetop/runtime/terminal_parse_failure.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/runtime/terminal_parse_failure.rb
> install -D -m644 lib/treetop/runtime/terminal_syntax_node.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/runtime/terminal_syntax_node.rb
> install -D -m644 lib/treetop/version.rb /«PKGBUILDDIR»/debian/tmp/usr/lib/ruby/vendor_ruby/treetop/version.rb
> Rewriting shebang line of /«PKGBUILDDIR»/debian/tmp/usr/bin/tt
> /usr/bin/ruby1.8 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> /«PKGBUILDDIR»/spec/runtime/interval_skip_list/spec_helper.rb:8: uninitialized constant RSpec::Core::SharedContext (NameError)
> 	from /usr/lib/ruby/vendor_ruby/polyglot.rb:63:in `polyglot_original_require'
> 	from /usr/lib/ruby/vendor_ruby/polyglot.rb:63:in `require'
> 	from ./spec/runtime/interval_skip_list/delete_spec.rb:1
> 	from /usr/lib/ruby/vendor_ruby/polyglot.rb:63:in `polyglot_original_require'
> 	from /usr/lib/ruby/vendor_ruby/polyglot.rb:63:in `require'
> 	from debian/ruby-tests.rb:1
> 	from debian/ruby-tests.rb:1:in `each'
> 	from debian/ruby-tests.rb:1
> ERROR: Test "ruby1.8" failed. Exiting.
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/tmp returned exit code 1
> make: *** [binary] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/21/ruby-treetop_1.4.10-2.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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





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