Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1025075: ruby-typhoeus breaks while updating ruby-faraday

264 views
Skip to first unread message

Vinay

unread,
Nov 29, 2022, 11:40:03 AM11/29/22
to
Package: ruby-typhoeus
Version: 1.4.0-2
Severity: important

Dear Maintainer,

ruby-typhoeus fails to rebuild when updating ruby-faraday to the new
upstream version
rebuild log:

An error occurred while loading ./spec/typhoeus/adapters/faraday_spec.rb.
Failure/Error: remove_method :call              if method_defined? :call

NameError:
  method `call' not defined in Faraday::Adapter::Typhoeus
# ./lib/typhoeus/adapters/faraday.rb:28:in `remove_method'
# ./lib/typhoeus/adapters/faraday.rb:28:in `<class:Typhoeus>'
# ./lib/typhoeus/adapters/faraday.rb:21:in `<class:Adapter>'
# ./lib/typhoeus/adapters/faraday.rb:4:in `<module:Faraday>'
# ./lib/typhoeus/adapters/faraday.rb:3:in `<top (required)>'
#
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in
`require'
#
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in
`require'
# ./spec/typhoeus/adapters/faraday_spec.rb:3:in `<top (required)>'
#
/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2112:in
`load'
#
/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:2112:in
`load_file_handling_errors'
#
/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:1615:in
`block in load_spec_files'
#
/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:1613:in
`each'
#
/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib/rspec/core/configuration.rb:1613:in
`load_spec_files'
#
/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:102:in
`setup'
#
/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:86:in
`run'
#
/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:71:in
`run'
#
/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib/rspec/core/runner.rb:45:in
`invoke'
#
/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec:4:in
`<main>'

Finished in 0.00006 seconds (files took 0.57846 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples

/usr/bin/ruby3.0
-I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib
/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec
--pattern ./spec/\*\*/\*_spec.rb failed
ERROR: Test "ruby3.0" failed. Exiting.
dh_auto_install: error: dh_ruby --install
/<<PKGBUILDDIR>>/debian/ruby-typhoeus returned exit code 1
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit
status 2
--------------------------------------------------------------------------------
Build finished at 2022-11-27T19:32:51Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+---------------------------------------------

Vinay

unread,
Dec 9, 2022, 2:10:03 PM12/9/22
to
Since this is an upstream issue we need to wait until typhoeus updates
to faraday 2.0

https://github.com/typhoeus/typhoeus/issues/686

faraday-typhoeus 2 adapter for typhoeus ->
https://github.com/dleavitt/faraday-typhoeus

Pirate Praveen

unread,
Jun 21, 2023, 12:40:05 PM6/21/23
to
Control: forwarded -1 https://github.com/typhoeus/typhoeus/issues/717

On Sat, 10 Dec 2022 00:33:23 +0530 Vinay <vinayk...@disroot.org>
wrote:
faraday should be replaced with faraday-typhoeus in tests
https://github.com/typhoeus/typhoeus/issues/717
0 new messages