[DRE-maint] Bug#1092694: ruby-dataobjects: FTBFS with ruby3.3: ERROR: Test "ruby3.3" failed: 35.2) Failure/Error: raise ArgumentError.new("+max_size+ should be a Fixnum but was #{max_size.inspect}") unless Fixnum === max_size

Antonio Terceiro terceiro at debian.org
Fri Jan 10 18:10:45 GMT 2025


Source: ruby-dataobjects
Version: 0.10.17-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.3

Hi,

The ruby3.3 transition has started on unstable. During a test rebuild,
ruby-dataobjects failed to build.

Relevant part (hopefully):
>       35.2) Failure/Error: raise ArgumentError.new("+max_size+ should be a Fixnum but was #{max_size.inspect}") unless Fixnum === max_size
> 
>             NameError:
>               uninitialized constant DataObjects::Pooling::Pool::Fixnum
>             # ./lib/data_objects/pooling.rb:149:in `initialize'
>             # ./lib/data_objects/pooling.rb:121:in `new'
>             # ./lib/data_objects/pooling.rb:121:in `block in new'
>             # ./lib/data_objects/pooling.rb:121:in `synchronize'
>             # ./lib/data_objects/pooling.rb:121:in `new'
>             # ./lib/data_objects/connection.rb:68:in `new'
>             # ./spec/result_spec.rb:6:in `block (2 levels) in <top (required)>'
>             # ./spec/result_spec.rb:9:in `block (2 levels) in <top (required)>'
> 
> Finished in 0.03947 seconds (files took 0.11941 seconds to load)
> 69 examples, 35 failures
> 
> Failed examples:
> 
> rspec './spec/command_spec.rb[1:1]' # DataObjects::Command should respond to #connection
> rspec './spec/command_spec.rb[1:2]' # DataObjects::Command should respond to #execute_non_query
> rspec './spec/command_spec.rb[1:3]' # DataObjects::Command should respond to #execute_reader
> rspec './spec/command_spec.rb[1:4]' # DataObjects::Command should respond to #set_types
> rspec './spec/command_spec.rb[1:5]' # DataObjects::Command should raise NotImplementedError on #execute_non_query
> rspec './spec/command_spec.rb[1:6]' # DataObjects::Command should raise NotImplementedError on #execute_reader
> rspec './spec/command_spec.rb[1:7]' # DataObjects::Command should raise NotImplementedError on #set_types
> rspec ./spec/connection_spec.rb:14 # DataObjects::Connection should define a standard API 
> rspec ./spec/connection_spec.rb:15 # DataObjects::Connection should define a standard API 
> rspec ./spec/connection_spec.rb:19 # DataObjects::Connection should define a standard API #to_s 
> rspec ./spec/connection_spec.rb:28 # DataObjects::Connection initialization with a connection uri as a Addressable::URI 
> rspec ./spec/connection_spec.rb:29 # DataObjects::Connection initialization with a connection uri as a Addressable::URI 
> rspec ./spec/connection_spec.rb:33 # DataObjects::Connection initialization with a connection uri as a Addressable::URI #to_s 
> rspec './spec/connection_spec.rb[1:2:4:1]' # DataObjects::Connection initialization with JDBC URL 'jdbc:mock:memory::' 
> rspec './spec/connection_spec.rb[1:2:5:1]' # DataObjects::Connection initialization with JDBC URL 'jdbc:mock://host/database' 
> rspec './spec/connection_spec.rb[1:2:6:1]' # DataObjects::Connection initialization with JDBC URL 'jdbc:mock://host:6969/database' 
> rspec './spec/connection_spec.rb[1:2:7:1]' # DataObjects::Connection initialization with JDBC URL 'jdbc:mock:thin:host:database' 
> rspec './spec/connection_spec.rb[1:2:8:1]' # DataObjects::Connection initialization with JDBC URL 'jdbc:mock:thin:@host.domain.com:6969:database' 
> rspec './spec/connection_spec.rb[1:2:9:1]' # DataObjects::Connection initialization with JDBC URL 'jdbc:mock://server:6969/database;property=value;' 
> rspec './spec/connection_spec.rb[1:2:10:1]' # DataObjects::Connection initialization with JDBC URL 'jdbc:mock://[1111:2222:3333:4444:5555:6666:7777:8888]/database' 
> rspec ./spec/pooling_spec.rb:77 # DataObjects::Pooling should maintain a size of 1
> rspec ./spec/pooling_spec.rb:95 # DataObjects::Pooling should track the initialized pools
> rspec ./spec/pooling_spec.rb:113 # DataObjects::Pooling should allow you to overwrite Class#new
> rspec ./spec/pooling_spec.rb:119 # DataObjects::Pooling should allow multiple threads to access the pool
> rspec ./spec/pooling_spec.rb:133 # DataObjects::Pooling should allow you to flush a pool
> rspec ./spec/pooling_spec.rb:147 # DataObjects::Pooling should wake up the scavenger thread when exiting
> rspec ./spec/pooling_spec.rb:155 # DataObjects::Pooling should be able to detach an instance from the pool
> rspec ./spec/reader_spec.rb:13 # DataObjects::Reader should define a standard API 
> rspec ./spec/reader_spec.rb:15 # DataObjects::Reader should define a standard API 
> rspec ./spec/reader_spec.rb:16 # DataObjects::Reader should define a standard API 
> rspec ./spec/reader_spec.rb:17 # DataObjects::Reader should define a standard API 
> rspec ./spec/reader_spec.rb:18 # DataObjects::Reader should define a standard API 
> rspec ./spec/reader_spec.rb:19 # DataObjects::Reader should define a standard API 
> rspec ./spec/result_spec.rb:13 # DataObjects::Result should define a standard API should provide the number of affected rows
> rspec ./spec/result_spec.rb:18 # DataObjects::Result should define a standard API should provide the id of the inserted row
> 
> /usr/bin/ruby3.3 -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 failed
> ERROR: Test "ruby3.3" failed: 


The full build log is available at
https://people.debian.org/~terceiro/ruby3.3/ruby-dataobjects_0.10.17-2+rebuild1736518985_amd64.build
-------------- 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/20250110/70754793/attachment.sig>


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