Re: Current rubygem- packages rebuild failure against ruby 3.3

2023-12-14 Thread Vít Ondruch


Dne 26. 11. 23 v 15:13 Mamoru TASAKA napsal(a):


rubygem-shoulda-matchers is FIXED:
With some discussion, this is fixed on ruby side:
https://github.com/ruby/ruby/commit/e34e8b93f8fac3ef40ab5ed8672fa003f3b4d9c0 


ref: https://github.com/rubygems/rubygems/pull/7128


14.
rubygem-shoulda-matchers
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-3-2/build/6576601/ 


Lots of:
```
An error occurred while loading 
./spec/unit/shoulda/matchers/action_controller/callback_matcher_spec.rb.

Failure/Error: require 'unit_spec_helper'

NoMethodError:
   undefined method `tr' for an instance of Pathname
```
Not sure what this means.





There is unfortunately another issue with shoulda-matchers:


~~~

  1) shoulda-matchers integrates with Rails in a project that uses Spring
 Failure/Error: run_rake_tasks!('db:drop', 'db:create', 'db:migrate')

 RuntimeError:
   Command 
"BUNDLE_GEMFILE=\"/tmp/shoulda-matchers-acceptance/test-project/Gemfile\" 
bundle _2.5.0.dev_ exec rake db:drop db:create db:migrate --trace" 
exited with status 1.

   Output:
---START
   bundler: failed to load command: rake (/usr/bin/rake)
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:451:in 
`validate_ruby!': Your Ruby version is 3.3.0.dev, but your Gemfile 
specified 3.3.0 (Bundler::RubyVersionMismatch)
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:426:in 
`validate_runtime!'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler.rb:157:in `setup'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/setup.rb:23:in `block 
in '
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/ui/shell.rb:159:in 
`with_level'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/ui/shell.rb:111:in 
`silence'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/setup.rb:23:in `(required)>'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/cli/exec.rb:56:in 
`require_relative'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/cli/exec.rb:56:in 
`kernel_load'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/cli/exec.rb:23:in `run'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/cli.rb:491:in `exec'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/vendor/thor/lib/thor/command.rb:28:in 
`run'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 
`invoke_command'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/vendor/thor/lib/thor.rb:527:in 
`dispatch'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/cli.rb:34:in `dispatch'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/vendor/thor/lib/thor/base.rb:584:in 
`start'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/cli.rb:28:in `start'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/libexec/bundle:28:in `block in 
'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/friendly_errors.rb:117:in 
`with_friendly_errors'
   from 
/usr/share/gems/gems/bundler-2.5.0.dev/libexec/bundle:20:in `(required)>'

   from /usr/bin/bundle:25:in `load'
   from /usr/bin/bundle:25:in `'
---END--
 # 
/builddir/build/BUILD/spec/support/tests/command_runner.rb:111:in `fail!'
 # /builddir/build/BUILD/spec/support/tests/command_runner.rb:69:in 
`block (2 levels) in call'
 # 
/builddir/build/BUILD/spec/support/tests/command_runner.rb:196:in 
`possibly_running_quickly'
 # /builddir/build/BUILD/spec/support/tests/command_runner.rb:65:in 
`block in call'
 # 
/builddir/build/BUILD/spec/support/tests/command_runner.rb:202:in 
`possibly_retrying'
 # /builddir/build/BUILD/spec/support/tests/command_runner.rb:64:in 
`call'
 # /builddir/build/BUILD/spec/support/tests/command_runner.rb:11:in 
`block in run'
 # /builddir/build/BUILD/spec/support/tests/command_runner.rb:9:in 
`run'
 # 
/builddir/build/BUILD/spec/support/acceptance/helpers/command_helpers.rb:10:in 
`run_command'
 # 
/builddir/build/BUILD/spec/support/acceptance/helpers/command_helpers.rb:24:in 
`run_command_isolated_from_bundle'
 # 
/builddir/build/BUILD/spec/support/acceptance/helpers/command_helpers.rb:41:in 
`run_command_within_bundle'
 # 
/builddir/build/BUILD/spec/support/acceptance/helpers/command_helpers.rb:50:in 
`run_command_within_bundle!'
 # 
