[Bug 270235] ruby 27 has been updated from ruby31

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 15 Mar 2023 08:58:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270235

            Bug ID: 270235
           Summary: ruby 27 has been updated from ruby31
           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: bagas1983@mail.ru
                CC: bdrewery@FreeBSD.org, ruby@FreeBSD.org
                CC: bdrewery@FreeBSD.org, ruby@FreeBSD.org

Hello.
System FreeBSD 13.1-RELEASE-p7 amd64

Updating ruby.

Delete ruby.
pkg delete -f ruby27 portupgrade ruby27-bdb

Install portupgrade.
make -C /usr/ports/ports-mgmt/portupgrade install clean

Error.
# make -C /usr/ports/ports-mgmt/portupgrade install clean
===> Staging for portupgrade-2.4.16,2
===> portupgrade-2.4.16,2 depends on file: /usr/local/bin/ruby31 - found
===> portupgrade-2.4.16,2 depends on file:
/usr/local/lib/ruby/site_ruby/3.1/amd64-freebsd13/bdb.so - not found
===> ruby31-bdb-0.6.6_8 depends on package: rubygem-rdoc>=0.a - not found
===> License GPLv2 RUBY accepted by the user
===> rubygem-rdoc-6.5.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by rubygem-rdoc-6.5.0 for building
===> Extracting for rubygem-rdoc-6.5.0
=> SHA256 Checksum OK for rubygem/rdoc-6.5.0.gem.
===> rubygem-rdoc-6.5.0 depends on file: /usr/local/bin/ruby31 - found
===> rubygem-rdoc-6.5.0 depends on file: /usr/local/bin/gem - not found
===> rubygem-rdoc-6.5.0 depends on file: /usr/local/bin/gem - not found
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/devel/rubygem-rdoc
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/databases/ruby-bdb
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/databases/ruby-bdb
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/ports-mgmt/portupgrade
*** Error code 1

Stop.
make: stopped in /usr/ports/ports-mgmt/portupgrade

How to fix it?

pkg version -v | grep 'ruby'
ruby-3.1.3_2,1 = up-to-date with index

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