Solved Ruby change of DEFAULT_VERSION breaks ruby-bdb

After
portmaster -o lang/ruby25 lang/ruby24


Code:
pkg check -dn
ruby24-bdb is missing a required shared library: libruby24.so.24
I run
portmaster -R -r ruby-2.5

Code:
ruby24-bdb marked broken does not compile  with ruby-2.5

How to solve? (I have set no DEFAULT_VERSION for ruby in /etc/make.conf).
 
Error in ruby25-bdb-0.6.6_5.
My actions.
Code:
portsnap fetch extract update
Code:
# pkg version | grep "ruby"
ruby-2.5.5_1,1                     =
Code:
# cd /usr/ports/ports-mgmt/portupgrade && make install clean
===>  Staging for portupgrade-2.4.16,2
===>   portupgrade-2.4.16,2 depends on file: /usr/local/bin/ruby25 - found
===>   portupgrade-2.4.16,2 depends on file: /usr/local/lib/ruby/site_ruby/2.5/amd64-freebsd11/bdb.so - not found
===>  ruby25-bdb-0.6.6_5 is marked as broken: does not build with Ruby 2.5.
*** 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:
# portmaster ports-mgmt/portupgrade

===>>> Port directory: /usr/ports/ports-mgmt/portupgrade

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for ports-mgmt/portupgrade in background
===>>> Gathering dependency list for ports-mgmt/portupgrade from ports
===>>> Launching child to install databases/ruby-bdb

===>>> ports-mgmt/portupgrade >> databases/ruby-bdb (1/1)

===>>> Port directory: /usr/ports/databases/ruby-bdb

    ===>>> This port is marked BROKEN
    ===>>> does not build with Ruby 2.5


    ===>>> If you are sure you can build it, remove the
           BROKEN line in the Makefile and try again.

===>>> Update for databases/ruby-bdb failed
===>>> Aborting update
Code:
# portmaster databases/ruby-bdb

===>>> Port directory: /usr/ports/databases/ruby-bdb

    ===>>> This port is marked BROKEN
    ===>>> does not build with Ruby 2.5


    ===>>> If you are sure you can build it, remove the
           BROKEN line in the Makefile and try again.
How to be?
 
Back
Top