[DRE-maint] Bug#808448: ruby-factory-girl: FTBFS: expected: 1 got: "1"

Chris Lamb lamby at debian.org
Sun Dec 20 10:00:37 UTC 2015


Source: ruby-factory-girl
Version: 4.5.0-1
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-factory-girl fails to build from source in unstable/amd64:

  [..]

  Failures:
  
    1) callbacks using syntax methods without referencing FactoryGirl explicitly works when the callback has one variable
       Failure/Error: expect(FactoryGirl.build(:user).first_name).to eq 1
         
         expected: 1
              got: "1"
         
         (compared using ==)
       # ./spec/acceptance/callbacks_spec.rb:97:in `block (2 levels) in <top (required)>'
  
    2) callbacks using syntax methods without referencing FactoryGirl explicitly works when the callback has two variables
       Failure/Error: expect(FactoryGirl.create(:user).last_name).to eq 1
         
         expected: 1
              got: "1"
         
         (compared using ==)
       # ./spec/acceptance/callbacks_spec.rb:101:in `block (2 levels) in <top (required)>'
  
  Deprecation Warnings:
  
  Requiring `rspec/autorun` when running RSpec via the `rspec` command is deprecated. Called from /build/ruby-factory-girl-4.5.0/spec/spec_helper.rb:6:in `<top (required)>'.
  
  `failure_message_for_should` is deprecated. Use `failure_message` instead. Called from /build/ruby-factory-girl-4.5.0/spec/support/matchers/delegate.rb:30:in `block in <top (required)>'.
  `failure_message_for_should` is deprecated. Use `failure_message` instead. Called from /build/ruby-factory-girl-4.5.0/spec/factory_girl/find_definitions_spec.rb:22:in `block in <top (required)>'.
  
  
  If you need more of the backtrace for any of these deprecations to
  identify where to make the necessary changes, you can configure
  `config.raise_errors_for_deprecations!`, and it will turn the
  deprecation warnings into errors, giving you the full backtrace.
  
  3 deprecation warnings total
  
  Finished in 6 seconds (files took 0.77536 seconds to load)
  525 examples, 2 failures
  
  Failed examples:
  
  rspec ./spec/acceptance/callbacks_spec.rb:96 # callbacks using syntax methods without referencing FactoryGirl explicitly works when the callback has one variable
  rspec ./spec/acceptance/callbacks_spec.rb:100 # callbacks using syntax methods without referencing FactoryGirl explicitly works when the callback has two variables
  
  /usr/bin/ruby2.2 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
  ERROR: Test "ruby2.2" failed. Exiting.
  dh_auto_install: dh_ruby --install /build/ruby-factory-girl-4.5.0/debian/ruby-factory-girl returned exit code 1
  debian/rules:18: 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 or can be viewed here:

    https://reproducible.debian.net/logs/unstable/amd64/ruby-factory-girl_4.5.0-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-factory-girl.4.5.0-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 14318 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20151220/52f8003d/attachment-0001.obj>


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