/builddir/build/BUILD/spec/support/acceptance/helpers/command_helpers.rb:65:in 
`run_rake_tasks!'
 # ./spec/acceptance/rails_integration_spec.rb:17:in `block (2 
levels) in '
 # /usr/share/gems/gems/bundler-2.5.0.dev/libexec/bundle:28:in 
`block in '
 # /usr/share/gems/gems/bundler-2.5.0.dev/libexec/bundle:20:in 

SPDX Status for Rubygems in Fedora as of 2023-12-14

2023-12-14 Thread Jarek Prokop

Hi,

last SPDX status of this year, the next one will be generated in the 
first weeks of 2024.


Regards,
Jarek Prokop

---

  * Total rubygems in Fedora: 455
  * Excluded gems:
  rubygem-krb5-auth
rubygem-rgen
rubygem-net-irc
  * Total rubygems checked:   450
  * Fedora License field and gem2rpm license match and license-validate 
succeeds: 289/450
  * license-validate says they are OK SPDX, but licenses may or may not 
match between Fedora and upstream: 375/450

  * license-validate with converted conjunctions: 377/450
  * Action required: 74/450

  Packages that need to convert to valid SPDX:
rubygem-,   fedora_license
rubygem-ansi,   BSD
rubygem-aws-sigv4,  ASL 2.0
rubygem-bcrypt, MIT and Public Domain and ISC
rubygem-bcrypt_pbkdf,   MIT and BSD and ISC
rubygem-between_meals,  ASL 2.0
rubygem-colorize,   GPLv2
rubygem-contracts,  BSD
rubygem-cookiejar,  BSD
rubygem-daemons,    MIT and (GPLv2+ or Ruby)
rubygem-dnsruby,    ASL 2.0
rubygem-elasticsearch-transport,ASL 2.0
rubygem-eventmachine,   GPLv2 or Ruby
rubygem-ffi,    BSD
rubygem-gem2rpm,    GPLv2+
rubygem-goocanvas,  LGPLv2
rubygem-gtk2,   LGPLv2
rubygem-gtksourceview2, LGPLv2
rubygem-haml,   MIT and WTFPL
rubygem-hashery,    BSD
rubygem-hashicorp-checkpoint,   MPLv2.0
rubygem-hiera-vault,    ASL 2.0
rubygem-highline,   GPLv2 or Ruby or BSD
rubygem-hiredis,    BSD
rubygem-hocon,  ASL 2.0
rubygem-hrx,    ASL 2.0
rubygem-httpclient, (Ruby or BSD) and Public Domain
rubygem-icaro,  GPLv3
rubygem-idn,    ASL 2.0 and LGPLv2+
rubygem-imagesize,  GPLv2 or Ruby
rubygem-levenshtein,    GPLv2
rubygem-log4r,  LGPLv3
rubygem-logstash-event, ASL 2.0
rubygem-macaddr,    Ruby or BSD
rubygem-marcel, MIT and ASL 2.0
rubygem-mixlib-cli, ASL 2.0
rubygem-mixlib-config,  ASL 2.0
rubygem-mixlib-log, ASL 2.0
rubygem-mixlib-shellout,    ASL 2.0
rubygem-mongo,  ASL 2.0
rubygem-msgpack,    ASL 2.0
rubygem-narray, BSD and Ruby
rubygem-ncursesw,   LGPLv2+
rubygem-nifti,  LGPLv3+
rubygem-open4,  BSD or Ruby
rubygem-opennebula, ASL 2.0
rubygem-pathspec,   ASL 2.0
rubygem-pdf-core,   GPLv2 or GPLv3 or Ruby
rubygem-pdf-inspector,  GPLv2 or GPLv3 or Ruby
rubygem-prawn,  (GPLv2 or GPLv3 or Ruby) and APAFML
rubygem-prawn-icon, Ruby or GPLv2 or GPLv3
rubygem-prawn-table,    Ruby or GPLv2 or GPLv3
rubygem-prawn-templates,    Ruby or GPLv2 or GPLv3
rubygem-rack,   MIT and BSD
rubygem-rchardet,   LGPLv2
rubygem-rdoc,   GPL-2.0 AND Ruby AND BSD-3-Clause AND 
CC-BY-2.5 AND OFL-1.1-RFN

rubygem-rmail,  BSD
rubygem-ruby-libvirt,   LGPLv2+
rubygem-ruby-shadow,    Public Domain
rubygem-rubyzip,    Ruby or BSD
rubygem-sassc-rails,    MIT and OFL
rubygem-scanf,  BSD
rubygem-selenium-webdriver, ASL 2.0
rubygem-serialport, GPLv2
rubygem-sinatra-rabbit, ASL 2.0
rubygem-sugarjar,   ASL 2.0
rubygem-sys-uname,  ASL 2.0
rubygem-ttfunk, GPLv2 or GPLv3 or Ruby
rubygem-uuid,   MIT or CC-BY-SA
rubygem-vault,  MPLv2.0
rubygem-vte,    LGPLv2
rubygem-webrick,    Ruby and BSD-2-Clause
rubygem-websocket-driver,   ASL 2.0
rubygem-xmlparser,  GPLv2+ and ( Ruby or GPLv2+ or MIT ) and 
( GPLv2+ or Artistic )

rubygem-xmlrpc, Ruby or BSD

  Package author list:
package, owner(, other contributors)
rubygem-ansi: stevetraylen
rubygem-aws-sigv4: valtri
rubygem-bcrypt: vondruch, ruby-packagers-sig
rubygem-bcrypt_pbkdf: pvalena
rubygem-between_meals: dcavalca, filbranden, salimma
rubygem-colorize: ctria
rubygem-contracts: mtasaka, tdawson
rubygem-cookiejar: pvalena, ruby-packagers-sig
rubygem-daemons: sseago
rubygem-dnsruby: pwouters
rubygem-elasticsearch-transport: stevetraylen, sbonazzo
rubygem-eventmachine: vondruch, ruby-packagers-sig
rubygem-ffi: vondruch, ruby-packagers-sig, bkearney, tdawson
rubygem-gem2rpm: vondruch, ruby-packagers-sig
rubygem-goocanvas: mtasaka
rubygem-gtk2: mtasaka
rubygem-gtksourceview2: mtasaka
rubygem-haml: pvalena
rubygem-hashery: pvalena, ruby-packagers-sig
rubygem-hashicorp-checkpoint: pvalena, humaton
rubygem-hiera-vault: logic
rubygem-highline: tdawson
rubygem-hiredis: pvalena, tdawson
rubygem-hocon: stevetraylen
rubygem-hrx: leigh123linux, ruby-packagers-sig, tdawson, jcpunk
rubygem-httpclient: tdawson, 

Re: Ruby 3.3

2023-12-14 Thread Vít Ondruch

Dear Rubyists,

As it turns out, yesterday version was not a big success, as we learned 
the hard way (thx Mamoru). So here I am back with updated version, this 
time rev e3631277c3. The changes are in my PR and the build is here:


https://koji.fedoraproject.org/koji/taskinfo?taskID=110328934

As always, please give it a try and let me know.


Cheers,


Vít



OpenPGP_signature.asc
Description: OpenPGP digital signature
--
___
ruby-sig mailing list -- ruby-sig@lists.fedoraproject.org
To unsubscribe send an email to ruby-sig-le...@lists.fedoraproject.org
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/ruby-sig@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Ruby 3.3

2023-12-14 Thread Vít Ondruch


Dne 14. 12. 23 v 11:24 Vít Ondruch napsal(a):


Dne 14. 12. 23 v 9:51 Vít Ondruch napsal(a):


Dne 14. 12. 23 v 9:21 Mamoru TASAKA napsal(a):

Hello, again:

Vít Ondruch wrote on 2023/12/14 0:30:

Hi again,

I'm back with yet another update, this time rev a7ad9f3836. The 
build is running here:


https://koji.fedoraproject.org/koji/taskinfo?taskID=110284699

This time, there are several changes I'd like to mention.

* There is included patch fixing several of the network related 
spec failures, therefore we don't need to workaround them anymore.


* There are now several more gems bundled in RubyGems. Mamoru 
already knows. Apart of the issues he hit, this means the licensing 
information of RubyGems is not up2date anymore. I have opened 
several tickets around various default gems and RubyGems requesting 
license clarification. I have also update the license information 
in ruby.spec a bit.


Looks like this is now causing issue on several packages.
Now I am trying to rebuild again, but some packages now newly began 
to fail.


For example, rubygem-actionmailbox now began to fail (previously 
build was successful), like:


```
+ ruby -rbundler -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", 
(:require)'
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:116:in 
`rescue in solve_versions': Could not find compatible versions 
(Bundler::SolveFailure)


Because every version of actionmailer depends on net-imap >= 0
  and every version of net-imap depends on net-protocol >= 0,
  every version of actionmailer requires net-protocol >= 0.
So, because net-protocol >= 0 could not be found in locally 
installed gems

  and Gemfile depends on actionmailer >= 0,
  version solving has failed.
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:79:in 
`solve_versions'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:32:in 
`start'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:595:in 
`start_resolution'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:311:in 
`resolve'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:548:in 
`materialize'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:203:in 
`specs'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:270:in 
`specs_for'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/runtime.rb:18:in 
`setup'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler.rb:164:in `setup'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/setup.rb:23:in 
`block in '
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/ui/shell.rb:159:in 
`with_level'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/ui/shell.rb:111:in 
`silence'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/setup.rb:23:in 
`'
from 
:127:in 
`require'
from 
:127:in 
`require'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/boot.rb:4:in 
`'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/application.rb:1:in 
`require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/application.rb:1:in 
`'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/environment.rb:2:in 
`require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/environment.rb:2:in 
`'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/test_helper.rb:6:in 
`require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/test_helper.rb:6:in 
`'
from 
:127:in 
`require'
from 
:127:in 
`require'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/controllers/ingresses/mailgun/inbound_emails_controller_test.rb:3:in 
`'
from 
:127:in 
`require'
from 
:127:in 
`require'

