Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2026 07:44:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 294720] filesystems/zfstools: Add devel/rubygem-getoptlong dependency from Ruby 3.4
Message-ID:  <bug-294720-7788@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

            Bug ID: 294720
           Summary: filesystems/zfstools: Add devel/rubygem-getoptlong
                    dependency from Ruby 3.4
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: epopen@gmail.com
                CC: bdrewery@FreeBSD.org, sunpoet@FreeBSD.org
                CC: bdrewery@FreeBSD.org, sunpoet@FreeBSD.org

Hi Ports maintainer.

Because of system update default ruby version to 3.4,
filesystems/zfstools starting report warning periodically as follows...
    /usr/local/lib/ruby/3.4/did_you_mean/core_ext/name_error.rb:11: warning:
getoptlong is not part of the default gems starting from Ruby 3.4.0. Install
getoptlong from RubyGems.
   
<internal:/usr/local/lib/ruby/3.4/rubygems/core_ext/kernel_require.rb>:136:in
'Kernel#require': cannot load such file -- getoptlong (LoadError)
        from
<internal:/usr/local/lib/ruby/3.4/rubygems/core_ext/kernel_require.rb>:136:in
'Kernel#require'
        from /usr/local/sbin/zfs-auto-snapshot:6:in '<main>'

Manual install devel/rubygem-getoptlong ports fixed.

Would it be possible to fix?

Thanks a lot.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294720-7788>