[DRE-maint] Bug#794257: FTBFS: NoMethodError: expect(subject.collect { |t| t[0] }).to have(1).item

Chris West (Faux) solo-debianbugs at goeswhere.com
Fri Jul 31 18:40:37 UTC 2015


Source: ruby-haml-magic-translations
Version: 4.0.3-2
Severity: serious
Tags: sid
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs

Dear Maintainer,

The package fails to build:

..poparser.ry:244: warning: IO#lines is deprecated; use #each_line instead
poparser.ry:244: warning: IO#lines is deprecated; use #each_line instead
..

Failures:

  1) Haml::MagicTranslations::XGetText::HamlParser Haml::MagicTranslations::XGetText::HamlParser::XGetTextParser#parse for a translatable string appearing twice should appear only once in the targets
     Failure/Error: expect(subject.collect { |t| t[0] }).to have(1).item
     NoMethodError:
       undefined method `have' for #<RSpec::ExampleGroups::HamlMagicTranslationsXGetTextHamlParser::HamlMagicTranslationsXGetTextHamlParserXGetTextParser::Parse::ForATranslatableStringAppearingTwice:0x000000038f08d8>
     # ./spec/haml/magic_translations/xgettext/haml_parser_spec.rb:146:in `block (5 levels) in <module:XGetText>'

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/ruby-haml-magic-translations.html

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-23-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



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