[DRE-maint] Bug#996226: ruby-fakeweb: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: Error: test_mock_open_with_string_as_registered_uri(TestFakeWebOpenURI): Errno::ENOENT: No such file or directory @ rb_sysopen - http://mock/test_string.txt
Antonio Terceiro
terceiro at debian.org
Tue Oct 12 13:08:42 BST 2021
Source: ruby-fakeweb
Version: 1.3.0+git20170806+dfsg1-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0
Hi,
We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-fakeweb was found to fail to build in that situation.
To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.
Relevant part (hopefully):
> Error: test_mock_open_with_string_as_registered_uri(TestFakeWebOpenURI): Errno::ENOENT: No such file or directory @ rb_sysopen - http://mock/test_string.txt
> /<<PKGBUILDDIR>>/test/test_fake_web_open_uri.rb:17:in `initialize'
> /<<PKGBUILDDIR>>/test/test_fake_web_open_uri.rb:17:in `open'
> /<<PKGBUILDDIR>>/test/test_fake_web_open_uri.rb:17:in `test_mock_open_with_string_as_registered_uri'
> 14:
> 15: def test_mock_open_with_string_as_registered_uri
> 16: FakeWeb.register_uri(:get, 'http://mock/test_string.txt', :body => 'foo')
> => 17: assert_equal 'foo', open('http://mock/test_string.txt').string
> 18: end
> 19:
> 20: def _test_real_open
> ===============================================================================
> ............................................................................
> Finished in 0.319159103 seconds.
> -------------------------------------------------------------------------------
> 181 tests, 291 assertions, 3 failures, 3 errors, 0 pendings, 0 omissions, 0 notifications
> 96.6851% passed
> -------------------------------------------------------------------------------
> 567.12 tests/s, 911.77 assertions/s
> ERROR: Test "ruby3.0" failed:
The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-fakeweb/ruby-fakeweb_1.3.0+git20170806+dfsg1-2+rebuild1633379460_amd64.build.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211012/989d2a8f/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list