ruby-curses: Emits warning: "rb_safe_level will be removed in Ruby 3.0", affects at least irqtop
Bug #1907932 reported by
Ferdinand Postema
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iptables-netflow (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
ruby-curses (Debian) |
Fix Released
|
Unknown
|
|||
ruby-curses (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
irqtop emits the following warning:
/usr/
This warning clutters the whole screen and makes irqtop unusable.
My config:
Kernel: 5.4.0-58-lowlatency #64-Ubuntu SMP PREEMPT x86_64 GNU/Linux
irqtop: 2.4-2ubuntu0.2
ruby: 1:2.7+1
ruby-curses: 1.2.4-1build1
ethtool: 1:5.4-1
Changed in ruby-curses (Debian): | |
status: | Unknown → Confirmed |
Changed in ruby-curses (Debian): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
This is an issue in ruby-curses, not irqtop. See https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 958973
Interestingly this no more happens on Debian Unstable/Testing. This seems to have fixed upstream a few months ago:
commit df3f52a6331f1a4 7af9933b77311a8 650727d8d1
Author: nagachika <email address hidden>
Date: 2020-09-29 22:43:25 +0900
merge revision(s) 996af2ce086249e 904b2ce95ab2fcd 1de7d757be: [Backport #16345] [Backport #17000]
Disable deprecation warning by the default [Feature #16345]
And `-w` option turns it on.
That commit likely made it into ruby 2.7.2, which hit Debian Unstable in mid-October 2020.
Nevertheless this obviously needs to be fixed in ruby-curses.