Dne 27. 11. 25 v 10:56 Vít Ondruch napsal(a):
Hi Mamoru,

Thanks for the report and investigating the packages 👍


Dne 27. 11. 25 v 8:08 Mamoru TASAKA via ruby-sig napsal(a):


-------------------------------------
[16] rubygem-redis-client
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygems-40-all-01/build/9840669/

/usr/share/ruby/did_you_mean/core_ext/name_error.rb:24: warning: benchmark is not part of the default gems since Ruby 4.0.0. Install benchmark from RubyGems.

But even if adding "BR: rubygem(benchmark)", build still fails like:
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygems-40-trybuild-01/build/9841705/

375 runs, 204 assertions, 0 failures, 320 errors, 0 skips

All looks like
320) Error:
RedisClientTest#test_measure_round_trip_delay:
RedisClient::CannotConnectError: Connection refused - connect(2) for 127.0.0.1:16380 (redis://127.0.0.1:16380)
    /usr/share/ruby/socket.rb:1661:in 'Socket#__connect_nonblock'
    /usr/share/ruby/socket.rb:1661:in 'Socket#connect_nonblock'
    /usr/share/ruby/socket.rb:60:in 'Addrinfo#connect_internal'
    /usr/share/ruby/socket.rb:141:in 'Addrinfo#connect'
    /usr/share/ruby/socket.rb:954:in 'block in Socket.tcp_without_fast_fallback'
    /usr/share/ruby/socket.rb:231:in 'Array#each'
    /usr/share/ruby/socket.rb:231:in 'Addrinfo.foreach'
    /usr/share/ruby/socket.rb:943:in 'Socket.tcp_without_fast_fallback'
    /usr/share/ruby/socket.rb:671:in 'Socket.tcp'
    lib/redis_client/ruby_connection.rb:119:in 'RedisClient::RubyConnection#connect'     lib/redis_client/ruby_connection.rb:51:in 'RedisClient::RubyConnection#initialize'
    lib/redis_client.rb:746:in 'block in RedisClient#connect'
    lib/redis_client/middlewares.rb:12:in 'RedisClient::BasicMiddleware#connect'
    lib/redis_client.rb:745:in 'RedisClient#connect'
    lib/redis_client.rb:732:in 'RedisClient#raw_connection'
    lib/redis_client.rb:697:in 'RedisClient#ensure_connected'
    lib/redis_client.rb:277:in 'RedisClient#call'
    test/support/client_test_helper.rb:43:in 'ClientTestHelper#setup'



redis-client was broken by Valkey's modularization. There is this ticket:

https://bugzilla.redhat.com/show_bug.cgi?id=2403512

It seems the changes were reverted just now, so maybe it works again?



Seems to be resolved for Rawhide:

https://koschei.fedoraproject.org/package/rubygem-redis-client?collection=f44

Unless there is any additional issue with Ruby 4.0


Vít

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

-- 
_______________________________________________
ruby-sig mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to