Package: src:ruby-fakeweb
Version: 1.3.0+git20170806+dfsg1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
I tried to build this package in buster but it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh build-indep --buildsystem=ruby --with ruby
dh_update_autotools_config -i -O--buildsystem=ruby
dh_autoreconf -i -O--buildsystem=ruby
dh_auto_configure -i -O--buildsystem=ruby
dh_ruby --configure
dh_auto_build -i -O--buildsystem=ruby
dh_ruby --build
dh_ruby --build
dh_auto_test -i -O--buildsystem=ruby
dh_ruby --test
create-stamp debian/debhelper-build-stamp
fakeroot debian/rules binary-indep
dh binary-indep --buildsystem=ruby --with ruby
dh_testroot -i -O--buildsystem=ruby
dh_prep -i -O--buildsystem=ruby
dh_auto_install -i -O--buildsystem=ruby
dh_ruby --install
/<<BUILDDIR>>/ruby-fakeweb-1.3.0\+git20170806\+dfsg1/debian/ruby-fakeweb
dh_ruby --install
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Install files
â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
install -d
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/debian/ruby-fakeweb/usr/lib/ruby/vendor_ruby
install -D -m644
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/lib/fake_web/registry.rb
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/debian/ruby-fakeweb/usr/lib/ruby/vendor_ruby/fake_web/registry.rb
install -D -m644
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/lib/fake_web/utility.rb
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/debian/ruby-fakeweb/usr/lib/ruby/vendor_ruby/fake_web/utility.rb
install -D -m644
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/lib/fake_web/responder.rb
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/debian/ruby-fakeweb/usr/lib/ruby/vendor_ruby/fake_web/responder.rb
install -D -m644
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/lib/fake_web/response.rb
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/debian/ruby-fakeweb/usr/lib/ruby/vendor_ruby/fake_web/response.rb
install -D -m644
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/lib/fake_web/stub_socket.rb
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/debian/ruby-fakeweb/usr/lib/ruby/vendor_ruby/fake_web/stub_socket.rb
install -D -m644
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/lib/fake_web/ext/net_http.rb
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/debian/ruby-fakeweb/usr/lib/ruby/vendor_ruby/fake_web/ext/net_http.rb
install -D -m644
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/lib/fakeweb.rb
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/debian/ruby-fakeweb/usr/lib/ruby/vendor_ruby/fakeweb.rb
install -D -m644
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/lib/fake_web.rb
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/debian/ruby-fakeweb/usr/lib/ruby/vendor_ruby/fake_web.rb
dh_installchangelogs -pruby-fakeweb
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/CHANGELOG upstream
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Install Rubygems integration metadata
â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
generating gemspec at
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/debian/ruby-fakeweb/usr/share/rubygems-integration/all/specifications/fakeweb-1.3.0.gemspec
/usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Checking Rubygems dependency resolution on ruby2.5
â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
GEM_PATH=debian/ruby-fakeweb/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all
ruby2.5 -e gem\ \"fakeweb\"
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Run tests for ruby2.5 from debian/ruby-tests.rb
â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/debian/ruby-fakeweb/usr/lib/ruby/vendor_ruby:.
GEM_PATH=debian/ruby-fakeweb/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all
ruby2.5 debian/ruby-tests.rb
Loaded suite debian/ruby-tests
Started
...................................................F
===============================================================================
Failure: test_real_https_request(TestFakeWeb):
not all expectations were satisfied
unsatisfied expectations:
- expected at least once, not yet invoked: #<Mock:SSLSocket>.session()
satisfied expectations:
- expected at least once, invoked once:
#<Mock:SSLSocket>.read_nonblock(any_parameters)
- expected exactly once, invoked once:
#<Mock:SSLSocket>.write(all_of(includes("GET /main/rss/hotnews/hotnews.rss
HTTP/1.1"), includes("Host: images.apple.com")))
- allowed any number of times, invoked twice:
#<Mock:SSLSocket>.close(any_parameters)
- allowed any number of times, invoked 3 times:
#<Mock:SSLSocket>.closed?(any_parameters)
- allowed any number of times, invoked twice:
#<Mock:SSLSocket>.setsockopt(any_parameters)
- expected at least once, invoked twice:
#<Mock:SSLSocket>.connect_nonblock(any_parameters)
- allowed any number of times, invoked twice:
#<Mock:SSLSocket>.sync_close=(any_parameters)
- expected at least once, invoked twice:
OpenSSL::SSL::SSLSocket.new(#<Mock:SSLSocket>,
instance_of(OpenSSL::SSL::SSLContext))
- expected at least once, invoked twice:
OpenSSL::SSL::SSLSocket.===(#<Mock:SSLSocket>)
- expected at least once, invoked twice: TCPSocket.open("images.apple.com",
443, nil, nil)
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/test/test_helper.rb:123:in
`setup_expectations_for_real_request'
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/test/test_helper.rb:175:in
`setup_expectations_for_real_apple_hot_news_request'
/<<BUILDDIR>>/ruby-fakeweb-1.3.0+git20170806+dfsg1/test/test_fake_web.rb:410:in
`test_real_https_request'
407:
408: def test_real_https_request
409: FakeWeb.allow_net_connect = true
=> 410: setup_expectations_for_real_apple_hot_news_request(:port => 443)
411:
412: http = Net::HTTP.new('images.apple.com', 443)
413: http.use_ssl = true
===============================================================================
...............................................................................
.............................................................
Finished in 0.254606772 seconds.
-------------------------------------------------------------------------------
192 tests, 353 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0
notifications
99.4792% passed
-------------------------------------------------------------------------------
754.10 tests/s, 1386.45 assertions/s
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install
/<<BUILDDIR>>/ruby-fakeweb-1.3.0\+git20170806\+dfsg1/debian/ruby-fakeweb
returned exit code 1
make: *** [debian/rules:6: binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess
returned exit status 2
--------------------------------------------------------------------------------
(The above is just how the build ends and not necessarily the most relevant
part)
The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-fakeweb.html
where you can get a full build log if you need it.
If this is really a bug in one of the build-depends, please use reassign and
affects,
so that this is still visible in the BTS web page for this package.
Thanks.
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers