Source: ruby-hipchat Version: 1.5.2-1 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Dear Maintainer, ruby-hipchat fails to build from source in unstable/amd64: [..] RUBYLIB=/home/lamby/temp/cdt.20160204233035.u8eNtVVitE/ruby-hipchat-1.5.2/debian/ruby-hipchat/usr/lib/ruby/vendor_ruby:. GEM_PATH=/home/lamby/.gem/ruby/2.2.0:/var/lib/gems/2.2.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.2.0:/usr/share/rubygems-integration/2.2.0:/usr/share/rubygems-integration/2.2:/usr/share/rubygems-integration/all:debian/ruby-hipchat/usr/share/rubygems-integration/all ruby2.2 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.2 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb warning: coveralls gem not found; skipping coverage .............................FF........................................... Failures: 1) HipChat (API V2) #statistics is successful without custom options Failure/Error: expect(room.statistics()).to be_truthy WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET https://api.hipchat.com/v2/room/Hipchat/statistics?auth_token=blah&date=&format=&room_id=Hipchat&timezone= with headers {'Accept'=>'application/json', 'Content-Type'=>'application/json'} You can stub this request with the following snippet: stub_request(:get, "https://api.hipchat.com/v2/room/Hipchat/statistics?auth_token=blah&date=&format=&room_id=Hipchat&timezone="). with(:headers => {'Accept'=>'application/json', 'Content-Type'=>'application/json'}). to_return(:status => 200, :body => "", :headers => {}) registered request stubs: stub_request(:get, "https://api.hipchat.com/v2/room/Hipchat/statistics?auth_token=blah&date&format&room_id=Hipchat&timezone") ============================================================ # ./lib/hipchat/room.rb:269:in `statistics' # ./spec/hipchat_api_v2_spec.rb:61:in `block (3 levels) in <top (required)>' 2) HipChat (API V2) #statistics is successful from fetched room Failure/Error: expect(subject.rooms.first.statistics).to be_truthy WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET https://api.hipchat.com/v2/room/Hipchat/statistics?auth_token=blah&date=&format=&room_id=Hipchat&timezone= with headers {'Accept'=>'application/json', 'Content-Type'=>'application/json'} You can stub this request with the following snippet: stub_request(:get, "https://api.hipchat.com/v2/room/Hipchat/statistics?auth_token=blah&date=&format=&room_id=Hipchat&timezone="). with(:headers => {'Accept'=>'application/json', 'Content-Type'=>'application/json'}). to_return(:status => 200, :body => "", :headers => {}) registered request stubs: stub_request(:get, "https://api.hipchat.com/v2/room/Hipchat/statistics?auth_token=blah&date&format&room_id=Hipchat&timezone") stub_request(:get, "https://api.hipchat.com/v2/room?auth_token=blah"). with(:body => "", :headers => {'Accept'=>'application/json', 'Content-Type'=>'application/json'}) ============================================================ # ./lib/hipchat/room.rb:269:in `statistics' # ./spec/hipchat_api_v2_spec.rb:69:in `block (3 levels) in <top (required)>' Finished in 0.17968 seconds (files took 0.60475 seconds to load) 74 examples, 2 failures Failed examples: rspec ./spec/hipchat_api_v2_spec.rb:58 # HipChat (API V2) #statistics is successful without custom options rspec ./spec/hipchat_api_v2_spec.rb:64 # HipChat (API V2) #statistics is successful from fetched room /usr/bin/ruby2.2 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed ERROR: Test "ruby2.2" failed. Exiting. dh_auto_install: dh_ruby --install /home/lamby/temp/cdt.20160204233035.u8eNtVVitE/ruby-hipchat-1.5.2/debian/ruby-hipchat returned exit code 1 debian/rules:15: recipe for target 'binary' failed make: *** [binary] Error 1 [..] The full build log is attached. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
ruby-hipchat.1.5.2-1.unstable.amd64.log.txt.gz
Description: Binary data