from :411:in `glob'
from -e:1:in `'
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb:237:in 
`resolve_conflict': Could not find compatible versions 
(Bundler::PubGrub::SolveFailure)

```
Link: 
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-3-2/build/6752051/


Most likely this is due to recent net-http and net-protocol 
vendorization.
Looks like rails related rubygem- packages, and "vagrant-libvirt" 
package fail to build due to this

issue.
(vagrant-libvirt: 
https://copr.fedorainfracloud.org/coprs/mtasaka/rubydep-heavypkg-test-3-2/build/6751386/ 
)




I'll take a close look a bit later.

However, from top of my head, there were also other changes, such as 
this:



Re: Ruby 3.3

2023-12-14 Thread Vít Ondruch


Dne 14. 12. 23 v 9:51 Vít Ondruch napsal(a):


Dne 14. 12. 23 v 9:21 Mamoru TASAKA napsal(a):

Hello, again:

Vít Ondruch wrote on 2023/12/14 0:30:

Hi again,

I'm back with yet another update, this time rev a7ad9f3836. The 
build is running here:


https://koji.fedoraproject.org/koji/taskinfo?taskID=110284699

This time, there are several changes I'd like to mention.

* There is included patch fixing several of the network related spec 
failures, therefore we don't need to workaround them anymore.


