[DRE-maint] Bug#1069348: ruby-ethon: FTBFS

Bastian Germann bage at debian.org
Sat Apr 20 12:19:28 BST 2024


Source: ruby-ethon
Version: 0.16.0-1
Tags: ftbfs
Severity: serious

The package fails to build. Log on amd64:

Ethon::Multi
   .new
     inits curl
     with default options
       allows running #perform with the default execution_mode
       refuses to run #socket_action
     when options not empty
       when pipelining is set
         sets pipelining
       when execution_mode option is :socket_action
         refuses to run #perform
         allows running #socket_action
   #socket_action
     supports an end-to-end request
     supports multiple concurrent requests

Pending: (Failures listed here are expected and do not affect your suite's status)

   1) Ethon::Multi::Operations#check
      # untested
      # ./spec/ethon/multi/operations_spec.rb:274

   2) Ethon::Multi::Operations#run
      # untested
      # ./spec/ethon/multi/operations_spec.rb:278


Failures:

   1) Ethon::Easy::Informations#request_size returns 53
      Failure/Error: expect(easy.request_size).to eq(53)

        expected: 53
             got: 0

        (compared using ==)
      # ./spec/ethon/easy/informations_spec.rb:92:in `block (3 levels) in <top (required)>'

Finished in 4.93 seconds (files took 0.94145 seconds to load)
578 examples, 1 failure, 2 pending

Failed examples:

rspec ./spec/ethon/easy/informations_spec.rb:91 # Ethon::Easy::Informations#request_size returns 53

/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec: warning: Exception in finalizer 
#<FFI::AutoPointer::Releaser:0x00007ffa64a2e9d0 @ptr=#<FFI::Pointer address=0x00005649bbabcfc0>, @proc=#<Method: 
Ethon::Curl.easy_cleanup(*)>, @autorelease=true>
/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.16.3/lib/ffi/enum.rb:162:in `to_native': invalid enum 
value, "hi" (ArgumentError)
	from /usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.16.3/lib/ffi/autopointer.rb:160:in `easy_cleanup'
	from /usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.16.3/lib/ffi/autopointer.rb:160:in `call'
	from /usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.16.3/lib/ffi/autopointer.rb:160:in `release'
	from /usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/ffi-1.16.3/lib/ffi/autopointer.rb:151:in `call'
/usr/bin/ruby3.1 
-I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib 
/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format 
documentation failed
ERROR: Test "ruby3.1" failed. Exiting.
dh_auto_install: error: dh_ruby --install debian/ruby-ethon returned exit code 1
make: *** [debian/rules:7: binary] Error 1



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