[DRE-maint] Bug#809594: ruby-foreman: FTBFS: undefined method `platform' for nil:NilClass

Chris West (Faux) solo-debianbugs at goeswhere.com
Fri Jan 1 17:20:17 UTC 2016


Source: ruby-foreman
Version: 0.78.0-2
Severity: serious
Justification: fails to build from source
Tags: sid stretch
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build:


┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.2 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/ruby-foreman-0.78.0/debian/ruby-foreman/usr/lib/ruby/vendor_ruby:. rake2.2 -f debian/ruby-tests.rake
/usr/bin/ruby2.2 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb

Randomized with seed 28586
..............F.....................................................................

Failures:

  1) Foreman::CLI version displays gem version on shortcut command
     Failure/Error: expect(foreman("-v").chomp).to eq(Foreman::VERSION)
     NoMethodError:
       undefined method `platform' for nil:NilClass
     # ./spec/spec_helper.rb:28:in `block in foreman'
     # ./spec/spec_helper.rb:159:in `capture_stdout'
     # ./spec/spec_helper.rb:26:in `foreman'
     # ./spec/foreman/cli_spec.rb:102:in `block (3 levels) in <top (required)>'

Deprecation Warnings:

RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= is deprecated, it is now set to true as default and setting it to false has no effect.


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.

1 deprecation warning total

Finished in 2.72 seconds (files took 0.21527 seconds to load)
84 examples, 1 failure

Failed examples:

rspec ./spec/foreman/cli_spec.rb:101 # Foreman::CLI version displays gem version on shortcut command

Randomized with seed 28586

/usr/bin/ruby2.2 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed
ERROR: Test "ruby2.2" failed. Exiting.
dh_auto_install: dh_ruby --install /ruby-foreman-0.78.0/debian/tmp returned exit code 1
debian/rules:30: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 1
make[1]: Leaving directory '/ruby-foreman-0.78.0'
debian/rules:17: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2

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

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



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