Bug 253104 - devel/ruby-gems: building with ruby 3.0
Summary: devel/ruby-gems: building with ruby 3.0
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ruby (Nobody)
URL:
Keywords: buildisok
Depends on: 251484
Blocks:
  Show dependency treegraph
 
Reported: 2021-01-30 18:40 UTC by Sir l33tname
Modified: 2021-11-05 14:34 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (ruby)


Attachments
make code ruby 3.0 ready (1.76 KB, patch)
2021-01-30 18:40 UTC, Sir l33tname
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sir l33tname 2021-01-30 18:40:58 UTC
Created attachment 222028 [details]
make code ruby 3.0 ready

I just tried to build with ruby=3.0.
I needed to patch a few things see the patch (attached).

After that I still have this problem all that all rubygem ports fail 
because of the bug #251484.
Somehow at least for me it still fails to create the dirs to build.

See rubygem-racc for example:

ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory @ rb_sysopen - /usr/home/l33tname/svn_ports/devel/rubygem-racc/work/stage/usr/local/lib/ruby/gems/3.0/specifications/racc-1.5.2.gemspec
*** Error code 1
Comment 1 Automation User 2021-02-14 00:30:02 UTC
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/255916482
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2021-11-05 14:34:22 UTC
Let's close this PR and follow the progress of new ruby-gems in bug# 258108.