[Reproducible-builds] Bug#794147: FTBFS: undefined method `mock' for #<RSpec::ExampleGroups::RakeExtensionTask::New::Basic:..

Chris West (Faux) solo-debianbugs at goeswhere.com
Thu Jul 30 20:57:30 UTC 2015


Source: rake-compiler
Version: 0.9.5-1
Severity: serious
Tags: sid stretch
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs

Dear Maintainer,

The package fails to build:

/usr/bin/ruby2.1 /usr/bin/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
.....FF........F..FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF....FF......FFFFFFFFFFFFF

Failures:

  1) Rake::ExtensionTask#new (basic) should accept a gem specification as parameter
     Failure/Error: mock(Gem::Specification,
     NoMethodError:
       undefined method `mock' for #<RSpec::ExampleGroups::RakeExtensionTask::New::Basic:0x000000027fa2e0>
     # ./spec/lib/rake/extensiontask_spec.rb:502:in `mock_gem_spec'
     # ./spec/lib/rake/extensiontask_spec.rb:36:in `block (4 levels) in <top (required)>'

....

  4) Rake::ExtensionTask (tasks) (one extension) should warn when pre-compiled files exist in extension directory
     Failure/Error: Rake::FileList.stub!(:[]).and_return(["ext/extension_one/source.c"], [])
     NoMethodError:
       undefined method `stub!' for Rake::FileList:Class
     # ./spec/lib/rake/extensiontask_spec.rb:113:in `block (4 levels) in <top (required)>'

....

Finished in 0.08161 seconds (files took 0.43728 seconds to load)
85 examples, 61 failures

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/rake-compiler.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 Reproducible-builds mailing list