Bug 28847

Summary: ruby-tk 0.2.0 emits many warnings with ruby 2.7
Product: Mageia Reporter: Nicolas Salguero <nicolas.salguero>
Component: RPM PackagesAssignee: Pascal Terjan <pterjan>
Status: NEW --- QA Contact:
Severity: minor    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA8TOO
Source RPM: ruby-tk-0.2.0-6.mga8.src.rpm CVE:
Status comment:

Description Nicolas Salguero 2021-04-28 10:03:48 CEST
Hi,

With ruby-tk-0.2.0-6.mga8, the console is full of lines saying:
/usr/share/gems/gems/tk-0.2.0/lib/tk...: warning: rb_safe_level will be removed in Ruby 3.0

Upstream released version 0.4.0 of Ruby/Tk on March 26, which should solve that issue.

Best regards,

Nico.
Comment 1 Nicolas Salguero 2021-04-28 10:05:51 CEST
I forgot to say that, to test the problem, you can launch:
ruby /usr/share/gems/gems/tk-0.2.0/sample/demos-en/widget

Whiteboard: (none) => MGA8TOO

Nicolas Salguero 2021-04-28 13:21:44 CEST

Source RPM: (none) => ruby-tk-0.2.0-6.mga8.src.rpm

Comment 2 Lewis Smith 2021-04-28 20:33:29 CEST
Thanks for the report and update information.

Assigning to Pascal, the active registered maintainer of this SRPM.

Assignee: bugsquad => pterjan