[DRE-maint] Bug#759902: ruby-haml-magic-translations: FTBFS: ERROR: Test "ruby2.1" failed: NoMethodError:

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Aug 30 20:58:41 UTC 2014


Source: ruby-haml-magic-translations
Version: 4.0.3-1
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):
>      NoMethodError:
>        undefined method `try' for "            ":String
>      Shared Example Group: "Haml magic translations" called from ./spec/haml/magic_translations_spec.rb:257
>      # ./spec/haml/magic_translations_spec.rb:11:in `strip_heredoc'
>      # ./spec/haml/magic_translations_spec.rb:201:in `block (4 levels) in <module:Haml>'
>      # ./spec/haml/magic_translations_spec.rb:254:in `block (4 levels) in <module:Haml>'
>      # ./spec/haml/magic_translations_spec.rb:242:in `block (3 levels) in <module:Haml>'
> 
> Finished in 0.29239 seconds
> 88 examples, 49 failures
> 
> Failed examples:
> 
> rspec ./spec/haml/magic_translations/xgettext/haml_parser_spec.rb:74 # Haml::MagicTranslations::XGetText::HamlParser Haml::MagicTranslations::XGetText::HamlParser::XGetTextParser #parse for two translatable plain strings should return two targets (with proper lines)
> rspec ./spec/haml/magic_translations/xgettext/haml_parser_spec.rb:145 # Haml::MagicTranslations::XGetText::HamlParser Haml::MagicTranslations::XGetText::HamlParser::XGetTextParser #parse for a translatable string appearing twice should appear only once in the targets
> rspec ./spec/haml/magic_translations/xgettext/haml_parser_spec.rb:148 # Haml::MagicTranslations::XGetText::HamlParser Haml::MagicTranslations::XGetText::HamlParser::XGetTextParser #parse for a translatable string appearing twice should record two target locations
> rspec ./spec/haml/magic_translations/xgettext/haml_parser_spec.rb:171 # Haml::MagicTranslations::XGetText::HamlParser Haml::MagicTranslations::XGetText::HamlParser::XGetTextParser #parse for translatable strings in JavaScript should properly identify them
> rspec ./spec/haml/magic_translations/xgettext/haml_parser_spec.rb:182 # Haml::MagicTranslations::XGetText::HamlParser Haml::MagicTranslations::XGetText::HamlParser::XGetTextParser #parse for JavaScript strings with quotes should properly identify them
> rspec ./spec/haml/magic_translations/xgettext/haml_parser_spec.rb:194 # Haml::MagicTranslations::XGetText::HamlParser Haml::MagicTranslations::XGetText::HamlParser::XGetTextParser #parse for markdown block should properly add it to translations
> rspec ./spec/haml/magic_translations/xgettext/haml_parser_spec.rb:199 # Haml::MagicTranslations::XGetText::HamlParser Haml::MagicTranslations::XGetText::HamlParser::XGetTextParser #parse after extracting translations should still allow Haml::Engine to build templates
> rspec ./spec/haml/magic_translations_spec.rb:60 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations should translate text using existing locales
> rspec ./spec/haml/magic_translations_spec.rb:70 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations should leave text without changes when translation is not available
> rspec ./spec/haml/magic_translations_spec.rb:78 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations should translate text with multiline plain text
> rspec ./spec/haml/magic_translations_spec.rb:95 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations should translate escaped tags
> rspec ./spec/haml/magic_translations_spec.rb:103 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations should translate unescaped tags
> rspec ./spec/haml/magic_translations_spec.rb:111 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations should not translate evaluated tags
> rspec ./spec/haml/magic_translations_spec.rb:119 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations should not translate escaped evaluated tags
> rspec ./spec/haml/magic_translations_spec.rb:127 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations should not translate unescaped evaluated tags
> rspec ./spec/haml/magic_translations_spec.rb:136 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations when translating strings in JavaScript should translate strings inside _('')
> rspec ./spec/haml/magic_translations_spec.rb:148 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations when translating strings in JavaScript should translate strings inside _("")
> rspec ./spec/haml/magic_translations_spec.rb:160 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations when translating strings in JavaScript should not choke on single-quote
> rspec ./spec/haml/magic_translations_spec.rb:172 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations when translating strings in JavaScript should not choke on double-quote
> rspec ./spec/haml/magic_translations_spec.rb:187 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations when translating strings in Markdown should translate strings inside _('')
> rspec ./spec/haml/magic_translations_spec.rb:199 # Haml::MagicTranslations with I18n as backend it should behave like Haml magic translations when disabling magic translations should leave text untranslated
> rspec ./spec/haml/magic_translations_spec.rb:60 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations should translate text using existing locales
> rspec ./spec/haml/magic_translations_spec.rb:70 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations should leave text without changes when translation is not available
> rspec ./spec/haml/magic_translations_spec.rb:78 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations should translate text with multiline plain text
> rspec ./spec/haml/magic_translations_spec.rb:95 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations should translate escaped tags
> rspec ./spec/haml/magic_translations_spec.rb:103 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations should translate unescaped tags
> rspec ./spec/haml/magic_translations_spec.rb:111 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations should not translate evaluated tags
> rspec ./spec/haml/magic_translations_spec.rb:119 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations should not translate escaped evaluated tags
> rspec ./spec/haml/magic_translations_spec.rb:127 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations should not translate unescaped evaluated tags
> rspec ./spec/haml/magic_translations_spec.rb:136 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations when translating strings in JavaScript should translate strings inside _('')
> rspec ./spec/haml/magic_translations_spec.rb:148 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations when translating strings in JavaScript should translate strings inside _("")
> rspec ./spec/haml/magic_translations_spec.rb:160 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations when translating strings in JavaScript should not choke on single-quote
> rspec ./spec/haml/magic_translations_spec.rb:172 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations when translating strings in JavaScript should not choke on double-quote
> rspec ./spec/haml/magic_translations_spec.rb:187 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations when translating strings in Markdown should translate strings inside _('')
> rspec ./spec/haml/magic_translations_spec.rb:199 # Haml::MagicTranslations with GetText as backend it should behave like Haml magic translations when disabling magic translations should leave text untranslated
> rspec ./spec/haml/magic_translations_spec.rb:60 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations should translate text using existing locales
> rspec ./spec/haml/magic_translations_spec.rb:70 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations should leave text without changes when translation is not available
> rspec ./spec/haml/magic_translations_spec.rb:78 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations should translate text with multiline plain text
> rspec ./spec/haml/magic_translations_spec.rb:95 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations should translate escaped tags
> rspec ./spec/haml/magic_translations_spec.rb:103 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations should translate unescaped tags
> rspec ./spec/haml/magic_translations_spec.rb:111 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations should not translate evaluated tags
> rspec ./spec/haml/magic_translations_spec.rb:119 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations should not translate escaped evaluated tags
> rspec ./spec/haml/magic_translations_spec.rb:127 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations should not translate unescaped evaluated tags
> rspec ./spec/haml/magic_translations_spec.rb:136 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations when translating strings in JavaScript should translate strings inside _('')
> rspec ./spec/haml/magic_translations_spec.rb:148 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations when translating strings in JavaScript should translate strings inside _("")
> rspec ./spec/haml/magic_translations_spec.rb:160 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations when translating strings in JavaScript should not choke on single-quote
> rspec ./spec/haml/magic_translations_spec.rb:172 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations when translating strings in JavaScript should not choke on double-quote
> rspec ./spec/haml/magic_translations_spec.rb:187 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations when translating strings in Markdown should translate strings inside _('')
> rspec ./spec/haml/magic_translations_spec.rb:199 # Haml::MagicTranslations with FastGettext as backend it should behave like Haml magic translations when disabling magic translations should leave text untranslated
> /usr/bin/ruby2.1 -S rspec ./spec/haml/magic_translations/tasks_spec.rb ./spec/haml/magic_translations/xgettext/haml_parser_spec.rb ./spec/haml/magic_translations_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-haml-magic-translations_4.0.3-1_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