ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:119290] [Ruby master Bug#20760] Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
@ 2024-09-25 14:22 jschoolcraft (Jeff Schoolcraft) via ruby-core
  2024-09-25 23:43 ` [ruby-core:119291] " nobu (Nobuyoshi Nakada) via ruby-core
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jschoolcraft (Jeff Schoolcraft) via ruby-core @ 2024-09-25 14:22 UTC (permalink / raw)
  To: ruby-core; +Cc: jschoolcraft (Jeff Schoolcraft)

Issue #20760 has been reported by jschoolcraft (Jeff Schoolcraft).

----------------------------------------
Bug #20760: Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
https://bugs.ruby-lang.org/issues/20760

* Author: jschoolcraft (Jeff Schoolcraft)
* Status: Open
* 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:119291] [Ruby master Bug#20760] Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
  2024-09-25 14:22 [ruby-core:119290] [Ruby master Bug#20760] Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64 jschoolcraft (Jeff Schoolcraft) via ruby-core
@ 2024-09-25 23:43 ` nobu (Nobuyoshi Nakada) via ruby-core
  2024-09-25 23:52 ` [ruby-core:119292] " hsbt (Hiroshi SHIBATA) via ruby-core
  2024-09-26  1:41 ` [ruby-core:119293] " hsbt (Hiroshi SHIBATA) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: nobu (Nobuyoshi Nakada) via ruby-core @ 2024-09-25 23:43 UTC (permalink / raw)
  To: ruby-core; +Cc: nobu (Nobuyoshi Nakada)

Issue #20760 has been updated by nobu (Nobuyoshi Nakada).


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

- 4113862c0068a8a95d752f5fdf14980f92cd41d7
  Do not search for commands with double tool prefixes [Bug #18504]
- 17c8bf2c63192036058b03a04edf7a8478e47833
  configure: Don't use use LD=clang, ld takes different flags
- 1e08a9f0e9058186db18f29efc6458c00f10a856
  [Bug #20499] Use Xcode owned tools for Xcode clang
- 1dfe75b0beb7171b8154ff0856d5149be0207724
  Fixed 'maybe_unused' attribute


----------------------------------------
Bug #20760: Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
https://bugs.ruby-lang.org/issues/20760#change-109903

* Author: jschoolcraft (Jeff Schoolcraft)
* Status: Open
* 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:119292] [Ruby master Bug#20760] Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
  2024-09-25 14:22 [ruby-core:119290] [Ruby master Bug#20760] Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64 jschoolcraft (Jeff Schoolcraft) via ruby-core
  2024-09-25 23:43 ` [ruby-core:119291] " nobu (Nobuyoshi Nakada) via ruby-core
@ 2024-09-25 23:52 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2024-09-26  1:41 ` [ruby-core:119293] " hsbt (Hiroshi SHIBATA) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2024-09-25 23:52 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

Issue #20760 has been updated by hsbt (Hiroshi SHIBATA).


`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
```


----------------------------------------
Bug #20760: Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
https://bugs.ruby-lang.org/issues/20760#change-109904

* Author: jschoolcraft (Jeff Schoolcraft)
* Status: Open
* 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:119293] [Ruby master Bug#20760] Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64
  2024-09-25 14:22 [ruby-core:119290] [Ruby master Bug#20760] Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64 jschoolcraft (Jeff Schoolcraft) via ruby-core
  2024-09-25 23:43 ` [ruby-core:119291] " nobu (Nobuyoshi Nakada) via ruby-core
  2024-09-25 23:52 ` [ruby-core:119292] " hsbt (Hiroshi SHIBATA) via ruby-core
@ 2024-09-26  1:41 ` hsbt (Hiroshi SHIBATA) via ruby-core
  2 siblings, 0 replies; 4+ messages in thread
From: hsbt (Hiroshi SHIBATA) via ruby-core @ 2024-09-26  1:41 UTC (permalink / raw)
  To: ruby-core; +Cc: hsbt (Hiroshi SHIBATA)

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-26  1:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-25 14:22 [ruby-core:119290] [Ruby master Bug#20760] Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64 jschoolcraft (Jeff Schoolcraft) via ruby-core
2024-09-25 23:43 ` [ruby-core:119291] " nobu (Nobuyoshi Nakada) via ruby-core
2024-09-25 23:52 ` [ruby-core:119292] " hsbt (Hiroshi SHIBATA) via ruby-core
2024-09-26  1:41 ` [ruby-core:119293] " hsbt (Hiroshi SHIBATA) via ruby-core

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).