[Bug 245339] databases/ruby-bdb: suppress deprecate warning with Ruby 2.7

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 4 01:43:38 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245339

            Bug ID: 245339
           Summary: databases/ruby-bdb: suppress deprecate warning with
                    Ruby 2.7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: knu at FreeBSD.org
          Reporter: ume at FreeBSD.org
          Assignee: knu at FreeBSD.org
             Flags: maintainer-feedback?(knu at FreeBSD.org)

Created attachment 213042
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=213042&action=edit
exclude the useless codes which treat deprecated safe levels

When using ruby-bdb with Ruby 2.7, following warning messages are issued:

/usr/local/lib/ruby/site_ruby/2.7/pkgtools/pkgdbtools.rb:196: warning:
rb_secure will be removed in Ruby 3.0
/usr/local/lib/ruby/site_ruby/2.7/pkgtools/pkgdbtools.rb:196: warning:
rb_secure will be removed in Ruby 3.0
/usr/local/lib/ruby/site_ruby/2.7/pkgtools/pkgdbtools.rb:196: warning:
rb_safe_level will be removed in Ruby 3.0

The safe level greater than 1 are already deprecated by recent Ruby 2.X series.
Tha attached patch exclude the useless codes which treat such deprecated safe
levels.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list