From: "hsbt (Hiroshi SHIBATA) via ruby-core" Date: 2024-09-26T01:41:18+00:00 Subject: [ruby-core:119293] [Ruby master Bug#20760] Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64 Issue #20760 has been updated by hsbt (Hiroshi SHIBATA). Status changed from Open to Closed Ruby 3.0 is EOL now. We will not backport related changes into `ruby_3_0` branch. ---------------------------------------- Bug #20760: Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64 https://bugs.ruby-lang.org/issues/20760#change-109905 * Author: jschoolcraft (Jeff Schoolcraft) * Status: Closed * Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- I support a Rails 6.1 project with Ruby 3.0.6 and am unable to build 3.0.6 on a new mac book pro running macOS 15.0 24A335 arm64. I've attached the build log the primary failure is related to `maybe_unused` in BigDecimal. I tried multiple workarounds suggested in: * https://github.com/rvm/rvm/issues/5365 * https://www.reddit.com/r/ruby/comments/yjvn5c/ruby_30_on_m1_failing_because_of_bigdecimal/ * https://bugs.ruby-lang.org/issues/18912#note-6 * https://github.com/rbenv/ruby-build/discussions/2185 I'm able to install 3.0.6 on macOS 14.6.1 23G93 arm64 with only these changes: ``` brew install rbenv/tap/openssl@1.0 asdf install ruby 3.0.6 --with-openssl-dir="$(brew --prefix)/opt/openssl@1.0" ``` ---Files-------------------------------- ruby-build.20240924112240.30103.log (71.6 KB) -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/