You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ruby-build has this section to select gmake on FreeBSD, referencing a 4 year old bug in Ruby 2.6.5:
# Workaround for Ruby bug 16331: https://bugs.ruby-lang.org/issues/16331
# Due to this bug, build will fail with FreeBSD's make after #1368
# The bug is already fixed in upstream but GNU make is still required
# when building older releases of Ruby. Use GNU make rather than switching
# depending of Ruby version.
export MAKE="gmake"
Removing this results in a successful build. Given this seems fixed in all supported versions of MRI - and BSD make is used by the lang/ruby* ports - it seems a reasonable fix, but anyone still depending on older versions might disagree...
The text was updated successfully, but these errors were encountered:
You're right that the Ruby build bug that was solved by defaulting to gmake on FreeBSD is old in that it only affected Ruby versions 2.6 and 2.7 at the time. Since those Ruby versions are EOL now, and the gmake default is now an impediment to installing Ruby 3.3, I vote that we remove the workaround. Would you submit a PR?
BSD users who need to install older Ruby versions can set MAKE=gmake themselves as necessary.
This was set to gmake in rbenv#1381
as a workaround for https://bugs.ruby-lang.org/issues/16331
YJIT builds in Ruby 3.3 previews require the use of BSD make on these
platforms, and no supported version of MRI requires the use of gmake, so
revert this.
JRuby continues to require gmake for jruby-launcher.
Fixes Github issue rbenv#2262
Steps to reproduce the behavior
Install ruby-3.3.0-preview2 on FreeBSD with YJIT enabled.
Logs
Examining
yjit.mk
:ruby-build has this section to select gmake on FreeBSD, referencing a 4 year old bug in Ruby 2.6.5:
Removing this results in a successful build. Given this seems fixed in all supported versions of MRI - and BSD make is used by the lang/ruby* ports - it seems a reasonable fix, but anyone still depending on older versions might disagree...
The text was updated successfully, but these errors were encountered: