Bug 1217120

Summary: yast2-ruby-bindings - warning in the log with Ruby 3.2
Product: [openSUSE] openSUSE Tumbleweed Reporter: Ladislav Slezák <lslezak>
Component: YaST2Assignee: YaST Team <yast-internal>
Status: CONFIRMED --- QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://trello.com/c/usaHXs4L
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ladislav Slezák 2023-11-14 09:23:55 UTC
When running "journalctl -u agama" on the latest Agama Staging Live ISO the output contains this warning:

  /usr/lib64/ruby/vendor_ruby/3.2.0/yast/scr.rb:113: warning: undefining the allocator of T_DATA class Yast::YCode

It seems to be related to a new Ruby check https://bugs.ruby-lang.org/issues/18007
The fix should be hopefully trivial, something like https://github.com/vmg/redcarpet/pull/721/files


Version details:

localhost:~ # ruby -v
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux-gnu]
localhost:~ # rpm -q yast2-ruby-bindings
yast2-ruby-bindings-5.0.0-1.1.x86_64