Bug 256080

Summary: devel/ruby-gems: Mark BROKEN with Ruby 3.0
Product: Ports & Packages Reporter: Yasuhiro Kimura <yasu>
Component: Individual Port(s)Assignee: freebsd-ruby (Nobody) <ruby>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: jyoung15, mikeg, vishwin
Priority: --- Keywords: regression
Version: LatestFlags: bugzilla: maintainer-feedback? (ruby)
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258108
Attachments:
Description Flags
Patch file none

Description Yasuhiro Kimura freebsd_committer freebsd_triage 2021-05-22 13:02:56 UTC
Created attachment 225171 [details]
Patch file

Runtime error happens while executing gem command as following.

=======================<phase: extract        >============================
===>  License GPLv2 RUBY accepted by the user
===>   rubygem-rdoc-6.3.1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by rubygem-rdoc-6.3.1 for building
===>  Extracting for rubygem-rdoc-6.3.1
=> SHA256 Checksum OK for rubygem/rdoc-6.3.1.gem.
===>   rubygem-rdoc-6.3.1 depends on file: /usr/local/bin/ruby30 - found
===>   rubygem-rdoc-6.3.1 depends on file: /usr/local/bin/gem30 - found
ERROR:  While executing gem ... (Gem::Package::FormatError)
    package is corrupt, exception while verifying: wrong number of arguments (given 2, expected 1) (ArgumentError) 
in /portdistfiles/rubygem/rdoc-6.3.1.gem
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/rubygem-rdoc
Comment 1 Charlie Li freebsd_committer freebsd_triage 2021-06-28 22:33:19 UTC
Just hit this myself.
Comment 2 mikeg 2021-08-27 23:41:28 UTC
Slammed into this bug myself today.
Took a quick pass at a fix (rather than marking BROKEN) in #258108
Comment 3 Po-Chuan Hsieh freebsd_committer freebsd_triage 2021-11-05 14:34:20 UTC
Let's close this PR and follow the progress of new ruby-gems in bug# 258108.