* There are now several more gems bundled in RubyGems. Mamoru 
already knows. Apart of the issues he hit, this means the licensing 
information of RubyGems is not up2date anymore. I have opened 
several tickets around various default gems and RubyGems requesting 
license clarification. I have also update the license information in 
ruby.spec a bit.


Looks like this is now causing issue on several packages.
Now I am trying to rebuild again, but some packages now newly began 
to fail.


For example, rubygem-actionmailbox now began to fail (previously 
build was successful), like:


```
+ ruby -rbundler -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", 
(:require)'
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:116:in 
`rescue in solve_versions': Could not find compatible versions 
(Bundler::SolveFailure)


Because every version of actionmailer depends on net-imap >= 0
  and every version of net-imap depends on net-protocol >= 0,
  every version of actionmailer requires net-protocol >= 0.
So, because net-protocol >= 0 could not be found in locally installed 
gems

  and Gemfile depends on actionmailer >= 0,
  version solving has failed.
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:79:in 
`solve_versions'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:32:in 
`start'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:595:in 
`start_resolution'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:311:in 
`resolve'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:548:in 
`materialize'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:203:in 
`specs'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:270:in 
`specs_for'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/runtime.rb:18:in 
`setup'
from /usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler.rb:164:in 
`setup'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/setup.rb:23:in 
`block in '
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/ui/shell.rb:159:in 
`with_level'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/ui/shell.rb:111:in 
`silence'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/setup.rb:23:in 
`'
from 
:127:in 
`require'
from 
:127:in 
`require'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/boot.rb:4:in 
`'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/application.rb:1:in 
`require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/application.rb:1:in 
`'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/environment.rb:2:in 
`require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/environment.rb:2:in 
`'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/test_helper.rb:6:in 
`require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/test_helper.rb:6:in 
`'
from 
:127:in 
`require'
from 
:127:in 
`require'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/controllers/ingresses/mailgun/inbound_emails_controller_test.rb:3:in 
`'
from 
:127:in 
`require'
from 
:127:in 
`require'

from :411:in `glob'
from -e:1:in `'
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb:237:in 
`resolve_conflict': Could not find compatible versions 
(Bundler::PubGrub::SolveFailure)

