Vít Ondruch via ruby-sig wrote on 2025/11/28 19:28:

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):


-------------------------------------
[11] rubygem-mini_magick
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygems-40-all-01/build/9841704/

Failures:

  1) MiniMagick::Image#composite yields an optional block
     Failure/Error: yield composite if block_given?

     TypeError:
       wrong argument type MiniMagick::Tool (expected Array)
     # ./lib/mini_magick/image.rb:515:in 'block in MiniMagick::Image#composite'
     # ./lib/mini_magick/tool.rb:34:in 'MiniMagick::Tool.new'
     # ./lib/mini_magick.rb:28:in 'block (2 levels) in <module:MiniMagick>'
     # ./lib/mini_magick/image.rb:514:in 'MiniMagick::Image#composite'
     # ./spec/lib/mini_magick/image_spec.rb:609:in 'block (4 levels) in <top 
(required)>'
     # ./spec/lib/mini_magick/image_spec.rb:610:in 'block (3 levels) in <top 
(required)>'

Not knowing what this means.
Reported to the upstream: https://github.com/minimagick/minimagick/issues/599
No response so far.

Note that vagrant-libvirt is failing in the similar way at the first glance
(note investigated in detail):
https://copr.fedorainfracloud.org/coprs/mtasaka/rubydep-heavypkg-40-01/build/9841109/

  340) VagrantPlugins::ProviderLibvirt::Util::NetworkUtil #libvirt_networks 
should retrieve the list of networks
       Failure/Error: let(:machine)          { iso_env.machine(:test, :libvirt) 
}

       TypeError:
         wrong argument type Vagrant::Config::V2::DummyConfig (expected Array)
       # 
/usr/share/vagrant/gems/gems/vagrant-2.3.4/plugins/kernel_v2/config/vm.rb:713:in
 'Kernel#inspect'



Seeing Kernel inspect, isn't it something similar to:

https://bugs.ruby-lang.org/issues/21698

But this is just wild guess. I have not looked closer.



It does not make any sense to me. But this commit:

https://github.com/ruby/prism/commit/21abb6b7c499b41a951eba7c8219c336a656da40

Introduces a few `wrong argument type ... (expected Array)` error messages. Can 
it be the reason? I have reported this to Ruby:

https://bugs.ruby-lang.org/issues/21718


Vít



Actually now rubygem-mini_magick is now successful for rebuild, thank you!
For vagrant-libvirt, the above error is now fixed: but now another build error 
is revealed:

https://copr.fedorainfracloud.org/coprs/mtasaka/rubydep-heavypkg-40-01/build/9849698/
  1) VagrantPlugins::ProviderLibvirt::Config#finalize! @uri should handle inputs {uri: 
"qemu+libssh2://user@remote/system?known_hosts=/home/user/.ssh/known_hosts"} 
with env ()
     Failure/Error: params = CGI.parse(uri.query)

     NoMethodError:
       undefined method 'parse' for class CGI
     # ./lib/vagrant-libvirt/config.rb:1330:in 
'VagrantPlugins::ProviderLibvirt::Config#finalize_from_uri'
     # ./lib/vagrant-libvirt/config.rb:939:in 
'VagrantPlugins::ProviderLibvirt::Config#finalize!'
     # ./spec/unit/config_spec.rb:317:in 'block (5 levels) in <top (required)>'
     # ./spec/support/unit_context.rb:51:in 'block (3 levels) in <top 
(required)>'
     # ./spec/support/unit_context.rb:43:in 'block (2 levels) in <top 
(required)>'
     # /usr/share/rubygems/rubygems.rb:303:in 'Kernel#load'
     # /usr/share/rubygems/rubygems.rb:303:in 'Gem.activate_and_load_bin_path'

Most likely due to ruby4_0 CGI module deprecation.
https://bugs.ruby-lang.org/issues/21258
Perhaps imitating the following patch should work:
https://github.com/drbrain/net-http-persistent/pull/157

Regards,
Mamoru
--
_______________________________________________
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