[Bug 272554] textproc/docbookrx: cannot load such file -- docbookrx (LoadError)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Jul 2023 21:33:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272554

            Bug ID: 272554
           Summary: textproc/docbookrx: cannot load such file -- docbookrx
                    (LoadError)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: saper@saper.info
          Assignee: bofh@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)

On 14.0-CURRENT, ports tree as of ae8e32b08e33bac7aec0f14f28e45d53dee6f565
I have installed docbookrx from the ports tree having ruby 3.1 installed,
but it fails to load the gem:

> docbookrx build.xml          
<internal:/usr/local/lib/ruby/site_ruby/3.1/rubygems/core_ext/kernel_require.rb>:85:in
`require': cannot load such file -- docbookrx (LoadError)
        from
<internal:/usr/local/lib/ruby/site_ruby/3.1/rubygems/core_ext/kernel_require.rb>:85:in
`require'
        from
/usr/local/lib/ruby/gems/3.1/gems/docbookrx-1.0.0.dev/bin/docbookrx:6:in `<top
(required)>'
        from /usr/local/bin/docbookrx:25:in `load'
        from /usr/local/bin/docbookrx:25:in `<main>'

It seems to be that a whole "lib" directory did not get staged and installed:

> find /usr/local/lib/ruby/gems/3.1/gems/docbookrx-1.0.0.dev/
/usr/local/lib/ruby/gems/3.1/gems/docbookrx-1.0.0.dev/
/usr/local/lib/ruby/gems/3.1/gems/docbookrx-1.0.0.dev/bin
/usr/local/lib/ruby/gems/3.1/gems/docbookrx-1.0.0.dev/bin/docbookrx
/usr/local/lib/ruby/gems/3.1/gems/docbookrx-1.0.0.dev/LICENSE
/usr/local/lib/ruby/gems/3.1/gems/docbookrx-1.0.0.dev/README.adoc

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