Project

General

Profile

Actions

Bug #20760

closed

Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64

Added by jschoolcraft (Jeff Schoolcraft) about 2 months ago. Updated about 2 months ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:119290]

Description

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:

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) ruby-build.20240924112240.30103.log jschoolcraft (Jeff Schoolcraft), 09/25/2024 02:19 PM

Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #20499: Ruby builds on macOS store absolute paths for AR and NM in rbconfig since Ruby 3.2.3/3.3.0ClosedActions
Related to Ruby master - Bug #18504: configure prints a warning when cross-compilingClosedshyouhei (Shyouhei Urabe)Actions
Actions #1

Updated by nobu (Nobuyoshi Nakada) about 2 months ago

  • Related to Bug #20499: Ruby builds on macOS store absolute paths for AR and NM in rbconfig since Ruby 3.2.3/3.3.0 added
Actions #2

Updated by nobu (Nobuyoshi Nakada) about 2 months ago

  • Related to Bug #18504: configure prints a warning when cross-compiling added

Updated by nobu (Nobuyoshi Nakada) about 2 months ago ยท Edited

Following commits will be needed to compile 3.0 with the recent Xcode:

Updated by hsbt (Hiroshi SHIBATA) about 2 months ago

openssl@1.0 is not related for this build failure.

I could build applied https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/1dfe75b0beb7171b8154ff0856d5149be0207724 on Ruby 3.0.6 with macOS 15.1 beta5. The instruction of ruby-build is here:

$ curl -sSL https://github.com/ruby/ruby/commit/1dfe75b0beb7171b8154ff0856d5149be0207724.patch | rbenv install --patch 3.0.6

Updated by hsbt (Hiroshi SHIBATA) about 2 months ago

  • Status changed from Open to Closed

Ruby 3.0 is EOL now. We will not backport related changes into ruby_3_0 branch.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0