```
Link: 
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-3-2/build/6752051/


Most likely this is due to recent net-http and net-protocol 
vendorization.
Looks like rails related rubygem- packages, and "vagrant-libvirt" 
package fail to build due to this

issue.
(vagrant-libvirt: 
https://copr.fedorainfracloud.org/coprs/mtasaka/rubydep-heavypkg-test-3-2/build/6751386/ 
)




I'll take a close look a bit later.

However, from top of my head, there were also other changes, such as 
this:


https://github.com/rubygems/rubygems/pull/7242

where the description says "once a 

Re: Ruby 3.3

2023-12-14 Thread Vít Ondruch


Dne 14. 12. 23 v 9:21 Mamoru TASAKA napsal(a):

Hello, again:

Vít Ondruch wrote on 2023/12/14 0:30:

Hi again,

I'm back with yet another update, this time rev a7ad9f3836. The build 
is running here:


https://koji.fedoraproject.org/koji/taskinfo?taskID=110284699

This time, there are several changes I'd like to mention.

* There is included patch fixing several of the network related spec 
failures, therefore we don't need to workaround them anymore.


* There are now several more gems bundled in RubyGems. Mamoru already 
knows. Apart of the issues he hit, this means the licensing 
information of RubyGems is not up2date anymore. I have opened several 
tickets around various default gems and RubyGems requesting license 
clarification. I have also update the license information in 
ruby.spec a bit.


Looks like this is now causing issue on several packages.
Now I am trying to rebuild again, but some packages now newly began to 
fail.


For example, rubygem-actionmailbox now began to fail (previously build 
was successful), like:


```
+ ruby -rbundler -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", 
(:require)'
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:116:in 
`rescue in solve_versions': Could not find compatible versions 
(Bundler::SolveFailure)


Because every version of actionmailer depends on net-imap >= 0
  and every version of net-imap depends on net-protocol >= 0,
  every version of actionmailer requires net-protocol >= 0.
So, because net-protocol >= 0 could not be found in locally installed 
gems

  and Gemfile depends on actionmailer >= 0,
  version solving has failed.
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:79:in 
`solve_versions'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:32:in 
`start'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:595:in 
`start_resolution'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:311:in 
`resolve'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:548:in 
`materialize'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:203:in 
`specs'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:270:in 
`specs_for'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/runtime.rb:18:in 
`setup'
from /usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler.rb:164:in 
`setup'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/setup.rb:23:in 
`block in '
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/ui/shell.rb:159:in 
`with_level'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/ui/shell.rb:111:in 
`silence'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/setup.rb:23:in 
`'
from 
:127:in 
`require'
from 
:127:in 
`require'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/boot.rb:4:in 
`'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/application.rb:1:in 
`require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/application.rb:1:in 
`'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/environment.rb:2:in 
`require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/environment.rb:2:in 
`'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/test_helper.rb:6:in 
`require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/test_helper.rb:6:in 
`'
from 
:127:in 
`require'
from 
:127:in 
`require'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/controllers/ingresses/mailgun/inbound_emails_controller_test.rb:3:in 
`'
from 
:127:in 
`require'
from 
:127:in 
`require'

