Hello.
System FreeBSD 13.1-RELEASE-p7 amd64
Updating ruby.
Install portupgrade.
Error.
How to fix it?
System FreeBSD 13.1-RELEASE-p7 amd64
Updating ruby.
pkg delete -f ruby27 portupgrade ruby27-bdb
Install portupgrade.
make -C /usr/ports/ports-mgmt/portupgrade install clean
Error.
Code:
# 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
Code:
pkg version -v | grep 'ruby'
ruby-3.1.3_2,1 = up-to-date with index