from :411:in `glob'
from -e:1:in `'
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb:237:in 
`resolve_conflict': Could not find compatible versions 
(Bundler::PubGrub::SolveFailure)

```
Link: 
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-3-2/build/6752051/


Most likely this is due to recent net-http and net-protocol 
vendorization.
Looks like rails related rubygem- packages, and "vagrant-libvirt" 
package fail to build due to this

issue.
(vagrant-libvirt: 
https://copr.fedorainfracloud.org/coprs/mtasaka/rubydep-heavypkg-test-3-2/build/6751386/ 
)




I'll take a close look a bit later.

However, from top of my head, there were also other changes, such as this:

https://github.com/rubygems/rubygems/pull/7242

where the description says "once a default gem is specified directly in 
the Gemfile, or 

Re: Ruby 3.3

2023-12-14 Thread Mamoru TASAKA

Hello, again:

Vít Ondruch wrote on 2023/12/14 0:30:

Hi again,

I'm back with yet another update, this time rev a7ad9f3836. The build is 
running here:

https://koji.fedoraproject.org/koji/taskinfo?taskID=110284699

This time, there are several changes I'd like to mention.

* There is included patch fixing several of the network related spec failures, 
therefore we don't need to workaround them anymore.

* There are now several more gems bundled in RubyGems. Mamoru already knows. 
Apart of the issues he hit, this means the licensing information of RubyGems is 
not up2date anymore. I have opened several tickets around various default gems 
and RubyGems requesting license clarification. I have also update the license 
information in ruby.spec a bit.


Looks like this is now causing issue on several packages.
Now I am trying to rebuild again, but some packages now newly began to fail.

For example, rubygem-actionmailbox now began to fail (previously build was 
successful), like:

```
+ ruby -rbundler -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", 
(:require)'
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:116:in `rescue 
in solve_versions': Could not find compatible versions (Bundler::SolveFailure)

Because every version of actionmailer depends on net-imap >= 0
  and every version of net-imap depends on net-protocol >= 0,
  every version of actionmailer requires net-protocol >= 0.
So, because net-protocol >= 0 could not be found in locally installed gems
  and Gemfile depends on actionmailer >= 0,
  version solving has failed.
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:79:in 
`solve_versions'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/resolver.rb:32:in `start'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:595:in 
`start_resolution'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:311:in 
`resolve'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:548:in 
`materialize'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:203:in `specs'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/definition.rb:270:in 
`specs_for'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/runtime.rb:18:in `setup'
from /usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler.rb:164:in 
`setup'
from /usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/setup.rb:23:in `block 
in '
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/ui/shell.rb:159:in 
`with_level'
from 
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/ui/shell.rb:111:in `silence'
from /usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/setup.rb:23:in 
`'
from 
:127:in 
`require'
from 
:127:in 
`require'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/boot.rb:4:in
 `'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/application.rb:1:in
 `require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/application.rb:1:in
 `'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/environment.rb:2:in
 `require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/dummy/config/environment.rb:2:in
 `'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/test_helper.rb:6:in
 `require_relative'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/test_helper.rb:6:in
 `'
from 
:127:in 
`require'
from 
:127:in 
`require'
from 
/builddir/build/BUILD/actionmailbox-7.0.8/usr/share/gems/gems/actionmailbox-7.0.8/test/controllers/ingresses/mailgun/inbound_emails_controller_test.rb:3:in
 `'
from 
:127:in 
`require'
from 
:127:in 
`require'
from :411:in `glob'
from -e:1:in `'
/usr/share/gems/gems/bundler-2.5.0.dev/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb:237:in
 `resolve_conflict': Could not find compatible versions 
(Bundler::PubGrub::SolveFailure)
```
Link: 
https://copr.fedorainfracloud.org/coprs/mtasaka/rubygem-newruby-test-3-2/build/6752051/

Most likely this is due to recent net-http and net-protocol vendorization.
Looks like rails related rubygem- packages, and "vagrant-libvirt" package fail 
to build due to this
issue.
(vagrant-libvirt: 
https://copr.fedorainfracloud.org/coprs/mtasaka/rubydep-heavypkg-test-3-2/build/6751386/
 )




* Some of you probably noticed the "auto user install" feature of RubyGems [1]. There 
were several issues, which should have been fixed now. I thought that it could help us a bit, but I 
am not sure